From c9e1c468c92d53f468c03e36ef204bae99da3627 Mon Sep 17 00:00:00 2001 From: Lebanon Stars <75311052+AAVision@users.noreply.github.com> Date: Sat, 30 Mar 2024 00:41:43 +0200 Subject: [PATCH] Auto-generated commit --- 404.html | 2 +- index.html | 2 +- main-EYK6DM3N.js => main-GWFH3HKA.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) rename main-EYK6DM3N.js => main-GWFH3HKA.js (94%) diff --git a/404.html b/404.html index e1e878d..0e716d8 100644 --- a/404.html +++ b/404.html @@ -16,5 +16,5 @@ - + diff --git a/index.html b/index.html index e1e878d..0e716d8 100644 --- a/index.html +++ b/index.html @@ -16,5 +16,5 @@ - + diff --git a/main-EYK6DM3N.js b/main-GWFH3HKA.js similarity index 94% rename from main-EYK6DM3N.js rename to main-GWFH3HKA.js index d221b21..d573501 100644 --- a/main-EYK6DM3N.js +++ b/main-GWFH3HKA.js @@ -5,7 +5,7 @@ ${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` `+t.message,i,r,n),t[lw]=i,t[us]=null,t}function gw(t,e,r,n=null){t=t&&t.charAt(0)===` `&&t.charAt(1)==uw?t.slice(2):t;let i=ke(e);if(Array.isArray(e))i=e.map(ke).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):ke(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(cw,` `)}`}var mw="h",vw="b";var yw=()=>null;function fu(t,e,r=!1){return yw(t,e,r)}var Yo="__parameters__";function Dw(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function Lp(t,e,r){return xi(()=>{let n=Dw(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(l,c,u){let d=l.hasOwnProperty(Yo)?l[Yo]:Object.defineProperty(l,Yo,{value:[]})[Yo];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var Fs=Fp(Lp("Optional"),8);var hu=Fp(Lp("SkipSelf"),4);function Fn(t,e){let r=t.hasOwnProperty(as);return r?t[as]:null}var Er=new T(""),Vp=new T("",-1),jp=new T(""),ds=class{get(e,r=yi){if(r===yi){let n=new Error(`NullInjectorError: No provider for ${ke(e)}!`);throw n.name="NullInjectorError",n}return r}};function Ar(t){return{\u0275providers:t}}function pu(...t){return{\u0275providers:$p(!0,t),\u0275fromNgModule:!0}}function $p(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return au(e,s=>{let a=s;Yl(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&Bp(i,o),r}function Bp(t,e){for(let r=0;r{e(o,n)})}}function Yl(t,e,r,n){if(t=Re(t),!t)return!1;let i=null,o=mh(t),s=!o&&an(t);if(!o&&!s){let l=t.ngModule;if(o=mh(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Yl(c,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let c;try{au(o.imports,u=>{Yl(u,e,r,n)&&(c||=[],c.push(u))})}finally{}c!==void 0&&Bp(c,e)}if(!a){let c=Fn(i)||(()=>new i);e({provide:i,useFactory:c,deps:Ue},i),e({provide:jp,useValue:i,multi:!0},i),e({provide:Er,useValue:()=>I(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let c=t;gu(l,u=>{e(u,c)})}}else return!1;return i!==t&&t.providers!==void 0}function gu(t,e){for(let r of t)kp(r)&&(r=r.\u0275providers),Array.isArray(r)?gu(r,e):e(r)}var ww=re({provide:String,useValue:re});function Up(t){return t!==null&&typeof t=="object"&&ww in t}function bw(t){return!!(t&&t.useExisting)}function Cw(t){return!!(t&&t.useFactory)}function Ir(t){return typeof t=="function"}function Ew(t){return!!t.useClass}var Ls=new T(""),ts={},Iw={},Il;function mu(){return Il===void 0&&(Il=new ds),Il}var Oe=class{},Di=class extends Oe{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Kl(e,s=>this.processProvider(s)),this.records.set(Vp,fr(void 0,this)),i.has("environment")&&this.records.set(Oe,fr(void 0,this));let o=this.records.get(Ls);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(jp,Ue,H.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=z(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),z(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=on(this),n=Be(void 0),i;try{return e()}finally{on(r),Be(n)}}get(e,r=yi,n=H.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(ch))return e[ch](this);n=Ps(n);let i,o=on(this),s=Be(void 0);try{if(!(n&H.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=Tw(e)&&Os(e);c&&this.injectableDefInScope(c)?l=fr(Ql(e),ts):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&H.Self?mu():this.parent;return r=n&H.Optional&&r===yi?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[us]=a[us]||[]).unshift(ke(e)),o)throw a;return pw(a,e,"R3InjectorError",this.source)}else throw a}finally{Be(s),on(o)}}resolveInjectorInitializers(){let e=z(null),r=on(this),n=Be(void 0),i;try{let o=this.get(Er,Ue,H.Self);for(let s of o)s()}finally{on(r),Be(n),z(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(ke(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(e){e=Re(e);let r=Ir(e)?e:Re(e&&e.provide),n=xw(e);if(!Ir(e)&&e.multi===!0){let i=this.records.get(r);i||(i=fr(void 0,ts,!0),i.factory=()=>Zl(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=z(null);try{return r.value===ts&&(r.value=Iw,r.value=r.factory()),typeof r.value=="object"&&r.value&&Sw(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{z(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Re(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function Ql(t){let e=Os(t),r=e!==null?e.factory:Fn(t);if(r!==null)return r;if(t instanceof T)throw new M(204,!1);if(t instanceof Function)return _w(t);throw new M(204,!1)}function _w(t){if(t.length>0)throw new M(204,!1);let r=tw(t);return r!==null?()=>r.factory(t):()=>new t}function xw(t){if(Up(t))return fr(void 0,t.useValue);{let e=Hp(t);return fr(e,ts)}}function Hp(t,e,r){let n;if(Ir(t)){let i=Re(t);return Fn(i)||Ql(i)}else if(Up(t))n=()=>Re(t.useValue);else if(Cw(t))n=()=>t.useFactory(...Zl(t.deps||[]));else if(bw(t))n=()=>I(Re(t.useExisting));else{let i=Re(t&&(t.useClass||t.provide));if(Mw(t))n=()=>new i(...Zl(t.deps));else return Fn(i)||Ql(i)}return n}function fr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function Mw(t){return!!t.deps}function Sw(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Tw(t){return typeof t=="function"||typeof t=="object"&&t instanceof T}function Kl(t,e){for(let r of t)Array.isArray(r)?Kl(r,e):r&&kp(r)?Kl(r.\u0275providers,e):e(r)}function Mt(t,e){t instanceof Di&&t.assertNotDestroyed();let r,n=on(t),i=Be(void 0);try{return e()}finally{on(n),Be(i)}}function vu(t){if(!Op()&&!dw())throw new M(-203,!1)}function Aw(t){return typeof t=="function"}var Xl=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function zp(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Ge(){return Gp}function Gp(t){return t.type.prototype.ngOnChanges&&(t.setInput=Rw),Nw}Ge.ngInherit=!0;function Nw(){let t=qp(this),e=t?.current;if(e){let r=t.previous;if(r===vr)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Rw(t,e,r,n,i){let o=this.declaredInputs[n],s=qp(t)||kw(t,{previous:vr,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Xl(c&&c.currentValue,r,l===vr),zp(t,e,i,r)}var Wp="__ngSimpleChanges__";function qp(t){return t[Wp]||null}function kw(t,e){return t[Wp]=e}var Dh=null;var Dt=function(t,e,r){Dh?.(t,e,r)};function Ow(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=Gp(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function Vs(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[l]<0&&(t[dr]+=65536),(a>14>16&&(t[k]&3)===e&&(t[k]+=16384,wh(a,o)):wh(a,o)}var mr=-1,Ln=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function Fw(t){return t instanceof Ln}function Lw(t){return(t.flags&8)!==0}function Vw(t){return(t.flags&16)!==0}function Yp(t){return t!==mr}function fs(t){return t&32767}function jw(t){return t>>16}function hs(t,e){let r=jw(t),n=e;for(;r>0;)n=n[Mr],r--;return n}var Jl=!0;function ps(t){let e=Jl;return Jl=t,e}var $w=256,Qp=$w-1,Kp=5,Bw=0,wt={};function Uw(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(fi)&&(n=r[fi]),n==null&&(n=r[fi]=Bw++);let i=n&Qp,o=1<>Kp)]|=o}function gs(t,e){let r=Xp(t,e);if(r!==-1)return r;let n=e[P];n.firstCreatePass&&(t.injectorIndex=e.length,xl(n.data,t),xl(e,null),xl(n.blueprint,null));let i=yu(t,e),o=t.injectorIndex;if(Yp(i)){let s=fs(i),a=hs(i,e),l=a[P].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=i,o}function xl(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Xp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function yu(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=rg(i),n===null)return mr;if(r++,i=i[Mr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return mr}function ec(t,e,r){Uw(t,e,r)}function Hw(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i>20,d=n?a:a+u,f=i?a+u:c;for(let h=d;h=l&&g.type===r)return h}if(i){let h=s[l];if(h&&ln(h)&&h.type===r)return l}return null}function Vn(t,e,r,n){let i=t[r],o=e.data;if(Fw(i)){let s=i;s.resolving&&sw(ow(o[r]));let a=ps(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Be(s.injectImpl):null,u=Dp(t,n,H.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&Ow(r,o[r],e)}finally{c!==null&&Be(c),ps(a),s.resolving=!1,Ep()}}return i}function Gw(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(fi)?t[fi]:void 0;return typeof e=="number"?e>=0?e&Qp:Ww:e}function bh(t,e,r){let n=1<>Kp)]&n)}function Ch(t,e){return!(t&H.Self)&&!(t&H.Host&&e)}var Rn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return tg(this._tNode,this._lView,e,Ps(n),r)}};function Ww(){return new Rn(He(),j())}function Ai(t){return xi(()=>{let e=t.prototype.constructor,r=e[as]||tc(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[as]||tc(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function tc(t){return Rp(t)?()=>{let e=tc(Re(t));return e&&e()}:Fn(t)}function qw(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[k]&2048&&!(s[k]&512);){let a=ng(o,s,r,n|H.Self,wt);if(a!==wt)return a;let l=o.parent;if(!l){let c=s[cp];if(c){let u=c.get(r,wt,n);if(u!==wt)return u}l=rg(s),s=s[Mr]}o=l}return i}function rg(t){let e=t[P],r=e.type;return r===2?e.declTNode:r===1?t[Ye]:null}function Du(t){return Hw(He(),t)}function Eh(t,e=null,r=null,n){let i=ig(t,e,r,n);return i.resolveInjectorInitializers(),i}function ig(t,e=null,r=null,n,i=new Set){let o=[r||Ue,pu(t)];return n=n||(typeof t=="object"?void 0:ke(t)),new Di(o,e||mu(),n||null,i)}var St=(()=>{let e=class e{static create(n,i){if(Array.isArray(n))return Eh({name:""},i,n,"");{let o=n.name??"";return Eh({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=yi,e.NULL=new ds,e.\u0275prov=x({token:e,providedIn:"any",factory:()=>I(Vp)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})(),Zw="ngOriginalError";function Ml(t){return t[Zw]}var Et=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Ml(e);for(;r&&Ml(r);)r=Ml(r);return r||null}},og=new T("",{providedIn:"root",factory:()=>y(Et).handleError.bind(void 0)});var sg=!1,Yw=new T("",{providedIn:"root",factory:()=>sg}),Qo;function Qw(){if(Qo===void 0&&(Qo=null,Ze.trustedTypes))try{Qo=Ze.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Qo}function js(t){return Qw()?.createHTML(t)||t}var Ko;function Kw(){if(Ko===void 0&&(Ko=null,Ze.trustedTypes))try{Ko=Ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ko}function Ih(t){return Kw()?.createScriptURL(t)||t}var Ut=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Qh})`}},nc=class extends Ut{getTypeName(){return"HTML"}},rc=class extends Ut{getTypeName(){return"Style"}},ic=class extends Ut{getTypeName(){return"Script"}},oc=class extends Ut{getTypeName(){return"URL"}},sc=class extends Ut{getTypeName(){return"ResourceURL"}};function it(t){return t instanceof Ut?t.changingThisBreaksApplicationSecurity:t}function fn(t,e){let r=Xw(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Qh})`)}return r===e}function Xw(t){return t instanceof Ut&&t.getTypeName()||null}function ag(t){return new nc(t)}function lg(t){return new rc(t)}function cg(t){return new ic(t)}function ug(t){return new oc(t)}function dg(t){return new sc(t)}function Jw(t){let e=new lc(t);return eb()?new ac(e):e}var ac=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(js(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},lc=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=js(e),r}};function eb(){try{return!!new window.DOMParser().parseFromString(js(""),"text/html")}catch{return!1}}var tb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $s(t){return t=String(t),t.match(tb)?t:"unsafe:"+t}function Zt(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function Ni(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var fg=Zt("area,br,col,hr,img,wbr"),hg=Zt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pg=Zt("rp,rt"),nb=Ni(pg,hg),rb=Ni(hg,Zt("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")),ib=Ni(pg,Zt("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")),_h=Ni(fg,rb,ib,nb),gg=Zt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ob=Zt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),sb=Zt("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"),ab=Ni(gg,ob,sb),lb=Zt("script,style,template"),cc=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0;for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){r=r.firstChild;continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=this.checkClobberedElement(r,r.nextSibling);if(i){r=i;break}r=this.checkClobberedElement(r,r.parentNode)}}return this.buf.join("")}startElement(e){let r=e.nodeName.toLowerCase();if(!_h.hasOwnProperty(r))return this.sanitizedSomething=!0,!lb.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let i=0;i"),!0}endElement(e){let r=e.nodeName.toLowerCase();_h.hasOwnProperty(r)&&!fg.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(xh(e))}checkClobberedElement(e,r){if(r&&(e.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return r}},cb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ub=/([^\#-~ |!])/g;function xh(t){return t.replace(/&/g,"&").replace(cb,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(ub,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Xo;function mg(t,e){let r=null;try{Xo=Xo||Jw(t);let n=e?String(e):"";r=Xo.getInertBodyElement(n);let i=5,o=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,o=r.innerHTML,r=Xo.getInertBodyElement(n)}while(n!==o);let a=new cc().sanitizeChildren(Mh(r)||r);return js(a)}finally{if(r){let n=Mh(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function Mh(t){return"content"in t&&db(t)?t.content:null}function db(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var ot=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(ot||{});function Ri(t){let e=yg();return e?e.sanitize(ot.URL,t)||"":fn(t,"URL")?it(t):$s(Cr(t))}function fb(t){let e=yg();if(e)return Ih(e.sanitize(ot.RESOURCE_URL,t)||"");if(fn(t,"ResourceURL"))return Ih(it(t));throw new M(904,!1)}function hb(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?fb:Ri}function vg(t,e,r){return hb(e,r)(t)}function yg(){let t=j();return t&&t[$t].sanitizer}var pb=/^>|^->||--!>|)/g,mb="\u200B$1\u200B";function vb(t){return t.replace(pb,e=>e.replace(gb,mb))}var Dg=new Map,yb=0;function Db(){return yb++}function wb(t){Dg.set(t[Ss],t)}function bb(t){Dg.delete(t[Ss])}var Sh="__ngContext__";function cn(t,e){Nn(e)?(t[Sh]=e[Ss],wb(e)):t[Sh]=e}function wg(t){return t instanceof Function?t():t}function Cb(t){return(t??y(St)).get(ze)==="browser"}var Ht=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Ht||{}),Eb;function wu(t,e){return Eb(t,e)}function hr(t,e,r,n,i){if(n!=null){let o,s=!1;Wt(n)?o=n:Nn(n)&&(s=!0,n=n[Gt]);let a=Ct(n);t===0&&r!==null?i==null?_g(e,r,a):ms(e,r,a,i||null,!0):t===1&&r!==null?ms(e,r,a,i||null,!0):t===2?jb(e,a,s):t===3&&e.destroyNode(a),o!=null&&Bb(e,t,o,r,i)}}function Ib(t,e){return t.createText(e)}function _b(t,e,r){t.setValue(e,r)}function xb(t,e){return t.createComment(vb(e))}function bg(t,e,r){return t.createElement(e,r)}function Mb(t,e){Cg(t,e),e[Gt]=null,e[Ye]=null}function Sb(t,e,r,n,i,o){n[Gt]=i,n[Ye]=e,Hs(t,n,r,1,i,o)}function Cg(t,e){Hs(t,e,e[ue],2,null,null)}function Tb(t){let e=t[gi];if(!e)return Sl(t[P],t);for(;e;){let r=null;if(Nn(e))r=e[gi];else{let n=e[Se];n&&(r=n)}if(!r){for(;e&&!e[ht]&&e!==t;)Nn(e)&&Sl(e[P],e),e=e[Ie];e===null&&(e=t),Nn(e)&&Sl(e[P],e),r=e&&e[ht]}e=r}}function Ab(t,e,r,n){let i=Se+n,o=r.length;n>0&&(r[i-1][ht]=e),n0&&(t[r-1][ht]=n[ht]);let o=cs(t,Se+e);Mb(n[P],n);let s=o[Bt];s!==null&&s.detachView(o[P]),n[Ie]=null,n[ht]=null,n[k]&=-129}return n}function Bs(t,e){if(!(e[k]&256)){let r=e[ue];r.destroyNode&&Hs(t,e,r,3,null,null),Tb(e)}}function Sl(t,e){if(e[k]&256)return;let r=z(null);try{e[k]&=-129,e[k]|=256,e[kn]&&Ff(e[kn]),kb(t,e),Rb(t,e),e[P].type===1&&e[ue].destroy();let n=e[Mi];if(n!==null&&Wt(e[Ie])){n!==e[Ie]&&Eg(n,e);let i=e[Bt];i!==null&&i.detachView(t)}bb(e)}finally{z(r)}}function Rb(t,e){let r=t.cleanup,n=e[pi];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[pi]=null);let i=e[sn];if(i!==null){e[sn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===bt.None||o===bt.Emulated)return null}return nt(n,r)}}function ms(t,e,r,n,i){t.insertBefore(e,r,n,i)}function _g(t,e,r){t.appendChild(e,r)}function Th(t,e,r,n,i){n!==null?ms(t,e,r,n,i):_g(t,e,r)}function Pb(t,e,r,n){t.removeChild(e,r,n)}function bu(t,e){return t.parentNode(e)}function Fb(t,e){return t.nextSibling(e)}function xg(t,e,r){return Vb(t,e,r)}function Lb(t,e,r){return t.type&40?nt(t,r):null}var Vb=Lb,Ah;function Us(t,e,r,n){let i=Ig(t,n,e),o=e[ue],s=n.parent||e[Ye],a=xg(s,n,e);if(i!=null)if(Array.isArray(r))for(let l=0;l_e&&Ng(t,e,_e,!1),Dt(s?2:0,i),r(n,i)}finally{Pn(o),Dt(s?3:1,i)}}function Eu(t,e,r){if(Yc(e)){let n=z(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function Qb(t,e,r,n){let i=Hg(e);i.push(r),t.firstCreatePass&&zg(t).push(n,i.length-1)}function Kb(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return mp()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Nh(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,l=ye.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(i!==null){if(!i.hasOwnProperty(o))continue;c=i[o]}t===0?Rh(n,r,c,a,l):Rh(n,r,c,a)}return n}function Rh(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function Xb(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,c=null;for(let u=n;u0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function rC(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;Ts(r)&&uC(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||gs(r,e),cn(n,e);let s=r.initialInputs;for(let a=i;a{mi(t.lView)},consumerOnSignalRead(){this.lView[kn]=this}});function Qg(t){return Xg(t[gi])}function Kg(t){return Xg(t[ht])}function Xg(t){for(;t!==null&&!Wt(t);)t=t[ht];return t}var Jg=100;function em(t,e=!0,r=0){let n=t[$t],i=n.rendererFactory,o=!1;o||i.begin?.();try{CC(t,r)}catch(s){throw e&&Gg(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function CC(t,e){hc(t,e);let r=0;for(;Jc(t);){if(r===Jg)throw new M(103,!1);r++,hc(t,1)}}function EC(t,e,r,n){let i=e[k];if((i&256)===256)return;let o=!1;!o&&e[$t].inlineEffectRunner?.flush(),ou(e);let s=null,a=null;!o&&IC(t)&&(a=yC(e),s=Of(a));try{hp(e),LD(t.bindingStartIndex),r!==null&&Pg(t,e,r,2,n);let l=(i&3)===3;if(!o)if(l){let d=t.preOrderCheckHooks;d!==null&&ns(e,d,null)}else{let d=t.preOrderHooks;d!==null&&rs(e,d,0,null),_l(e,0)}if(_C(e),tm(e,0),t.contentQueries!==null&&Ug(t,e),!o)if(l){let d=t.contentCheckHooks;d!==null&&ns(e,d)}else{let d=t.contentHooks;d!==null&&rs(e,d,1),_l(e,1)}zb(t,e);let c=t.components;c!==null&&rm(e,c,0);let u=t.viewQuery;if(u!==null&&fc(2,u,n),!o)if(l){let d=t.viewCheckHooks;d!==null&&ns(e,d)}else{let d=t.viewHooks;d!==null&&rs(e,d,2),_l(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Cl]){for(let d of e[Cl])d();e[Cl]=null}o||(e[k]&=-73)}catch(l){throw mi(e),l}finally{a!==null&&(Pf(a,s),wC(a)),su()}}function IC(t){return t.type!==2}function tm(t,e){for(let r=Qg(t);r!==null;r=Kg(r))for(let n=Se;n-1&&(wi(e,n),cs(r,n))}this._attachedToViewContainer=!1}Bs(this._lView[P],this._lView)}onDestroy(e){pp(this._lView,e)}markForCheck(){Au(this._cdRefInjectingView||this._lView)}detach(){this._lView[k]&=-129}reattach(){Ul(this._lView),this._lView[k]|=128}detectChanges(){this._lView[k]|=1024,em(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Cg(this._lView[P],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=e,Ul(this._lView)}},$n=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=TC;let t=e;return t})(),MC=$n,SC=class extends MC{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=Ws(this._declarationLView,this._declarationTContainer,e,{injector:r,dehydratedView:n});return new jn(i)}};function TC(){return Nu(He(),j())}function Nu(t,e){return t.type&4?new SC(e,t,Sr(t,e)):null}var EP=new RegExp(`^(\\d+)*(${vw}|${mw})*(.*)`);var AC=()=>null;function Ci(t,e){return AC(t,e)}var pc=class{},gc=class{},ys=class{};function NC(t){let e=Error(`No component factory found for ${ke(t)}.`);return e[RC]=t,e}var RC="ngComponent";var mc=class{resolveComponentFactory(e){throw NC(e)}},Zs=(()=>{let e=class e{};e.NULL=new mc;let t=e;return t})(),Ei=class{},Hn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>kC();let t=e;return t})();function kC(){let t=j(),e=He(),r=dn(e.index,t);return(Nn(r)?r:t)[ue]}var OC=(()=>{let e=class e{};e.\u0275prov=x({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),Tl={},Rr=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=PC,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),vc=class extends Rr{constructor(e){super(),this._lView=e}onDestroy(e){return pp(this._lView,e),()=>SD(this._lView,e)}};function PC(){return new vc(j())}var kh=new Set;function kr(t){kh.has(t)||(kh.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Oh(...t){}function FC(){let t=typeof Ze.requestAnimationFrame=="function",e=Ze[t?"requestAnimationFrame":"setTimeout"],r=Ze[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let i=r[Zone.__symbol__("OriginalDelegate")];i&&(r=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var ne=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Y(!1),this.onMicrotaskEmpty=new Y(!1),this.onStable=new Y(!1),this.onError=new Y(!1),typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=FC().nativeRequestAnimationFrame,jC(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new M(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,LC,Oh,Oh);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},LC={};function Ru(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function VC(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Ze,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,yc(t),t.isCheckStableRunning=!0,Ru(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),yc(t))}function jC(t){let e=()=>{VC(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if($C(a))return r.invokeTask(i,o,s,a);try{return Ph(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Fh(t)}},onInvoke:(r,n,i,o,s,a,l)=>{try{return Ph(t),r.invoke(i,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Fh(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,yc(t),Ru(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function yc(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Ph(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Fh(t){t._nesting--,Ru(t)}function $C(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var pr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(pr||{}),BC={destroy(){}};function ku(t,e){!e&&vu(ku);let r=e?.injector??y(St);if(!Cb(r))return BC;kr("NgAfterNextRender");let n=r.get(Ou),i=n.handler??=new wc,o=e?.phase??pr.MixedReadWrite,s=()=>{i.unregister(l),a()},a=r.get(Rr).onDestroy(s),l=new Dc(r,o,()=>{s(),t()});return i.register(l),{destroy:s}}var Dc=class{constructor(e,r,n){this.phase=r,this.callbackFn=n,this.zone=e.get(ne),this.errorHandler=e.get(Et,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},wc=class{constructor(){this.executingCallbacks=!1,this.buckets={[pr.EarlyRead]:new Set,[pr.Write]:new Set,[pr.MixedReadWrite]:new Set,[pr.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Ou=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=x({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Ds(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&Tg(t,r,o.join(" "))}}function ZC(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=QC;let t=e;return t})();function QC(){let t=He();return om(t,j())}var KC=Tt,im=class extends KC{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Sr(this._hostTNode,this._hostLView)}get injector(){return new Rn(this._hostTNode,this._hostLView)}get parentInjector(){let e=yu(this._hostTNode,this._hostLView);if(Yp(e)){let r=hs(e,this._hostLView),n=fs(e),i=r[P].data[n+8];return new Rn(i,r)}else return new Rn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Vh(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Se}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Ci(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,bi(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!Aw(e),a;if(s)a=r;else{let g=r||{};a=g.index,n=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let l=s?e:new _r(an(e)),c=n||this.parentInjector;if(!o&&l.ngModule==null){let D=(s?c:this.parentInjector).get(Oe,null);D&&(o=D)}let u=an(l.componentType??{}),d=Ci(this._lContainer,u?.id??null),f=d?.firstChild??null,h=l.create(c,i,f,o);return this.insertImpl(h.hostView,a,bi(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(_D(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=i[Ie],c=new im(l,l[Ye],l[Ie]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return qs(s,i,o,n),e.attachToViewContainerRef(),_p(Al(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Vh(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=wi(this._lContainer,r);n&&(cs(Al(this._lContainer),r),Bs(n[P],n))}detach(e){let r=this._adjustIndex(e,-1),n=wi(this._lContainer,r);return n&&cs(Al(this._lContainer),r)!=null?new jn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Vh(t){return t[ls]}function Al(t){return t[ls]||(t[ls]=[])}function om(t,e){let r,n=e[t.index];return Wt(n)?r=n:(r=Bg(n,e,null,t),e[t.index]=r,Gs(e,r)),JC(r,e,t,n),new im(r,t,e)}function XC(t,e){let r=t[ue],n=r.createComment(""),i=nt(e,t),o=bu(r,i);return ms(r,o,n,Fb(r,i),!1),n}var JC=nE,eE=()=>!1;function tE(t,e,r){return eE(t,e,r)}function nE(t,e,r,n){if(t[On])return;let i;r.type&8?i=Ct(n):i=XC(e,r),t[On]=i}var Ec=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Ic=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{let c=o[a+1],u=e[-l];for(let d=Se;de.trim())}function dE(t,e,r){t.queries===null&&(t.queries=new xc),t.queries.track(new Mc(e,r))}function Pu(t,e){return t.queries.getByIndex(e)}function fE(t,e){let r=t[P],n=Pu(r,e);return n.crossesNgTemplate?Sc(r,t,e,[]):sm(r,t,n,e)}function hE(t){return Object.getPrototypeOf(t.prototype).constructor}function hn(t){let e=hE(t.type),r=!0,n=[t];for(;e;){let i;if(ln(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new M(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=Jo(t.inputs),s.inputTransforms=Jo(t.inputTransforms),s.declaredInputs=Jo(t.declaredInputs),s.outputs=Jo(t.outputs);let a=i.hostBindings;a&&yE(t,a);let l=i.viewQuery,c=i.contentQueries;if(l&&mE(t,l),c&&vE(t,c),pE(t,i),eD(t.outputs,i.outputs),ln(i)&&i.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=hi(i.hostAttrs,r=hi(r,i.hostAttrs))}}function Jo(t){return t===vr?{}:t===Ue?[]:t}function mE(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function vE(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function yE(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function Fu(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];Array.isArray(i)&&i[3]&&(r[n]=i[3])}t.inputTransforms=r}var un=class{},Ii=class{};var Tc=class extends un{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ws(this);let i=sp(e);this._bootstrapComponents=wg(i.bootstrap),this._r3Injector=ig(e,r,[{provide:un,useValue:this},{provide:Zs,useValue:this.componentFactoryResolver},...n],ke(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Ac=class extends Ii{constructor(e){super(),this.moduleType=e}create(e){return new Tc(this.moduleType,e,[])}};var bs=class extends un{constructor(e){super(),this.componentFactoryResolver=new ws(this),this.instance=null;let r=new Di([...e.providers,{provide:un,useValue:this},{provide:Zs,useValue:this.componentFactoryResolver}],e.parent||mu(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Ys(t,e,r=null){return new bs({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var Or=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new be(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function am(t){return wE(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function DE(t,e){if(Array.isArray(t))for(let r=0;r>17&32767}function _E(t){return(t&2)==2}function xE(t,e){return t&131071|e<<17}function Nc(t){return t|2}function xr(t){return(t&131068)>>2}function Nl(t,e){return t&-131069|e<<2}function ME(t){return(t&1)===1}function Rc(t){return t|1}function SE(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Bn(s),l=xr(s);t[n]=r;let c=!1,u;if(Array.isArray(r)){let d=r;u=d[1],(u===null||Ti(d,u)>0)&&(c=!0)}else u=r;if(i)if(l!==0){let f=Bn(t[a+1]);t[n+1]=es(f,a),f!==0&&(t[f+1]=Nl(t[f+1],n)),t[a+1]=xE(t[a+1],n)}else t[n+1]=es(a,0),a!==0&&(t[a+1]=Nl(t[a+1],n)),a=n;else t[n+1]=es(l,0),a===0?a=n:t[l+1]=Nl(t[l+1],n),l=n;c&&(t[n+1]=Nc(t[n+1])),jh(t,u,n,!0),jh(t,u,n,!1),TE(e,u,t,n,o),s=es(a,l),o?e.classBindings=s:e.styleBindings=s}function TE(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Ti(o,e)>=0&&(r[n+1]=Rc(r[n+1]))}function jh(t,e,r,n){let i=t[r+1],o=e===null,s=n?Bn(i):xr(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];AE(l,e)&&(a=!0,t[s+1]=n?Rc(c):Nc(c)),s=n?Bn(c):xr(c)}a&&(t[r+1]=n?Nc(i):Rc(i))}function AE(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Ti(t,e)>=0:!1}var Ne={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function NE(t){return t.substring(Ne.key,Ne.keyEnd)}function RE(t){return t.substring(Ne.value,Ne.valueEnd)}function kE(t){return OE(t),um(t,Cs(t,0,Ne.textEnd))}function um(t,e){let r=Ne.textEnd,n=Ne.key=Cs(t,e,r);return r===n?-1:(n=Ne.keyEnd=PE(t,n,r),n=$h(t,n,r,58),n=Ne.value=Cs(t,n,r),n=Ne.valueEnd=FE(t,n,r),$h(t,n,r,59))}function OE(t){Ne.key=0,Ne.keyEnd=0,Ne.value=0,Ne.valueEnd=0,Ne.textEnd=t.length}function Cs(t,e,r){for(;e=65&&(n&-33)<=90||n>=48&&n<=57);)e++;return e}function $h(t,e,r,n){return e=Cs(t,e,r),e32&&(a=s),o=i,i=n,n=l&-33}return a}function Bh(t,e,r,n){let i=-1,o=r;for(;o=0;r=um(e,r))hm(t,NE(e),RE(e))}function jE(t,e,r,n){let i=j(),o=he(),s=ru(2);if(o.firstUpdatePass&&fm(o,t,s,n),e!==Ke&&It(i,s,e)){let a=o.data[qt()];pm(o,a,i,i[ue],t,i[s+1]=qE(e,r),n,s)}}function $E(t,e,r,n){let i=he(),o=ru(2);i.firstUpdatePass&&fm(i,null,o,n);let s=j();if(r!==Ke&&It(s,o,r)){let a=i.data[qt()];if(gm(a,n)&&!dm(i,o)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(r=$l(l,r||"")),kc(i,a,s,r,n)}else WE(i,a,s,s[ue],s[o+1],s[o+1]=GE(t,e,r),n,o)}}function dm(t,e){return e>=t.expandoStartIndex}function fm(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[qt()],s=dm(t,r);gm(o,n)&&e===null&&!s&&(e=!1),e=BE(i,o,e,n),SE(i,o,e,r,s,n)}}function BE(t,e,r,n){let i=BD(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=Rl(null,t,e,r,n),r=_i(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=Rl(i,t,e,r,n),o===null){let l=UE(t,e,n);l!==void 0&&Array.isArray(l)&&(l=Rl(null,t,e,l[1],n),l=_i(l,e.attrs,n),HE(t,e,n,l))}else o=zE(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function UE(t,e,r){let n=r?e.classBindings:e.styleBindings;if(xr(n)!==0)return t[Bn(n)]}function HE(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Bn(i)]=n}function zE(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=t[i],c=Array.isArray(l),u=c?l[1]:l,d=u===null,f=r[i+1];f===Ke&&(f=d?Ue:void 0);let h=d?El(f,n):u===n?f:void 0;if(c&&!Es(h)&&(h=El(l,n)),Es(h)&&(a=h,s))return a;let g=t[i+1];i=s?Bn(g):xr(g)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=El(l,n))}return a}function Es(t){return t!==void 0}function qE(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ke(it(t)))),t}function gm(t,e){return(t.flags&(e?8:16))!==0}var Oc=class{destroy(e){}updateValue(e,r){}swap(e,r){let n=Math.min(e,r),i=Math.max(e,r),o=this.detach(i);if(i-n>1){let s=this.detach(n);this.attach(n,o),this.attach(i,s)}else this.attach(n,o)}move(e,r){this.attach(r,this.detach(e))}};function kl(t,e,r,n,i){return t===r&&Object.is(e,n)?1:Object.is(i(t,e),i(r,n))?-1:0}function ZE(t,e,r){let n,i,o=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;o<=s&&o<=a;){let l=t.at(o),c=e[o],u=kl(o,l,o,c,r);if(u!==0){u<0&&t.updateValue(o,c),o++;continue}let d=t.at(s),f=e[a],h=kl(s,d,a,f,r);if(h!==0){h<0&&t.updateValue(s,f),s--,a--;continue}let g=r(o,l),D=r(s,d),E=r(o,c);if(Object.is(E,D)){let C=r(a,f);Object.is(C,g)?(t.swap(o,s),t.updateValue(s,f),a--,s--):t.move(s,o),t.updateValue(o,c),o++;continue}if(n??=new Is,i??=zh(t,o,s,r),Pc(t,n,o,E))t.updateValue(o,c),o++,s++;else if(i.has(E))n.set(g,t.detach(o)),s--;else{let C=t.create(o,e[o]);t.attach(o,C),o++,s++}}for(;o<=a;)Hh(t,n,r,o,e[o]),o++}else if(e!=null){let a=e[Symbol.iterator](),l=a.next();for(;!l.done&&o<=s;){let c=t.at(o),u=l.value,d=kl(o,c,o,u,r);if(d!==0)d<0&&t.updateValue(o,u),o++,l=a.next();else{n??=new Is,i??=zh(t,o,s,r);let f=r(o,u);if(Pc(t,n,o,f))t.updateValue(o,u),o++,s++,l=a.next();else if(!i.has(f))t.attach(o,t.create(o,u)),o++,s++,l=a.next();else{let h=r(o,c);n.set(h,t.detach(o)),s--}}}for(;!l.done;)Hh(t,n,r,t.length,l.value),l=a.next()}for(;o<=s;)t.destroy(t.detach(s--));n?.forEach(a=>{t.destroy(a)})}function Pc(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function Hh(t,e,r,n,i){if(Pc(t,e,n,r(n,i)))t.updateValue(n,i);else{let o=t.create(n,i);t.attach(n,o)}}function zh(t,e,r,n){let i=new Set;for(let o=e;o<=r;o++)i.add(n(o,t.at(o)));return i}var Is=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,n]of this.kvMap)if(e(n,r),this._vMap!==void 0){let i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,r)}}};function Pr(t,e,r){kr("NgControlFlow");let n=j(),i=Si(),o=jc(n,_e+t),s=0;if(It(n,i,e)){let a=z(null);try{if(Zg(o,s),e!==-1){let l=$c(n[P],_e+e),c=Ci(o,l.tView.ssrId),u=Ws(n,l,r,{dehydratedView:c});qs(o,u,s,bi(l,c))}}finally{z(a)}}else{let a=qg(o,s);a!==void 0&&(a[Me]=r)}}var Fc=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-Se}};function mm(t,e){return e}var Lc=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function Fr(t,e,r,n,i,o,s,a,l,c,u,d,f){kr("NgControlFlow");let h=l!==void 0,g=j(),D=a?s.bind(g[tt][Me]):s,E=new Lc(h,D);g[_e+t]=E,Te(t+1,e,r,n,i,o),h&&Te(t+2,l,c,u,d,f)}var Vc=class extends Oc{constructor(e,r,n){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Se}at(e){return this.getLView(e)[Me].$implicit}attach(e,r){let n=r[yr];this.needsIndexUpdate||=e!==this.length,qs(this.lContainer,r,e,bi(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,YE(this.lContainer,e)}create(e,r){let n=Ci(this.lContainer,this.templateTNode.tView.ssrId);return Ws(this.hostLView,this.templateTNode,new Fc(this.lContainer,r,e),{dehydratedView:n})}destroy(e){Bs(e[P],e)}updateValue(e,r){this.getLView(e)[Me].$implicit=r}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(ks(!0),bg(n,i,GD()));function JE(t,e,r,n,i){let o=e.consts,s=br(o,n),a=Nr(e,t,8,"ng-container",s);s!==null&&Ds(a,s,!0);let l=br(o,i);return Mu(e,r,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function Vu(t,e,r){let n=j(),i=he(),o=t+_e,s=i.firstCreatePass?JE(o,i,n,e,r):i.data[o];Un(s,!0);let a=eI(i,n,s,t);return n[o]=a,Rs()&&Us(i,n,a,s),cn(a,n),As(s)&&(Iu(i,n,s),Eu(i,s,n)),r!=null&&_u(n,s),Vu}function ju(){let t=He(),e=he();return eu()?tu():(t=t.parent,Un(t,!1)),e.firstCreatePass&&(Vs(e,t),Yc(t)&&e.queries.elementEnd(t)),ju}var eI=(t,e,r,n)=>(ks(!0),xb(e[ue],""));function zn(){return j()}var An=void 0;function tI(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var nI=["en",[["a","p"],["AM","PM"],An],[["AM","PM"],An,An],[["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"]],An,[["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"]],An,[["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}",An,"{1} 'at' {0}",An],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",tI],Ol={};function $u(t){let e=rI(t),r=Gh(e);if(r)return r;let n=e.split("-")[0];if(r=Gh(n),r)return r;if(n==="en")return nI;throw new M(701,!1)}function Gh(t){return t in Ol||(Ol[t]=Ze.ng&&Ze.ng.common&&Ze.ng.common.locales&&Ze.ng.common.locales[t]),Ol[t]}var Vr=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Vr||{});function rI(t){return t.toLowerCase().replace(/_/g,"-")}var _s="en-US";var iI=_s;function oI(t){typeof t=="string"&&(iI=t.toLowerCase().replace(/_/g,"-"))}function pe(t,e,r,n){let i=j(),o=he(),s=He();return aI(o,i,i[ue],s,t,e,n),pe}function sI(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function aI(t,e,r,n,i,o,s){let a=As(n),c=t.firstCreatePass&&zg(t),u=e[Me],d=Hg(e),f=!0;if(n.type&3||s){let D=nt(n,e),E=s?s(D):D,C=d.length,q=s?Z=>s(Ct(Z[n.index])):n.index,ae=null;if(!s&&a&&(ae=sI(t,e,i,n.index)),ae!==null){let Z=ae.__ngLastListenerFn__||ae;Z.__ngNextListenerFn__=o,ae.__ngLastListenerFn__=o,f=!1}else{o=qh(n,e,u,o,!1);let Z=r.listen(E,i,o);d.push(o,Z),c&&c.push(i,q,C,C+1)}}else o=qh(n,e,u,o,!1);let h=n.outputs,g;if(f&&h!==null&&(g=h[i])){let D=g.length;if(D)for(let E=0;E-1?dn(t.index,e):e;Au(a);let l=Wh(e,r,n,s),c=o.__ngNextListenerFn__;for(;c;)l=Wh(e,r,c,s)&&l,c=c.__ngNextListenerFn__;return i&&l===!1&&s.preventDefault(),l}}function Q(t=1){return HD(t)}function lI(t,e){let r=null,n=uD(t);for(let i=0;i=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function st(t){let e=PD();return Kc(e,_e+t)}function wm(t,e,r){let n=j(),i=Qs(n,t,e,r);LE(i)}function w(t,e=""){let r=j(),n=he(),i=t+_e,o=n.firstCreatePass?Nr(n,i,1,e,null):n.data[i],s=uI(n,r,o,e,t);r[i]=s,Rs()&&Us(n,r,s,o),Un(o,!1)}var uI=(t,e,r,n,i)=>(ks(!0),Ib(e[ue],n));function oe(t){return We("",t,""),oe}function We(t,e,r){let n=j(),i=Qs(n,t,e,r);return i!==Ke&&Wg(n,qt(),i),We}function zu(t,e,r,n,i){let o=j(),s=IE(o,t,e,r,n,i);return s!==Ke&&Wg(o,qt(),s),zu}function dI(t,e,r){let n=he();if(n.firstCreatePass){let i=ln(t);Bc(r,n.data,n.blueprint,i,!0),Bc(e,n.data,n.blueprint,i,!1)}}function Bc(t,e,r,n,i){if(t=Re(t),Array.isArray(t))for(let o=0;o>20;if(Ir(t)||!t.multi){let h=new Ln(c,i,A),g=Fl(l,e,i?u:u+f,d);g===-1?(ec(gs(a,s),o,l),Pl(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[g]=h,s[g]=h)}else{let h=Fl(l,e,u+f,d),g=Fl(l,e,u,u+f),D=h>=0&&r[h],E=g>=0&&r[g];if(i&&!E||!i&&!D){ec(gs(a,s),o,l);let C=pI(i?hI:fI,r.length,i,n,c);!i&&E&&(r[g].providerFactory=C),Pl(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(C),s.push(C)}else{let C=bm(r[i?g:h],c,!i&&n);Pl(o,t,h>-1?h:g,C)}!i&&n&&E&&r[g].componentProviders++}}}function Pl(t,e,r,n){let i=Ir(e),o=Ew(e);if(i||o){let l=(o?Re(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let u=c.indexOf(r);u===-1?c.push(r,[n,l]):c[u+1].push(n,l)}else c.push(r,l)}}}function bm(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Fl(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>dI(n,i?i(t):t,e)}}var gI=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=$p(!1,n.type),o=i.length>0?Ys([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=x({token:e,providedIn:"environment",factory:()=>new e(I(Oe))});let t=e;return t})();function ge(t){kr("NgStandalone"),t.getStandaloneInjector=e=>e.get(gI).getOrCreateStandaloneInjector(t)}function Cm(t,e,r,n){return Im(j(),nu(),t,e,r,n)}function Em(t,e){let r=t[e];return r===Ke?void 0:r}function Im(t,e,r,n,i,o){let s=e+r;return It(t,s,i)?lm(t,s+1,o?n.call(o,i):n(i)):Em(t,s+1)}function mI(t,e,r,n,i,o,s){let a=e+r;return cm(t,a,i,o)?lm(t,a+2,s?n.call(s,i,o):n(i,o)):Em(t,a+2)}function gt(t,e){let r=he(),n,i=t+_e;r.firstCreatePass?(n=vI(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=Fn(n.type,!0)),s,a=Be(A);try{let l=ps(!1),c=o();return ps(l),cI(r,j(),i,c),c}finally{Be(a)}}function vI(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function ki(t,e,r){let n=t+_e,i=j(),o=Kc(i,n);return _m(i,n)?Im(i,nu(),e,o.transform,r,o):o.transform(r)}function Gn(t,e,r,n){let i=t+_e,o=j(),s=Kc(o,i);return _m(o,i)?mI(o,nu(),e,s.transform,r,n,s):s.transform(r,n)}function _m(t,e){return t[P].data[e].pure}var Ks=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var xm=new T("");function pn(t){return!!t&&typeof t.then=="function"}function Gu(t){return!!t&&typeof t.subscribe=="function"}var Xs=new T(""),Mm=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=y(Xs,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(pn(s))n.push(s);else if(Gu(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Oi=new T("");function yI(){Lf(()=>{throw new M(600,!1)})}function DI(t){return t.isBoundToModule}function wI(t,e,r){try{let n=r();return pn(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var $r=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=y(og),this.afterRenderEffectManager=y(Ou),this.componentTypes=[],this.components=[],this.isStable=y(Or).hasPendingTasks.pipe(R(n=>!n)),this._injector=y(Oe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof ys;if(!this._injector.get(Mm).done){let h=!o&&op(n),g=!1;throw new M(405,g)}let a;o?a=n:a=this._injector.get(Zs).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=DI(a)?void 0:this._injector.get(un),c=i||a.selector,u=a.create(St.NULL,[],c,l),d=u.location.nativeElement,f=u.injector.get(xm,null);return f?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Ll(this.components,u),f?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new M(101,!1);let n=z(null);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,z(n)}}detectChangesInAttachedViews(){let n=0,i=this.afterRenderEffectManager;for(;;){if(n===Jg)throw new M(103,!1);let o=n===0;for(let{_lView:s,notifyErrorHandler:a}of this._views)!o&&!Vl(s)||this.detectChangesInView(s,a,o);if(n++,i.executeInternalCallbacks(),!this._views.some(({_lView:s})=>Vl(s))&&(i.execute(),!this._views.some(({_lView:s})=>Vl(s))))break}}detectChangesInView(n,i,o){let s;o?(s=0,n[k]|=1024):n[k]&64?s=0:s=1,em(n,i,s)}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;Ll(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Oi,[]);[...this._bootstrapListeners,...i].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ll(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ll(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Vl(t){return Jc(t)}var Hc=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Js=(()=>{let e=class e{compileModuleSync(n){return new Ac(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=sp(n),s=wg(o.declarations).reduce((a,l)=>{let c=an(l);return c&&a.push(new _r(c)),a},[]);return new Hc(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var bI=(()=>{let e=class e{constructor(){this.zone=y(ne),this.applicationRef=y($r)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function CI(t){return[{provide:ne,useFactory:t},{provide:Er,multi:!0,useFactory:()=>{let e=y(bI,{optional:!0});return()=>e.initialize()}},{provide:Er,multi:!0,useFactory:()=>{let e=y(xI);return()=>{e.initialize()}}},{provide:og,useFactory:EI}]}function EI(){let t=y(ne),e=y(Et);return r=>t.runOutsideAngular(()=>e.handleError(r))}function II(t){let e=CI(()=>new ne(_I(t)));return Ar([[],e])}function _I(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var xI=(()=>{let e=class e{constructor(){this.subscription=new ce,this.initialized=!1,this.zone=y(ne),this.pendingTasks=y(Or)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ne.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ne.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function MI(){return typeof $localize<"u"&&$localize.locale||_s}var Pi=new T("",{providedIn:"root",factory:()=>y(Pi,H.Optional|H.SkipSelf)||MI()});var Sm=new T("");var ss=null;function SI(t=[],e){return St.create({name:e,providers:[{provide:Ls,useValue:"platform"},{provide:Sm,useValue:new Set([()=>ss=null])},...t]})}function TI(t=[]){if(ss)return ss;let e=SI(t);return ss=e,yI(),AI(e),e}function AI(t){t.get(cu,null)?.forEach(r=>r())}var mt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=NI;let t=e;return t})();function NI(t){return RI(He(),j(),(t&16)===16)}function RI(t,e,r){if(Ts(t)&&!r){let n=dn(t.index,e);return new jn(n,n)}else if(t.type&47){let n=e[tt];return new jn(n,e)}return null}var zc=class{constructor(){}supports(e){return am(e)}create(e){return new Gc(e)}},kI=(t,e)=>e,Gc=class{constructor(e){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=e||kI}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new Wc(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new xs),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new xs),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Wc=class{constructor(e,r){this.item=e,this.trackById=r,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}},qc=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},xs=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new qc,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Zh(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Yh()),deps:[[e,new hu,new Fs]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new M(901,!1)}};e.\u0275prov=x({token:e,providedIn:"root",factory:Yh});let t=e;return t})();function Tm(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=TI(n),o=[II(),...r||[]],a=new bs({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(ne);return l.run(()=>{a.resolveInjectorInitializers();let c=a.get(Et,null),u;l.runOutsideAngular(()=>{u=l.onError.subscribe({next:h=>{c.handleError(h)}})});let d=()=>a.destroy(),f=i.get(Sm);return f.add(d),a.onDestroy(()=>{u.unsubscribe(),f.delete(d)}),wI(c,l,()=>{let h=a.get(Mm);return h.runInitializers(),h.donePromise.then(()=>{let g=a.get(Pi,_s);oI(g||_s);let D=a.get($r);return e!==void 0&&D.bootstrap(e),D})})})}catch(e){return Promise.reject(e)}}function Br(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ea(t){let e=z(null);try{return t()}finally{z(e)}}function Am(t){let e=an(t);if(!e)return null;let r=new _r(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Fm=null;function Kt(){return Fm}function Lm(t){Fm??=t}var ta=class{};var xe=new T(""),nd=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>y(OI),providedIn:"platform"});let t=e;return t})(),Vm=new T(""),OI=(()=>{let e=class e extends nd{constructor(){super(),this._doc=y(xe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Kt().getBaseHref(this._doc)}onPopState(n){let i=Kt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=Kt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function rd(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function Nm(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function Qt(t){return t&&t[0]!=="?"?"?"+t:t}var At=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>y(id),providedIn:"root"});let t=e;return t})(),jm=new T(""),id=(()=>{let e=class e extends At{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??y(xe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return rd(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+Qt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(I(nd),I(jm,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),od=(()=>{let e=class e extends At{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=rd(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(I(nd),I(jm,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Hr=(()=>{let e=class e{constructor(n){this._subject=new Y,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=LI(Nm(Rm(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+Qt(i))}normalize(n){return e.stripTrailingSlash(FI(this._basePath,Rm(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qt(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qt(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=Qt,e.joinWithSlash=rd,e.stripTrailingSlash=Nm,e.\u0275fac=function(i){return new(i||e)(I(At))},e.\u0275prov=x({token:e,factory:()=>PI(),providedIn:"root"});let t=e;return t})();function PI(){return new Hr(I(At))}function FI(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Rm(t){return t.replace(/\/index.html$/,"")}function LI(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var sd=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(sd||{});var qe=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t.Infinity=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}(qe||{});function Wn(t,e){let r=$u(t),n=r[Vr.NumberSymbols][e];if(typeof n>"u"){if(e===qe.CurrencyDecimal)return r[Vr.NumberSymbols][qe.Decimal];if(e===qe.CurrencyGroup)return r[Vr.NumberSymbols][qe.Group]}return n}function $m(t,e){return $u(t)[Vr.NumberFormats][e]}var VI=/^(\d+)?\.((\d+)(-(\d+))?)?$/,km=22,na=".",Fi="0",jI=";",$I=",",qu="#";var BI="%";function Bm(t,e,r,n,i,o,s=!1){let a="",l=!1;if(!isFinite(t))a=Wn(r,qe.Infinity);else{let c=GI(t);s&&(c=zI(c));let u=e.minInt,d=e.minFrac,f=e.maxFrac;if(o){let q=o.match(VI);if(q===null)throw new Error(`${o} is not a valid digit info`);let ae=q[1],Z=q[3],me=q[5];ae!=null&&(u=Zu(ae)),Z!=null&&(d=Zu(Z)),me!=null?f=Zu(me):Z!=null&&d>f&&(f=d)}WI(c,d,f);let h=c.digits,g=c.integerLen,D=c.exponent,E=[];for(l=h.every(q=>!q);g0?E=h.splice(g,h.length):(E=h,h=[0]);let C=[];for(h.length>=e.lgSize&&C.unshift(h.splice(-e.lgSize,h.length).join(""));h.length>e.gSize;)C.unshift(h.splice(-e.gSize,h.length).join(""));h.length&&C.unshift(h.join("")),a=C.join(Wn(r,n)),E.length&&(a+=Wn(r,i)+E.join("")),D&&(a+=Wn(r,qe.Exponential)+"+"+D)}return t<0&&!l?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function UI(t,e,r){let n=$m(e,sd.Percent),i=Um(n,Wn(e,qe.MinusSign));return Bm(t,i,e,qe.Group,qe.Decimal,r,!0).replace(new RegExp(BI,"g"),Wn(e,qe.PercentSign))}function HI(t,e,r){let n=$m(e,sd.Decimal),i=Um(n,Wn(e,qe.MinusSign));return Bm(t,i,e,qe.Group,qe.Decimal,r)}function Um(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(jI),i=n[0],o=n[1],s=i.indexOf(na)!==-1?i.split(na):[i.substring(0,i.lastIndexOf(Fi)+1),i.substring(i.lastIndexOf(Fi)+1)],a=s[0],l=s[1]||"";r.posPre=a.substring(0,a.indexOf(qu));for(let u=0;u-1&&(e=e.replace(na,"")),(o=e.search(/e/i))>0?(i<0&&(i=o),i+=+e.slice(o+1),e=e.substring(0,o)):i<0&&(i=e.length),o=0;e.charAt(o)===Fi;o++);if(o===(a=e.length))n=[0],i=1;else{for(a--;e.charAt(a)===Fi;)a--;for(i-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(e.charAt(o))}return i>km&&(n=n.splice(0,km-1),r=i-1,i=1),{digits:n,exponent:r,integerLen:i}}function WI(t,e,r){if(e>r)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${r}).`);let n=t.digits,i=n.length-t.integerLen,o=Math.min(Math.max(e,i),r),s=o+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;i=c?g.pop():l=!1),f>=10?1:0},0);u&&(n.unshift(u),t.integerLen++)}function Zu(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function ra(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var Yu=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Hm=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new Yu(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let l=i.get(s);i.move(l,a),Om(l,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);Om(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(A(Tt),A($n),A(Wu))},e.\u0275dir=fe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Om(t,e){t.context.$implicit=e.item}var zm=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new Qu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Pm("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Pm("ngIfElse",n),this._elseTemplateRef=n,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(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(A(Tt),A($n))},e.\u0275dir=fe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Qu=class{constructor(){this.$implicit=null,this.ngIf=null}};function Pm(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${ke(e)}'.`)}function ad(t,e){return new M(2100,!1)}var Ku=class{createSubscription(e,r){return ea(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){ea(()=>e.unsubscribe())}},Xu=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},qI=new Xu,ZI=new Ku,Gm=(()=>{let e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(pn(n))return qI;if(Gu(n))return ZI;throw ad(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(i){return new(i||e)(A(mt,16))},e.\u0275pipe=zt({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var ia=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,i,o){if(!qm(n))return null;o||=this._locale;try{let s=Zm(n);return HI(s,o,i)}catch(s){throw ad(e,s.message)}}};e.\u0275fac=function(i){return new(i||e)(A(Pi,16))},e.\u0275pipe=zt({name:"number",type:e,pure:!0,standalone:!0});let t=e;return t})(),Wm=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,i,o){if(!qm(n))return null;o||=this._locale;try{let s=Zm(n);return UI(s,o,i)}catch(s){throw ad(e,s.message)}}};e.\u0275fac=function(i){return new(i||e)(A(Pi,16))},e.\u0275pipe=zt({name:"percent",type:e,pure:!0,standalone:!0});let t=e;return t})();function qm(t){return!(t==null||t===""||t!==t)}function Zm(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var qn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Le({});let t=e;return t})(),ld="browser",YI="server";function gn(t){return t===ld}function Li(t){return t===YI}var Ym=(()=>{let e=class e{};e.\u0275prov=x({token:e,providedIn:"root",factory:()=>gn(y(ze))?new Ju(y(xe),window):new ed});let t=e;return t})(),Ju=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=QI(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function QI(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var ed=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Ur=class{};var ji=class{},aa=class{},Zn=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var ud=class{encodeKey(e){return Qm(e)}encodeValue(e){return Qm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function JI(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}var e_=/%(\d[a-f0-9])/gi,t_={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Qm(t){return encodeURIComponent(t).replace(e_,(e,r)=>t_[r]??e)}function sa(t){return`${t}`}var mn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new ud,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=JI(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(sa):[sa(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(sa(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(sa(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var dd=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function n_(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Km(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Xm(t){return typeof Blob<"u"&&t instanceof Blob}function Jm(t){return typeof FormData<"u"&&t instanceof FormData}function r_(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Vi=class t{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(n_(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Zn,this.context??=new dd,!this.params)this.params=new mn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),l=a===-1?"?":ad.set(f,e.setHeaders[f]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),c)),new t(r,n,o,{params:c,headers:l,context:u,reportProgress:a,responseType:i,withCredentials:s})}},zr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(zr||{}),$i=class{constructor(e,r=ua.Ok,n="OK"){this.headers=e.headers||new Zn,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},fd=class t extends $i{constructor(e={}){super(e),this.type=zr.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},la=class t extends $i{constructor(e={}){super(e),this.type=zr.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},ca=class extends $i{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},ua=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(ua||{});function cd(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Yn=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof Vi)s=n;else{let c;o.headers instanceof Zn?c=o.headers:c=new Zn(o.headers);let u;o.params&&(o.params instanceof mn?u=o.params:u=new mn({fromObject:o.params})),s=new Vi(n,i,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=S(s).pipe(jt(c=>this.handler.handle(c)));if(n instanceof Vi||o.observe==="events")return a;let l=a.pipe(Ce(c=>c instanceof la));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(R(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(R(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new mn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,cd(o,i))}post(n,i,o={}){return this.request("POST",n,cd(o,i))}put(n,i,o={}){return this.request("PUT",n,cd(o,i))}};e.\u0275fac=function(i){return new(i||e)(I(ji))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();function i_(t,e){return e(t)}function o_(t,e,r){return(n,i)=>Mt(r,()=>e(n,o=>t(o,i)))}var nv=new T(""),s_=new T(""),a_=new T("");var ev=(()=>{let e=class e extends ji{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=y(Or);let o=y(a_,{optional:!0});this.backend=o??n}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(nv),...this.injector.get(s_,[])]));this.chain=o.reduceRight((s,a)=>o_(s,a,this.injector),i_)}let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(ut(()=>this.pendingTasks.remove(i)))}};e.\u0275fac=function(i){return new(i||e)(I(aa),I(Oe))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();var l_=/^\)\]\}',?\n/;function c_(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var tv=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new M(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?te(i.\u0275loadImpl()):S(null)).pipe(ve(()=>new V(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((E,C)=>a.setRequestHeader(E,C.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let E=n.detectContentTypeHeader();E!==null&&a.setRequestHeader("Content-Type",E)}if(n.responseType){let E=n.responseType.toLowerCase();a.responseType=E!=="json"?E:"text"}let l=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let E=a.statusText||"OK",C=new Zn(a.getAllResponseHeaders()),q=c_(a)||n.url;return c=new fd({headers:C,status:a.status,statusText:E,url:q}),c},d=()=>{let{headers:E,status:C,statusText:q,url:ae}=u(),Z=null;C!==ua.NoContent&&(Z=typeof a.response>"u"?a.responseText:a.response),C===0&&(C=Z?ua.Ok:0);let me=C>=200&&C<300;if(n.responseType==="json"&&typeof Z=="string"){let Ve=Z;Z=Z.replace(l_,"");try{Z=Z!==""?JSON.parse(Z):null}catch(vt){Z=Ve,me&&(me=!1,Z={error:vt,text:Z})}}me?(s.next(new la({body:Z,headers:E,status:C,statusText:q,url:ae||void 0})),s.complete()):s.error(new ca({error:Z,headers:E,status:C,statusText:q,url:ae||void 0}))},f=E=>{let{url:C}=u(),q=new ca({error:E,status:a.status||0,statusText:a.statusText||"Unknown Error",url:C||void 0});s.error(q)},h=!1,g=E=>{h||(s.next(u()),h=!0);let C={type:zr.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(C.total=E.total),n.responseType==="text"&&a.responseText&&(C.partialText=a.responseText),s.next(C)},D=E=>{let C={type:zr.UploadProgress,loaded:E.loaded};E.lengthComputable&&(C.total=E.total),s.next(C)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",g),l!==null&&a.upload&&a.upload.addEventListener("progress",D)),a.send(l),s.next({type:zr.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",g),l!==null&&a.upload&&a.upload.removeEventListener("progress",D)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(I(Ur))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),rv=new T(""),u_="XSRF-TOKEN",d_=new T("",{providedIn:"root",factory:()=>u_}),f_="X-XSRF-TOKEN",h_=new T("",{providedIn:"root",factory:()=>f_}),da=class{},p_=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ra(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(I(xe),I(ze),I(d_))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();function g_(t,e){let r=t.url.toLowerCase();if(!y(rv)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=y(da).getToken(),i=y(h_);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}function iv(...t){let e=[Yn,tv,ev,{provide:ji,useExisting:ev},{provide:aa,useExisting:tv},{provide:nv,useValue:g_,multi:!0},{provide:rv,useValue:!0},{provide:da,useClass:p_}];for(let r of t)e.push(...r.\u0275providers);return Ar(e)}var md=class extends ta{constructor(){super(...arguments),this.supportsDOMEvents=!0}},vd=class t extends md{static makeCurrent(){Lm(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=m_();return r==null?null:v_(r)}resetBaseElement(){Bi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return ra(document.cookie,e)}},Bi=null;function m_(){return Bi=Bi||document.querySelector("base"),Bi?Bi.getAttribute("href"):null}function v_(t){return new URL(t,document.baseURI).pathname}var y_=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),yd=new T(""),lv=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new M(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(I(yd),I(ne))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),fa=class{constructor(e){this._doc=e}},pd="ng-app-id",cv=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Li(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${pd}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(pd),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(pd,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(I(xe),I(lu),I(uu,8),I(ze))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),gd={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/"},wd=/%COMP%/g,uv="%COMP%",D_=`_nghost-${uv}`,w_=`_ngcontent-${uv}`,b_=!0,C_=new T("",{providedIn:"root",factory:()=>b_});function E_(t){return w_.replace(wd,t)}function I_(t){return D_.replace(wd,t)}function dv(t,e){return e.map(r=>r.replace(wd,t))}var ov=(()=>{let e=class e{constructor(n,i,o,s,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Li(l),this.defaultRenderer=new Ui(n,a,c,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===bt.ShadowDom&&(i=G(v({},i),{encapsulation:bt.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof ha?o.applyToHost(n):o instanceof Hi&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case bt.Emulated:s=new ha(c,u,i,this.appId,d,a,l,f);break;case bt.ShadowDom:return new Dd(c,u,n,i,a,l,this.nonce,f);default:s=new Hi(c,u,i,d,a,l,f);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(I(lv),I(cv),I(lu),I(C_),I(xe),I(ze),I(ne),I(uu))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Ui=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(gd[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(sv(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(sv(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new M(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=gd[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=gd[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Ht.DashCase|Ht.Important)?e.style.setProperty(r,n,i&Ht.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Ht.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Kt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function sv(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Dd=class extends Ui{constructor(e,r,n,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=dv(i.id,i.styles);for(let u of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Hi=class extends Ui{constructor(e,r,n,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?dv(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ha=class extends Hi{constructor(e,r,n,i,o,s,a,l){let c=i+"-"+n.id;super(e,r,n,o,s,a,l,c),this.contentAttr=E_(c),this.hostAttr=I_(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},__=(()=>{let e=class e extends fa{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(I(xe))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),av=["alt","control","meta","shift"],x_={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},M_={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},S_=(()=>{let e=class e extends fa{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),av.forEach(u=>{let d=i.indexOf(u);d>-1&&(i.splice(d,1),a+=u+".")}),a+=s,i.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,i){let o=x_[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),av.forEach(a=>{if(a!==o){let l=M_[a];l(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(I(xe))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();function fv(t,e){return Tm(v({rootComponent:t},T_(e)))}function T_(t){return{appProviders:[...O_,...t?.providers??[]],platformProviders:k_}}function A_(){vd.makeCurrent()}function N_(){return new Et}function R_(){return Sp(document),document}var k_=[{provide:ze,useValue:ld},{provide:cu,useValue:A_,multi:!0},{provide:xe,useFactory:R_,deps:[]}];var O_=[{provide:Ls,useValue:"root"},{provide:Et,useFactory:N_,deps:[]},{provide:yd,useClass:__,multi:!0,deps:[xe,ne,ze]},{provide:yd,useClass:S_,multi:!0,deps:[xe]},ov,cv,lv,{provide:Ei,useExisting:ov},{provide:Ur,useClass:y_,deps:[]},[]];var hv=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(I(xe))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var zi=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=I(P_),o},providedIn:"root"});let t=e;return t})(),P_=(()=>{let e=class e extends zi{constructor(n){super(),this._doc=n}sanitize(n,i){if(i==null)return null;switch(n){case ot.NONE:return i;case ot.HTML:return fn(i,"HTML")?it(i):mg(this._doc,String(i)).toString();case ot.STYLE:return fn(i,"Style")?it(i):i;case ot.SCRIPT:if(fn(i,"Script"))return it(i);throw new M(5200,!1);case ot.URL:return fn(i,"URL")?it(i):$s(String(i));case ot.RESOURCE_URL:if(fn(i,"ResourceURL"))return it(i);throw new M(5201,!1);default:throw new M(5202,!1)}}bypassSecurityTrustHtml(n){return ag(n)}bypassSecurityTrustStyle(n){return lg(n)}bypassSecurityTrustScript(n){return cg(n)}bypassSecurityTrustUrl(n){return ug(n)}bypassSecurityTrustResourceUrl(n){return dg(n)}};e.\u0275fac=function(i){return new(i||e)(I(xe))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var $="primary",so=Symbol("RouteTitle"),xd=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Yr(t){return new xd(t)}function F_(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function Ev(t){return t.length>0?t[t.length-1]:null}function bn(t){return cl(t)?t:pn(t)?te(Promise.resolve(t)):S(t)}var V_={exact:_v,subset:xv},Iv={exact:j_,subset:$_,ignored:()=>!0};function pv(t,e,r){return V_[r.paths](t.root,e.root,r.matrixParams)&&Iv[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function j_(t,e){return Nt(t,e)}function _v(t,e,r){if(!Kn(t.segments,e.segments)||!ma(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!_v(t.children[n],e.children[n],r))return!1;return!0}function $_(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Cv(t[r],e[r]))}function xv(t,e,r){return Mv(t,e,e.segments,r)}function Mv(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Kn(i,r)||e.hasChildren()||!ma(i,r,n))}else if(t.segments.length===r.length){if(!Kn(t.segments,r)||!ma(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!xv(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!Kn(t.segments,i)||!ma(t.segments,i,n)||!t.children[$]?!1:Mv(t.children[$],e,o,n)}}function ma(t,e,r){return e.every((n,i)=>Iv[r](t[i].parameters,n.parameters))}var vn=class{constructor(e=new K([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Yr(this.queryParams),this._queryParamMap}toString(){return H_.serialize(this)}},K=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return va(this)}},Qn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Yr(this.parameters),this._parameterMap}toString(){return Tv(this)}};function B_(t,e){return Kn(t,e)&&t.every((r,n)=>Nt(r.parameters,e[n].parameters))}function Kn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function U_(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===$&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==$&&(r=r.concat(e(i,n)))}),r}var ao=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>new Ki,providedIn:"root"});let t=e;return t})(),Ki=class{parse(e){let r=new Td(e);return new vn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Gi(e.root,!0)}`,n=W_(e.queryParams),i=typeof e.fragment=="string"?`#${z_(e.fragment)}`:"";return`${r}${n}${i}`}},H_=new Ki;function va(t){return t.segments.map(e=>Tv(e)).join("/")}function Gi(t,e){if(!t.hasChildren())return va(t);if(e){let r=t.children[$]?Gi(t.children[$],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&n.push(`${i}:${Gi(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=U_(t,(n,i)=>i===$?[Gi(t.children[$],!1)]:[`${i}:${Gi(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${va(t)}/${r[0]}`:`${va(t)}/(${r.join("//")})`}}function Sv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pa(t){return Sv(t).replace(/%3B/gi,";")}function z_(t){return encodeURI(t)}function Sd(t){return Sv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ya(t){return decodeURIComponent(t)}function gv(t){return ya(t.replace(/\+/g,"%20"))}function Tv(t){return`${Sd(t.path)}${G_(t.parameters)}`}function G_(t){return Object.entries(t).map(([e,r])=>`;${Sd(e)}=${Sd(r)}`).join("")}function W_(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${pa(r)}=${pa(i)}`).join("&"):`${pa(r)}=${pa(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var q_=/^[^\/()?;#]+/;function Cd(t){let e=t.match(q_);return e?e[0]:""}var Z_=/^[^\/()?;=#]+/;function Y_(t){let e=t.match(Z_);return e?e[0]:""}var Q_=/^[^=?&#]+/;function K_(t){let e=t.match(Q_);return e?e[0]:""}var X_=/^[^&#]+/;function J_(t){let e=t.match(X_);return e?e[0]:""}var Td=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new K([],{}):new K([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[$]=new K(e,r)),n}parseSegment(){let e=Cd(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new M(4009,!1);return this.capture(e),new Qn(ya(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=Y_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Cd(this.remaining);i&&(n=i,this.capture(n))}e[ya(r)]=ya(n)}parseQueryParam(e){let r=K_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=J_(this.remaining);s&&(n=s,this.capture(n))}let i=gv(r),o=gv(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Cd(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new M(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[$]:new K([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new M(4011,!1)}};function Av(t){return t.segments.length>0?new K([],{[$]:t}):t}function Nv(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=Nv(i);if(n===$&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new K(t.segments,e);return ex(r)}function ex(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new K(t.segments.concat(e.segments),e.children)}return t}function Qr(t){return t instanceof vn}function tx(t,e,r=null,n=null){let i=Rv(t);return kv(i,e,r,n)}function Rv(t){let e;function r(o){let s={};for(let l of o.children){let c=r(l);s[l.outlet]=c}let a=new K(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Av(n);return e??i}function kv(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Ed(i,i,i,r,n);let o=nx(e);if(o.toRoot())return Ed(i,i,new K([],{}),r,n);let s=rx(o,i,t),a=s.processChildren?Zi(s.segmentGroup,s.index,o.commands):Pv(s.segmentGroup,s.index,o.commands);return Ed(i,s.segmentGroup,a,r,n)}function Da(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Xi(t){return typeof t=="object"&&t!=null&&t.outlets}function Ed(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let s;t===e?s=r:s=Ov(t,e,r);let a=Av(Nv(s));return new vn(a,o,i)}function Ov(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=Ov(o,e,r)}),new K(t.segments,n)}var wa=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Da(n[0]))throw new M(4003,!1);let i=n.find(Xi);if(i&&i!==Ev(n))throw new M(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function nx(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new wa(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new wa(r,e,n)}var qr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function rx(t,e,r){if(t.isAbsolute)return new qr(e,!0,0);if(!r)return new qr(e,!1,NaN);if(r.parent===null)return new qr(r,!0,0);let n=Da(t.commands[0])?0:1,i=r.segments.length-1+n;return ix(r,i,t.numberOfDoubleDots)}function ix(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new M(4005,!1);i=n.segments.length}return new qr(n,!1,i-o)}function ox(t){return Xi(t[0])?t[0].outlets:{[$]:t}}function Pv(t,e,r){if(t??=new K([],{}),t.segments.length===0&&t.hasChildren())return Zi(t,e,r);let n=sx(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==$)&&t.children[$]&&t.numberOfChildren===1&&t.children[$].segments.length===0){let o=Zi(t.children[$],e,r);return new K(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Pv(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new K(t.segments,i)}}function sx(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(Xi(a))break;let l=`${a}`,c=n0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!vv(l,c,s))return o;n+=2}else{if(!vv(l,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Ad(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Ad(new K([],{}),0,n))}),e}function mv(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function vv(t,e,r){return t==r.path&&Nt(e,r.parameters)}var Yi="imperative",we=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(we||{}),lt=class{constructor(e,r){this.id=e,this.url=r}},Kr=class extends lt{constructor(e,r,n="imperative",i=null){super(e,r),this.type=we.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Rt=class extends lt{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=we.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},at=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(at||{}),ba=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ba||{}),yn=class extends lt{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=we.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Dn=class extends lt{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=we.NavigationSkipped}},Ji=class extends lt{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=we.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ca=class extends lt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=we.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Nd=class extends lt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=we.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Rd=class extends lt{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=we.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},kd=class extends lt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=we.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Od=class extends lt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=we.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pd=class{constructor(e){this.route=e,this.type=we.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Fd=class{constructor(e){this.route=e,this.type=we.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ld=class{constructor(e){this.snapshot=e,this.type=we.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Vd=class{constructor(e){this.snapshot=e,this.type=we.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},jd=class{constructor(e){this.snapshot=e,this.type=we.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$d=class{constructor(e){this.snapshot=e,this.type=we.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ea=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=we.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},eo=class{},to=class{constructor(e){this.url=e}};var Bd=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new lo,this.attachRef=null}},lo=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Bd,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ia=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Ud(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Ud(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Hd(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Hd(e,this._root).map(r=>r.value)}};function Ud(t,e){if(t===e.value)return e;for(let r of e.children){let n=Ud(t,r);if(n)return n}return null}function Hd(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Hd(t,r);if(n.length)return n.unshift(e),n}return[]}var Xe=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Wr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var _a=class extends Ia{constructor(e,r){super(e),this.snapshot=r,Jd(this,e)}toString(){return this.snapshot.toString()}};function Fv(t){let e=lx(t),r=new be([new Qn("",{})]),n=new be({}),i=new be({}),o=new be({}),s=new be(""),a=new wn(r,n,o,s,i,$,t,e.root);return a.snapshot=e.root,new _a(new Xe(a,[]),e)}function lx(t){let e={},r={},n={},i="",o=new no([],e,n,i,r,$,t,null,{});return new xa("",new Xe(o,[]))}var wn=class{constructor(e,r,n,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(R(c=>c[so]))??S(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}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.params.pipe(R(e=>Yr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(R(e=>Yr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Xd(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:v(v({},e.params),t.params),data:v(v({},e.data),t.data),resolve:v(v(v(v({},t.data),e.data),i?.data),t._resolvedData)}:n={params:v({},t.params),data:v({},t.data),resolve:v(v({},t.data),t._resolvedData??{})},i&&Vv(i)&&(n.resolve[so]=i.title),n}var no=class{get title(){return this.data?.[so]}constructor(e,r,n,i,o,s,a,l,c){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=Yr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Yr(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},xa=class extends Ia{constructor(e,r){super(r),this.url=e,Jd(this,r)}toString(){return Lv(this._root)}};function Jd(t,e){e.value._routerState=t,e.children.forEach(r=>Jd(t,r))}function Lv(t){let e=t.children.length>0?` { ${t.children.map(Lv).join(", ")} } `:"";return`${t.value}${e}`}function Id(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Nt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Nt(e.params,r.params)||t.paramsSubject.next(r.params),L_(e.url,r.url)||t.urlSubject.next(r.url),Nt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function zd(t,e){let r=Nt(t.params,e.params)&&B_(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||zd(t.parent,e.parent))}function Vv(t){return typeof t.title=="string"||t.title===null}var ef=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new Y,this.deactivateEvents=new Y,this.attachEvents=new Y,this.detachEvents=new Y,this.parentContexts=y(lo),this.location=y(Tt),this.changeDetector=y(mt),this.environmentInjector=y(Oe),this.inputBinder=y(Aa,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new M(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new M(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new M(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new M(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new Gd(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=fe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ge]});let t=e;return t})(),Gd=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===wn?this.route:e===lo?this.childContexts:this.parent.get(e,r)}},Aa=new T(""),yv=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=ui([i.queryParams,i.params,i.data]).pipe(ve(([s,a,l],c)=>(l=v(v(v({},s),a),l),c===0?S(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Am(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();function cx(t,e,r){let n=ro(t,e._root,r?r._root:void 0);return new _a(n,e)}function ro(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=ux(t,e,r);return new Xe(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>ro(t,a)),s}}let n=dx(e.value),i=e.children.map(o=>ro(t,o));return new Xe(n,i)}}function ux(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return ro(t,n,i);return ro(t,n)})}function dx(t){return new wn(new be(t.url),new be(t.params),new be(t.queryParams),new be(t.fragment),new be(t.data),t.outlet,t.component,t)}var jv="ngNavigationCancelingError";function $v(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Qr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Bv(!1,at.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function Bv(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[jv]=!0,r.cancellationCode=e,r}function fx(t){return Uv(t)&&Qr(t.url)}function Uv(t){return!!t&&t[jv]}var hx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["ng-component"]],standalone:!0,features:[ge],decls:1,vars:0,template:function(i,o){i&1&&O(0,"router-outlet")},dependencies:[ef],encapsulation:2});let t=e;return t})();function px(t,e){return t.providers&&!t._injector&&(t._injector=Ys(t.providers,e,`Route: ${t.path}`)),t._injector??e}function tf(t){let e=t.children&&t.children.map(tf),r=e?G(v({},t),{children:e}):v({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==$&&(r.component=hx),r}function kt(t){return t.outlet||$}function gx(t,e){let r=t.filter(n=>kt(n)===e);return r.push(...t.filter(n=>kt(n)!==e)),r}function co(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var mx=(t,e,r,n)=>R(i=>(new Wd(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Wd=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Id(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Wr(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Wr(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Wr(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=Wr(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new $d(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Vd(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Id(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Id(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=co(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},Ma=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Zr=class{constructor(e,r){this.component=e,this.route=r}};function vx(t,e,r){let n=t._root,i=e?e._root:null;return Wi(n,i,r,[n.value])}function yx(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Jr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Tp(t)?t:e.get(t):n}function Wi(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Wr(e);return t.children.forEach(s=>{Dx(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Qi(a,r.getContext(s),i)),i}function Dx(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=wx(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Ma(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Wi(t,e,a?a.children:null,n,i):Wi(t,e,r,n,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Zr(a.outlet.component,s))}else s&&Qi(e,a,i),i.canActivateChecks.push(new Ma(n)),o.component?Wi(t,null,a?a.children:null,n,i):Wi(t,null,r,n,i);return i}function wx(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Kn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Kn(t.url,e.url)||!Nt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zd(t,e)||!Nt(t.queryParams,e.queryParams);case"paramsChange":default:return!zd(t,e)}}function Qi(t,e,r){let n=Wr(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Qi(s,e.children.getContext(o),r):Qi(s,null,r):Qi(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Zr(e.outlet.component,i)):r.canDeactivateChecks.push(new Zr(null,i)):r.canDeactivateChecks.push(new Zr(null,i))}function uo(t){return typeof t=="function"}function bx(t){return typeof t=="boolean"}function Cx(t){return t&&uo(t.canLoad)}function Ex(t){return t&&uo(t.canActivate)}function Ix(t){return t&&uo(t.canActivateChild)}function _x(t){return t&&uo(t.canDeactivate)}function xx(t){return t&&uo(t.canMatch)}function Hv(t){return t instanceof Vt||t?.name==="EmptyError"}var ga=Symbol("INITIAL_VALUE");function Xr(){return ve(t=>ui(t.map(e=>e.pipe(et(1),ur(ga)))).pipe(R(e=>{for(let r of e)if(r!==!0){if(r===ga)return ga;if(r===!1||r instanceof vn)return r}return!0}),Ce(e=>e!==ga),et(1)))}function Mx(t,e){return le(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?S(G(v({},r),{guardsResult:!0})):Sx(s,n,i,t).pipe(le(a=>a&&bx(a)?Tx(n,o,t,e):S(a)),R(a=>G(v({},r),{guardsResult:a})))})}function Sx(t,e,r,n){return te(t).pipe(le(i=>Ox(i.component,i.route,r,e,n)),dt(i=>i!==!0,!0))}function Tx(t,e,r,n){return te(e).pipe(jt(i=>lr(Nx(i.route.parent,n),Ax(i.route,n),kx(t,i.path,r),Rx(t,i.route,r))),dt(i=>i!==!0,!0))}function Ax(t,e){return t!==null&&e&&e(new jd(t)),S(!0)}function Nx(t,e){return t!==null&&e&&e(new Ld(t)),S(!0)}function Rx(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return S(!0);let i=n.map(o=>qo(()=>{let s=co(e)??r,a=Jr(o,s),l=Ex(a)?a.canActivate(e,t):Mt(s,()=>a(e,t));return bn(l).pipe(dt())}));return S(i).pipe(Xr())}function kx(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>yx(s)).filter(s=>s!==null).map(s=>qo(()=>{let a=s.guards.map(l=>{let c=co(s.node)??r,u=Jr(l,c),d=Ix(u)?u.canActivateChild(n,t):Mt(c,()=>u(n,t));return bn(d).pipe(dt())});return S(a).pipe(Xr())}));return S(o).pipe(Xr())}function Ox(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return S(!0);let s=o.map(a=>{let l=co(e)??i,c=Jr(a,l),u=_x(c)?c.canDeactivate(t,e,r,n):Mt(l,()=>c(t,e,r,n));return bn(u).pipe(dt())});return S(s).pipe(Xr())}function Px(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return S(!0);let o=i.map(s=>{let a=Jr(s,t),l=Cx(a)?a.canLoad(e,r):Mt(t,()=>a(e,r));return bn(l)});return S(o).pipe(Xr(),zv(n))}function zv(t){return rl(J(e=>{if(Qr(e))throw $v(t,e)}),R(e=>e===!0))}function Fx(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return S(!0);let o=i.map(s=>{let a=Jr(s,t),l=xx(a)?a.canMatch(e,r):Mt(t,()=>a(e,r));return bn(l)});return S(o).pipe(Xr(),zv(n))}var io=class{constructor(e){this.segmentGroup=e||null}},Sa=class extends Error{constructor(e){super(),this.urlTree=e}};function Gr(t){return ar(new io(t))}function Lx(t){return ar(new M(4e3,!1))}function Vx(t){return ar(Bv(!1,at.GuardRejected))}var qd=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return S(n);if(i.numberOfChildren>1||!i.children[$])return Lx(e.redirectTo);i=i.children[$]}}applyRedirectCommands(e,r,n){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new Sa(i);return i}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new vn(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,i)}),new K(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new M(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},Zd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function jx(t,e,r,n,i){let o=nf(t,e,r);return o.matched?(n=px(e,n),Fx(n,e,r,i).pipe(R(s=>s===!0?o:v({},Zd)))):S(o)}function nf(t,e,r){if(e.path==="**")return $x(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?v({},Zd):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||F_)(r,t,e);if(!i)return v({},Zd);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?v(v({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function $x(t){return{matched:!0,parameters:t.length>0?Ev(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Dv(t,e,r,n){return r.length>0&&Hx(t,r,n)?{segmentGroup:new K(e,Ux(n,new K(r,t.children))),slicedSegments:[]}:r.length===0&&zx(t,r,n)?{segmentGroup:new K(t.segments,Bx(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new K(t.segments,t.children),slicedSegments:r}}function Bx(t,e,r,n){let i={};for(let o of r)if(Na(t,e,o)&&!n[kt(o)]){let s=new K([],{});i[kt(o)]=s}return v(v({},n),i)}function Ux(t,e){let r={};r[$]=e;for(let n of t)if(n.path===""&&kt(n)!==$){let i=new K([],{});r[kt(n)]=i}return r}function Hx(t,e,r){return r.some(n=>Na(t,e,n)&&kt(n)!==$)}function zx(t,e,r){return r.some(n=>Na(t,e,n))}function Na(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Gx(t,e,r,n){return kt(t)!==n&&(n===$||!Na(e,r,t))?!1:nf(e,t,r).matched}function Wx(t,e,r){return e.length===0&&!t.children[r]}var Yd=class{};function qx(t,e,r,n,i,o,s="emptyOnly"){return new Qd(t,e,r,n,i,s,o).recognize()}var Zx=31,Qd=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new qd(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new M(4002,`'${e.segmentGroup}'`)}recognize(){let e=Dv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(R(r=>{let n=new no([],Object.freeze({}),Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,{},$,this.rootComponentType,null,{}),i=new Xe(n,r),o=new xa("",i),s=tx(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,$).pipe(Ee(n=>{if(n instanceof Sa)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof io?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,i=Xd(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(o=>this.inheritParamsAndData(o,n))}processSegmentGroup(e,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,i,!0).pipe(R(o=>o instanceof Xe?[o]:[]))}processChildren(e,r,n){let i=[];for(let o of Object.keys(n.children))o==="primary"?i.unshift(o):i.push(o);return te(i).pipe(jt(o=>{let s=n.children[o],a=gx(r,o);return this.processSegmentGroup(e,a,s,o)}),vl((o,s)=>(o.push(...s),o)),rn(null),ml(),le(o=>{if(o===null)return Gr(n);let s=Gv(o);return Yx(s),S(s)}))}processSegment(e,r,n,i,o,s){return te(r).pipe(jt(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,i,o,s).pipe(Ee(l=>{if(l instanceof io)return S(null);throw l}))),dt(a=>!!a),Ee(a=>{if(Hv(a))return Wx(n,i,o)?S(new Yd):Gr(n);throw a}))}processSegmentAgainstRoute(e,r,n,i,o,s,a){return Gx(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s):Gr(i):Gr(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){let{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}=nf(r,i,o);if(!a)return Gr(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Zx&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,d).pipe(le(f=>this.processSegment(e,n,r,f.concat(u),s,!1)))}matchSegmentAgainstRoute(e,r,n,i,o){let s=jx(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(ve(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(ve(({routes:l})=>{let c=n._loadedInjector??e,{consumedSegments:u,remainingSegments:d,parameters:f}=a,h=new no(u,f,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Kx(n),kt(n),n.component??n._loadedComponent??null,n,Xx(n)),{segmentGroup:g,slicedSegments:D}=Dv(r,u,d,l);if(D.length===0&&g.hasChildren())return this.processChildren(c,l,g).pipe(R(C=>C===null?null:new Xe(h,C)));if(l.length===0&&D.length===0)return S(new Xe(h,[]));let E=kt(n)===o;return this.processSegment(c,l,g,D,E?$:o,!0).pipe(R(C=>new Xe(h,C instanceof Xe?[C]:[])))}))):Gr(r)))}getChildConfig(e,r,n){return r.children?S({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?S({routes:r._loadedRoutes,injector:r._loadedInjector}):Px(e,r,n,this.urlSerializer).pipe(le(i=>i?this.configLoader.loadChildren(e,r).pipe(J(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):Vx(r))):S({routes:[],injector:e})}};function Yx(t){t.sort((e,r)=>e.value.outlet===$?-1:r.value.outlet===$?1:e.value.outlet.localeCompare(r.value.outlet))}function Qx(t){let e=t.value.routeConfig;return e&&e.path===""}function Gv(t){let e=[],r=new Set;for(let n of t){if(!Qx(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=Gv(n.children);e.push(new Xe(n.value,i))}return e.filter(n=>!r.has(n))}function Kx(t){return t.data||{}}function Xx(t){return t.resolve||{}}function Jx(t,e,r,n,i,o){return le(s=>qx(t,e,r,n,s.extractedUrl,i,o).pipe(R(({state:a,tree:l})=>G(v({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function eM(t,e){return le(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return S(r);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of Wv(l))s.add(c);let a=0;return te(s).pipe(jt(l=>o.has(l)?tM(l,n,t,e):(l.data=Xd(l,l.parent,t).resolve,S(void 0))),J(()=>a++),cr(1),le(l=>a===s.size?S(r):je))})}function Wv(t){let e=t.children.map(r=>Wv(r)).flat();return[t,...e]}function tM(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!Vv(i)&&(o[so]=i.title),nM(o,t,e,n).pipe(R(s=>(t._resolvedData=s,t.data=Xd(t,t.parent,r).resolve,null)))}function nM(t,e,r,n){let i=Md(t);if(i.length===0)return S({});let o={};return te(i).pipe(le(s=>rM(t[s],e,r,n).pipe(dt(),J(a=>{o[s]=a}))),cr(1),di(o),Ee(s=>Hv(s)?je:ar(s)))}function rM(t,e,r,n){let i=co(e)??n,o=Jr(t,i),s=o.resolve?o.resolve(e,r):Mt(i,()=>o(e,r));return bn(s)}function _d(t){return ve(e=>{let r=t(e);return r?te(r).pipe(R(()=>e)):S(e)})}var qv=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===$);return i}getResolvedTitleForRoute(n){return n.data[so]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>y(iM),providedIn:"root"});let t=e;return t})(),iM=(()=>{let e=class e extends qv{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(I(hv))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fo=new T("",{providedIn:"root",factory:()=>({})}),oo=new T(""),rf=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=y(Js)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return S(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=bn(n.loadComponent()).pipe(R(Zv),J(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),ut(()=>{this.componentLoaders.delete(n)})),o=new or(i,()=>new se).pipe(ir());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return S({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=oM(i,this.compiler,n,this.onLoadEndListener).pipe(ut(()=>{this.childrenLoaders.delete(i)})),a=new or(s,()=>new se).pipe(ir());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function oM(t,e,r,n){return bn(t.loadChildren()).pipe(R(Zv),le(i=>i instanceof Ii||Array.isArray(i)?S(i):te(e.compileModuleAsync(i))),R(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(oo,[],{optional:!0,self:!0}).flat()),{routes:s.map(tf),injector:o}}))}function sM(t){return t&&typeof t=="object"&&"default"in t}function Zv(t){return sM(t)?t.default:t}var of=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>y(aM),providedIn:"root"});let t=e;return t})(),aM=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Yv=new T(""),Qv=new T("");function lM(t,e,r){let n=t.get(Qv),i=t.get(xe);return t.get(ne).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,Promise.resolve();let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),cM(t))),{onViewTransitionCreated:l}=n;return l&&Mt(t,()=>l({transition:a,from:e,to:r})),s})}function cM(t){return new Promise(e=>{ku(e,{injector:t})})}var sf=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new se,this.transitionAbortSubject=new se,this.configLoader=y(rf),this.environmentInjector=y(Oe),this.urlSerializer=y(ao),this.rootContexts=y(lo),this.location=y(Hr),this.inputBindingEnabled=y(Aa,{optional:!0})!==null,this.titleStrategy=y(qv),this.options=y(fo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=y(of),this.createViewTransition=y(Yv,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>S(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Pd(o)),i=o=>this.events.next(new Fd(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(G(v(v({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new be({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Yi,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ce(s=>s.id!==0),R(s=>G(v({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ve(s=>{this.currentTransition=s;let a=!1,l=!1;return S(s).pipe(J(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?G(v({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),ve(c=>{let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&d!=="reload"){let f="";return this.events.next(new Dn(c.id,this.urlSerializer.serialize(c.rawUrl),f,ba.IgnoredSameUrlNavigation)),c.resolve(null),je}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return S(c).pipe(ve(f=>{let h=this.transitions?.getValue();return this.events.next(new Kr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?je:Promise.resolve(f)}),Jx(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),J(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=G(v({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Ca(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:g,restoredState:D,extras:E}=c,C=new Kr(f,this.urlSerializer.serialize(h),g,D);this.events.next(C);let q=Fv(this.rootComponentType).snapshot;return this.currentTransition=s=G(v({},c),{targetSnapshot:q,urlAfterRedirects:h,extras:G(v({},E),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,S(s)}else{let f="";return this.events.next(new Dn(c.id,this.urlSerializer.serialize(c.extractedUrl),f,ba.IgnoredByUrlHandlingStrategy)),c.resolve(null),je}}),J(c=>{let u=new Nd(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),R(c=>(this.currentTransition=s=G(v({},c),{guards:vx(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),Mx(this.environmentInjector,c=>this.events.next(c)),J(c=>{if(s.guardsResult=c.guardsResult,Qr(c.guardsResult))throw $v(this.urlSerializer,c.guardsResult);let u=new Rd(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),Ce(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",at.GuardRejected),!1)),_d(c=>{if(c.guards.canActivateChecks.length)return S(c).pipe(J(u=>{let d=new kd(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),ve(u=>{let d=!1;return S(u).pipe(eM(this.paramsInheritanceStrategy,this.environmentInjector),J({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",at.NoDataFromResolver)}}))}),J(u=>{let d=new Od(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),_d(c=>{let u=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(J(h=>{d.component=h}),R(()=>{})));for(let h of d.children)f.push(...u(h));return f};return ui(u(c.targetSnapshot.root)).pipe(rn(null),et(1))}),_d(()=>this.afterPreactivation()),ve(()=>{let{currentSnapshot:c,targetSnapshot:u}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return d?te(d).pipe(R(()=>s)):S(s)}),R(c=>{let u=cx(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=G(v({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),J(()=>{this.events.next(new eo)}),mx(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),et(1),J({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Rt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Tn(this.transitionAbortSubject.pipe(J(c=>{throw c}))),ut(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",at.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ee(c=>{if(l=!0,Uv(c))this.events.next(new yn(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),fx(c)?this.events.next(new to(c.url)):s.resolve(!1);else{this.events.next(new Ji(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(u){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(u)}}return je}))}))}cancelNavigationTransition(n,i,o){let s=new yn(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function uM(t){return t!==Yi}var dM=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>y(fM),providedIn:"root"});let t=e;return t})(),Kd=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},fM=(()=>{let e=class e extends Kd{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ai(e)))(o||e)}})(),e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>y(hM),providedIn:"root"});let t=e;return t})(),hM=(()=>{let e=class e extends Kv{constructor(){super(...arguments),this.location=y(Hr),this.urlSerializer=y(ao),this.options=y(fo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=y(of),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new vn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Fv(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Kr)this.stateMemento=this.createStateMemento();else if(n instanceof Dn)this.rawUrlTree=i.initialUrl;else if(n instanceof Ca){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof eo?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof yn&&(n.code===at.GuardRejected||n.code===at.NoDataFromResolver)?this.restoreHistory(i):n instanceof Ji?this.restoreHistory(i,!0):n instanceof Rt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=v(v({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=v(v({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ai(e)))(o||e)}})(),e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qi=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(qi||{});function Xv(t,e){t.events.pipe(Ce(r=>r instanceof Rt||r instanceof yn||r instanceof Ji||r instanceof Dn),R(r=>r instanceof Rt||r instanceof Dn?qi.COMPLETE:(r instanceof yn?r.code===at.Redirect||r.code===at.SupersededByNewNavigation:!1)?qi.REDIRECTING:qi.FAILED),Ce(r=>r!==qi.REDIRECTING),et(1)).subscribe(()=>{e()})}function pM(t){throw t}var gM={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mM={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Xt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=y(Ks),this.stateManager=y(Kv),this.options=y(fo,{optional:!0})||{},this.pendingTasks=y(Or),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=y(sf),this.urlSerializer=y(ao),this.location=y(Hr),this.urlHandlingStrategy=y(of),this._events=new se,this.errorHandler=this.options.errorHandler||pM,this.navigated=!1,this.routeReuseStrategy=y(dM),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=y(oo,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!y(Aa,{optional:!0}),this.eventsSubscription=new ce,this.isNgZoneEnabled=y(ne)instanceof ne&&ne.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof yn&&i.code!==at.Redirect&&i.code!==at.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Rt)this.navigated=!0;else if(i instanceof to){let a=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),l={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||uM(o.source)};this.scheduleNavigation(a,Yi,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}yM(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Yi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=v({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let l=this.parseUrl(n);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(tf),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=i,u=c?this.currentUrlTree.fragment:a,d=null;switch(l){case"merge":d=v(v({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=o?o.snapshot:this.routerState.snapshot.root;f=Rv(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return kv(f,n,d,u??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Qr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Yi,null,i)}navigate(n,i={skipLocationChange:!1}){return vM(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=v({},gM):i===!1?o=v({},mM):o=i,Qr(n))return pv(this.currentUrlTree,n,o);let s=this.parseUrl(n);return pv(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,u;a?(l=a.resolve,c=a.reject,u=a.promise):u=new Promise((f,h)=>{l=f,c=h});let d=this.pendingTasks.add();return Xv(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(f=>Promise.reject(f))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function vM(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,l){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new se,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Rt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:vg(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(A(Xt),A(wn),Du("tabindex"),A(Hn),A(Fe),A(At))},e.\u0275dir=fe({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&pe("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Yt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[ye.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Br],skipLocationChange:[ye.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Br],replaceUrl:[ye.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Br],routerLink:"routerLink"},standalone:!0,features:[Fu,Ge]});let t=e;return t})();var Ta=class{};var DM=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Ce(n=>n instanceof Rt),jt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Ys(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return te(o).pipe(nn())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=S(null);let s=o.pipe(le(a=>a===null?S(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return te([s,a]).pipe(nn())}else return s})}};e.\u0275fac=function(i){return new(i||e)(I(Xt),I(Js),I(Oe),I(Ta),I(rf))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ey=new T(""),wM=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Kr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Rt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Dn&&n.code===ba.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Ea&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ea(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){Rg()},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();function ty(t,...e){return Ar([{provide:oo,multi:!0,useValue:t},[],{provide:wn,useFactory:ny,deps:[Xt]},{provide:Oi,multi:!0,useFactory:ry},e.map(r=>r.\u0275providers)])}function ny(t){return t.routerState.root}function ei(t,e){return{\u0275kind:t,\u0275providers:e}}function ry(){let t=y(St);return e=>{let r=t.get($r);if(e!==r.components[0])return;let n=t.get(Xt),i=t.get(iy);t.get(af)===1&&n.initialNavigation(),t.get(oy,null,H.Optional)?.setUpPreloading(),t.get(ey,null,H.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var iy=new T("",{factory:()=>new se}),af=new T("",{providedIn:"root",factory:()=>1});function bM(){return ei(2,[{provide:af,useValue:0},{provide:Xs,multi:!0,deps:[St],useFactory:e=>{let r=e.get(Vm,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Xt),o=e.get(iy);Xv(i,()=>{n(!0)}),e.get(sf).afterPreactivation=()=>(n(!0),o.closed?S(void 0):o),i.initialNavigation()}))}}])}function CM(){return ei(3,[{provide:Xs,multi:!0,useFactory:()=>{let e=y(Xt);return()=>{e.setUpLocationChangeListener()}}},{provide:af,useValue:2}])}var oy=new T("");function EM(t){return ei(0,[{provide:oy,useExisting:DM},{provide:Ta,useExisting:t}])}function sy(){return ei(6,[{provide:At,useClass:od}])}function IM(){return ei(8,[yv,{provide:Aa,useExisting:yv}])}function lf(t){let e=[{provide:Yv,useValue:lM},{provide:Qv,useValue:v({skipNextTransition:!!t?.skipInitialTransition},t)}];return ei(9,e)}var wv=new T("ROUTER_FORROOT_GUARD"),_M=[Hr,{provide:ao,useClass:Ki},Xt,lo,{provide:wn,useFactory:ny,deps:[Xt]},rf,[]],Ra=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[_M,[],{provide:oo,multi:!0,useValue:n},{provide:wv,useFactory:TM,deps:[[Xt,new Fs,new hu]]},{provide:fo,useValue:i||{}},i?.useHash?MM():SM(),xM(),i?.preloadingStrategy?EM(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?AM(i):[],i?.bindToComponentInputs?IM().\u0275providers:[],i?.enableViewTransitions?lf().\u0275providers:[],NM()]}}static forChild(n){return{ngModule:e,providers:[{provide:oo,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(I(wv,8))},e.\u0275mod=Pe({type:e}),e.\u0275inj=Le({});let t=e;return t})();function xM(){return{provide:ey,useFactory:()=>{let t=y(Ym),e=y(ne),r=y(fo),n=y(sf),i=y(ao);return r.scrollOffset&&t.setOffset(r.scrollOffset),new wM(i,n,t,e,r)}}}function MM(){return{provide:At,useClass:od}}function SM(){return{provide:At,useClass:id}}function TM(t){return"guarded"}function AM(t){return[t.initialNavigation==="disabled"?CM().\u0275providers:[],t.initialNavigation==="enabledBlocking"?bM().\u0275providers:[]]}var bv=new T("");function NM(){return[{provide:bv,useFactory:ry},{provide:Oi,multi:!0,useExisting:bv}]}function kM(){return typeof window<"u"?window.navigator:void 0}function ly(t){return!!(t.parentElement&&t.parentElement.nodeName.toLowerCase()==="picture")}function ho(t){return t.nodeName.toLowerCase()==="img"}function cy(t,e,r){return ho(t)?r&&"srcset"in t?t.srcset=e:t.src=e:t.style.backgroundImage=`url('${e}')`,t}function hf(t){return e=>{let r=e.parentElement.getElementsByTagName("source");for(let n=0;n{ho(e)&&ly(e)&&t(e),r&&cy(e,r,n)}}var FM=pf(OM),LM=pf(uy),VM=pf(PM),uf=class{constructor(){this.navigator=kM()}setPlatformId(e){this.platformId=e}onDestroy(e){}onAttributeChange(e){}},ti={loaded:"ng-lazyloaded",loading:"ng-lazyloading",failed:"ng-failed-lazyloaded"};function ay(t,e){t.className=t.className.replace(e,"")}function cf(t,e){t.className.includes(e)||(t.className+=` ${e}`)}function jM(t,e){return t.className&&t.className.includes(e)}var df=class extends uf{setup(e){FM(e.element,e.defaultImagePath,e.useSrcset),e.imagePath&&cf(e.element,ti.loading),jM(e.element,ti.loaded)&&ay(e.element,ti.loaded)}finally(e){cf(e.element,ti.loaded),ay(e.element,ti.loading)}loadImage(e){if(this.skipLazyLoading(e))return[e.imagePath];let{element:r,useSrcset:n,imagePath:i,decode:o}=e,s;return ho(r)&&ly(r)?(s=r.parentNode.cloneNode(!0).getElementsByTagName("img")[0],uy(s),cy(s,i,n)):(s=new Image,ho(r)&&r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),ho(r)&&r.sizes&&(s.sizes=r.sizes),n&&"srcset"in s?s.srcset=i:s.src=i),o&&s.decode?s.decode().then(()=>i):new Promise((a,l)=>{s.onload=()=>a(i),s.onerror=()=>l(null)})}setErrorImage(e,r){let{element:n,useSrcset:i,errorImagePath:o}=r;VM(n,o,i),cf(n,ti.failed)}setLoadedImage(e,r){let{element:n,useSrcset:i}=r;LM(n,e,i)}isDisabled(){return Li(this.platformId)&&!this.isBot()}skipLazyLoading(e){return this.isBot(e)}isBot(e){return this.navigator?.userAgent?/googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|duckduckbot|prerender/i.test(this.navigator.userAgent):!1}},ff=class extends df{constructor(){super(...arguments),this.observers=new WeakMap,this.intersectionSubject=new se,this.uniqKey={}}getObservable(e){if(this.skipLazyLoading(e))return S({isIntersecting:!0});if(e.customObservable)return e.customObservable;let r=e.scrollContainer||this.uniqKey,n={root:e.scrollContainer||null};e.offset&&(n.rootMargin=`${e.offset}px`);let i=this.observers.get(r);return i||(i=new IntersectionObserver(o=>this.loadingCallback(o),n),this.observers.set(r,i)),i.observe(e.element),V.create(o=>{let s=this.intersectionSubject.pipe(Ce(a=>a.target===e.element)).subscribe(o);return()=>{s.unsubscribe(),i.unobserve(e.element)}})}isVisible(e){return e.isIntersecting}loadingCallback(e){e.forEach(r=>this.intersectionSubject.next(r))}};function $M(t,e){return r=>r.pipe(J(n=>e.onStateChange.emit({reason:"observer-emit",data:n})),Ce(n=>t.isVisible(n,e)),et(1),J(()=>e.onStateChange.emit({reason:"start-loading"})),le(()=>t.loadImage(e)),J(()=>e.onStateChange.emit({reason:"mount-image"})),J(n=>t.setLoadedImage(n,e)),J(()=>e.onStateChange.emit({reason:"loading-succeeded"})),R(()=>!0),Ee(n=>(e.onStateChange.emit({reason:"loading-failed",data:n}),t.setErrorImage(n,e),S(!1))),J(()=>{e.onStateChange.emit({reason:"finally"}),t.finally(e)}))}var dy=new T("LazyLoadImageHooks"),Ot=(()=>{class t{constructor(r,n,i,o){this.onStateChange=new Y,this.elementRef=r,this.ngZone=n,this.propertyChanges$=new tn,this.hooks=o,this.hooks.setPlatformId(i),this.uid=Math.random().toString(36).substr(2,9)}ngOnChanges(){this.debug===!0&&!this.debugSubscription&&(this.debugSubscription=this.onStateChange.subscribe(r=>console.log(r))),this.propertyChanges$.next({element:this.elementRef.nativeElement,imagePath:this.lazyImage,defaultImagePath:this.defaultImage,errorImagePath:this.errorImage,useSrcset:this.useSrcset,offset:this.offset?this.offset|0:0,scrollContainer:this.scrollTarget,customObservable:this.customObservable,decode:this.decode,onStateChange:this.onStateChange,id:this.uid})}ngAfterContentInit(){if(this.hooks.isDisabled())return null;this.ngZone.runOutsideAngular(()=>{this.loadSubscription=this.propertyChanges$.pipe(J(r=>this.hooks.onAttributeChange(r)),J(r=>r.onStateChange.emit({reason:"setup"})),J(r=>this.hooks.setup(r)),ve(r=>r.imagePath?this.hooks.getObservable(r).pipe($M(this.hooks,r)):hl())).subscribe({next:()=>null})})}ngOnDestroy(){this.propertyChanges$.pipe(et(1)).subscribe({next:r=>this.hooks.onDestroy(r)}).unsubscribe(),this.loadSubscription?.unsubscribe(),this.debugSubscription?.unsubscribe()}}return t.\u0275fac=function(r){return new(r||t)(A(Fe),A(ne),A(ze),A(dy))},t.\u0275dir=fe({type:t,selectors:[["","lazyLoad",""]],inputs:{lazyImage:[ye.None,"lazyLoad","lazyImage"],defaultImage:"defaultImage",errorImage:"errorImage",scrollTarget:"scrollTarget",customObservable:"customObservable",offset:"offset",useSrcset:"useSrcset",decode:"decode",debug:"debug"},outputs:{onStateChange:"onStateChange"},features:[Ge]}),t})(),Pt=(()=>{class t{}return t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=Pe({type:t}),t.\u0275inj=Le({providers:[{provide:dy,useClass:ff}]}),t})(),ka=class t{constructor(e,r,n,i){this.left=e,this.top=r,this.right=n,this.bottom=i}static fromElement(e){let{left:r,top:n,right:i,bottom:o}=e.getBoundingClientRect();return r===0&&n===0&&i===0&&o===0?t.empty:new t(r,n,i,o)}static fromWindow(e){return new t(0,0,e.innerWidth,e.innerHeight)}inflate(e){this.left-=e,this.top-=e,this.right+=e,this.bottom+=e}intersectsWith(e){return e.left=r&&o>=n?new t(r,n,i,o):t.empty}};ka.empty=new ka(0,0,0,0);var fy=(()=>{let e=class e{constructor(n){this.sanitizer=n,this.info=new Y,this.defaultImage="./assets/images/loader.gif"}shareInfo(n,i){this.info.emit({name:n,url:i})}createSlug(n){let i=new URL(n).pathname,o=[];i&&(o=i.split("/"));var s=o.slice(-2);return s.length==2?`${s[0]}/${s[1]}`:""}sanitizeImageUrl(n){return this.sanitizer.bypassSecurityTrustUrl(n)}createImageUrl(n){return`https://socialify.git.ci/${this.createSlug(n)}/image?font=Rokkitt&forks=1&issues=1&language=1&name=1&owner=1&pattern=Circuit%20Board&pulls=1&stargazers=1&theme=Dark`}};e.\u0275fac=function(i){return new(i||e)(A(zi))},e.\u0275cmp=de({type:e,selectors:[["app-project"]],inputs:{metadata:"metadata"},outputs:{info:"info"},standalone:!0,features:[ge],decls:12,vars:5,consts:[[1,"h-full","max-w-sm","border","border-solid","border-[#9a9a9a]","bg-slate-50","rounded-lg","object-cover","shadow-xl","z-50"],[1,"px-6","pt-6"],[1,"text-center","flex","items-center","justify-center"],[1,"rounded-xl","transform-gpu","hover:scale-y-105","transition","duration-500",3,"defaultImage","lazyLoad"],[1,"card-body"],[1,"card-title"],[1,"md:xl:lg:line-clamp-2","line-clamp-none"],[1,"pt-2"],["type","button",1,"mt-auto","py-2","px-4","bg-gray-800","hover:bg-gray-700","focus:ring-gray-100","focus:ring-offset-blue-200","text-white","w-full","transition","ease-in","duration-200","text-center","text-base","font-semibold","shadow-md","focus:outline-none","focus:ring-2","focus:ring-offset-2","rounded-lg",3,"click"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"figure",1)(2,"div",2),O(3,"img",3),m()(),p(4,"div",4)(5,"h2",5),w(6),m(),p(7,"p",6),w(8),m(),p(9,"div",7)(10,"button",8),pe("click",function(){return o.shareInfo(o.metadata.name,o.metadata.url)}),w(11," View "),m()()()()),i&2&&(_(3),Lu("alt","lebanon-star-project-image-",o.metadata.id,""),ee("defaultImage",o.defaultImage)("lazyLoad",o.createImageUrl(o.metadata.url)),_(3),oe(o.metadata.name),_(2),oe(o.metadata.description))},dependencies:[Pt,Ot]});let t=e;return t})();function Cn(t){t||(vu(Cn),t=y(Rr));let e=new V(r=>t.onDestroy(r.next.bind(r)));return r=>r.pipe(Tn(e))}function vf(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Jn=vf();function vy(t){Jn=t}var yy=/[&<>"']/,BM=new RegExp(yy.source,"g"),Dy=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,UM=new RegExp(Dy.source,"g"),HM={"&":"&","<":"<",">":">",'"':""","'":"'"},hy=t=>HM[t];function Je(t,e){if(e){if(yy.test(t))return t.replace(BM,hy)}else if(Dy.test(t))return t.replace(UM,hy);return t}var zM=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function GM(t){return t.replace(zM,(e,r)=>(r=r.toLowerCase(),r==="colon"?":":r.charAt(0)==="#"?r.charAt(1)==="x"?String.fromCharCode(parseInt(r.substring(2),16)):String.fromCharCode(+r.substring(1)):""))}var WM=/(^|[^\[])\^/g;function X(t,e){t=typeof t=="string"?t:t.source,e=e||"";let r={replace:(n,i)=>(i=typeof i=="object"&&"source"in i?i.source:i,i=i.replace(WM,"$1"),t=t.replace(n,i),r),getRegex:()=>new RegExp(t,e)};return r}function py(t){try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}var Oa={exec:()=>null};function gy(t,e){let r=t.replace(/\|/g,(o,s,a)=>{let l=!1,c=s;for(;--c>=0&&a[c]==="\\";)l=!l;return l?"|":" |"}),n=r.split(/ \|/),i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var ud=class{encodeKey(e){return Qm(e)}encodeValue(e){return Qm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function JI(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}var e_=/%(\d[a-f0-9])/gi,t_={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Qm(t){return encodeURIComponent(t).replace(e_,(e,r)=>t_[r]??e)}function sa(t){return`${t}`}var mn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new ud,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=JI(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(sa):[sa(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(sa(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(sa(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var dd=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function n_(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Km(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Xm(t){return typeof Blob<"u"&&t instanceof Blob}function Jm(t){return typeof FormData<"u"&&t instanceof FormData}function r_(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Vi=class t{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(n_(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Zn,this.context??=new dd,!this.params)this.params=new mn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),l=a===-1?"?":ad.set(f,e.setHeaders[f]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),c)),new t(r,n,o,{params:c,headers:l,context:u,reportProgress:a,responseType:i,withCredentials:s})}},zr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(zr||{}),$i=class{constructor(e,r=ua.Ok,n="OK"){this.headers=e.headers||new Zn,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},fd=class t extends $i{constructor(e={}){super(e),this.type=zr.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},la=class t extends $i{constructor(e={}){super(e),this.type=zr.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},ca=class extends $i{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},ua=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(ua||{});function cd(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Yn=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof Vi)s=n;else{let c;o.headers instanceof Zn?c=o.headers:c=new Zn(o.headers);let u;o.params&&(o.params instanceof mn?u=o.params:u=new mn({fromObject:o.params})),s=new Vi(n,i,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=S(s).pipe(jt(c=>this.handler.handle(c)));if(n instanceof Vi||o.observe==="events")return a;let l=a.pipe(Ce(c=>c instanceof la));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(R(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(R(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new mn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,cd(o,i))}post(n,i,o={}){return this.request("POST",n,cd(o,i))}put(n,i,o={}){return this.request("PUT",n,cd(o,i))}};e.\u0275fac=function(i){return new(i||e)(I(ji))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();function i_(t,e){return e(t)}function o_(t,e,r){return(n,i)=>Mt(r,()=>e(n,o=>t(o,i)))}var nv=new T(""),s_=new T(""),a_=new T("");var ev=(()=>{let e=class e extends ji{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=y(Or);let o=y(a_,{optional:!0});this.backend=o??n}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(nv),...this.injector.get(s_,[])]));this.chain=o.reduceRight((s,a)=>o_(s,a,this.injector),i_)}let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(ut(()=>this.pendingTasks.remove(i)))}};e.\u0275fac=function(i){return new(i||e)(I(aa),I(Oe))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();var l_=/^\)\]\}',?\n/;function c_(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var tv=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new M(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?te(i.\u0275loadImpl()):S(null)).pipe(ve(()=>new V(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((E,C)=>a.setRequestHeader(E,C.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let E=n.detectContentTypeHeader();E!==null&&a.setRequestHeader("Content-Type",E)}if(n.responseType){let E=n.responseType.toLowerCase();a.responseType=E!=="json"?E:"text"}let l=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let E=a.statusText||"OK",C=new Zn(a.getAllResponseHeaders()),q=c_(a)||n.url;return c=new fd({headers:C,status:a.status,statusText:E,url:q}),c},d=()=>{let{headers:E,status:C,statusText:q,url:ae}=u(),Z=null;C!==ua.NoContent&&(Z=typeof a.response>"u"?a.responseText:a.response),C===0&&(C=Z?ua.Ok:0);let me=C>=200&&C<300;if(n.responseType==="json"&&typeof Z=="string"){let Ve=Z;Z=Z.replace(l_,"");try{Z=Z!==""?JSON.parse(Z):null}catch(vt){Z=Ve,me&&(me=!1,Z={error:vt,text:Z})}}me?(s.next(new la({body:Z,headers:E,status:C,statusText:q,url:ae||void 0})),s.complete()):s.error(new ca({error:Z,headers:E,status:C,statusText:q,url:ae||void 0}))},f=E=>{let{url:C}=u(),q=new ca({error:E,status:a.status||0,statusText:a.statusText||"Unknown Error",url:C||void 0});s.error(q)},h=!1,g=E=>{h||(s.next(u()),h=!0);let C={type:zr.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(C.total=E.total),n.responseType==="text"&&a.responseText&&(C.partialText=a.responseText),s.next(C)},D=E=>{let C={type:zr.UploadProgress,loaded:E.loaded};E.lengthComputable&&(C.total=E.total),s.next(C)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",g),l!==null&&a.upload&&a.upload.addEventListener("progress",D)),a.send(l),s.next({type:zr.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",g),l!==null&&a.upload&&a.upload.removeEventListener("progress",D)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(I(Ur))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),rv=new T(""),u_="XSRF-TOKEN",d_=new T("",{providedIn:"root",factory:()=>u_}),f_="X-XSRF-TOKEN",h_=new T("",{providedIn:"root",factory:()=>f_}),da=class{},p_=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ra(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(I(xe),I(ze),I(d_))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();function g_(t,e){let r=t.url.toLowerCase();if(!y(rv)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=y(da).getToken(),i=y(h_);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}function iv(...t){let e=[Yn,tv,ev,{provide:ji,useExisting:ev},{provide:aa,useExisting:tv},{provide:nv,useValue:g_,multi:!0},{provide:rv,useValue:!0},{provide:da,useClass:p_}];for(let r of t)e.push(...r.\u0275providers);return Ar(e)}var md=class extends ta{constructor(){super(...arguments),this.supportsDOMEvents=!0}},vd=class t extends md{static makeCurrent(){Lm(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=m_();return r==null?null:v_(r)}resetBaseElement(){Bi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return ra(document.cookie,e)}},Bi=null;function m_(){return Bi=Bi||document.querySelector("base"),Bi?Bi.getAttribute("href"):null}function v_(t){return new URL(t,document.baseURI).pathname}var y_=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),yd=new T(""),lv=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new M(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(I(yd),I(ne))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),fa=class{constructor(e){this._doc=e}},pd="ng-app-id",cv=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Li(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${pd}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(pd),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(pd,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(I(xe),I(lu),I(uu,8),I(ze))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),gd={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/"},wd=/%COMP%/g,uv="%COMP%",D_=`_nghost-${uv}`,w_=`_ngcontent-${uv}`,b_=!0,C_=new T("",{providedIn:"root",factory:()=>b_});function E_(t){return w_.replace(wd,t)}function I_(t){return D_.replace(wd,t)}function dv(t,e){return e.map(r=>r.replace(wd,t))}var ov=(()=>{let e=class e{constructor(n,i,o,s,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Li(l),this.defaultRenderer=new Ui(n,a,c,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===bt.ShadowDom&&(i=G(v({},i),{encapsulation:bt.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof ha?o.applyToHost(n):o instanceof Hi&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case bt.Emulated:s=new ha(c,u,i,this.appId,d,a,l,f);break;case bt.ShadowDom:return new Dd(c,u,n,i,a,l,this.nonce,f);default:s=new Hi(c,u,i,d,a,l,f);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(I(lv),I(cv),I(lu),I(C_),I(xe),I(ze),I(ne),I(uu))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Ui=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(gd[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(sv(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(sv(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new M(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=gd[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=gd[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Ht.DashCase|Ht.Important)?e.style.setProperty(r,n,i&Ht.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Ht.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Kt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function sv(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Dd=class extends Ui{constructor(e,r,n,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=dv(i.id,i.styles);for(let u of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Hi=class extends Ui{constructor(e,r,n,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?dv(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ha=class extends Hi{constructor(e,r,n,i,o,s,a,l){let c=i+"-"+n.id;super(e,r,n,o,s,a,l,c),this.contentAttr=E_(c),this.hostAttr=I_(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},__=(()=>{let e=class e extends fa{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(I(xe))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),av=["alt","control","meta","shift"],x_={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},M_={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},S_=(()=>{let e=class e extends fa{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),av.forEach(u=>{let d=i.indexOf(u);d>-1&&(i.splice(d,1),a+=u+".")}),a+=s,i.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,i){let o=x_[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),av.forEach(a=>{if(a!==o){let l=M_[a];l(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(I(xe))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();function fv(t,e){return Tm(v({rootComponent:t},T_(e)))}function T_(t){return{appProviders:[...O_,...t?.providers??[]],platformProviders:k_}}function A_(){vd.makeCurrent()}function N_(){return new Et}function R_(){return Sp(document),document}var k_=[{provide:ze,useValue:ld},{provide:cu,useValue:A_,multi:!0},{provide:xe,useFactory:R_,deps:[]}];var O_=[{provide:Ls,useValue:"root"},{provide:Et,useFactory:N_,deps:[]},{provide:yd,useClass:__,multi:!0,deps:[xe,ne,ze]},{provide:yd,useClass:S_,multi:!0,deps:[xe]},ov,cv,lv,{provide:Ei,useExisting:ov},{provide:Ur,useClass:y_,deps:[]},[]];var hv=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(I(xe))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var zi=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=I(P_),o},providedIn:"root"});let t=e;return t})(),P_=(()=>{let e=class e extends zi{constructor(n){super(),this._doc=n}sanitize(n,i){if(i==null)return null;switch(n){case ot.NONE:return i;case ot.HTML:return fn(i,"HTML")?it(i):mg(this._doc,String(i)).toString();case ot.STYLE:return fn(i,"Style")?it(i):i;case ot.SCRIPT:if(fn(i,"Script"))return it(i);throw new M(5200,!1);case ot.URL:return fn(i,"URL")?it(i):$s(String(i));case ot.RESOURCE_URL:if(fn(i,"ResourceURL"))return it(i);throw new M(5201,!1);default:throw new M(5202,!1)}}bypassSecurityTrustHtml(n){return ag(n)}bypassSecurityTrustStyle(n){return lg(n)}bypassSecurityTrustScript(n){return cg(n)}bypassSecurityTrustUrl(n){return ug(n)}bypassSecurityTrustResourceUrl(n){return dg(n)}};e.\u0275fac=function(i){return new(i||e)(I(xe))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var $="primary",so=Symbol("RouteTitle"),xd=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Yr(t){return new xd(t)}function F_(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function Ev(t){return t.length>0?t[t.length-1]:null}function bn(t){return cl(t)?t:pn(t)?te(Promise.resolve(t)):S(t)}var V_={exact:_v,subset:xv},Iv={exact:j_,subset:$_,ignored:()=>!0};function pv(t,e,r){return V_[r.paths](t.root,e.root,r.matrixParams)&&Iv[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function j_(t,e){return Nt(t,e)}function _v(t,e,r){if(!Kn(t.segments,e.segments)||!ma(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!_v(t.children[n],e.children[n],r))return!1;return!0}function $_(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Cv(t[r],e[r]))}function xv(t,e,r){return Mv(t,e,e.segments,r)}function Mv(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Kn(i,r)||e.hasChildren()||!ma(i,r,n))}else if(t.segments.length===r.length){if(!Kn(t.segments,r)||!ma(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!xv(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!Kn(t.segments,i)||!ma(t.segments,i,n)||!t.children[$]?!1:Mv(t.children[$],e,o,n)}}function ma(t,e,r){return e.every((n,i)=>Iv[r](t[i].parameters,n.parameters))}var vn=class{constructor(e=new K([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Yr(this.queryParams),this._queryParamMap}toString(){return H_.serialize(this)}},K=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return va(this)}},Qn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Yr(this.parameters),this._parameterMap}toString(){return Tv(this)}};function B_(t,e){return Kn(t,e)&&t.every((r,n)=>Nt(r.parameters,e[n].parameters))}function Kn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function U_(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===$&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==$&&(r=r.concat(e(i,n)))}),r}var ao=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>new Ki,providedIn:"root"});let t=e;return t})(),Ki=class{parse(e){let r=new Td(e);return new vn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Gi(e.root,!0)}`,n=W_(e.queryParams),i=typeof e.fragment=="string"?`#${z_(e.fragment)}`:"";return`${r}${n}${i}`}},H_=new Ki;function va(t){return t.segments.map(e=>Tv(e)).join("/")}function Gi(t,e){if(!t.hasChildren())return va(t);if(e){let r=t.children[$]?Gi(t.children[$],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&n.push(`${i}:${Gi(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=U_(t,(n,i)=>i===$?[Gi(t.children[$],!1)]:[`${i}:${Gi(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${va(t)}/${r[0]}`:`${va(t)}/(${r.join("//")})`}}function Sv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pa(t){return Sv(t).replace(/%3B/gi,";")}function z_(t){return encodeURI(t)}function Sd(t){return Sv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ya(t){return decodeURIComponent(t)}function gv(t){return ya(t.replace(/\+/g,"%20"))}function Tv(t){return`${Sd(t.path)}${G_(t.parameters)}`}function G_(t){return Object.entries(t).map(([e,r])=>`;${Sd(e)}=${Sd(r)}`).join("")}function W_(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${pa(r)}=${pa(i)}`).join("&"):`${pa(r)}=${pa(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var q_=/^[^\/()?;#]+/;function Cd(t){let e=t.match(q_);return e?e[0]:""}var Z_=/^[^\/()?;=#]+/;function Y_(t){let e=t.match(Z_);return e?e[0]:""}var Q_=/^[^=?&#]+/;function K_(t){let e=t.match(Q_);return e?e[0]:""}var X_=/^[^&#]+/;function J_(t){let e=t.match(X_);return e?e[0]:""}var Td=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new K([],{}):new K([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[$]=new K(e,r)),n}parseSegment(){let e=Cd(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new M(4009,!1);return this.capture(e),new Qn(ya(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=Y_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Cd(this.remaining);i&&(n=i,this.capture(n))}e[ya(r)]=ya(n)}parseQueryParam(e){let r=K_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=J_(this.remaining);s&&(n=s,this.capture(n))}let i=gv(r),o=gv(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Cd(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new M(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[$]:new K([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new M(4011,!1)}};function Av(t){return t.segments.length>0?new K([],{[$]:t}):t}function Nv(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=Nv(i);if(n===$&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new K(t.segments,e);return ex(r)}function ex(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new K(t.segments.concat(e.segments),e.children)}return t}function Qr(t){return t instanceof vn}function tx(t,e,r=null,n=null){let i=Rv(t);return kv(i,e,r,n)}function Rv(t){let e;function r(o){let s={};for(let l of o.children){let c=r(l);s[l.outlet]=c}let a=new K(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Av(n);return e??i}function kv(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Ed(i,i,i,r,n);let o=nx(e);if(o.toRoot())return Ed(i,i,new K([],{}),r,n);let s=rx(o,i,t),a=s.processChildren?Zi(s.segmentGroup,s.index,o.commands):Pv(s.segmentGroup,s.index,o.commands);return Ed(i,s.segmentGroup,a,r,n)}function Da(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Xi(t){return typeof t=="object"&&t!=null&&t.outlets}function Ed(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let s;t===e?s=r:s=Ov(t,e,r);let a=Av(Nv(s));return new vn(a,o,i)}function Ov(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=Ov(o,e,r)}),new K(t.segments,n)}var wa=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Da(n[0]))throw new M(4003,!1);let i=n.find(Xi);if(i&&i!==Ev(n))throw new M(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function nx(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new wa(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new wa(r,e,n)}var qr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function rx(t,e,r){if(t.isAbsolute)return new qr(e,!0,0);if(!r)return new qr(e,!1,NaN);if(r.parent===null)return new qr(r,!0,0);let n=Da(t.commands[0])?0:1,i=r.segments.length-1+n;return ix(r,i,t.numberOfDoubleDots)}function ix(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new M(4005,!1);i=n.segments.length}return new qr(n,!1,i-o)}function ox(t){return Xi(t[0])?t[0].outlets:{[$]:t}}function Pv(t,e,r){if(t??=new K([],{}),t.segments.length===0&&t.hasChildren())return Zi(t,e,r);let n=sx(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==$)&&t.children[$]&&t.numberOfChildren===1&&t.children[$].segments.length===0){let o=Zi(t.children[$],e,r);return new K(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Pv(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new K(t.segments,i)}}function sx(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(Xi(a))break;let l=`${a}`,c=n0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!vv(l,c,s))return o;n+=2}else{if(!vv(l,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Ad(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Ad(new K([],{}),0,n))}),e}function mv(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function vv(t,e,r){return t==r.path&&Nt(e,r.parameters)}var Yi="imperative",we=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(we||{}),lt=class{constructor(e,r){this.id=e,this.url=r}},Kr=class extends lt{constructor(e,r,n="imperative",i=null){super(e,r),this.type=we.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Rt=class extends lt{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=we.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},at=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(at||{}),ba=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ba||{}),yn=class extends lt{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=we.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Dn=class extends lt{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=we.NavigationSkipped}},Ji=class extends lt{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=we.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ca=class extends lt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=we.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Nd=class extends lt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=we.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Rd=class extends lt{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=we.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},kd=class extends lt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=we.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Od=class extends lt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=we.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pd=class{constructor(e){this.route=e,this.type=we.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Fd=class{constructor(e){this.route=e,this.type=we.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ld=class{constructor(e){this.snapshot=e,this.type=we.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Vd=class{constructor(e){this.snapshot=e,this.type=we.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},jd=class{constructor(e){this.snapshot=e,this.type=we.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$d=class{constructor(e){this.snapshot=e,this.type=we.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ea=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=we.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},eo=class{},to=class{constructor(e){this.url=e}};var Bd=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new lo,this.attachRef=null}},lo=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Bd,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ia=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Ud(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Ud(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Hd(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Hd(e,this._root).map(r=>r.value)}};function Ud(t,e){if(t===e.value)return e;for(let r of e.children){let n=Ud(t,r);if(n)return n}return null}function Hd(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Hd(t,r);if(n.length)return n.unshift(e),n}return[]}var Xe=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Wr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var _a=class extends Ia{constructor(e,r){super(e),this.snapshot=r,Jd(this,e)}toString(){return this.snapshot.toString()}};function Fv(t){let e=lx(t),r=new be([new Qn("",{})]),n=new be({}),i=new be({}),o=new be({}),s=new be(""),a=new wn(r,n,o,s,i,$,t,e.root);return a.snapshot=e.root,new _a(new Xe(a,[]),e)}function lx(t){let e={},r={},n={},i="",o=new no([],e,n,i,r,$,t,null,{});return new xa("",new Xe(o,[]))}var wn=class{constructor(e,r,n,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(R(c=>c[so]))??S(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}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.params.pipe(R(e=>Yr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(R(e=>Yr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Xd(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:v(v({},e.params),t.params),data:v(v({},e.data),t.data),resolve:v(v(v(v({},t.data),e.data),i?.data),t._resolvedData)}:n={params:v({},t.params),data:v({},t.data),resolve:v(v({},t.data),t._resolvedData??{})},i&&Vv(i)&&(n.resolve[so]=i.title),n}var no=class{get title(){return this.data?.[so]}constructor(e,r,n,i,o,s,a,l,c){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=Yr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Yr(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},xa=class extends Ia{constructor(e,r){super(r),this.url=e,Jd(this,r)}toString(){return Lv(this._root)}};function Jd(t,e){e.value._routerState=t,e.children.forEach(r=>Jd(t,r))}function Lv(t){let e=t.children.length>0?` { ${t.children.map(Lv).join(", ")} } `:"";return`${t.value}${e}`}function Id(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Nt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Nt(e.params,r.params)||t.paramsSubject.next(r.params),L_(e.url,r.url)||t.urlSubject.next(r.url),Nt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function zd(t,e){let r=Nt(t.params,e.params)&&B_(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||zd(t.parent,e.parent))}function Vv(t){return typeof t.title=="string"||t.title===null}var ef=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new Y,this.deactivateEvents=new Y,this.attachEvents=new Y,this.detachEvents=new Y,this.parentContexts=y(lo),this.location=y(Tt),this.changeDetector=y(mt),this.environmentInjector=y(Oe),this.inputBinder=y(Aa,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new M(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new M(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new M(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new M(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new Gd(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=fe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ge]});let t=e;return t})(),Gd=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===wn?this.route:e===lo?this.childContexts:this.parent.get(e,r)}},Aa=new T(""),yv=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=ui([i.queryParams,i.params,i.data]).pipe(ve(([s,a,l],c)=>(l=v(v(v({},s),a),l),c===0?S(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Am(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();function cx(t,e,r){let n=ro(t,e._root,r?r._root:void 0);return new _a(n,e)}function ro(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=ux(t,e,r);return new Xe(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>ro(t,a)),s}}let n=dx(e.value),i=e.children.map(o=>ro(t,o));return new Xe(n,i)}}function ux(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return ro(t,n,i);return ro(t,n)})}function dx(t){return new wn(new be(t.url),new be(t.params),new be(t.queryParams),new be(t.fragment),new be(t.data),t.outlet,t.component,t)}var jv="ngNavigationCancelingError";function $v(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Qr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Bv(!1,at.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function Bv(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[jv]=!0,r.cancellationCode=e,r}function fx(t){return Uv(t)&&Qr(t.url)}function Uv(t){return!!t&&t[jv]}var hx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["ng-component"]],standalone:!0,features:[ge],decls:1,vars:0,template:function(i,o){i&1&&O(0,"router-outlet")},dependencies:[ef],encapsulation:2});let t=e;return t})();function px(t,e){return t.providers&&!t._injector&&(t._injector=Ys(t.providers,e,`Route: ${t.path}`)),t._injector??e}function tf(t){let e=t.children&&t.children.map(tf),r=e?G(v({},t),{children:e}):v({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==$&&(r.component=hx),r}function kt(t){return t.outlet||$}function gx(t,e){let r=t.filter(n=>kt(n)===e);return r.push(...t.filter(n=>kt(n)!==e)),r}function co(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var mx=(t,e,r,n)=>R(i=>(new Wd(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Wd=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Id(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Wr(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Wr(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Wr(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=Wr(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new $d(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Vd(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Id(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Id(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=co(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},Ma=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Zr=class{constructor(e,r){this.component=e,this.route=r}};function vx(t,e,r){let n=t._root,i=e?e._root:null;return Wi(n,i,r,[n.value])}function yx(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Jr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Tp(t)?t:e.get(t):n}function Wi(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Wr(e);return t.children.forEach(s=>{Dx(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Qi(a,r.getContext(s),i)),i}function Dx(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=wx(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Ma(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Wi(t,e,a?a.children:null,n,i):Wi(t,e,r,n,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Zr(a.outlet.component,s))}else s&&Qi(e,a,i),i.canActivateChecks.push(new Ma(n)),o.component?Wi(t,null,a?a.children:null,n,i):Wi(t,null,r,n,i);return i}function wx(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Kn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Kn(t.url,e.url)||!Nt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zd(t,e)||!Nt(t.queryParams,e.queryParams);case"paramsChange":default:return!zd(t,e)}}function Qi(t,e,r){let n=Wr(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Qi(s,e.children.getContext(o),r):Qi(s,null,r):Qi(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Zr(e.outlet.component,i)):r.canDeactivateChecks.push(new Zr(null,i)):r.canDeactivateChecks.push(new Zr(null,i))}function uo(t){return typeof t=="function"}function bx(t){return typeof t=="boolean"}function Cx(t){return t&&uo(t.canLoad)}function Ex(t){return t&&uo(t.canActivate)}function Ix(t){return t&&uo(t.canActivateChild)}function _x(t){return t&&uo(t.canDeactivate)}function xx(t){return t&&uo(t.canMatch)}function Hv(t){return t instanceof Vt||t?.name==="EmptyError"}var ga=Symbol("INITIAL_VALUE");function Xr(){return ve(t=>ui(t.map(e=>e.pipe(et(1),ur(ga)))).pipe(R(e=>{for(let r of e)if(r!==!0){if(r===ga)return ga;if(r===!1||r instanceof vn)return r}return!0}),Ce(e=>e!==ga),et(1)))}function Mx(t,e){return le(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?S(G(v({},r),{guardsResult:!0})):Sx(s,n,i,t).pipe(le(a=>a&&bx(a)?Tx(n,o,t,e):S(a)),R(a=>G(v({},r),{guardsResult:a})))})}function Sx(t,e,r,n){return te(t).pipe(le(i=>Ox(i.component,i.route,r,e,n)),dt(i=>i!==!0,!0))}function Tx(t,e,r,n){return te(e).pipe(jt(i=>lr(Nx(i.route.parent,n),Ax(i.route,n),kx(t,i.path,r),Rx(t,i.route,r))),dt(i=>i!==!0,!0))}function Ax(t,e){return t!==null&&e&&e(new jd(t)),S(!0)}function Nx(t,e){return t!==null&&e&&e(new Ld(t)),S(!0)}function Rx(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return S(!0);let i=n.map(o=>qo(()=>{let s=co(e)??r,a=Jr(o,s),l=Ex(a)?a.canActivate(e,t):Mt(s,()=>a(e,t));return bn(l).pipe(dt())}));return S(i).pipe(Xr())}function kx(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>yx(s)).filter(s=>s!==null).map(s=>qo(()=>{let a=s.guards.map(l=>{let c=co(s.node)??r,u=Jr(l,c),d=Ix(u)?u.canActivateChild(n,t):Mt(c,()=>u(n,t));return bn(d).pipe(dt())});return S(a).pipe(Xr())}));return S(o).pipe(Xr())}function Ox(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return S(!0);let s=o.map(a=>{let l=co(e)??i,c=Jr(a,l),u=_x(c)?c.canDeactivate(t,e,r,n):Mt(l,()=>c(t,e,r,n));return bn(u).pipe(dt())});return S(s).pipe(Xr())}function Px(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return S(!0);let o=i.map(s=>{let a=Jr(s,t),l=Cx(a)?a.canLoad(e,r):Mt(t,()=>a(e,r));return bn(l)});return S(o).pipe(Xr(),zv(n))}function zv(t){return rl(J(e=>{if(Qr(e))throw $v(t,e)}),R(e=>e===!0))}function Fx(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return S(!0);let o=i.map(s=>{let a=Jr(s,t),l=xx(a)?a.canMatch(e,r):Mt(t,()=>a(e,r));return bn(l)});return S(o).pipe(Xr(),zv(n))}var io=class{constructor(e){this.segmentGroup=e||null}},Sa=class extends Error{constructor(e){super(),this.urlTree=e}};function Gr(t){return ar(new io(t))}function Lx(t){return ar(new M(4e3,!1))}function Vx(t){return ar(Bv(!1,at.GuardRejected))}var qd=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return S(n);if(i.numberOfChildren>1||!i.children[$])return Lx(e.redirectTo);i=i.children[$]}}applyRedirectCommands(e,r,n){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new Sa(i);return i}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new vn(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,i)}),new K(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new M(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},Zd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function jx(t,e,r,n,i){let o=nf(t,e,r);return o.matched?(n=px(e,n),Fx(n,e,r,i).pipe(R(s=>s===!0?o:v({},Zd)))):S(o)}function nf(t,e,r){if(e.path==="**")return $x(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?v({},Zd):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||F_)(r,t,e);if(!i)return v({},Zd);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?v(v({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function $x(t){return{matched:!0,parameters:t.length>0?Ev(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Dv(t,e,r,n){return r.length>0&&Hx(t,r,n)?{segmentGroup:new K(e,Ux(n,new K(r,t.children))),slicedSegments:[]}:r.length===0&&zx(t,r,n)?{segmentGroup:new K(t.segments,Bx(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new K(t.segments,t.children),slicedSegments:r}}function Bx(t,e,r,n){let i={};for(let o of r)if(Na(t,e,o)&&!n[kt(o)]){let s=new K([],{});i[kt(o)]=s}return v(v({},n),i)}function Ux(t,e){let r={};r[$]=e;for(let n of t)if(n.path===""&&kt(n)!==$){let i=new K([],{});r[kt(n)]=i}return r}function Hx(t,e,r){return r.some(n=>Na(t,e,n)&&kt(n)!==$)}function zx(t,e,r){return r.some(n=>Na(t,e,n))}function Na(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Gx(t,e,r,n){return kt(t)!==n&&(n===$||!Na(e,r,t))?!1:nf(e,t,r).matched}function Wx(t,e,r){return e.length===0&&!t.children[r]}var Yd=class{};function qx(t,e,r,n,i,o,s="emptyOnly"){return new Qd(t,e,r,n,i,s,o).recognize()}var Zx=31,Qd=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new qd(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new M(4002,`'${e.segmentGroup}'`)}recognize(){let e=Dv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(R(r=>{let n=new no([],Object.freeze({}),Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,{},$,this.rootComponentType,null,{}),i=new Xe(n,r),o=new xa("",i),s=tx(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,$).pipe(Ee(n=>{if(n instanceof Sa)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof io?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,i=Xd(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(o=>this.inheritParamsAndData(o,n))}processSegmentGroup(e,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,i,!0).pipe(R(o=>o instanceof Xe?[o]:[]))}processChildren(e,r,n){let i=[];for(let o of Object.keys(n.children))o==="primary"?i.unshift(o):i.push(o);return te(i).pipe(jt(o=>{let s=n.children[o],a=gx(r,o);return this.processSegmentGroup(e,a,s,o)}),vl((o,s)=>(o.push(...s),o)),rn(null),ml(),le(o=>{if(o===null)return Gr(n);let s=Gv(o);return Yx(s),S(s)}))}processSegment(e,r,n,i,o,s){return te(r).pipe(jt(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,i,o,s).pipe(Ee(l=>{if(l instanceof io)return S(null);throw l}))),dt(a=>!!a),Ee(a=>{if(Hv(a))return Wx(n,i,o)?S(new Yd):Gr(n);throw a}))}processSegmentAgainstRoute(e,r,n,i,o,s,a){return Gx(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s):Gr(i):Gr(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){let{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}=nf(r,i,o);if(!a)return Gr(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Zx&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,d).pipe(le(f=>this.processSegment(e,n,r,f.concat(u),s,!1)))}matchSegmentAgainstRoute(e,r,n,i,o){let s=jx(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(ve(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(ve(({routes:l})=>{let c=n._loadedInjector??e,{consumedSegments:u,remainingSegments:d,parameters:f}=a,h=new no(u,f,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Kx(n),kt(n),n.component??n._loadedComponent??null,n,Xx(n)),{segmentGroup:g,slicedSegments:D}=Dv(r,u,d,l);if(D.length===0&&g.hasChildren())return this.processChildren(c,l,g).pipe(R(C=>C===null?null:new Xe(h,C)));if(l.length===0&&D.length===0)return S(new Xe(h,[]));let E=kt(n)===o;return this.processSegment(c,l,g,D,E?$:o,!0).pipe(R(C=>new Xe(h,C instanceof Xe?[C]:[])))}))):Gr(r)))}getChildConfig(e,r,n){return r.children?S({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?S({routes:r._loadedRoutes,injector:r._loadedInjector}):Px(e,r,n,this.urlSerializer).pipe(le(i=>i?this.configLoader.loadChildren(e,r).pipe(J(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):Vx(r))):S({routes:[],injector:e})}};function Yx(t){t.sort((e,r)=>e.value.outlet===$?-1:r.value.outlet===$?1:e.value.outlet.localeCompare(r.value.outlet))}function Qx(t){let e=t.value.routeConfig;return e&&e.path===""}function Gv(t){let e=[],r=new Set;for(let n of t){if(!Qx(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=Gv(n.children);e.push(new Xe(n.value,i))}return e.filter(n=>!r.has(n))}function Kx(t){return t.data||{}}function Xx(t){return t.resolve||{}}function Jx(t,e,r,n,i,o){return le(s=>qx(t,e,r,n,s.extractedUrl,i,o).pipe(R(({state:a,tree:l})=>G(v({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function eM(t,e){return le(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return S(r);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of Wv(l))s.add(c);let a=0;return te(s).pipe(jt(l=>o.has(l)?tM(l,n,t,e):(l.data=Xd(l,l.parent,t).resolve,S(void 0))),J(()=>a++),cr(1),le(l=>a===s.size?S(r):je))})}function Wv(t){let e=t.children.map(r=>Wv(r)).flat();return[t,...e]}function tM(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!Vv(i)&&(o[so]=i.title),nM(o,t,e,n).pipe(R(s=>(t._resolvedData=s,t.data=Xd(t,t.parent,r).resolve,null)))}function nM(t,e,r,n){let i=Md(t);if(i.length===0)return S({});let o={};return te(i).pipe(le(s=>rM(t[s],e,r,n).pipe(dt(),J(a=>{o[s]=a}))),cr(1),di(o),Ee(s=>Hv(s)?je:ar(s)))}function rM(t,e,r,n){let i=co(e)??n,o=Jr(t,i),s=o.resolve?o.resolve(e,r):Mt(i,()=>o(e,r));return bn(s)}function _d(t){return ve(e=>{let r=t(e);return r?te(r).pipe(R(()=>e)):S(e)})}var qv=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===$);return i}getResolvedTitleForRoute(n){return n.data[so]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>y(iM),providedIn:"root"});let t=e;return t})(),iM=(()=>{let e=class e extends qv{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(I(hv))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fo=new T("",{providedIn:"root",factory:()=>({})}),oo=new T(""),rf=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=y(Js)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return S(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=bn(n.loadComponent()).pipe(R(Zv),J(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),ut(()=>{this.componentLoaders.delete(n)})),o=new or(i,()=>new se).pipe(ir());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return S({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=oM(i,this.compiler,n,this.onLoadEndListener).pipe(ut(()=>{this.childrenLoaders.delete(i)})),a=new or(s,()=>new se).pipe(ir());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function oM(t,e,r,n){return bn(t.loadChildren()).pipe(R(Zv),le(i=>i instanceof Ii||Array.isArray(i)?S(i):te(e.compileModuleAsync(i))),R(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(oo,[],{optional:!0,self:!0}).flat()),{routes:s.map(tf),injector:o}}))}function sM(t){return t&&typeof t=="object"&&"default"in t}function Zv(t){return sM(t)?t.default:t}var of=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>y(aM),providedIn:"root"});let t=e;return t})(),aM=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Yv=new T(""),Qv=new T("");function lM(t,e,r){let n=t.get(Qv),i=t.get(xe);return t.get(ne).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,Promise.resolve();let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),cM(t))),{onViewTransitionCreated:l}=n;return l&&Mt(t,()=>l({transition:a,from:e,to:r})),s})}function cM(t){return new Promise(e=>{ku(e,{injector:t})})}var sf=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new se,this.transitionAbortSubject=new se,this.configLoader=y(rf),this.environmentInjector=y(Oe),this.urlSerializer=y(ao),this.rootContexts=y(lo),this.location=y(Hr),this.inputBindingEnabled=y(Aa,{optional:!0})!==null,this.titleStrategy=y(qv),this.options=y(fo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=y(of),this.createViewTransition=y(Yv,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>S(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Pd(o)),i=o=>this.events.next(new Fd(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(G(v(v({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new be({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Yi,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ce(s=>s.id!==0),R(s=>G(v({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ve(s=>{this.currentTransition=s;let a=!1,l=!1;return S(s).pipe(J(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?G(v({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),ve(c=>{let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&d!=="reload"){let f="";return this.events.next(new Dn(c.id,this.urlSerializer.serialize(c.rawUrl),f,ba.IgnoredSameUrlNavigation)),c.resolve(null),je}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return S(c).pipe(ve(f=>{let h=this.transitions?.getValue();return this.events.next(new Kr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?je:Promise.resolve(f)}),Jx(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),J(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=G(v({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Ca(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:g,restoredState:D,extras:E}=c,C=new Kr(f,this.urlSerializer.serialize(h),g,D);this.events.next(C);let q=Fv(this.rootComponentType).snapshot;return this.currentTransition=s=G(v({},c),{targetSnapshot:q,urlAfterRedirects:h,extras:G(v({},E),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,S(s)}else{let f="";return this.events.next(new Dn(c.id,this.urlSerializer.serialize(c.extractedUrl),f,ba.IgnoredByUrlHandlingStrategy)),c.resolve(null),je}}),J(c=>{let u=new Nd(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),R(c=>(this.currentTransition=s=G(v({},c),{guards:vx(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),Mx(this.environmentInjector,c=>this.events.next(c)),J(c=>{if(s.guardsResult=c.guardsResult,Qr(c.guardsResult))throw $v(this.urlSerializer,c.guardsResult);let u=new Rd(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),Ce(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",at.GuardRejected),!1)),_d(c=>{if(c.guards.canActivateChecks.length)return S(c).pipe(J(u=>{let d=new kd(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),ve(u=>{let d=!1;return S(u).pipe(eM(this.paramsInheritanceStrategy,this.environmentInjector),J({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",at.NoDataFromResolver)}}))}),J(u=>{let d=new Od(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),_d(c=>{let u=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(J(h=>{d.component=h}),R(()=>{})));for(let h of d.children)f.push(...u(h));return f};return ui(u(c.targetSnapshot.root)).pipe(rn(null),et(1))}),_d(()=>this.afterPreactivation()),ve(()=>{let{currentSnapshot:c,targetSnapshot:u}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return d?te(d).pipe(R(()=>s)):S(s)}),R(c=>{let u=cx(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=G(v({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),J(()=>{this.events.next(new eo)}),mx(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),et(1),J({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Rt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Tn(this.transitionAbortSubject.pipe(J(c=>{throw c}))),ut(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",at.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ee(c=>{if(l=!0,Uv(c))this.events.next(new yn(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),fx(c)?this.events.next(new to(c.url)):s.resolve(!1);else{this.events.next(new Ji(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(u){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(u)}}return je}))}))}cancelNavigationTransition(n,i,o){let s=new yn(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function uM(t){return t!==Yi}var dM=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>y(fM),providedIn:"root"});let t=e;return t})(),Kd=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},fM=(()=>{let e=class e extends Kd{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ai(e)))(o||e)}})(),e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>y(hM),providedIn:"root"});let t=e;return t})(),hM=(()=>{let e=class e extends Kv{constructor(){super(...arguments),this.location=y(Hr),this.urlSerializer=y(ao),this.options=y(fo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=y(of),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new vn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Fv(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Kr)this.stateMemento=this.createStateMemento();else if(n instanceof Dn)this.rawUrlTree=i.initialUrl;else if(n instanceof Ca){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof eo?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof yn&&(n.code===at.GuardRejected||n.code===at.NoDataFromResolver)?this.restoreHistory(i):n instanceof Ji?this.restoreHistory(i,!0):n instanceof Rt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=v(v({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=v(v({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ai(e)))(o||e)}})(),e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qi=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(qi||{});function Xv(t,e){t.events.pipe(Ce(r=>r instanceof Rt||r instanceof yn||r instanceof Ji||r instanceof Dn),R(r=>r instanceof Rt||r instanceof Dn?qi.COMPLETE:(r instanceof yn?r.code===at.Redirect||r.code===at.SupersededByNewNavigation:!1)?qi.REDIRECTING:qi.FAILED),Ce(r=>r!==qi.REDIRECTING),et(1)).subscribe(()=>{e()})}function pM(t){throw t}var gM={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mM={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Xt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=y(Ks),this.stateManager=y(Kv),this.options=y(fo,{optional:!0})||{},this.pendingTasks=y(Or),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=y(sf),this.urlSerializer=y(ao),this.location=y(Hr),this.urlHandlingStrategy=y(of),this._events=new se,this.errorHandler=this.options.errorHandler||pM,this.navigated=!1,this.routeReuseStrategy=y(dM),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=y(oo,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!y(Aa,{optional:!0}),this.eventsSubscription=new ce,this.isNgZoneEnabled=y(ne)instanceof ne&&ne.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof yn&&i.code!==at.Redirect&&i.code!==at.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Rt)this.navigated=!0;else if(i instanceof to){let a=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),l={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||uM(o.source)};this.scheduleNavigation(a,Yi,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}yM(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Yi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=v({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let l=this.parseUrl(n);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(tf),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=i,u=c?this.currentUrlTree.fragment:a,d=null;switch(l){case"merge":d=v(v({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=o?o.snapshot:this.routerState.snapshot.root;f=Rv(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return kv(f,n,d,u??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Qr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Yi,null,i)}navigate(n,i={skipLocationChange:!1}){return vM(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=v({},gM):i===!1?o=v({},mM):o=i,Qr(n))return pv(this.currentUrlTree,n,o);let s=this.parseUrl(n);return pv(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,u;a?(l=a.resolve,c=a.reject,u=a.promise):u=new Promise((f,h)=>{l=f,c=h});let d=this.pendingTasks.add();return Xv(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(f=>Promise.reject(f))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function vM(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,l){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new se,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Rt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:vg(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(A(Xt),A(wn),Du("tabindex"),A(Hn),A(Fe),A(At))},e.\u0275dir=fe({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&pe("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Yt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[ye.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Br],skipLocationChange:[ye.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Br],replaceUrl:[ye.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Br],routerLink:"routerLink"},standalone:!0,features:[Fu,Ge]});let t=e;return t})();var Ta=class{};var DM=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Ce(n=>n instanceof Rt),jt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Ys(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return te(o).pipe(nn())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=S(null);let s=o.pipe(le(a=>a===null?S(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return te([s,a]).pipe(nn())}else return s})}};e.\u0275fac=function(i){return new(i||e)(I(Xt),I(Js),I(Oe),I(Ta),I(rf))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ey=new T(""),wM=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Kr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Rt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Dn&&n.code===ba.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Ea&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ea(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){Rg()},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();function ty(t,...e){return Ar([{provide:oo,multi:!0,useValue:t},[],{provide:wn,useFactory:ny,deps:[Xt]},{provide:Oi,multi:!0,useFactory:ry},e.map(r=>r.\u0275providers)])}function ny(t){return t.routerState.root}function ei(t,e){return{\u0275kind:t,\u0275providers:e}}function ry(){let t=y(St);return e=>{let r=t.get($r);if(e!==r.components[0])return;let n=t.get(Xt),i=t.get(iy);t.get(af)===1&&n.initialNavigation(),t.get(oy,null,H.Optional)?.setUpPreloading(),t.get(ey,null,H.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var iy=new T("",{factory:()=>new se}),af=new T("",{providedIn:"root",factory:()=>1});function bM(){return ei(2,[{provide:af,useValue:0},{provide:Xs,multi:!0,deps:[St],useFactory:e=>{let r=e.get(Vm,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Xt),o=e.get(iy);Xv(i,()=>{n(!0)}),e.get(sf).afterPreactivation=()=>(n(!0),o.closed?S(void 0):o),i.initialNavigation()}))}}])}function CM(){return ei(3,[{provide:Xs,multi:!0,useFactory:()=>{let e=y(Xt);return()=>{e.setUpLocationChangeListener()}}},{provide:af,useValue:2}])}var oy=new T("");function EM(t){return ei(0,[{provide:oy,useExisting:DM},{provide:Ta,useExisting:t}])}function sy(){return ei(6,[{provide:At,useClass:od}])}function IM(){return ei(8,[yv,{provide:Aa,useExisting:yv}])}function lf(t){let e=[{provide:Yv,useValue:lM},{provide:Qv,useValue:v({skipNextTransition:!!t?.skipInitialTransition},t)}];return ei(9,e)}var wv=new T("ROUTER_FORROOT_GUARD"),_M=[Hr,{provide:ao,useClass:Ki},Xt,lo,{provide:wn,useFactory:ny,deps:[Xt]},rf,[]],Ra=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[_M,[],{provide:oo,multi:!0,useValue:n},{provide:wv,useFactory:TM,deps:[[Xt,new Fs,new hu]]},{provide:fo,useValue:i||{}},i?.useHash?MM():SM(),xM(),i?.preloadingStrategy?EM(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?AM(i):[],i?.bindToComponentInputs?IM().\u0275providers:[],i?.enableViewTransitions?lf().\u0275providers:[],NM()]}}static forChild(n){return{ngModule:e,providers:[{provide:oo,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(I(wv,8))},e.\u0275mod=Pe({type:e}),e.\u0275inj=Le({});let t=e;return t})();function xM(){return{provide:ey,useFactory:()=>{let t=y(Ym),e=y(ne),r=y(fo),n=y(sf),i=y(ao);return r.scrollOffset&&t.setOffset(r.scrollOffset),new wM(i,n,t,e,r)}}}function MM(){return{provide:At,useClass:od}}function SM(){return{provide:At,useClass:id}}function TM(t){return"guarded"}function AM(t){return[t.initialNavigation==="disabled"?CM().\u0275providers:[],t.initialNavigation==="enabledBlocking"?bM().\u0275providers:[]]}var bv=new T("");function NM(){return[{provide:bv,useFactory:ry},{provide:Oi,multi:!0,useExisting:bv}]}function kM(){return typeof window<"u"?window.navigator:void 0}function ly(t){return!!(t.parentElement&&t.parentElement.nodeName.toLowerCase()==="picture")}function ho(t){return t.nodeName.toLowerCase()==="img"}function cy(t,e,r){return ho(t)?r&&"srcset"in t?t.srcset=e:t.src=e:t.style.backgroundImage=`url('${e}')`,t}function hf(t){return e=>{let r=e.parentElement.getElementsByTagName("source");for(let n=0;n{ho(e)&&ly(e)&&t(e),r&&cy(e,r,n)}}var FM=pf(OM),LM=pf(uy),VM=pf(PM),uf=class{constructor(){this.navigator=kM()}setPlatformId(e){this.platformId=e}onDestroy(e){}onAttributeChange(e){}},ti={loaded:"ng-lazyloaded",loading:"ng-lazyloading",failed:"ng-failed-lazyloaded"};function ay(t,e){t.className=t.className.replace(e,"")}function cf(t,e){t.className.includes(e)||(t.className+=` ${e}`)}function jM(t,e){return t.className&&t.className.includes(e)}var df=class extends uf{setup(e){FM(e.element,e.defaultImagePath,e.useSrcset),e.imagePath&&cf(e.element,ti.loading),jM(e.element,ti.loaded)&&ay(e.element,ti.loaded)}finally(e){cf(e.element,ti.loaded),ay(e.element,ti.loading)}loadImage(e){if(this.skipLazyLoading(e))return[e.imagePath];let{element:r,useSrcset:n,imagePath:i,decode:o}=e,s;return ho(r)&&ly(r)?(s=r.parentNode.cloneNode(!0).getElementsByTagName("img")[0],uy(s),cy(s,i,n)):(s=new Image,ho(r)&&r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),ho(r)&&r.sizes&&(s.sizes=r.sizes),n&&"srcset"in s?s.srcset=i:s.src=i),o&&s.decode?s.decode().then(()=>i):new Promise((a,l)=>{s.onload=()=>a(i),s.onerror=()=>l(null)})}setErrorImage(e,r){let{element:n,useSrcset:i,errorImagePath:o}=r;VM(n,o,i),cf(n,ti.failed)}setLoadedImage(e,r){let{element:n,useSrcset:i}=r;LM(n,e,i)}isDisabled(){return Li(this.platformId)&&!this.isBot()}skipLazyLoading(e){return this.isBot(e)}isBot(e){return this.navigator?.userAgent?/googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|duckduckbot|prerender/i.test(this.navigator.userAgent):!1}},ff=class extends df{constructor(){super(...arguments),this.observers=new WeakMap,this.intersectionSubject=new se,this.uniqKey={}}getObservable(e){if(this.skipLazyLoading(e))return S({isIntersecting:!0});if(e.customObservable)return e.customObservable;let r=e.scrollContainer||this.uniqKey,n={root:e.scrollContainer||null};e.offset&&(n.rootMargin=`${e.offset}px`);let i=this.observers.get(r);return i||(i=new IntersectionObserver(o=>this.loadingCallback(o),n),this.observers.set(r,i)),i.observe(e.element),V.create(o=>{let s=this.intersectionSubject.pipe(Ce(a=>a.target===e.element)).subscribe(o);return()=>{s.unsubscribe(),i.unobserve(e.element)}})}isVisible(e){return e.isIntersecting}loadingCallback(e){e.forEach(r=>this.intersectionSubject.next(r))}};function $M(t,e){return r=>r.pipe(J(n=>e.onStateChange.emit({reason:"observer-emit",data:n})),Ce(n=>t.isVisible(n,e)),et(1),J(()=>e.onStateChange.emit({reason:"start-loading"})),le(()=>t.loadImage(e)),J(()=>e.onStateChange.emit({reason:"mount-image"})),J(n=>t.setLoadedImage(n,e)),J(()=>e.onStateChange.emit({reason:"loading-succeeded"})),R(()=>!0),Ee(n=>(e.onStateChange.emit({reason:"loading-failed",data:n}),t.setErrorImage(n,e),S(!1))),J(()=>{e.onStateChange.emit({reason:"finally"}),t.finally(e)}))}var dy=new T("LazyLoadImageHooks"),Ot=(()=>{class t{constructor(r,n,i,o){this.onStateChange=new Y,this.elementRef=r,this.ngZone=n,this.propertyChanges$=new tn,this.hooks=o,this.hooks.setPlatformId(i),this.uid=Math.random().toString(36).substr(2,9)}ngOnChanges(){this.debug===!0&&!this.debugSubscription&&(this.debugSubscription=this.onStateChange.subscribe(r=>console.log(r))),this.propertyChanges$.next({element:this.elementRef.nativeElement,imagePath:this.lazyImage,defaultImagePath:this.defaultImage,errorImagePath:this.errorImage,useSrcset:this.useSrcset,offset:this.offset?this.offset|0:0,scrollContainer:this.scrollTarget,customObservable:this.customObservable,decode:this.decode,onStateChange:this.onStateChange,id:this.uid})}ngAfterContentInit(){if(this.hooks.isDisabled())return null;this.ngZone.runOutsideAngular(()=>{this.loadSubscription=this.propertyChanges$.pipe(J(r=>this.hooks.onAttributeChange(r)),J(r=>r.onStateChange.emit({reason:"setup"})),J(r=>this.hooks.setup(r)),ve(r=>r.imagePath?this.hooks.getObservable(r).pipe($M(this.hooks,r)):hl())).subscribe({next:()=>null})})}ngOnDestroy(){this.propertyChanges$.pipe(et(1)).subscribe({next:r=>this.hooks.onDestroy(r)}).unsubscribe(),this.loadSubscription?.unsubscribe(),this.debugSubscription?.unsubscribe()}}return t.\u0275fac=function(r){return new(r||t)(A(Fe),A(ne),A(ze),A(dy))},t.\u0275dir=fe({type:t,selectors:[["","lazyLoad",""]],inputs:{lazyImage:[ye.None,"lazyLoad","lazyImage"],defaultImage:"defaultImage",errorImage:"errorImage",scrollTarget:"scrollTarget",customObservable:"customObservable",offset:"offset",useSrcset:"useSrcset",decode:"decode",debug:"debug"},outputs:{onStateChange:"onStateChange"},features:[Ge]}),t})(),Pt=(()=>{class t{}return t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=Pe({type:t}),t.\u0275inj=Le({providers:[{provide:dy,useClass:ff}]}),t})(),ka=class t{constructor(e,r,n,i){this.left=e,this.top=r,this.right=n,this.bottom=i}static fromElement(e){let{left:r,top:n,right:i,bottom:o}=e.getBoundingClientRect();return r===0&&n===0&&i===0&&o===0?t.empty:new t(r,n,i,o)}static fromWindow(e){return new t(0,0,e.innerWidth,e.innerHeight)}inflate(e){this.left-=e,this.top-=e,this.right+=e,this.bottom+=e}intersectsWith(e){return e.left=r&&o>=n?new t(r,n,i,o):t.empty}};ka.empty=new ka(0,0,0,0);var fy=(()=>{let e=class e{constructor(n){this.sanitizer=n,this.info=new Y,this.defaultImage="../../../assets/images/loader.gif"}shareInfo(n,i){this.info.emit({name:n,url:i})}createSlug(n){let i=new URL(n).pathname,o=[];i&&(o=i.split("/"));var s=o.slice(-2);return s.length==2?`${s[0]}/${s[1]}`:""}sanitizeImageUrl(n){return this.sanitizer.bypassSecurityTrustUrl(n)}createImageUrl(n){return`https://socialify.git.ci/${this.createSlug(n)}/image?font=Rokkitt&forks=1&issues=1&language=1&name=1&owner=1&pattern=Circuit%20Board&pulls=1&stargazers=1&theme=Dark`}};e.\u0275fac=function(i){return new(i||e)(A(zi))},e.\u0275cmp=de({type:e,selectors:[["app-project"]],inputs:{metadata:"metadata"},outputs:{info:"info"},standalone:!0,features:[ge],decls:12,vars:5,consts:[[1,"h-full","max-w-sm","border","border-solid","border-[#9a9a9a]","bg-slate-50","rounded-lg","object-cover","shadow-xl","z-50"],[1,"px-6","pt-6"],[1,"text-center","flex","items-center","justify-center"],[1,"rounded-xl","transform-gpu","hover:scale-y-105","transition","duration-500",3,"defaultImage","lazyLoad"],[1,"card-body"],[1,"card-title"],[1,"md:xl:lg:line-clamp-2","line-clamp-none"],[1,"pt-2"],["type","button",1,"mt-auto","py-2","px-4","bg-gray-800","hover:bg-gray-700","focus:ring-gray-100","focus:ring-offset-blue-200","text-white","w-full","transition","ease-in","duration-200","text-center","text-base","font-semibold","shadow-md","focus:outline-none","focus:ring-2","focus:ring-offset-2","rounded-lg",3,"click"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"figure",1)(2,"div",2),O(3,"img",3),m()(),p(4,"div",4)(5,"h2",5),w(6),m(),p(7,"p",6),w(8),m(),p(9,"div",7)(10,"button",8),pe("click",function(){return o.shareInfo(o.metadata.name,o.metadata.url)}),w(11," View "),m()()()()),i&2&&(_(3),Lu("alt","lebanon-star-project-image-",o.metadata.id,""),ee("defaultImage",o.defaultImage)("lazyLoad",o.createImageUrl(o.metadata.url)),_(3),oe(o.metadata.name),_(2),oe(o.metadata.description))},dependencies:[Pt,Ot]});let t=e;return t})();function Cn(t){t||(vu(Cn),t=y(Rr));let e=new V(r=>t.onDestroy(r.next.bind(r)));return r=>r.pipe(Tn(e))}function vf(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Jn=vf();function vy(t){Jn=t}var yy=/[&<>"']/,BM=new RegExp(yy.source,"g"),Dy=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,UM=new RegExp(Dy.source,"g"),HM={"&":"&","<":"<",">":">",'"':""","'":"'"},hy=t=>HM[t];function Je(t,e){if(e){if(yy.test(t))return t.replace(BM,hy)}else if(Dy.test(t))return t.replace(UM,hy);return t}var zM=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function GM(t){return t.replace(zM,(e,r)=>(r=r.toLowerCase(),r==="colon"?":":r.charAt(0)==="#"?r.charAt(1)==="x"?String.fromCharCode(parseInt(r.substring(2),16)):String.fromCharCode(+r.substring(1)):""))}var WM=/(^|[^\[])\^/g;function X(t,e){t=typeof t=="string"?t:t.source,e=e||"";let r={replace:(n,i)=>(i=typeof i=="object"&&"source"in i?i.source:i,i=i.replace(WM,"$1"),t=t.replace(n,i),r),getRegex:()=>new RegExp(t,e)};return r}function py(t){try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}var Oa={exec:()=>null};function gy(t,e){let r=t.replace(/\|/g,(o,s,a)=>{let l=!1,c=s;for(;--c>=0&&a[c]==="\\";)l=!l;return l?"|":" |"}),n=r.split(/ \|/),i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length{let o=i.match(/^\s+/);if(o===null)return i;let[s]=o;return s.length>=n.length?i.slice(n.length):i}).join(` `)}var ri=class{options;rules;lexer;constructor(e){this.options=e||Jn}space(e){let r=this.rules.block.newline.exec(e);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(e){let r=this.rules.block.code.exec(e);if(r){let n=r[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?n:gf(n,` `)}}}fences(e){let r=this.rules.block.fences.exec(e);if(r){let n=r[0],i=ZM(n,r[3]||"");return{type:"code",raw:n,lang:r[2]?r[2].trim().replace(this.rules.inline._escapes,"$1"):r[2],text:i}}}heading(e){let r=this.rules.block.heading.exec(e);if(r){let n=r[2].trim();if(/#$/.test(n)){let i=gf(n,"#");(this.options.pedantic||!i||/ $/.test(i))&&(n=i.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let r=this.rules.block.hr.exec(e);if(r)return{type:"hr",raw:r[0]}}blockquote(e){let r=this.rules.block.blockquote.exec(e);if(r){let n=r[0].replace(/^ *>[ \t]?/gm,""),i=this.lexer.state.top;this.lexer.state.top=!0;let o=this.lexer.blockTokens(n);return this.lexer.state.top=i,{type:"blockquote",raw:r[0],tokens:o,text:n}}}list(e){let r=this.rules.block.list.exec(e);if(r){let n=r[1].trim(),i=n.length>1,o={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");let s=new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`),a="",l="",c=!1;for(;e;){let u=!1;if(!(r=s.exec(e))||this.rules.block.hr.test(e))break;a=r[0],e=e.substring(a.length);let d=r[2].split(` @@ -52,5 +52,5 @@ Please report this to https://github.com/markedjs/marked.`,e){let i="

An error `+i+"\n```":i}parseMarked(n,i,o=!1){return i.renderer&&(W.use({renderer:i.renderer}),delete i.renderer),o?W.parseInline(n,i):W.parse(n,i)}parseEmoji(n){if(!gn(this.platform))return n;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error(tS);return joypixels.shortnameToUnicode(n)}renderKatex(n,i){if(gn(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error(nS);renderMathInElement(n,i)}}renderClipboard(n,i,o){if(!gn(this.platform))return;if(typeof ClipboardJS>"u")throw new Error(iS);if(!i)throw new Error(oS);let{buttonComponent:s,buttonTemplate:a}=o,l=n.querySelectorAll("pre");for(let c=0;cf.style.opacity="1",u.onmouseout=()=>f.style.opacity="0";let h;s?h=i.createComponent(s).hostView:a?h=i.createEmbeddedView(a):h=i.createComponent(XM).hostView;let g;h.rootNodes.forEach(D=>{D.onmouseover=()=>f.style.opacity="1",f.appendChild(D),g=new ClipboardJS(D,{text:()=>u.innerText})}),h.onDestroy(()=>g.destroy())}}renderMermaid(n,i=this.DEFAULT_MERMAID_OPTIONS){if(!gn(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error(rS);let o=n.querySelectorAll(".mermaid");o.length!==0&&(mermaid.initialize(i),mermaid.run({nodes:o}))}trimIndentation(n){if(!n)return"";let i;return n.split(` `).map(o=>{let s=i;return o.length>0&&(s=isNaN(s)?o.search(/\S|$/):Math.min(o.search(/\S|$/),s)),isNaN(i)&&(i=s),s?o.substring(s):o}).join(` `)}};e.\u0275fac=function(i){return new(i||e)(I(JM,8),I(by,8),I(eS,8),I(ze),I(Cy),I(Yn,8),I(zi))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Iy=(()=>{let e=class e{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(n){this._disableSanitizer=this.coerceBooleanProperty(n)}get inline(){return this._inline}set inline(n){this._inline=this.coerceBooleanProperty(n)}get clipboard(){return this._clipboard}set clipboard(n){this._clipboard=this.coerceBooleanProperty(n)}get emoji(){return this._emoji}set emoji(n){this._emoji=this.coerceBooleanProperty(n)}get katex(){return this._katex}set katex(n){this._katex=this.coerceBooleanProperty(n)}get mermaid(){return this._mermaid}set mermaid(n){this._mermaid=this.coerceBooleanProperty(n)}get lineHighlight(){return this._lineHighlight}set lineHighlight(n){this._lineHighlight=this.coerceBooleanProperty(n)}get lineNumbers(){return this._lineNumbers}set lineNumbers(n){this._lineNumbers=this.coerceBooleanProperty(n)}get commandLine(){return this._commandLine}set commandLine(n){this._commandLine=this.coerceBooleanProperty(n)}constructor(n,i,o){this.element=n,this.markdownService=i,this.viewContainerRef=o,this.error=new Y,this.load=new Y,this.ready=new Y,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new se}ngOnChanges(){this.loadContent()}loadContent(){if(this.data!=null){this.handleData();return}if(this.src!=null){this.handleSrc();return}}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(Tn(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(n,i=!1){return wo(this,null,function*(){let o={decodeHtml:i,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},s={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate},katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},a=yield this.markdownService.parse(n,o);this.element.nativeElement.innerHTML=a,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,s,this.viewContainerRef),this.ready.emit()})}coerceBooleanProperty(n){return n!=null&&`${String(n)}`!="false"}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:n=>{this.render(n).then(()=>{this.load.emit(n)})},error:n=>this.error.emit(n)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,yf.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,yf.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(n,i){let o=n.querySelectorAll("pre");for(let s=0;s{let l=i[a];if(l){let c=this.toLispCase(a);o.item(s).setAttribute(c,l.toString())}})}toLispCase(n){let i=n.match(/([A-Z])/g);if(!i)return n;let o=n.toString();for(let s=0,a=i.length;s{let e=class e{static forRoot(n){return{ngModule:e,providers:[aS(n)]}}static forChild(){return{ngModule:e}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Le({imports:[qn]});let t=e;return t})(),wy;(function(t){let e;(function(i){i.Strict="strict",i.Loose="loose",i.Antiscript="antiscript",i.Sandbox="sandbox"})(e=t.SecurityLevel||(t.SecurityLevel={}));let r;(function(i){i.Base="base",i.Forest="forest",i.Dark="dark",i.Default="default",i.Neutral="neutral"})(r=t.Theme||(t.Theme={}));let n;(function(i){i[i.Debug=1]="Debug",i[i.Info=2]="Info",i[i.Warn=3]="Warn",i[i.Error=4]="Error",i[i.Fatal=5]="Fatal"})(n=t.LogLevel||(t.LogLevel={}))})(wy||(wy={}));var ky=(()=>{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(A(Hn),A(Fe))},e.\u0275dir=fe({type:e});let t=e;return t})(),cS=(()=>{let e=class e extends ky{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ai(e)))(o||e)}})(),e.\u0275dir=fe({type:e,features:[hn]});let t=e;return t})(),Oy=new T("");var uS={provide:Oy,useExisting:Tr(()=>za),multi:!0};function dS(){let t=Kt()?Kt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var fS=new T(""),za=(()=>{let e=class e extends ky{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!dS())}writeValue(n){let i=n??"";this.setProperty("value",i)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(i){return new(i||e)(A(Hn),A(Fe),A(fS,8))},e.\u0275dir=fe({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&pe("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[jr([uS]),hn]});let t=e;return t})();function En(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function Py(t){return t!=null&&typeof t.length=="number"}var Fy=new T(""),Ly=new T(""),hS=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,La=class{static min(e){return pS(e)}static max(e){return gS(e)}static required(e){return mS(e)}static requiredTrue(e){return vS(e)}static email(e){return yS(e)}static minLength(e){return DS(e)}static maxLength(e){return wS(e)}static pattern(e){return bS(e)}static nullValidator(e){return Vy(e)}static compose(e){return zy(e)}static composeAsync(e){return Wy(e)}};function pS(t){return e=>{if(En(e.value)||En(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(En(e.value)||En(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>t?{max:{max:t,actual:e.value}}:null}}function mS(t){return En(t.value)?{required:!0}:null}function vS(t){return t.value===!0?null:{required:!0}}function yS(t){return En(t.value)||hS.test(t.value)?null:{email:!0}}function DS(t){return e=>En(e.value)||!Py(e.value)?null:e.value.lengthPy(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function bS(t){if(!t)return Vy;let e,r;return typeof t=="string"?(r="",t.charAt(0)!=="^"&&(r+="^"),r+=t,t.charAt(t.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=t.toString(),e=t),n=>{if(En(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function Vy(t){return null}function jy(t){return t!=null}function $y(t){return pn(t)?te(t):t}function By(t){let e={};return t.forEach(r=>{e=r!=null?v(v({},e),r):e}),Object.keys(e).length===0?null:e}function Uy(t,e){return e.map(r=>r(t))}function CS(t){return!t.validate}function Hy(t){return t.map(e=>CS(e)?e:r=>e.validate(r))}function zy(t){if(!t)return null;let e=t.filter(jy);return e.length==0?null:function(r){return By(Uy(r,e))}}function Gy(t){return t!=null?zy(Hy(t)):null}function Wy(t){if(!t)return null;let e=t.filter(jy);return e.length==0?null:function(r){let n=Uy(r,e).map($y);return ul(n).pipe(R(By))}}function qy(t){return t!=null?Wy(Hy(t)):null}function _y(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Zy(t){return t._rawValidators}function Yy(t){return t._rawAsyncValidators}function Df(t){return t?Array.isArray(t)?t:[t]:[]}function Va(t,e){return Array.isArray(t)?t.includes(e):t===e}function xy(t,e){let r=Df(e);return Df(t).forEach(i=>{Va(r,i)||r.push(i)}),r}function My(t,e){return Df(e).filter(r=>!Va(t,r))}var ja=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Gy(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=qy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},si=class extends ja{get formDirective(){return null}get path(){return null}},yo=class extends ja{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},$a=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},ES={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},KL=G(v({},ES),{"[class.ng-submitted]":"isSubmitted"}),Qy=(()=>{let e=class e extends $a{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(A(yo,2))},e.\u0275dir=fe({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&pt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[hn]});let t=e;return t})(),Ky=(()=>{let e=class e extends $a{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(A(si,10))},e.\u0275dir=fe({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&pt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[hn]});let t=e;return t})();var mo="VALID",Fa="INVALID",ii="PENDING",vo="DISABLED";function Cf(t){return(Ga(t)?t.validators:t)||null}function IS(t){return Array.isArray(t)?Gy(t):t||null}function Ef(t,e){return(Ga(e)?e.asyncValidators:t)||null}function _S(t){return Array.isArray(t)?qy(t):t||null}function Ga(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Xy(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new M(1e3,"");if(!n[r])throw new M(1001,"")}function Jy(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new M(1002,"")})}var ai=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===mo}get invalid(){return this.status===Fa}get pending(){return this.status==ii}get disabled(){return this.status===vo}get enabled(){return this.status!==vo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(xy(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(xy(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(My(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(My(e,this._rawAsyncValidators))}hasValidator(e){return Va(this._rawValidators,e)}hasAsyncValidator(e){return Va(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=ii,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=vo,this.errors=null,this._forEachChild(n=>{n.disable(G(v({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(G(v({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=mo,this._forEachChild(n=>{n.enable(G(v({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(G(v({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===mo||this.status===ii)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?vo:mo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ii,this._hasOwnPendingAsyncValidator=!0;let r=$y(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Y,this.statusChanges=new Y}_calculateStatus(){return this._allControlsDisabled()?vo:this.errors?Fa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ii)?ii:this._anyControlsHaveStatus(Fa)?Fa:mo}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Ga(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=IS(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=_S(this._rawAsyncValidators)}},Ba=class extends ai{constructor(e,r,n){super(Cf(r),Ef(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){Jy(this,!0,e),Object.keys(e).forEach(n=>{Xy(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,i)=>((n.enabled||this.disabled)&&(r[i]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((i,o)=>{n=r(n,i,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var wf=class extends Ba{};var e0=new T("CallSetDisabledState",{providedIn:"root",factory:()=>If}),If="always";function xS(t,e){return[...e.path,t]}function Sy(t,e,r=If){_f(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),SS(t,e),AS(t,e),TS(t,e),MS(t,e)}function Ty(t,e,r=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Ha(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Ua(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function MS(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function _f(t,e){let r=Zy(t);e.validator!==null?t.setValidators(_y(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=Yy(t);e.asyncValidator!==null?t.setAsyncValidators(_y(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();Ua(e._rawValidators,i),Ua(e._rawAsyncValidators,i)}function Ha(t,e){let r=!1;if(t!==null){if(e.validator!==null){let i=Zy(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(r=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=Yy(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(r=!0,t.setAsyncValidators(o))}}}let n=()=>{};return Ua(e._rawValidators,n),Ua(e._rawAsyncValidators,n),r}function SS(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&t0(t,e)})}function TS(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&t0(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function t0(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function AS(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function NS(t,e){t==null,_f(t,e)}function RS(t,e){return Ha(t,e)}function kS(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function OS(t){return Object.getPrototypeOf(t.constructor)===cS}function PS(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function FS(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===za?r=o:OS(o)?n=o:i=o}),i||n||r||null}function LS(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Ay(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Ny(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var oi=class extends ai{constructor(e=null,r,n){super(Cf(r),Ef(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ga(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Ny(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Ay(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Ay(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Ny(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var VS=t=>t instanceof oi;var n0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=fe({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var r0=new T("");var jS={provide:si,useExisting:Tr(()=>xf)},xf=(()=>{let e=class e extends si{constructor(n,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Y,this._setValidators(n),this._setAsyncValidators(i)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ha(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let i=this.form.get(n.path);return Sy(i,n,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),i}getControl(n){return this.form.get(n.path)}removeControl(n){Ty(n.control||null,n,!1),LS(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,i){this.form.get(n.path).setValue(i)}onSubmit(n){return this.submitted=!0,PS(this.form,this.directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{let i=n.control,o=this.form.get(n.path);i!==o&&(Ty(i||null,n),VS(o)&&(Sy(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let i=this.form.get(n.path);NS(i,n),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let i=this.form.get(n.path);i&&RS(i,n)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){_f(this.form,this),this._oldForm&&Ha(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(A(Fy,10),A(Ly,10),A(e0,8))},e.\u0275dir=fe({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&pe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[ye.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[jr([jS]),hn,Ge]});let t=e;return t})();var $S={provide:yo,useExisting:Tr(()=>Mf)},Mf=(()=>{let e=class e extends yo{set isDisabled(n){}constructor(n,i,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new Y,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=FS(this,s)}ngOnChanges(n){this._added||this._setUpControl(),kS(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return xS(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(A(si,13),A(Fy,10),A(Ly,10),A(Oy,10),A(r0,8))},e.\u0275dir=fe({type:e,selectors:[["","formControlName",""]],inputs:{name:[ye.None,"formControlName","name"],isDisabled:[ye.None,"disabled","isDisabled"],model:[ye.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[jr([$S]),hn,Ge]});let t=e;return t})();var BS=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Le({});let t=e;return t})(),bf=class extends ai{constructor(e,r,n){super(Cf(r),Ef(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,r={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}insert(e,r,n={}){this.controls.splice(e,0,r),this._registerControl(r),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,r={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:r.emitEvent})}setControl(e,r,n={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),r&&(this.controls.splice(i,0,r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,r={}){Jy(this,!1,e),e.forEach((n,i)=>{Xy(this,!1,i),this.at(i).setValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(e.forEach((n,i)=>{this.at(i)&&this.at(i).patchValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e=[],r={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(r=>r._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((r,n)=>n._syncPendingControls()?!0:r,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((r,n)=>{e(r,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(r=>r.enabled&&e(r))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function Ry(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var i0=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let n=new e;return n.useNonNullable=!0,n}group(n,i=null){let o=this._reduceControls(n),s={};return Ry(i)?s=i:i!==null&&(s.validators=i.validator,s.asyncValidators=i.asyncValidator),new Ba(o,s)}record(n,i=null){let o=this._reduceControls(n);return new wf(o,i)}control(n,i,o){let s={};return this.useNonNullable?(Ry(i)?s=i:(s.validators=i,s.asyncValidators=o),new oi(n,G(v({},s),{nonNullable:!0}))):new oi(n,i,o)}array(n,i,o){let s=n.map(a=>this._createControl(a));return new bf(s,i,o)}_reduceControls(n){let i={};return Object.keys(n).forEach(o=>{i[o]=this._createControl(n[o])}),i}_createControl(n){if(n instanceof oi)return n;if(n instanceof ai)return n;if(Array.isArray(n)){let i=n[0],o=n.length>1?n[1]:null,s=n.length>2?n[2]:null;return this.control(i,o,s)}else return this.control(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var o0=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:r0,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:e0,useValue:n.callSetDisabledState??If}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Le({imports:[BS]});let t=e;return t})();var s0=(()=>{let e=class e{transform(n,i){return n?n.filter(o=>o.name.toLocaleLowerCase().indexOf(i.toLowerCase())!=-1):[]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=zt({name:"filter",type:e,pure:!0,standalone:!0});let t=e;return t})();function HS(t,e){if(t&1){let r=zn();p(0,"a",12),pe("keyup.enter",function(){_t(r),Q(3);let i=st(1);return xt(i.previous())})("click",function(){_t(r),Q(3);let i=st(1);return xt(i.previous())}),w(1),p(2,"span",13),w(3),m()()}if(t&2){let r=Q(3);_(),We(" ",r.previousLabel," "),_(2),oe(r.screenReaderPageLabel)}}function zS(t,e){if(t&1&&(p(0,"span",14),w(1),p(2,"span",13),w(3),m()()),t&2){let r=Q(3);_(),We(" ",r.previousLabel," "),_(2),oe(r.screenReaderPageLabel)}}function GS(t,e){if(t&1&&(p(0,"li",9),Te(1,HS,4,2,"a",10)(2,zS,4,2,"span",11),m()),t&2){Q(2);let r=st(1);pt("disabled",r.isFirstPage()),_(),ee("ngIf",1{class t{constructor(r){this.service=r,this.state={}}transform(r,n){if(!(r instanceof Array)){let d=n.id||this.service.defaultId();return this.state[d]?this.state[d].slice:r}let i=n.totalItems&&n.totalItems!==r.length,o=this.createInstance(r,n),s=o.id,a,l,c=o.itemsPerPage,u=this.service.register(o);if(!i&&r instanceof Array){if(c=+c||JS,a=(o.currentPage-1)*c,l=a+c,this.stateIsIdentical(s,r,a,l))return this.state[s].slice;{let f=r.slice(a,l);return this.saveState(s,r,f,a,l),this.service.change.emit(s),f}}else return u&&this.service.change.emit(s),this.saveState(s,r,r,a,l),r}createInstance(r,n){return this.checkConfig(n),{id:n.id!=null?n.id:this.service.defaultId(),itemsPerPage:+n.itemsPerPage||0,currentPage:+n.currentPage||1,totalItems:+n.totalItems||r.length}}checkConfig(r){let i=["itemsPerPage","currentPage"].filter(o=>!(o in r));if(0l===n[i+c])}}return t.\u0275fac=function(r){return new(r||t)(A(Do,16))},t.\u0275pipe=zt({name:"paginate",type:t,pure:!1}),t})();var eT=(()=>{class t{constructor(r,n){this.service=r,this.changeDetectorRef=n,this.maxSize=7,this.pageChange=new Y,this.pageBoundsCorrection=new Y,this.pages=[],this.changeSub=this.service.change.subscribe(i=>{this.id===i&&(this.updatePageLinks(),this.changeDetectorRef.markForCheck(),this.changeDetectorRef.detectChanges())})}ngOnInit(){this.id===void 0&&(this.id=this.service.defaultId()),this.updatePageLinks()}ngOnChanges(r){this.updatePageLinks()}ngOnDestroy(){this.changeSub.unsubscribe()}previous(){this.checkValidId(),this.setCurrent(this.getCurrent()-1)}next(){this.checkValidId(),this.setCurrent(this.getCurrent()+1)}isFirstPage(){return this.getCurrent()===1}isLastPage(){return this.getLastPage()===this.getCurrent()}setCurrent(r){this.pageChange.emit(r)}getCurrent(){return this.service.getCurrentPage(this.id)}getLastPage(){let r=this.service.getInstance(this.id);return r.totalItems<1?1:Math.ceil(r.totalItems/r.itemsPerPage)}getTotalItems(){return this.service.getInstance(this.id).totalItems}checkValidId(){this.service.getInstance(this.id).id==null&&console.warn(`PaginationControlsDirective: the specified id "${this.id}" does not match any registered PaginationInstance`)}updatePageLinks(){let r=this.service.getInstance(this.id),n=this.outOfBoundCorrection(r);n!==r.currentPage?setTimeout(()=>{this.pageBoundsCorrection.emit(n),this.pages=this.createPageArray(r.currentPage,r.itemsPerPage,r.totalItems,this.maxSize)}):this.pages=this.createPageArray(r.currentPage,r.itemsPerPage,r.totalItems,this.maxSize)}outOfBoundCorrection(r){let n=Math.ceil(r.totalItems/r.itemsPerPage);return n{class t{constructor(){this.maxSize=7,this.previousLabel="Previous",this.nextLabel="Next",this.screenReaderPaginationLabel="Pagination",this.screenReaderPageLabel="page",this.screenReaderCurrentLabel="You're on page",this.pageChange=new Y,this.pageBoundsCorrection=new Y,this._directionLinks=!0,this._autoHide=!1,this._responsive=!1}get directionLinks(){return this._directionLinks}set directionLinks(r){this._directionLinks=Sf(r)}get autoHide(){return this._autoHide}set autoHide(r){this._autoHide=Sf(r)}get responsive(){return this._responsive}set responsive(r){this._responsive=Sf(r)}trackByIndex(r){return r}}return t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=de({type:t,selectors:[["pagination-controls"]],inputs:{id:"id",maxSize:"maxSize",directionLinks:"directionLinks",autoHide:"autoHide",responsive:"responsive",previousLabel:"previousLabel",nextLabel:"nextLabel",screenReaderPaginationLabel:"screenReaderPaginationLabel",screenReaderPageLabel:"screenReaderPageLabel",screenReaderCurrentLabel:"screenReaderCurrentLabel"},outputs:{pageChange:"pageChange",pageBoundsCorrection:"pageBoundsCorrection"},decls:4,vars:4,consts:[[3,"id","maxSize","pageChange","pageBoundsCorrection"],["p","paginationApi"],["role","navigation"],["class","ngx-pagination",3,"responsive",4,"ngIf"],[1,"ngx-pagination"],["class","pagination-previous",3,"disabled",4,"ngIf"],[1,"small-screen"],[3,"current","ellipsis",4,"ngFor","ngForOf","ngForTrackBy"],["class","pagination-next",3,"disabled",4,"ngIf"],[1,"pagination-previous"],["tabindex","0",3,"keyup.enter","click",4,"ngIf"],["aria-disabled","true",4,"ngIf"],["tabindex","0",3,"keyup.enter","click"],[1,"show-for-sr"],["aria-disabled","true"],[4,"ngIf"],["aria-live","polite"],[1,"pagination-next"]],template:function(r,n){if(r&1&&(p(0,"pagination-template",0,1),pe("pageChange",function(o){return n.pageChange.emit(o)})("pageBoundsCorrection",function(o){return n.pageBoundsCorrection.emit(o)}),p(2,"nav",2),Te(3,XS,6,8,"ul",3),m()()),r&2){let i=st(1);ee("id",n.id)("maxSize",n.maxSize),_(2),Yt("aria-label",n.screenReaderPaginationLabel),_(),ee("ngIf",!(n.autoHide&&i.pages.length<=1))}},dependencies:[eT,zm,Hm,ia],styles:[`.ngx-pagination{margin-left:0;margin-bottom:1rem}.ngx-pagination:before,.ngx-pagination:after{content:" ";display:table}.ngx-pagination:after{clear:both}.ngx-pagination li{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0}.ngx-pagination li{display:inline-block}.ngx-pagination a,.ngx-pagination button{color:#0a0a0a;display:block;padding:.1875rem .625rem;border-radius:0}.ngx-pagination a:hover,.ngx-pagination button:hover{background:#e6e6e6}.ngx-pagination .current{padding:.1875rem .625rem;background:#2199e8;color:#fefefe;cursor:default}.ngx-pagination .disabled{padding:.1875rem .625rem;color:#cacaca;cursor:default}.ngx-pagination .disabled:hover{background:transparent}.ngx-pagination a,.ngx-pagination button{cursor:pointer}.ngx-pagination .pagination-previous a:before,.ngx-pagination .pagination-previous.disabled:before{content:"\\ab";display:inline-block;margin-right:.5rem}.ngx-pagination .pagination-next a:after,.ngx-pagination .pagination-next.disabled:after{content:"\\bb";display:inline-block;margin-left:.5rem}.ngx-pagination .show-for-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination .small-screen{display:none}@media screen and (max-width: 601px){.ngx-pagination.responsive .small-screen{display:inline-block}.ngx-pagination.responsive li:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}} -`],encapsulation:2,changeDetection:0}),t})(),c0=(()=>{class t{}return t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=Pe({type:t}),t.\u0275inj=Le({providers:[Do],imports:[[qn]]}),t})();var u0=(()=>{let e=class e{constructor(n){this._http=n}getProjects(){return this._http.get("./assets/files/data.json")}};e.\u0275fac=function(i){return new(i||e)(I(Yn))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Wa=(()=>{let e=class e{constructor(n){this._http=n}getGithubInfo(n){return this._http.get(`https://api.github.com/repos/${n}`)}getReadMeInfo(n){return this._http.get(`https://api.github.com/repos/${n}/readme`)}getGitHubContributors(n){return this._http.get(`https://api.github.com/repos/${n}/contributors`)}getGithubRepoLangs(n){return this._http.get(`https://api.github.com/repos/${n}/languages`)}};e.\u0275fac=function(i){return new(i||e)(I(Yn))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var rT=["dataBlock"],iT=(t,e)=>e.id;function oT(t,e){if(t&1){let r=zn();p(0,"app-project",16),pe("info",function(i){_t(r);let o=Q();return xt(o.receiveInfo(i))}),m()}if(t&2){let r=e.$implicit;ee("metadata",r)}}function sT(t,e){t&1&&(p(0,"div",17),O(1,"img",18),m())}function aT(t,e){if(t&1){let r=zn();p(0,"div",19)(1,"div",20)(2,"pagination-controls",21),pe("pageChange",function(i){_t(r);let o=Q();return xt(o.onPageChange(i))}),m()()()}t&2&&(_(2),ee("responsive",!0))}function lT(t,e){t&1&&(p(0,"div",22),O(1,"div",23)(2,"div",24)(3,"div",25)(4,"div",25),m())}function cT(t,e){t&1&&(p(0,"div",27),Qe(),p(1,"svg",28),O(2,"path",29),m(),rt(),p(3,"span"),w(4,"Error! Retrieving data from GitHub!"),m()())}var uT=(t,e)=>e.key;function dT(t,e){if(t&1&&(p(0,"div",56),w(1),m()),t&2){let r=e.$implicit;_(),oe(r)}}function fT(t,e){if(t&1&&Fr(0,dT,2,1,"div",57,mm),t&2){let r=Q(3);Lr(r.githubData==null?null:r.githubData.topics)}}function hT(t,e){}function pT(t,e){if(t&1&&(p(0,"div",58)(1,"div",59),w(2),m(),p(3,"div",60),w(4),gt(5,"percent"),m()()),t&2){let r=Q().$implicit,n=Q(3);_(2),oe(r.key),_(2),oe(ki(5,2,r.value/n.languageFilesCount))}}function gT(t,e){if(t&1&&Te(0,hT,0,0)(1,pT,6,4),t&2){let r=e.$index;Pr(0,r>=4?0:1)}}function mT(t,e){if(t&1&&(p(0,"div",30),O(1,"div",31),p(2,"div",32)(3,"div",33)(4,"h1",34),w(5),m(),p(6,"p",35),w(7),m(),Te(8,fT,2,0),p(9,"div",36)(10,"button",37),w(11),p(12,"div",38),O(13,"input",39),m()()()()()(),p(14,"div",40)(15,"pre",41),w(16," "),O(17,"markdown",42),w(18,` - `),m()(),p(19,"div",43)(20,"div",44),Fr(21,gT,2,1,null,null,uT),m()(),p(23,"div",45)(24,"div",46)(25,"ul",47)(26,"li")(27,"div",48),w(28,"Created at"),m(),p(29,"div",49),Qe(),p(30,"svg",50),O(31,"path",51),m()(),rt(),p(32,"div",52),w(33),m(),O(34,"hr"),m(),p(35,"li"),O(36,"hr"),p(37,"div",48),w(38,"Last Updated at"),m(),p(39,"div",49),Qe(),p(40,"svg",50),O(41,"path",51),m()(),rt(),p(42,"div",52),w(43),m(),O(44,"hr"),m(),p(45,"li"),O(46,"hr"),p(47,"div",48),w(48,"Size"),m(),p(49,"div",49),Qe(),p(50,"svg",50),O(51,"path",51),m()(),rt(),p(52,"div",52),w(53),gt(54,"number"),m(),O(55,"hr"),m(),p(56,"li"),O(57,"hr"),p(58,"div",48),w(59,"Forks"),m(),p(60,"div",49),Qe(),p(61,"svg",50),O(62,"path",51),m()(),rt(),p(63,"div",52),w(64),m(),O(65,"hr"),m(),p(66,"li"),O(67,"hr"),p(68,"div",48),w(69,"Forks Count"),m(),p(70,"div",49),Qe(),p(71,"svg",50),O(72,"path",51),m()(),rt(),p(73,"div",52),w(74),m(),O(75,"hr"),m(),p(76,"li"),O(77,"hr"),p(78,"div",48),w(79,"License"),m(),p(80,"div",49),Qe(),p(81,"svg",50),O(82,"path",51),m()(),rt(),p(83,"div",52),w(84),m(),O(85,"hr"),m(),p(86,"li"),O(87,"hr"),p(88,"div",48),w(89,"Home Page"),m(),p(90,"div",49),Qe(),p(91,"svg",50),O(92,"path",51),m()(),rt(),p(93,"div",52)(94,"a",53),w(95),m()()()()()(),p(96,"div",54),O(97,"img",55),m()),t&2){let r=Q(2);wm("background-image: url(",r.githubData==null?null:r.githubData.owner.avatar_url,"); "),_(5),oe(r.githubData==null?null:r.githubData.name),_(2),oe(r.githubData==null?null:r.githubData.description),_(),Pr(8,r.githubData!=null&&r.githubData.topics?8:-1),_(3),We(" ",r.githubData==null?null:r.githubData.stargazers_count," "),_(6),ee("src",r.readMeData),_(4),Lr(r.languageData),_(12),oe(r.removeTime(r.githubData==null?null:r.githubData.created_at)),_(10),oe(r.removeTime(r.githubData==null?null:r.githubData.updated_at)),_(10),We("",Gn(54,19,(r.githubData==null?null:r.githubData.size)/1024,"1.0-2")," KB"),_(11),oe(r.githubData!=null&&r.githubData.fork?"\u2705":"\u274C"),_(10),oe(r.githubData==null?null:r.githubData.forks_count),_(10),oe(r.githubData==null?null:r.githubData.license.name),_(10),ee("href",r.githubData==null?null:r.githubData.homepage,Ri),_(),oe(r.githubData==null?null:r.githubData.homepage),_(2),Bu("alt","lebanon-stars-",r.githubData==null?null:r.githubData.full_name,""),ee("defaultImage",r.defaultImage)("lazyLoad",r.buildStarHistory(r.githubData==null?null:r.githubData.full_name))}}function vT(t,e){if(t&1&&Te(0,cT,5,0,"div",26)(1,mT,98,22),t&2){let r=Q();Pr(0,r.githubData?1:0)}}var yT=t=>({itemsPerPage:8,currentPage:t}),f0=(()=>{let e=class e{constructor(n,i,o,s){this._projectService=n,this.cdr=i,this._fb=o,this._githubService=s,this.destroyRef=y(Rr),this.languageFilesCount=0,this.isLoading=!0,this.badges=["badge-neutral","badge-primary","badge-secondary","badge-accent","badge-ghost"],this.projects=[],this.searchText="",this.defaultImage="./assets/images/loader.gif",this.pageNumber=1,this.languageData=[],this._projectService.getProjects().pipe(Cn(),R(a=>{this.projects=this.shuffleArray(a)}),Ee(a=>S([]))).subscribe()}ngOnInit(){this.searchForm=this._fb.group({search:new oi("",[La.maxLength(30)])}),this.searchForm.get("search").valueChanges.pipe(Cn(this.destroyRef),pl(300),R(n=>{this.searchText=n})).subscribe()}ngAfterViewInit(){this.cdr.detectChanges()}showModal(){this.block.nativeElement.classList.add("modal-open")}closeModal(){this.languageFilesCount=0,this.block.nativeElement.classList.remove("modal-open")}onPageChange(n){this.pageNumber=n,window.scrollTo(0,0)}getRadomBadge(){let n=Math.floor(Math.random()*this.badges.length);return this.badges[n]}getGithubInfo(n){this._githubService.getGithubInfo(n).pipe(Cn(this.destroyRef),R(i=>{this.githubData=i}),Ee(i=>S([])),ut(()=>{this.isLoading=!1})).subscribe()}getGithubRepoLangs(n){this._githubService.getGithubRepoLangs(n).pipe(Cn(this.destroyRef),R(i=>{i&&(this.languageData=Object.keys(i).map(o=>({key:o,value:i[o]})),Object.values(this.languageData).forEach(o=>{this.languageFilesCount+=o.value}))}),Ee(i=>S([])),ut(()=>{this.isLoading=!1})).subscribe()}createSlug(n){let i=new URL(n).pathname,o=[];i&&(o=i.split("/"));var s=o.slice(-2);return s.length==2?`${s[0]}/${s[1]}`:""}receiveInfo(n){this.showModal();let i=this.createSlug(n.url);this.getGithubInfo(i),this.readMeData=`https://raw.githubusercontent.com/${i}/master/README.md`,this.getGithubRepoLangs(i)}decodeReadMe(n){return atob(n)}buildStarHistory(n){return`https://api.star-history.com/svg?repos=${n}&type=Timeline`}removeTime(n){if(n=="")return"";let i=new Date(n);return`${i.getDate()}/${i.getMonth()+1}/${i.getFullYear()}`}shuffleArray(n){return n.sort(()=>Math.random()-.5)}};e.\u0275fac=function(i){return new(i||e)(A(u0),A(mt),A(i0),A(Wa))},e.\u0275cmp=de({type:e,selectors:[["app-home"]],viewQuery:function(i,o){if(i&1&&Dm(rT,7),i&2){let s;Uu(s=Hu())&&(o.block=s.first)}},standalone:!0,features:[jr([]),ge],decls:23,vars:12,consts:[[1,"bgg"],[1,"pb-6","flex","md:flex","md:flex-grow","flex-row"],[1,"w-full","md:w-2/12",3,"formGroup"],[1,"input","input-bordered","flex","items-center"],["type","text","placeholder","Search","formControlName","search",1,"grow"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 16 16","fill","currentColor",1,"w-4","h-4","opacity-70"],["fill-rule","evenodd","d","M9.965 11.026a5 5 0 1 1 1.06-1.06l2.755 2.754a.75.75 0 1 1-1.06 1.06l-2.755-2.754ZM10.5 7a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z","clip-rule","evenodd"],[1,"grid","grid-cols-1","md:grid-cols-4","gap-6","lg:gap-4","sm:grid-cols-2","z-50"],["class","grid grid-cols-2"],["id","my_modal_4",1,"modal"],["dataBlock",""],[1,"modal-box","w-11/12","max-w-5xl"],["class","flex flex-col gap-4 w-full"],[1,"modal-action"],["method","dialog"],[1,"btn",3,"click"],[3,"metadata","info"],[1,"flex","items-center","justify-center"],["src","./assets/images/no-data.webp","alt","",1,"text-center","rounded-xl","transform-gpu","hover:scale-y-105","transition","duration-500"],[1,"grid","grid-cols-2"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6","w-50","text-right","col-start-4","col-end-5"],[3,"responsive","pageChange"],[1,"flex","flex-col","gap-4","w-full"],[1,"skeleton","h-32","w-full"],[1,"skeleton","h-4","w-28"],[1,"skeleton","h-4","w-full"],["role","alert","class","alert alert-error"],["role","alert",1,"alert","alert-error"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"stroke-current","shrink-0","h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"],[1,"bg-gray-600","bg-blend-multiply","border-2","rounded-lg","bg-no-repeat","bg-center"],[1,"hero-overlay","bg-opacity-40"],[1,"hero-content","text-center","text-neutral-content"],[1,"max-w-md"],[1,"mb-5","text-5xl","font-bold"],[1,"mb-5"],[1,"pt-6"],[1,"btn"],[1,"rating"],["type","radio","name","rating-4","checked","",1,"mask","mask-star-2","bg-yellow-500"],[1,"mockup-code","mt-6"],[1,"p-4"],[3,"src"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6","flex","text-center"],[1,"stats","stats-vertical","lg:stats-horizontal","shadow","w-full"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6"],[1,"flex","text-center","z-50"],[1,"timeline","timeline-vertical","lg:timeline-horizontal"],[1,"timeline-start"],[1,"timeline-middle"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","currentColor",1,"w-5","h-5"],["fill-rule","evenodd","d","M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule","evenodd"],[1,"timeline-end","timeline-box"],["target","_blank",1,"link",3,"href"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6","flex","justify-center","items-center"],[1,"rounded-lg",3,"defaultImage","lazyLoad","alt"],[1,"badge","badge-secondary","pr-2","mr-2"],["class","badge badge-secondary pr-2 mr-2"],[1,"stat"],[1,"stat-title"],[1,"stat-value"],[3,"metadata"],["class","flex items-center justify-center"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"form",2)(3,"label",3),O(4,"input",4),Qe(),p(5,"svg",5),O(6,"path",6),m()()()(),rt(),p(7,"div",7),Fr(8,oT,1,1,"app-project",61,iT,!1,sT,2,0,"div",62),gt(11,"paginate"),gt(12,"filter"),m(),Te(13,aT,3,1,"div",8),m(),p(14,"dialog",9,10)(16,"div",11),Te(17,lT,5,0,"div",12)(18,vT,2,1),p(19,"div",13)(20,"form",14)(21,"button",15),pe("click",function(){return o.closeModal()}),w(22,"Close"),m()()()()()),i&2&&(_(2),ee("formGroup",o.searchForm),_(6),Lr(Gn(11,4,Gn(12,7,o.projects,o.searchText),Cm(10,yT,o.pageNumber))),_(5),Pr(13,o.projects.length>0?13:-1),_(4),Pr(17,o.isLoading?17:18))},dependencies:[fy,c0,a0,l0,Pt,Ot,qn,ia,Wm,o0,n0,za,Qy,Ky,xf,Mf,s0,Pa,Iy,Ra],styles:['.bgg[_ngcontent-%COMP%]{background-image:url("./media/bg-4-TILS5NJC.webp");background-position:bottom right;background-repeat:no-repeat}']});let t=e;return t})();var h0=(()=>{let e=class e{constructor(){this.defaultImage="./assets/images/loader.gif"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-aboutus"]],standalone:!0,features:[ge],decls:34,vars:2,consts:[[1,"w-full","border","border-solid","border-[#9a9a9a]","bg-slate-50","rounded-lg","object-cover","shadow-xl","z-50"],[1,"pt-3","w-11/12","mx-auto","lg:p-8","overflow-x-hidden"],[1,"mb-4","text-4xl","font-extrabold","leading-none","tracking-tight"],["href","https://lb.linkedin.com/in/ali-alachkar-47b48a190","target","_blank",1,"link"],["href","https://angular.io/","target","_blank",1,"link"],["href","https://tailwindcss.com/","target","_blank",1,"link"],["href","https://daisyui.com/","target","_blank",1,"link"],[1,"mt-3","mb-3"],[1,"mockup-browser","border","border-base-300"],[1,"mockup-browser-toolbar"],[1,"input","border","border-base-300"],[1,"community","w-full","flex","justify-center","px-4","py-16","border-t","border-base-300"],["href","https://chat.whatsapp.com/I6E9gk8Re1JDFuDkUfxxds","target","_blank"],["alt","lebanon-stars-community-links",1,"mt-2","w-32","transform-gpu","hover:scale-y-105","transition","duration-500",3,"defaultImage","lazyLoad"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"h1",2),w(3,"About Us!"),m(),p(4,"p"),w(5," We're successful developers and software engineers from Lebanon who invented a bunch of success repositories in a place filled with obstacles and economic crises! "),m(),p(6,"p")(7,"b"),w(8,"Lebanon Stars"),m(),w(9," is a simple project created by "),p(10,"a",3),w(11,"Ali Alachkar"),m(),w(12," and with the help of contributors using "),p(13,"a",4),w(14,"Angular 17"),m(),w(15,", "),p(16,"a",5),w(17,"Tailwind"),m(),w(18,", and "),p(19,"a",6),w(20,"DaisyUI"),m(),w(21,". The main purpose of the project was to add all the Lebanese repos to be viewed by other developers, university students, or even recruiters! "),m(),p(22,"p",7),w(23," You can join us in our "),p(24,"b"),w(25," Tech & Code"),m(),w(26," coummity. "),m(),p(27,"div",8)(28,"div",9)(29,"div",10),w(30,"https://chat.whatsapp.com/I6E9gk8Re1JDFuDkUfxxds"),m()(),p(31,"div",11)(32,"a",12),O(33,"img",13),m()()()()()),i&2&&(_(33),ee("defaultImage",o.defaultImage)("lazyLoad","./assets/images/whatsapp-icon.webp"))},dependencies:[Pt,Ot],styles:['.community[_ngcontent-%COMP%]{background-image:url("./media/community-Y4EIT6CZ.webp");background-size:initial;opacity:.4}']});let t=e;return t})();var DT=(t,e)=>e.id;function wT(t,e){if(t&1&&(p(0,"div",4)(1,"a",5),O(2,"img",6),m()()),t&2){let r=e.$implicit,n=Q();Yt("data-tip",r.login),_(),Yt("href",r.html_url,Ri),_(),ee("defaultImage",n.defaultImage)("lazyLoad",r==null?null:r.avatar_url)}}var p0=(()=>{let e=class e{constructor(n){this._githubService=n,this.contributors=[],this.lebanonStar="AAVision/beSideYou",this.defaultImage="./assets/images/loader.gif",this._githubService.getGitHubContributors(this.lebanonStar).pipe(Cn(),R(i=>{this.contributors=i||[]}),Ee(i=>S([]))).subscribe()}};e.\u0275fac=function(i){return new(i||e)(A(Wa))},e.\u0275cmp=de({type:e,selectors:[["app-contributors"]],standalone:!0,features:[ge],decls:7,vars:0,consts:[[1,"w-full","border","border-solid","border-[#9a9a9a]","bg-slate-50","rounded-lg","object-cover","shadow-xl","z-50"],[1,"pt-3","w-11/12","mx-auto","lg:p-8","overflow-x-hidden"],[1,"mb-4","text-4xl","font-extrabold","leading-none","tracking-tight"],[1,"grid","grid-cols-1","md:grid-cols-6","gap-6","lg:gap-4","sm:grid-cols-2","z-50","place-items-center"],[1,"tooltip"],["target","_blank",1,"cursor-pointer"],["alt","",1,"rounded-lg","transform-gpu","hover:scale-y-105","transition","duration-500",3,"defaultImage","lazyLoad"],["class","tooltip"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"h1",2),w(3,"Contributors!"),m(),p(4,"div",3),Fr(5,wT,3,4,"div",7,DT),m()()()),i&2&&(_(5),Lr(o.contributors))},dependencies:[Pt,Ot]});let t=e;return t})();var g0=[{path:"",title:"Home page",component:f0},{path:"about-us",title:"About Us",component:h0},{path:"contributors",title:"Contributors",component:p0}];var m0={providers:[ty(g0,lf(),sy()),iv(),pu(Pa.forRoot())]};var v0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-header"]],standalone:!0,features:[ge],decls:32,vars:0,consts:[[1,"navbar","bg-base-100"],[1,"navbar-start"],[1,"dropdown"],["tabindex","0","role","button","name","responsive-btn","aria-label","responsive-btn","id","responsive-btn",1,"btn","btn-ghost","lg:hidden"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-5","w-5"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M4 6h16M4 12h8m-8 6h16"],["tabindex","0",1,"menu","menu-sm","dropdown-content","mt-3","z-[1]","p-2","shadow","bg-base-100","rounded-box","w-52"],["routerLink","","id","projects-main"],["routerLink","contributors","id","contributor-main"],["routerLink","about-us","id","about-us-main"],["name","lb-stars","aria-label","lb-stars","id","lb-stars",1,"btn","btn-ghost","text-xl"],[1,"navbar-center","hidden","lg:flex"],[1,"menu","menu-horizontal","px-1"],["routerLink","","id","projects-secondary"],["routerLink","contributors","id","contributor-secondary"],["routerLink","about-us","id","about-us-secondary"],[1,"navbar-end"],["name","github-link","aria-label","github-link","id","github-link","href","https://www.github.com/aavision/lebanon-stars","target","_blank",1,"btn","bg-transparent","border-0"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24"],["d","M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),Qe(),p(4,"svg",4),O(5,"path",5),m()(),rt(),p(6,"ul",6)(7,"li")(8,"a",7),w(9,"Projects"),m()(),p(10,"li")(11,"a",8),w(12,"Contributors"),m(),p(13,"a",9),w(14,"About Us"),m()()()(),p(15,"div",10),w(16,"Lebanon Stars "),m()(),p(17,"div",11)(18,"ul",12)(19,"li")(20,"a",13),w(21,"Projects"),m()(),p(22,"li")(23,"a",14),w(24,"Contributors"),m()(),p(25,"li")(26,"a",15),w(27,"About us"),m()()()(),p(28,"div",16)(29,"a",17),Qe(),p(30,"svg",18),O(31,"path",19),m()()()())},dependencies:[Ra,Jv]});let t=e;return t})();var y0=(()=>{let e=class e{constructor(){this.anio=new Date().getFullYear(),this.defaultImage="./assets/images/loader.gif"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-footer"]],standalone:!0,features:[ge],decls:8,vars:3,consts:[[1,"sticky","top-[100vh]"],[1,"footer","items-center","p-4","bg-slate-50"],[1,"items-center","grid-flow-col"],["alt","",3,"defaultImage","lazyLoad"],["href","https://lb.linkedin.com/in/ali-alachkar-47b48a190","target","_blank",1,"link"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"footer",1)(2,"aside",2),O(3,"img",3),p(4,"p"),w(5),p(6,"a",4),w(7,"Ali Alachkar"),m()()()()()),i&2&&(_(3),ee("defaultImage",o.defaultImage)("lazyLoad","./assets/images/lebanon-footer.svg"),_(2),We("Copyright \xA9 ",o.anio," - All right reserved by "))},dependencies:[Pt,Ot]});let t=e;return t})();var D0=(()=>{let e=class e{constructor(){this.title="leabnon-stars"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-root"]],standalone:!0,features:[ge],decls:4,vars:0,consts:[[1,"pt-3","w-11/12","mx-auto","p-6","lg:p-8","overflow-x-hidden"]],template:function(i,o){i&1&&(O(0,"app-header"),p(1,"div",0),O(2,"router-outlet"),m(),O(3,"app-footer"))},dependencies:[ef,v0,y0]});let t=e;return t})();fv(D0,m0).catch(t=>console.error(t)); +`],encapsulation:2,changeDetection:0}),t})(),c0=(()=>{class t{}return t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=Pe({type:t}),t.\u0275inj=Le({providers:[Do],imports:[[qn]]}),t})();var u0=(()=>{let e=class e{constructor(n){this._http=n}getProjects(){return this._http.get("../../assets/files/data.json")}};e.\u0275fac=function(i){return new(i||e)(I(Yn))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Wa=(()=>{let e=class e{constructor(n){this._http=n}getGithubInfo(n){return this._http.get(`https://api.github.com/repos/${n}`)}getReadMeInfo(n){return this._http.get(`https://api.github.com/repos/${n}/readme`)}getGitHubContributors(n){return this._http.get(`https://api.github.com/repos/${n}/contributors`)}getGithubRepoLangs(n){return this._http.get(`https://api.github.com/repos/${n}/languages`)}};e.\u0275fac=function(i){return new(i||e)(I(Yn))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var rT=["dataBlock"],iT=(t,e)=>e.id;function oT(t,e){if(t&1){let r=zn();p(0,"app-project",16),pe("info",function(i){_t(r);let o=Q();return xt(o.receiveInfo(i))}),m()}if(t&2){let r=e.$implicit;ee("metadata",r)}}function sT(t,e){t&1&&(p(0,"div",17),O(1,"img",18),m())}function aT(t,e){if(t&1){let r=zn();p(0,"div",19)(1,"div",20)(2,"pagination-controls",21),pe("pageChange",function(i){_t(r);let o=Q();return xt(o.onPageChange(i))}),m()()()}t&2&&(_(2),ee("responsive",!0))}function lT(t,e){t&1&&(p(0,"div",22),O(1,"div",23)(2,"div",24)(3,"div",25)(4,"div",25),m())}function cT(t,e){t&1&&(p(0,"div",27),Qe(),p(1,"svg",28),O(2,"path",29),m(),rt(),p(3,"span"),w(4,"Error! Retrieving data from GitHub!"),m()())}var uT=(t,e)=>e.key;function dT(t,e){if(t&1&&(p(0,"div",56),w(1),m()),t&2){let r=e.$implicit;_(),oe(r)}}function fT(t,e){if(t&1&&Fr(0,dT,2,1,"div",57,mm),t&2){let r=Q(3);Lr(r.githubData==null?null:r.githubData.topics)}}function hT(t,e){}function pT(t,e){if(t&1&&(p(0,"div",58)(1,"div",59),w(2),m(),p(3,"div",60),w(4),gt(5,"percent"),m()()),t&2){let r=Q().$implicit,n=Q(3);_(2),oe(r.key),_(2),oe(ki(5,2,r.value/n.languageFilesCount))}}function gT(t,e){if(t&1&&Te(0,hT,0,0)(1,pT,6,4),t&2){let r=e.$index;Pr(0,r>=4?0:1)}}function mT(t,e){if(t&1&&(p(0,"div",30),O(1,"div",31),p(2,"div",32)(3,"div",33)(4,"h1",34),w(5),m(),p(6,"p",35),w(7),m(),Te(8,fT,2,0),p(9,"div",36)(10,"button",37),w(11),p(12,"div",38),O(13,"input",39),m()()()()()(),p(14,"div",40)(15,"pre",41),w(16," "),O(17,"markdown",42),w(18,` + `),m()(),p(19,"div",43)(20,"div",44),Fr(21,gT,2,1,null,null,uT),m()(),p(23,"div",45)(24,"div",46)(25,"ul",47)(26,"li")(27,"div",48),w(28,"Created at"),m(),p(29,"div",49),Qe(),p(30,"svg",50),O(31,"path",51),m()(),rt(),p(32,"div",52),w(33),m(),O(34,"hr"),m(),p(35,"li"),O(36,"hr"),p(37,"div",48),w(38,"Last Updated at"),m(),p(39,"div",49),Qe(),p(40,"svg",50),O(41,"path",51),m()(),rt(),p(42,"div",52),w(43),m(),O(44,"hr"),m(),p(45,"li"),O(46,"hr"),p(47,"div",48),w(48,"Size"),m(),p(49,"div",49),Qe(),p(50,"svg",50),O(51,"path",51),m()(),rt(),p(52,"div",52),w(53),gt(54,"number"),m(),O(55,"hr"),m(),p(56,"li"),O(57,"hr"),p(58,"div",48),w(59,"Forks"),m(),p(60,"div",49),Qe(),p(61,"svg",50),O(62,"path",51),m()(),rt(),p(63,"div",52),w(64),m(),O(65,"hr"),m(),p(66,"li"),O(67,"hr"),p(68,"div",48),w(69,"Forks Count"),m(),p(70,"div",49),Qe(),p(71,"svg",50),O(72,"path",51),m()(),rt(),p(73,"div",52),w(74),m(),O(75,"hr"),m(),p(76,"li"),O(77,"hr"),p(78,"div",48),w(79,"License"),m(),p(80,"div",49),Qe(),p(81,"svg",50),O(82,"path",51),m()(),rt(),p(83,"div",52),w(84),m(),O(85,"hr"),m(),p(86,"li"),O(87,"hr"),p(88,"div",48),w(89,"Home Page"),m(),p(90,"div",49),Qe(),p(91,"svg",50),O(92,"path",51),m()(),rt(),p(93,"div",52)(94,"a",53),w(95),m()()()()()(),p(96,"div",54),O(97,"img",55),m()),t&2){let r=Q(2);wm("background-image: url(",r.githubData==null?null:r.githubData.owner.avatar_url,"); "),_(5),oe(r.githubData==null?null:r.githubData.name),_(2),oe(r.githubData==null?null:r.githubData.description),_(),Pr(8,r.githubData!=null&&r.githubData.topics?8:-1),_(3),We(" ",r.githubData==null?null:r.githubData.stargazers_count," "),_(6),ee("src",r.readMeData),_(4),Lr(r.languageData),_(12),oe(r.removeTime(r.githubData==null?null:r.githubData.created_at)),_(10),oe(r.removeTime(r.githubData==null?null:r.githubData.updated_at)),_(10),We("",Gn(54,19,(r.githubData==null?null:r.githubData.size)/1024,"1.0-2")," KB"),_(11),oe(r.githubData!=null&&r.githubData.fork?"\u2705":"\u274C"),_(10),oe(r.githubData==null?null:r.githubData.forks_count),_(10),oe(r.githubData==null?null:r.githubData.license.name),_(10),ee("href",r.githubData==null?null:r.githubData.homepage,Ri),_(),oe(r.githubData==null?null:r.githubData.homepage),_(2),Bu("alt","lebanon-stars-",r.githubData==null?null:r.githubData.full_name,""),ee("defaultImage",r.defaultImage)("lazyLoad",r.buildStarHistory(r.githubData==null?null:r.githubData.full_name))}}function vT(t,e){if(t&1&&Te(0,cT,5,0,"div",26)(1,mT,98,22),t&2){let r=Q();Pr(0,r.githubData?1:0)}}var yT=t=>({itemsPerPage:8,currentPage:t}),f0=(()=>{let e=class e{constructor(n,i,o,s){this._projectService=n,this.cdr=i,this._fb=o,this._githubService=s,this.destroyRef=y(Rr),this.languageFilesCount=0,this.isLoading=!0,this.badges=["badge-neutral","badge-primary","badge-secondary","badge-accent","badge-ghost"],this.projects=[],this.searchText="",this.defaultImage="../../../assets/images/loader.gif",this.pageNumber=1,this.languageData=[],this._projectService.getProjects().pipe(Cn(),R(a=>{this.projects=this.shuffleArray(a)}),Ee(a=>S([]))).subscribe()}ngOnInit(){this.searchForm=this._fb.group({search:new oi("",[La.maxLength(30)])}),this.searchForm.get("search").valueChanges.pipe(Cn(this.destroyRef),pl(300),R(n=>{this.searchText=n})).subscribe()}ngAfterViewInit(){this.cdr.detectChanges()}showModal(){this.block.nativeElement.classList.add("modal-open")}closeModal(){this.languageFilesCount=0,this.block.nativeElement.classList.remove("modal-open")}onPageChange(n){this.pageNumber=n,window.scrollTo(0,0)}getRadomBadge(){let n=Math.floor(Math.random()*this.badges.length);return this.badges[n]}getGithubInfo(n){this._githubService.getGithubInfo(n).pipe(Cn(this.destroyRef),R(i=>{this.githubData=i}),Ee(i=>S([])),ut(()=>{this.isLoading=!1})).subscribe()}getGithubRepoLangs(n){this._githubService.getGithubRepoLangs(n).pipe(Cn(this.destroyRef),R(i=>{i&&(this.languageData=Object.keys(i).map(o=>({key:o,value:i[o]})),Object.values(this.languageData).forEach(o=>{this.languageFilesCount+=o.value}))}),Ee(i=>S([])),ut(()=>{this.isLoading=!1})).subscribe()}createSlug(n){let i=new URL(n).pathname,o=[];i&&(o=i.split("/"));var s=o.slice(-2);return s.length==2?`${s[0]}/${s[1]}`:""}receiveInfo(n){this.showModal();let i=this.createSlug(n.url);this.getGithubInfo(i),this.readMeData=`https://raw.githubusercontent.com/${i}/master/README.md`,this.getGithubRepoLangs(i)}decodeReadMe(n){return atob(n)}buildStarHistory(n){return`https://api.star-history.com/svg?repos=${n}&type=Timeline`}removeTime(n){if(n=="")return"";let i=new Date(n);return`${i.getDate()}/${i.getMonth()+1}/${i.getFullYear()}`}shuffleArray(n){return n.sort(()=>Math.random()-.5)}};e.\u0275fac=function(i){return new(i||e)(A(u0),A(mt),A(i0),A(Wa))},e.\u0275cmp=de({type:e,selectors:[["app-home"]],viewQuery:function(i,o){if(i&1&&Dm(rT,7),i&2){let s;Uu(s=Hu())&&(o.block=s.first)}},standalone:!0,features:[jr([]),ge],decls:23,vars:12,consts:[[1,"bgg"],[1,"pb-6","flex","md:flex","md:flex-grow","flex-row"],[1,"w-full","md:w-2/12",3,"formGroup"],[1,"input","input-bordered","flex","items-center"],["type","text","placeholder","Search","formControlName","search",1,"grow"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 16 16","fill","currentColor",1,"w-4","h-4","opacity-70"],["fill-rule","evenodd","d","M9.965 11.026a5 5 0 1 1 1.06-1.06l2.755 2.754a.75.75 0 1 1-1.06 1.06l-2.755-2.754ZM10.5 7a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z","clip-rule","evenodd"],[1,"grid","grid-cols-1","md:grid-cols-4","gap-6","lg:gap-4","sm:grid-cols-2","z-50"],["class","grid grid-cols-2"],["id","my_modal_4",1,"modal"],["dataBlock",""],[1,"modal-box","w-11/12","max-w-5xl"],["class","flex flex-col gap-4 w-full"],[1,"modal-action"],["method","dialog"],[1,"btn",3,"click"],[3,"metadata","info"],[1,"flex","items-center","justify-center"],["src","../../../assets/images/no-data.webp","alt","",1,"text-center","rounded-xl","transform-gpu","hover:scale-y-105","transition","duration-500"],[1,"grid","grid-cols-2"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6","w-50","text-right","col-start-4","col-end-5"],[3,"responsive","pageChange"],[1,"flex","flex-col","gap-4","w-full"],[1,"skeleton","h-32","w-full"],[1,"skeleton","h-4","w-28"],[1,"skeleton","h-4","w-full"],["role","alert","class","alert alert-error"],["role","alert",1,"alert","alert-error"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"stroke-current","shrink-0","h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"],[1,"bg-gray-600","bg-blend-multiply","border-2","rounded-lg","bg-no-repeat","bg-center"],[1,"hero-overlay","bg-opacity-40"],[1,"hero-content","text-center","text-neutral-content"],[1,"max-w-md"],[1,"mb-5","text-5xl","font-bold"],[1,"mb-5"],[1,"pt-6"],[1,"btn"],[1,"rating"],["type","radio","name","rating-4","checked","",1,"mask","mask-star-2","bg-yellow-500"],[1,"mockup-code","mt-6"],[1,"p-4"],[3,"src"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6","flex","text-center"],[1,"stats","stats-vertical","lg:stats-horizontal","shadow","w-full"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6"],[1,"flex","text-center","z-50"],[1,"timeline","timeline-vertical","lg:timeline-horizontal"],[1,"timeline-start"],[1,"timeline-middle"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","currentColor",1,"w-5","h-5"],["fill-rule","evenodd","d","M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule","evenodd"],[1,"timeline-end","timeline-box"],["target","_blank",1,"link",3,"href"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6","flex","justify-center","items-center"],[1,"rounded-lg",3,"defaultImage","lazyLoad","alt"],[1,"badge","badge-secondary","pr-2","mr-2"],["class","badge badge-secondary pr-2 mr-2"],[1,"stat"],[1,"stat-title"],[1,"stat-value"],[3,"metadata"],["class","flex items-center justify-center"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"form",2)(3,"label",3),O(4,"input",4),Qe(),p(5,"svg",5),O(6,"path",6),m()()()(),rt(),p(7,"div",7),Fr(8,oT,1,1,"app-project",61,iT,!1,sT,2,0,"div",62),gt(11,"paginate"),gt(12,"filter"),m(),Te(13,aT,3,1,"div",8),m(),p(14,"dialog",9,10)(16,"div",11),Te(17,lT,5,0,"div",12)(18,vT,2,1),p(19,"div",13)(20,"form",14)(21,"button",15),pe("click",function(){return o.closeModal()}),w(22,"Close"),m()()()()()),i&2&&(_(2),ee("formGroup",o.searchForm),_(6),Lr(Gn(11,4,Gn(12,7,o.projects,o.searchText),Cm(10,yT,o.pageNumber))),_(5),Pr(13,o.projects.length>0?13:-1),_(4),Pr(17,o.isLoading?17:18))},dependencies:[fy,c0,a0,l0,Pt,Ot,qn,ia,Wm,o0,n0,za,Qy,Ky,xf,Mf,s0,Pa,Iy,Ra],styles:['.bgg[_ngcontent-%COMP%]{background-image:url("./media/bg-4-TILS5NJC.webp");background-position:bottom right;background-repeat:no-repeat}']});let t=e;return t})();var h0=(()=>{let e=class e{constructor(){this.defaultImage="../../../assets/images/loader.gif"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-aboutus"]],standalone:!0,features:[ge],decls:34,vars:2,consts:[[1,"w-full","border","border-solid","border-[#9a9a9a]","bg-slate-50","rounded-lg","object-cover","shadow-xl","z-50"],[1,"pt-3","w-11/12","mx-auto","lg:p-8","overflow-x-hidden"],[1,"mb-4","text-4xl","font-extrabold","leading-none","tracking-tight"],["href","https://lb.linkedin.com/in/ali-alachkar-47b48a190","target","_blank",1,"link"],["href","https://angular.io/","target","_blank",1,"link"],["href","https://tailwindcss.com/","target","_blank",1,"link"],["href","https://daisyui.com/","target","_blank",1,"link"],[1,"mt-3","mb-3"],[1,"mockup-browser","border","border-base-300"],[1,"mockup-browser-toolbar"],[1,"input","border","border-base-300"],[1,"community","w-full","flex","justify-center","px-4","py-16","border-t","border-base-300"],["href","https://chat.whatsapp.com/I6E9gk8Re1JDFuDkUfxxds","target","_blank"],["alt","lebanon-stars-community-links",1,"mt-2","w-32","transform-gpu","hover:scale-y-105","transition","duration-500",3,"defaultImage","lazyLoad"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"h1",2),w(3,"About Us!"),m(),p(4,"p"),w(5," We're successful developers and software engineers from Lebanon who invented a bunch of success repositories in a place filled with obstacles and economic crises! "),m(),p(6,"p")(7,"b"),w(8,"Lebanon Stars"),m(),w(9," is a simple project created by "),p(10,"a",3),w(11,"Ali Alachkar"),m(),w(12," and with the help of contributors using "),p(13,"a",4),w(14,"Angular 17"),m(),w(15,", "),p(16,"a",5),w(17,"Tailwind"),m(),w(18,", and "),p(19,"a",6),w(20,"DaisyUI"),m(),w(21,". The main purpose of the project was to add all the Lebanese repos to be viewed by other developers, university students, or even recruiters! "),m(),p(22,"p",7),w(23," You can join us in our "),p(24,"b"),w(25," Tech & Code"),m(),w(26," coummity. "),m(),p(27,"div",8)(28,"div",9)(29,"div",10),w(30,"https://chat.whatsapp.com/I6E9gk8Re1JDFuDkUfxxds"),m()(),p(31,"div",11)(32,"a",12),O(33,"img",13),m()()()()()),i&2&&(_(33),ee("defaultImage",o.defaultImage)("lazyLoad","../../../assets/images/whatsapp-icon.webp"))},dependencies:[Pt,Ot],styles:['.community[_ngcontent-%COMP%]{background-image:url("./media/community-Y4EIT6CZ.webp");background-size:initial;opacity:.4}']});let t=e;return t})();var DT=(t,e)=>e.id;function wT(t,e){if(t&1&&(p(0,"div",4)(1,"a",5),O(2,"img",6),m()()),t&2){let r=e.$implicit,n=Q();Yt("data-tip",r.login),_(),Yt("href",r.html_url,Ri),_(),ee("defaultImage",n.defaultImage)("lazyLoad",r==null?null:r.avatar_url)}}var p0=(()=>{let e=class e{constructor(n){this._githubService=n,this.contributors=[],this.lebanonStar="AAVision/beSideYou",this.defaultImage="../../../assets/images/loader.gif",this._githubService.getGitHubContributors(this.lebanonStar).pipe(Cn(),R(i=>{this.contributors=i||[]}),Ee(i=>S([]))).subscribe()}};e.\u0275fac=function(i){return new(i||e)(A(Wa))},e.\u0275cmp=de({type:e,selectors:[["app-contributors"]],standalone:!0,features:[ge],decls:7,vars:0,consts:[[1,"w-full","border","border-solid","border-[#9a9a9a]","bg-slate-50","rounded-lg","object-cover","shadow-xl","z-50"],[1,"pt-3","w-11/12","mx-auto","lg:p-8","overflow-x-hidden"],[1,"mb-4","text-4xl","font-extrabold","leading-none","tracking-tight"],[1,"grid","grid-cols-1","md:grid-cols-6","gap-6","lg:gap-4","sm:grid-cols-2","z-50","place-items-center"],[1,"tooltip"],["target","_blank",1,"cursor-pointer"],["alt","",1,"rounded-lg","transform-gpu","hover:scale-y-105","transition","duration-500",3,"defaultImage","lazyLoad"],["class","tooltip"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"h1",2),w(3,"Contributors!"),m(),p(4,"div",3),Fr(5,wT,3,4,"div",7,DT),m()()()),i&2&&(_(5),Lr(o.contributors))},dependencies:[Pt,Ot]});let t=e;return t})();var g0=[{path:"",title:"Home page",component:f0},{path:"about-us",title:"About Us",component:h0},{path:"contributors",title:"Contributors",component:p0}];var m0={providers:[ty(g0,lf(),sy()),iv(),pu(Pa.forRoot())]};var v0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-header"]],standalone:!0,features:[ge],decls:32,vars:0,consts:[[1,"navbar","bg-base-100"],[1,"navbar-start"],[1,"dropdown"],["tabindex","0","role","button","name","responsive-btn","aria-label","responsive-btn","id","responsive-btn",1,"btn","btn-ghost","lg:hidden"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-5","w-5"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M4 6h16M4 12h8m-8 6h16"],["tabindex","0",1,"menu","menu-sm","dropdown-content","mt-3","z-[1]","p-2","shadow","bg-base-100","rounded-box","w-52"],["routerLink","","id","projects-main"],["routerLink","contributors","id","contributor-main"],["routerLink","about-us","id","about-us-main"],["name","lb-stars","aria-label","lb-stars","id","lb-stars",1,"btn","btn-ghost","text-xl"],[1,"navbar-center","hidden","lg:flex"],[1,"menu","menu-horizontal","px-1"],["routerLink","","id","projects-secondary"],["routerLink","contributors","id","contributor-secondary"],["routerLink","about-us","id","about-us-secondary"],[1,"navbar-end"],["name","github-link","aria-label","github-link","id","github-link","href","https://www.github.com/aavision/lebanon-stars","target","_blank",1,"btn","bg-transparent","border-0"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24"],["d","M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),Qe(),p(4,"svg",4),O(5,"path",5),m()(),rt(),p(6,"ul",6)(7,"li")(8,"a",7),w(9,"Projects"),m()(),p(10,"li")(11,"a",8),w(12,"Contributors"),m(),p(13,"a",9),w(14,"About Us"),m()()()(),p(15,"div",10),w(16,"Lebanon Stars "),m()(),p(17,"div",11)(18,"ul",12)(19,"li")(20,"a",13),w(21,"Projects"),m()(),p(22,"li")(23,"a",14),w(24,"Contributors"),m()(),p(25,"li")(26,"a",15),w(27,"About us"),m()()()(),p(28,"div",16)(29,"a",17),Qe(),p(30,"svg",18),O(31,"path",19),m()()()())},dependencies:[Ra,Jv]});let t=e;return t})();var y0=(()=>{let e=class e{constructor(){this.anio=new Date().getFullYear(),this.defaultImage="../../../../assets/images/loader.gif"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-footer"]],standalone:!0,features:[ge],decls:8,vars:3,consts:[[1,"sticky","top-[100vh]"],[1,"footer","items-center","p-4","bg-slate-50"],[1,"items-center","grid-flow-col"],["alt","",3,"defaultImage","lazyLoad"],["href","https://lb.linkedin.com/in/ali-alachkar-47b48a190","target","_blank",1,"link"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"footer",1)(2,"aside",2),O(3,"img",3),p(4,"p"),w(5),p(6,"a",4),w(7,"Ali Alachkar"),m()()()()()),i&2&&(_(3),ee("defaultImage",o.defaultImage)("lazyLoad","../../../../assets/images/lebanon-footer.svg"),_(2),We("Copyright \xA9 ",o.anio," - All right reserved by "))},dependencies:[Pt,Ot]});let t=e;return t})();var D0=(()=>{let e=class e{constructor(){this.title="leabnon-stars"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-root"]],standalone:!0,features:[ge],decls:4,vars:0,consts:[[1,"pt-3","w-11/12","mx-auto","p-6","lg:p-8","overflow-x-hidden"]],template:function(i,o){i&1&&(O(0,"app-header"),p(1,"div",0),O(2,"router-outlet"),m(),O(3,"app-footer"))},dependencies:[ef,v0,y0]});let t=e;return t})();fv(D0,m0).catch(t=>console.error(t));