From eb85ab4b3bd8cfdca8143340f329caa80bb6cdfe Mon Sep 17 00:00:00 2001 From: Reinier Klarenberg Date: Wed, 15 Jan 2025 00:31:12 +0000 Subject: [PATCH] Auto-generated commit Triggered by commit: https://github.com/RiddleTime/Race-Element/commit/65a413ab9c290981c6ff4ebf946a73a2fcf7c163 --- 404.html | 6 +-- ...tte-Corsa-EVO-and-Race-Element-UUptBRyv.js | 15 ++++++ ...ge-C-PyxfXF.js => _slug_.page-Bskbl4-c.js} | 2 +- ...ge-r3GM7Ts8.js => _slug_.page-CQNWpN9c.js} | 2 +- .../{index-BnyMtTip.js => index-DNsYUyOM.js} | 52 +++++++++--------- ...age-Cml7_63h.js => index.page-C3E9gRUf.js} | 2 +- ...age-BI5mgGCU.js => index.page-ChBS2TJJ.js} | 2 +- ...age-qvYn__Pm.js => index.page-vNyYtbSi.js} | 2 +- guide/features/index.html | 4 +- guide/how-to-get-started/index.html | 4 +- guide/how-to-use-huds/index.html | 4 +- guide/how-to-use-liveries/index.html | 4 +- guide/how-to-use-setups/index.html | 4 +- guide/huds-and-streaming/index.html | 4 +- guide/index.html | 4 +- guide/multi-sim/index.html | 4 +- guide/setup-hider/index.html | 4 +- guide/sponsor/index.html | 4 +- guide/start-the-app-minimized/index.html | 4 +- guide/twitch-chat-bot-commands/index.html | 4 +- guide/video-guides/index.html | 4 +- index.html | 6 +-- news/2022-04-25-official-posts/index.html | 4 +- news/2023-04-29-signpath/index.html | 4 +- .../index.html | 4 +- news/2024-06-06-setup-links/index.html | 4 +- news/2024-06-12-new-website-2024/index.html | 4 +- .../index.html | 38 +++++++++++++ news/highspeed-rendering/index.html | 4 +- news/index.html | 6 +-- news/nexus-mods-listing/index.html | 4 +- .../index.html | 4 +- news/race-element-2-released/index.html | 4 +- setup/index.html | 4 +- sitemap.xml | 54 ++++++++++--------- 35 files changed, 168 insertions(+), 111 deletions(-) create mode 100644 assets/Assette-Corsa-EVO-and-Race-Element-UUptBRyv.js rename assets/{_slug_.page-C-PyxfXF.js => _slug_.page-Bskbl4-c.js} (96%) rename assets/{_slug_.page-r3GM7Ts8.js => _slug_.page-CQNWpN9c.js} (96%) rename assets/{index-BnyMtTip.js => index-DNsYUyOM.js} (91%) rename assets/{index.page-Cml7_63h.js => index.page-C3E9gRUf.js} (96%) rename assets/{index.page-BI5mgGCU.js => index.page-ChBS2TJJ.js} (92%) rename assets/{index.page-qvYn__Pm.js => index.page-vNyYtbSi.js} (92%) create mode 100644 news/Assetto-Corsa-EVO-Race-Element-Future/index.html diff --git a/404.html b/404.html index fd9d74ed..54d9eb0e 100644 --- a/404.html +++ b/404.html @@ -21,12 +21,12 @@ - + - + - \ No newline at end of file + \ No newline at end of file diff --git a/assets/Assette-Corsa-EVO-and-Race-Element-UUptBRyv.js b/assets/Assette-Corsa-EVO-and-Race-Element-UUptBRyv.js new file mode 100644 index 00000000..112a5638 --- /dev/null +++ b/assets/Assette-Corsa-EVO-and-Race-Element-UUptBRyv.js @@ -0,0 +1,15 @@ +const e=`--- +title: Assetto Corsa EVO and Race Element +slug: Assetto-Corsa-EVO-Race-Element-Future +description: Why was Race Element prepared for a future simulator in the Assetto Corsa Series? +date: 2025-01-15 +type: news +--- + +

Assetto Corsa EVO

+

As soon as there is a 3rd party API available, we will immediately act and try to support this as soon as possible so you can use your minimalistic and highly customizable HUDs with your new favorite Racing Simulator!

+

Race Element already supports 7 driving simulators!

+

Over the past months contributors on github have been working hard on making it possible to write code only once for multiple simulators. This has translated over to for example the DSX support which now provides active triggers for both Assetto Corsa and RaceRoom using the DualSense controller. Race Element is ready to provide a good basic HUD integration system that is ready for the new Assetto Corsa EVO!

+

Low Performance Impact

+

The Custom Rendering Pipeline of Race Element allows it to be highly customizable whilst certainly effecient considering the HUDs refresh up to 240 Hz! This will translate over to Assetto Corsa EVO as it will support Ray Tracing and multiple other advances over the older series. The less random loads on your Graphics Card the better, Race Element prevents this by not using the graphics card for rendering.

+`;export{e as default}; diff --git a/assets/_slug_.page-C-PyxfXF.js b/assets/_slug_.page-Bskbl4-c.js similarity index 96% rename from assets/_slug_.page-C-PyxfXF.js rename to assets/_slug_.page-Bskbl4-c.js index c18a1096..cd2f455b 100644 --- a/assets/_slug_.page-C-PyxfXF.js +++ b/assets/_slug_.page-Bskbl4-c.js @@ -1 +1 @@ -import{i as m,ɵ as u,M as _,a as g,b as f,c as b,d as c,e as h,f as w,A as x,g as C,C as y,D as k,j as l,k as s,l as n,m as v,n as o,o as D,u as N,v as I,p as M}from"./index-BnyMtTip.js";function T(i,e){if(i&1&&(l(0,"article",0)(1,"h1",1)(2,"a",2),s(3,"News"),n(),s(4),n(),l(5,"div",3)(6,"p",4),s(7),c(8,"date"),n(),v(9,"analog-markdown",5),n()()),i&2){const t=e;o(4),D(" > ",t.attributes.title," "),o(3),N(t.attributes.date!==void 0?I(8,3,t.attributes.date,"longDate"):""),o(2),M("content",t.content)}}const a=class a{constructor(e){this.meta=e,this.post=m({param:"slug",subdirectory:"news"})}ngOnInit(){this.post.forEach(e=>{this.meta.updateTag({name:"og:url",content:`https://race.elementfuture.com/news/${e.attributes.slug}`}),this.meta.updateTag({name:"og:title",content:`Race Element - News | ${e.attributes.title}`}),this.meta.updateTag({name:"og:description",content:`${e.attributes.description}`}),this.meta.updateTag({name:"twitter:title",content:`Race Element - News | ${e.attributes.title}`})})}};a.ɵfac=function(t){return new(t||a)(u(_))},a.ɵcmp=g({type:a,selectors:[["app-news-post"]],standalone:!0,features:[f],decls:2,vars:3,consts:[[1,"rounded-lg","container","mx-auto","max-w-4xl","px-3"],[1,"text-xl","md:text-3xl","font-['Conthrax']","select-none","dark:text-gray-300","dark:bg-black","rounded-tl-xl","border-l-2","pl-2","pr-2","pt-1","pb-1","border-red-800"],["href","/news"],[1,"container","dark:bg-[#050505]","pl-3","pr-[1em]","pt-2","rounded-br-xl"],[1,"select-none","text-sm","mb-3"],[1,"whitespace-pre-line",3,"content"]],template:function(t,d){if(t&1&&(b(0,T,10,6,"article",0),c(1,"async")),t&2){let r;h((r=w(1,1,d.post))?0:-1,r)}},dependencies:[x,C,y,k],encapsulation:2});let p=a;export{p as default}; +import{i as m,ɵ as u,M as _,a as g,b as f,c as b,d as c,e as h,f as w,A as x,g as C,C as y,D as k,j as l,k as s,l as n,m as v,n as o,o as D,u as N,v as I,p as M}from"./index-DNsYUyOM.js";function T(i,e){if(i&1&&(l(0,"article",0)(1,"h1",1)(2,"a",2),s(3,"News"),n(),s(4),n(),l(5,"div",3)(6,"p",4),s(7),c(8,"date"),n(),v(9,"analog-markdown",5),n()()),i&2){const t=e;o(4),D(" > ",t.attributes.title," "),o(3),N(t.attributes.date!==void 0?I(8,3,t.attributes.date,"longDate"):""),o(2),M("content",t.content)}}const a=class a{constructor(e){this.meta=e,this.post=m({param:"slug",subdirectory:"news"})}ngOnInit(){this.post.forEach(e=>{this.meta.updateTag({name:"og:url",content:`https://race.elementfuture.com/news/${e.attributes.slug}`}),this.meta.updateTag({name:"og:title",content:`Race Element - News | ${e.attributes.title}`}),this.meta.updateTag({name:"og:description",content:`${e.attributes.description}`}),this.meta.updateTag({name:"twitter:title",content:`Race Element - News | ${e.attributes.title}`})})}};a.ɵfac=function(t){return new(t||a)(u(_))},a.ɵcmp=g({type:a,selectors:[["app-news-post"]],standalone:!0,features:[f],decls:2,vars:3,consts:[[1,"rounded-lg","container","mx-auto","max-w-4xl","px-3"],[1,"text-xl","md:text-3xl","font-['Conthrax']","select-none","dark:text-gray-300","dark:bg-black","rounded-tl-xl","border-l-2","pl-2","pr-2","pt-1","pb-1","border-red-800"],["href","/news"],[1,"container","dark:bg-[#050505]","pl-3","pr-[1em]","pt-2","rounded-br-xl"],[1,"select-none","text-sm","mb-3"],[1,"whitespace-pre-line",3,"content"]],template:function(t,d){if(t&1&&(b(0,T,10,6,"article",0),c(1,"async")),t&2){let r;h((r=w(1,1,d.post))?0:-1,r)}},dependencies:[x,C,y,k],encapsulation:2});let p=a;export{p as default}; diff --git a/assets/_slug_.page-r3GM7Ts8.js b/assets/_slug_.page-CQNWpN9c.js similarity index 96% rename from assets/_slug_.page-r3GM7Ts8.js rename to assets/_slug_.page-CQNWpN9c.js index 7df746a3..818d8fa1 100644 --- a/assets/_slug_.page-r3GM7Ts8.js +++ b/assets/_slug_.page-CQNWpN9c.js @@ -1 +1 @@ -import{i as m,ɵ as _,M as g,a as f,b,c as p,d as h,e as u,f as C,A as x,g as y,C as k,j as s,k as i,l,m as T,n as o,o as v,p as w}from"./index-BnyMtTip.js";function G(n,t){n&1&&(s(0,"a",4),i(1,"Guides"),l(),i(2," > "))}function M(n,t){if(n&1&&(s(0,"article",0)(1,"h1",1),p(2,G,3,0),i(3),l(),s(4,"div",2),T(5,"analog-markdown",3),l()()),n&2){const e=t;o(2),u(e.attributes.type!==void 0?2:-1),o(),v(" ",e.attributes.title," "),o(2),w("content",e.content)}}const a=class a{constructor(t){this.meta=t,this.post=m({param:"slug",subdirectory:"guide"})}ngOnInit(){this.post.forEach(t=>{this.meta.updateTag({name:"og:url",content:`https://race.elementfuture.com/guide/${t.attributes.slug}`}),this.meta.updateTag({name:"og:title",content:`Race Element - Guide | ${t.attributes.title}`}),this.meta.updateTag({name:"og:description",content:`${t.attributes.description}`}),this.meta.updateTag({name:"twitter:title",content:`Race Element - Guide | ${t.attributes.title}`})})}};a.ɵfac=function(e){return new(e||a)(_(g))},a.ɵcmp=f({type:a,selectors:[["app-guides-post"]],standalone:!0,features:[b],decls:2,vars:3,consts:[[1,"rounded-lg","container","mx-auto","max-w-4xl","px-3"],[1,"text-xl","md:text-3xl","font-['Conthrax']","select-none","dark:text-gray-300","dark:bg-black","rounded-tl-xl","border-l-2","pl-2","pr-2","pt-1","pb-1","border-red-800"],[1,"container","dark:bg-[#050505]","pl-3","pr-[1em]","pt-2","rounded-br-xl"],[1,"whitespace-pre-line",3,"content"],["href","/guide"]],template:function(e,c){if(e&1&&(p(0,M,6,3,"article",0),h(1,"async")),e&2){let r;u((r=C(1,1,c.post))?0:-1,r)}},dependencies:[x,y,k],encapsulation:2});let d=a;export{d as default}; +import{i as m,ɵ as _,M as g,a as f,b,c as p,d as h,e as u,f as C,A as x,g as y,C as k,j as s,k as i,l,m as T,n as o,o as v,p as w}from"./index-DNsYUyOM.js";function G(n,t){n&1&&(s(0,"a",4),i(1,"Guides"),l(),i(2," > "))}function M(n,t){if(n&1&&(s(0,"article",0)(1,"h1",1),p(2,G,3,0),i(3),l(),s(4,"div",2),T(5,"analog-markdown",3),l()()),n&2){const e=t;o(2),u(e.attributes.type!==void 0?2:-1),o(),v(" ",e.attributes.title," "),o(2),w("content",e.content)}}const a=class a{constructor(t){this.meta=t,this.post=m({param:"slug",subdirectory:"guide"})}ngOnInit(){this.post.forEach(t=>{this.meta.updateTag({name:"og:url",content:`https://race.elementfuture.com/guide/${t.attributes.slug}`}),this.meta.updateTag({name:"og:title",content:`Race Element - Guide | ${t.attributes.title}`}),this.meta.updateTag({name:"og:description",content:`${t.attributes.description}`}),this.meta.updateTag({name:"twitter:title",content:`Race Element - Guide | ${t.attributes.title}`})})}};a.ɵfac=function(e){return new(e||a)(_(g))},a.ɵcmp=f({type:a,selectors:[["app-guides-post"]],standalone:!0,features:[b],decls:2,vars:3,consts:[[1,"rounded-lg","container","mx-auto","max-w-4xl","px-3"],[1,"text-xl","md:text-3xl","font-['Conthrax']","select-none","dark:text-gray-300","dark:bg-black","rounded-tl-xl","border-l-2","pl-2","pr-2","pt-1","pb-1","border-red-800"],[1,"container","dark:bg-[#050505]","pl-3","pr-[1em]","pt-2","rounded-br-xl"],[1,"whitespace-pre-line",3,"content"],["href","/guide"]],template:function(e,c){if(e&1&&(p(0,M,6,3,"article",0),h(1,"async")),e&2){let r;u((r=C(1,1,c.post))?0:-1,r)}},dependencies:[x,y,k],encapsulation:2});let d=a;export{d as default}; diff --git a/assets/index-BnyMtTip.js b/assets/index-DNsYUyOM.js similarity index 91% rename from assets/index-BnyMtTip.js rename to assets/index-DNsYUyOM.js index f026de79..915adbb8 100644 --- a/assets/index-BnyMtTip.js +++ b/assets/index-DNsYUyOM.js @@ -2,8 +2,8 @@ var w0=Object.defineProperty;var Ld=e=>{throw TypeError(e)};var _0=(e,t,r)=>t in * @license Angular v * (c) 2010-2024 Google LLC. https://angular.io/ * License: MIT - */const qt=globalThis;function Dt(e){return(qt.__Zone_symbol_prefix||"__zone_symbol__")+e}function b0(){const e=qt.performance;function t(ne){e&&e.mark&&e.mark(ne)}function r(ne,N){e&&e.measure&&e.measure(ne,N)}t("Zone");let n=(()=>{const N=class N{static assertZonePatched(){if(qt.Promise!==P.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let m=N.current;for(;m.parent;)m=m.parent;return m}static get current(){return B.zone}static get currentTask(){return J}static __load_patch(m,R,Y=!1){if(P.hasOwnProperty(m)){const G=qt[Dt("forceDuplicateZoneCheck")]===!0;if(!Y&&G)throw Error("Already loaded patch: "+m)}else if(!qt["__Zone_disable_"+m]){const G="Zone:"+m;t(G),P[m]=R(qt,N,L),r(G,G)}}get parent(){return this._parent}get name(){return this._name}constructor(m,R){this._parent=m,this._name=R?R.name||"unnamed":"",this._properties=R&&R.properties||{},this._zoneDelegate=new o(this,this._parent&&this._parent._zoneDelegate,R)}get(m){const R=this.getZoneWith(m);if(R)return R._properties[m]}getZoneWith(m){let R=this;for(;R;){if(R._properties.hasOwnProperty(m))return R;R=R._parent}return null}fork(m){if(!m)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,m)}wrap(m,R){if(typeof m!="function")throw new Error("Expecting function got: "+m);const Y=this._zoneDelegate.intercept(this,m,R),G=this;return function(){return G.runGuarded(Y,this,arguments,R)}}run(m,R,Y,G){B={parent:B,zone:this};try{return this._zoneDelegate.invoke(this,m,R,Y,G)}finally{B=B.parent}}runGuarded(m,R=null,Y,G){B={parent:B,zone:this};try{try{return this._zoneDelegate.invoke(this,m,R,Y,G)}catch(ee){if(this._zoneDelegate.handleError(this,ee))throw ee}}finally{B=B.parent}}runTask(m,R,Y){if(m.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(m.zone||D).name+"; Execution: "+this.name+")");const G=m,{type:ee,data:{isPeriodic:ze=!1,isRefreshable:Ke=!1}={}}=m;if(m.state===b&&(ee===M||ee===F))return;const Ge=m.state!=y;Ge&&G._transitionTo(y,g);const xt=J;J=G,B={parent:B,zone:this};try{ee==F&&m.data&&!ze&&!Ke&&(m.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,G,R,Y)}catch(I){if(this._zoneDelegate.handleError(this,I))throw I}}finally{const I=m.state;if(I!==b&&I!==_)if(ee==M||ze||Ke&&I===p)Ge&&G._transitionTo(g,y,p);else{const x=G._zoneDelegates;this._updateTaskCount(G,-1),Ge&&G._transitionTo(b,y,b),Ke&&(G._zoneDelegates=x)}B=B.parent,J=xt}}scheduleTask(m){if(m.zone&&m.zone!==this){let Y=this;for(;Y;){if(Y===m.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${m.zone.name}`);Y=Y.parent}}m._transitionTo(p,b);const R=[];m._zoneDelegates=R,m._zone=this;try{m=this._zoneDelegate.scheduleTask(this,m)}catch(Y){throw m._transitionTo(_,p,b),this._zoneDelegate.handleError(this,Y),Y}return m._zoneDelegates===R&&this._updateTaskCount(m,1),m.state==p&&m._transitionTo(g,p),m}scheduleMicroTask(m,R,Y,G){return this.scheduleTask(new s(S,m,R,Y,G,void 0))}scheduleMacroTask(m,R,Y,G,ee){return this.scheduleTask(new s(F,m,R,Y,G,ee))}scheduleEventTask(m,R,Y,G,ee){return this.scheduleTask(new s(M,m,R,Y,G,ee))}cancelTask(m){if(m.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(m.zone||D).name+"; Execution: "+this.name+")");if(!(m.state!==g&&m.state!==y)){m._transitionTo(w,g,y);try{this._zoneDelegate.cancelTask(this,m)}catch(R){throw m._transitionTo(_,w),this._zoneDelegate.handleError(this,R),R}return this._updateTaskCount(m,-1),m._transitionTo(b,w),m.runCount=-1,m}}_updateTaskCount(m,R){const Y=m._zoneDelegates;R==-1&&(m._zoneDelegates=null);for(let G=0;Gne.hasTask(T,m),onScheduleTask:(ne,N,T,m)=>ne.scheduleTask(T,m),onInvokeTask:(ne,N,T,m,R,Y)=>ne.invokeTask(T,m,R,Y),onCancelTask:(ne,N,T,m)=>ne.cancelTask(T,m)};class o{get zone(){return this._zone}constructor(N,T,m){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=N,this._parentDelegate=T,this._forkZS=m&&(m&&m.onFork?m:T._forkZS),this._forkDlgt=m&&(m.onFork?T:T._forkDlgt),this._forkCurrZone=m&&(m.onFork?this._zone:T._forkCurrZone),this._interceptZS=m&&(m.onIntercept?m:T._interceptZS),this._interceptDlgt=m&&(m.onIntercept?T:T._interceptDlgt),this._interceptCurrZone=m&&(m.onIntercept?this._zone:T._interceptCurrZone),this._invokeZS=m&&(m.onInvoke?m:T._invokeZS),this._invokeDlgt=m&&(m.onInvoke?T:T._invokeDlgt),this._invokeCurrZone=m&&(m.onInvoke?this._zone:T._invokeCurrZone),this._handleErrorZS=m&&(m.onHandleError?m:T._handleErrorZS),this._handleErrorDlgt=m&&(m.onHandleError?T:T._handleErrorDlgt),this._handleErrorCurrZone=m&&(m.onHandleError?this._zone:T._handleErrorCurrZone),this._scheduleTaskZS=m&&(m.onScheduleTask?m:T._scheduleTaskZS),this._scheduleTaskDlgt=m&&(m.onScheduleTask?T:T._scheduleTaskDlgt),this._scheduleTaskCurrZone=m&&(m.onScheduleTask?this._zone:T._scheduleTaskCurrZone),this._invokeTaskZS=m&&(m.onInvokeTask?m:T._invokeTaskZS),this._invokeTaskDlgt=m&&(m.onInvokeTask?T:T._invokeTaskDlgt),this._invokeTaskCurrZone=m&&(m.onInvokeTask?this._zone:T._invokeTaskCurrZone),this._cancelTaskZS=m&&(m.onCancelTask?m:T._cancelTaskZS),this._cancelTaskDlgt=m&&(m.onCancelTask?T:T._cancelTaskDlgt),this._cancelTaskCurrZone=m&&(m.onCancelTask?this._zone:T._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const R=m&&m.onHasTask,Y=T&&T._hasTaskZS;(R||Y)&&(this._hasTaskZS=R?m:i,this._hasTaskDlgt=T,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,m.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=T,this._scheduleTaskCurrZone=this._zone),m.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=T,this._invokeTaskCurrZone=this._zone),m.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=T,this._cancelTaskCurrZone=this._zone))}fork(N,T){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,N,T):new n(N,T)}intercept(N,T,m){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,N,T,m):T}invoke(N,T,m,R,Y){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,N,T,m,R,Y):T.apply(m,R)}handleError(N,T){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,N,T):!0}scheduleTask(N,T){let m=T;if(this._scheduleTaskZS)this._hasTaskZS&&m._zoneDelegates.push(this._hasTaskDlgtOwner),m=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,N,T),m||(m=T);else if(T.scheduleFn)T.scheduleFn(T);else if(T.type==S)v(T);else throw new Error("Task is missing scheduleFn.");return m}invokeTask(N,T,m,R){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,N,T,m,R):T.callback.apply(m,R)}cancelTask(N,T){let m;if(this._cancelTaskZS)m=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,N,T);else{if(!T.cancelFn)throw Error("Task is not cancelable");m=T.cancelFn(T)}return m}hasTask(N,T){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,N,T)}catch(m){this.handleError(N,m)}}_updateTaskCount(N,T){const m=this._taskCounts,R=m[N],Y=m[N]=R+T;if(Y<0)throw new Error("More tasks executed then were scheduled.");if(R==0||Y==0){const G={microTask:m.microTask>0,macroTask:m.macroTask>0,eventTask:m.eventTask>0,change:N};this.hasTask(this._zone,G)}}}class s{constructor(N,T,m,R,Y,G){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=N,this.source=T,this.data=R,this.scheduleFn=Y,this.cancelFn=G,!m)throw new Error("callback is not defined");this.callback=m;const ee=this;N===M&&R&&R.useG?this.invoke=s.invokeTask:this.invoke=function(){return s.invokeTask.call(qt,ee,this,arguments)}}static invokeTask(N,T,m){N||(N=this),Pe++;try{return N.runCount++,N.zone.runTask(N,T,m)}finally{Pe==1&&C(),Pe--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,p)}_transitionTo(N,T,m){if(this._state===T||this._state===m)this._state=N,N==b&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${N}', expecting state '${T}'${m?" or '"+m+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const a=Dt("setTimeout"),u=Dt("Promise"),l=Dt("then");let c=[],d=!1,h;function f(ne){if(h||qt[u]&&(h=qt[u].resolve(0)),h){let N=h[l];N||(N=h.then),N.call(h,ne)}else qt[a](ne,0)}function v(ne){Pe===0&&c.length===0&&f(C),ne&&c.push(ne)}function C(){if(!d){for(d=!0;c.length;){const ne=c;c=[];for(let N=0;NB,onUnhandledError:Ae,microtaskDrainDone:Ae,scheduleMicroTask:v,showUncaughtError:()=>!n[Dt("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Ae,patchMethod:()=>Ae,bindArguments:()=>[],patchThen:()=>Ae,patchMacroTask:()=>Ae,patchEventPrototype:()=>Ae,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Ae,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Ae,wrapWithCurrentZone:()=>Ae,filterProperties:()=>[],attachOriginToPatched:()=>Ae,_redefineProperty:()=>Ae,patchCallbacks:()=>Ae,nativeScheduleMicroTask:f};let B={parent:null,zone:new n(null,null)},J=null,Pe=0;function Ae(){}return r("Zone","Zone"),n}function A0(){const e=globalThis,t=e[Dt("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(t||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??(e.Zone=b0()),e.Zone}const Ri=Object.getOwnPropertyDescriptor,_l=Object.defineProperty,bl=Object.getPrototypeOf,T0=Object.create,F0=Array.prototype.slice,Al="addEventListener",Tl="removeEventListener",Ma=Dt(Al),Ra=Dt(Tl),un="true",ln="false",Oi=Dt("");function Fl(e,t){return Zone.current.wrap(e,t)}function Sl(e,t,r,n,i){return Zone.current.scheduleMacroTask(e,t,r,n,i)}const me=Dt,Ws=typeof window<"u",si=Ws?window:void 0,Oe=Ws&&si||globalThis,S0="removeAttribute";function xl(e,t){for(let r=e.length-1;r>=0;r--)typeof e[r]=="function"&&(e[r]=Fl(e[r],t+"_"+r));return e}function x0(e,t){const r=e.constructor.name;for(let n=0;n{const u=function(){return a.apply(this,xl(arguments,r+"."+i))};return pn(u,a),u})(o)}}}function bp(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}const Ap=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ys=!("nw"in Oe)&&typeof Oe.process<"u"&&Oe.process.toString()==="[object process]",Il=!Ys&&!Ap&&!!(Ws&&si.HTMLElement),Tp=typeof Oe.process<"u"&&Oe.process.toString()==="[object process]"&&!Ap&&!!(Ws&&si.HTMLElement),cs={},I0=me("enable_beforeunload"),jd=function(e){if(e=e||Oe.event,!e)return;let t=cs[e.type];t||(t=cs[e.type]=me("ON_PROPERTY"+e.type));const r=this||e.target||Oe,n=r[t];let i;if(Il&&r===si&&e.type==="error"){const o=e;i=n&&n.call(this,o.message,o.filename,o.lineno,o.colno,o.error),i===!0&&e.preventDefault()}else i=n&&n.apply(this,arguments),e.type==="beforeunload"&&Oe[I0]&&typeof i=="string"?e.returnValue=i:i!=null&&!i&&e.preventDefault();return i};function $d(e,t,r){let n=Ri(e,t);if(!n&&r&&Ri(r,t)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;const i=me("on"+t+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete n.writable,delete n.value;const o=n.get,s=n.set,a=t.slice(2);let u=cs[a];u||(u=cs[a]=me("ON_PROPERTY"+a)),n.set=function(l){let c=this;if(!c&&e===Oe&&(c=Oe),!c)return;typeof c[u]=="function"&&c.removeEventListener(a,jd),s&&s.call(c,null),c[u]=l,typeof l=="function"&&c.addEventListener(a,jd,!1)},n.get=function(){let l=this;if(!l&&e===Oe&&(l=Oe),!l)return null;const c=l[u];if(c)return c;if(o){let d=o.call(this);if(d)return n.set.call(this,d),typeof l[S0]=="function"&&l.removeAttribute(t),d}return null},_l(e,t,n),e[i]=!0}function Fp(e,t,r){if(t)for(let n=0;nfunction(s,a){const u=r(s,a);return u.cbIdx>=0&&typeof a[u.cbIdx]=="function"?Sl(u.name,a[u.cbIdx],u,i):o.apply(s,a)})}function pn(e,t){e[me("OriginalDelegate")]=t}let Hd=!1,Oa=!1;function M0(){try{const e=si.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function R0(){if(Hd)return Oa;Hd=!0;try{const e=si.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Oa=!0)}catch{}return Oa}function Ud(e){return typeof e=="function"}function Vd(e){return typeof e=="number"}let kr=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){kr=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{kr=!1}const O0={useG:!0},Et={},Sp={},xp=new RegExp("^"+Oi+"(\\w+)(true|false)$"),Ip=me("propagationStopped");function kp(e,t){const r=(t?t(e):e)+ln,n=(t?t(e):e)+un,i=Oi+r,o=Oi+n;Et[e]={},Et[e][ln]=i,Et[e][un]=o}function N0(e,t,r,n){const i=n&&n.add||Al,o=n&&n.rm||Tl,s=n&&n.listeners||"eventListeners",a=n&&n.rmAll||"removeAllListeners",u=me(i),l="."+i+":",c="prependListener",d="."+c+":",h=function(p,g,y){if(p.isRemoved)return;const w=p.callback;typeof w=="object"&&w.handleEvent&&(p.callback=F=>w.handleEvent(F),p.originalDelegate=w);let _;try{p.invoke(p,g,[y])}catch(F){_=F}const S=p.options;if(S&&typeof S=="object"&&S.once){const F=p.originalDelegate?p.originalDelegate:p.callback;g[o].call(g,y.type,F,S)}return _};function f(p,g,y){if(g=g||e.event,!g)return;const w=p||g.target||e,_=w[Et[g.type][y?un:ln]];if(_){const S=[];if(_.length===1){const F=h(_[0],w,g);F&&S.push(F)}else{const F=_.slice();for(let M=0;M{throw M})}}}const v=function(p){return f(this,p,!1)},C=function(p){return f(this,p,!0)};function D(p,g){if(!p)return!1;let y=!0;g&&g.useG!==void 0&&(y=g.useG);const w=g&&g.vh;let _=!0;g&&g.chkDup!==void 0&&(_=g.chkDup);let S=!1;g&&g.rt!==void 0&&(S=g.rt);let F=p;for(;F&&!F.hasOwnProperty(i);)F=bl(F);if(!F&&p[i]&&(F=p),!F||F[u])return!1;const M=g&&g.eventNameToString,P={},L=F[u]=F[i],B=F[me(o)]=F[o],J=F[me(s)]=F[s],Pe=F[me(a)]=F[a];let Ae;g&&g.prepend&&(Ae=F[me(g.prepend)]=F[g.prepend]);function ne(E,k){return!kr&&typeof E=="object"&&E?!!E.capture:!kr||!k?E:typeof E=="boolean"?{capture:E,passive:!0}:E?typeof E=="object"&&E.passive!==!1?{...E,passive:!0}:E:{passive:!0}}const N=function(E){if(!P.isExisting)return L.call(P.target,P.eventName,P.capture?C:v,P.options)},T=function(E){if(!E.isRemoved){const k=Et[E.eventName];let U;k&&(U=k[E.capture?un:ln]);const Z=U&&E.target[U];if(Z){for(let $=0;$It.zone.cancelTask(It);E.call(br,"abort",Gt,{once:!0}),It.removeAbortListener=()=>br.removeEventListener("abort",Gt)}if(P.target=null,mi&&(mi.taskData=null),Md&&(P.options.once=!0),!kr&&typeof It.options=="boolean"||(It.options=zt),It.target=oe,It.capture=Ia,It.eventName=se,we&&(It.originalDelegate=Ce),ie?Ar.unshift(It):Ar.push(It),$)return oe}};return F[i]=x(L,l,G,ee,S),Ae&&(F[c]=x(Ae,d,R,ee,S,!0)),F[o]=function(){const E=this||e;let k=arguments[0];g&&g.transferEventName&&(k=g.transferEventName(k));const U=arguments[2],Z=U?typeof U=="boolean"?!0:U.capture:!1,$=arguments[1];if(!$)return B.apply(this,arguments);if(w&&!w(B,$,E,arguments))return;const ie=Et[k];let oe;ie&&(oe=ie[Z?un:ln]);const se=oe&&E[oe];if(se)for(let Ce=0;Cefunction(i,o){i[Ip]=!0,n&&n.apply(i,o)})}function L0(e,t){t.patchMethod(e,"queueMicrotask",r=>function(n,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}const Ao=me("zoneTask");function Tr(e,t,r,n){let i=null,o=null;t+=n,r+=n;const s={};function a(l){const c=l.data;c.args[0]=function(){return l.invoke.apply(this,arguments)};const d=i.apply(e,c.args);return Vd(d)?c.handleId=d:(c.handle=d,c.isRefreshable=Ud(d.refresh)),l}function u(l){const{handle:c,handleId:d}=l.data;return o.call(e,c??d)}i=hn(e,t,l=>function(c,d){if(Ud(d[0])){const h={isRefreshable:!1,isPeriodic:n==="Interval",delay:n==="Timeout"||n==="Interval"?d[1]||0:void 0,args:d},f=d[0];d[0]=function(){try{return f.apply(this,arguments)}finally{const{handle:y,handleId:w,isPeriodic:_,isRefreshable:S}=h;!_&&!S&&(w?delete s[w]:y&&(y[Ao]=null))}};const v=Sl(t,d[0],h,a,u);if(!v)return v;const{handleId:C,handle:D,isRefreshable:b,isPeriodic:p}=v.data;if(C)s[C]=v;else if(D&&(D[Ao]=v,b&&!p)){const g=D.refresh;D.refresh=function(){const{zone:y,state:w}=v;return w==="notScheduled"?(v._state="scheduled",y._updateTaskCount(v,1)):w==="running"&&(v._state="scheduling"),g.call(this)}}return D??C??v}else return l.apply(e,d)}),o=hn(e,r,l=>function(c,d){const h=d[0];let f;Vd(h)?(f=s[h],delete s[h]):(f=h?.[Ao],f?h[Ao]=null:f=h),f?.type?f.cancelFn&&f.zone.cancelTask(f):l.apply(e,d)})}function B0(e,t){const{isBrowser:r,isMix:n}=t.getGlobalObjects();if(!r&&!n||!e.customElements||!("customElements"in e))return;const i=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];t.patchCallbacks(t,e.customElements,"customElements","define",i)}function j0(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:r,zoneSymbolEventNames:n,TRUE_STR:i,FALSE_STR:o,ZONE_SYMBOL_PREFIX:s}=t.getGlobalObjects();for(let u=0;uo.target===e);if(!n||n.length===0)return t;const i=n[0].ignoreProperties;return t.filter(o=>i.indexOf(o)===-1)}function zd(e,t,r,n){if(!e)return;const i=Rp(e,t,r);Fp(e,i,n)}function pu(e){return Object.getOwnPropertyNames(e).filter(t=>t.startsWith("on")&&t.length>2).map(t=>t.substring(2))}function H0(e,t){if(Ys&&!Tp||Zone[e.symbol("patchEvents")])return;const r=t.__Zone_ignore_on_properties;let n=[];if(Il){const i=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const o=M0()?[{target:i,ignoreProperties:["error"]}]:[];zd(i,pu(i),r&&r.concat(o),bl(i))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{const r=t[e.__symbol__("legacyPatch")];r&&r()}),e.__load_patch("timers",t=>{const r="set",n="clear";Tr(t,r,n,"Timeout"),Tr(t,r,n,"Interval"),Tr(t,r,n,"Immediate")}),e.__load_patch("requestAnimationFrame",t=>{Tr(t,"request","cancel","AnimationFrame"),Tr(t,"mozRequest","mozCancel","AnimationFrame"),Tr(t,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(t,r)=>{const n=["alert","prompt","confirm"];for(let i=0;ifunction(l,c){return r.current.run(s,t,c,u)})}}),e.__load_patch("EventTarget",(t,r,n)=>{$0(t,n),j0(t,n);const i=t.XMLHttpRequestEventTarget;i&&i.prototype&&n.patchEventTarget(t,n,[i.prototype])}),e.__load_patch("MutationObserver",(t,r,n)=>{vi("MutationObserver"),vi("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(t,r,n)=>{vi("IntersectionObserver")}),e.__load_patch("FileReader",(t,r,n)=>{vi("FileReader")}),e.__load_patch("on_property",(t,r,n)=>{H0(n,t)}),e.__load_patch("customElements",(t,r,n)=>{B0(t,n)}),e.__load_patch("XHR",(t,r)=>{l(t);const n=me("xhrTask"),i=me("xhrSync"),o=me("xhrListener"),s=me("xhrScheduled"),a=me("xhrURL"),u=me("xhrErrorBeforeScheduled");function l(c){const d=c.XMLHttpRequest;if(!d)return;const h=d.prototype;function f(L){return L[n]}let v=h[Ma],C=h[Ra];if(!v){const L=c.XMLHttpRequestEventTarget;if(L){const B=L.prototype;v=B[Ma],C=B[Ra]}}const D="readystatechange",b="scheduled";function p(L){const B=L.data,J=B.target;J[s]=!1,J[u]=!1;const Pe=J[o];v||(v=J[Ma],C=J[Ra]),Pe&&C.call(J,D,Pe);const Ae=J[o]=()=>{if(J.readyState===J.DONE)if(!B.aborted&&J[s]&&L.state===b){const N=J[r.__symbol__("loadfalse")];if(J.status!==0&&N&&N.length>0){const T=L.invoke;L.invoke=function(){const m=J[r.__symbol__("loadfalse")];for(let R=0;Rfunction(L,B){return L[i]=B[2]==!1,L[a]=B[1],w.apply(L,B)}),_="XMLHttpRequest.send",S=me("fetchTaskAborting"),F=me("fetchTaskScheduling"),M=hn(h,"send",()=>function(L,B){if(r.current[F]===!0||L[i])return M.apply(L,B);{const J={target:L,url:L[a],isPeriodic:!1,args:B,aborted:!1},Pe=Sl(_,g,J,p,y);L&&L[u]===!0&&!J.aborted&&Pe.state===b&&Pe.invoke()}}),P=hn(h,"abort",()=>function(L,B){const J=f(L);if(J&&typeof J.type=="string"){if(J.cancelFn==null||J.data&&J.data.aborted)return;J.zone.cancelTask(J)}else if(r.current[S]===!0)return P.apply(L,B)})}}),e.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&x0(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(t,r)=>{function n(i){return function(o){Mp(t,i).forEach(a=>{const u=t.PromiseRejectionEvent;if(u){const l=new u(i,{promise:o.promise,reason:o.rejection});a.invoke(l)}})}}t.PromiseRejectionEvent&&(r[me("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),r[me("rejectionHandledHandler")]=n("rejectionhandled"))}),e.__load_patch("queueMicrotask",(t,r,n)=>{L0(t,n)})}function V0(e){e.__load_patch("ZoneAwarePromise",(t,r,n)=>{const i=Object.getOwnPropertyDescriptor,o=Object.defineProperty;function s(I){if(I&&I.toString===Object.prototype.toString){const x=I.constructor&&I.constructor.name;return(x||"")+": "+JSON.stringify(I)}return I?I.toString():Object.prototype.toString.call(I)}const a=n.symbol,u=[],l=t[a("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,c=a("Promise"),d=a("then"),h="__creationTrace__";n.onUnhandledError=I=>{if(n.showUncaughtError()){const x=I&&I.rejection;x?console.error("Unhandled Promise rejection:",x instanceof Error?x.message:x,"; Zone:",I.zone.name,"; Task:",I.task&&I.task.source,"; Value:",x,x instanceof Error?x.stack:void 0):console.error(I)}},n.microtaskDrainDone=()=>{for(;u.length;){const I=u.shift();try{I.zone.runGuarded(()=>{throw I.throwOriginal?I.rejection:I})}catch(x){v(x)}}};const f=a("unhandledPromiseRejectionHandler");function v(I){n.onUnhandledError(I);try{const x=r[f];typeof x=="function"&&x.call(this,I)}catch{}}function C(I){return I&&I.then}function D(I){return I}function b(I){return ee.reject(I)}const p=a("state"),g=a("value"),y=a("finally"),w=a("parentPromiseValue"),_=a("parentPromiseState"),S="Promise.then",F=null,M=!0,P=!1,L=0;function B(I,x){return E=>{try{ne(I,x,E)}catch(k){ne(I,!1,k)}}}const J=function(){let I=!1;return function(E){return function(){I||(I=!0,E.apply(null,arguments))}}},Pe="Promise resolved with itself",Ae=a("currentTaskTrace");function ne(I,x,E){const k=J();if(I===E)throw new TypeError(Pe);if(I[p]===F){let U=null;try{(typeof E=="object"||typeof E=="function")&&(U=E&&E.then)}catch(Z){return k(()=>{ne(I,!1,Z)})(),I}if(x!==P&&E instanceof ee&&E.hasOwnProperty(p)&&E.hasOwnProperty(g)&&E[p]!==F)T(E),ne(I,E[p],E[g]);else if(x!==P&&typeof U=="function")try{U.call(E,k(B(I,x)),k(B(I,!1)))}catch(Z){k(()=>{ne(I,!1,Z)})()}else{I[p]=x;const Z=I[g];if(I[g]=E,I[y]===y&&x===M&&(I[p]=I[_],I[g]=I[w]),x===P&&E instanceof Error){const $=r.currentTask&&r.currentTask.data&&r.currentTask.data[h];$&&o(E,Ae,{configurable:!0,enumerable:!1,writable:!0,value:$})}for(let $=0;${try{const ie=I[g],oe=!!E&&y===E[y];oe&&(E[w]=ie,E[_]=Z);const se=x.run($,void 0,oe&&$!==b&&$!==D?[]:[ie]);ne(E,!0,se)}catch(ie){ne(E,!1,ie)}},E)}const R="function ZoneAwarePromise() { [native code] }",Y=function(){},G=t.AggregateError;class ee{static toString(){return R}static resolve(x){return x instanceof ee?x:ne(new this(null),M,x)}static reject(x){return ne(new this(null),P,x)}static withResolvers(){const x={};return x.promise=new ee((E,k)=>{x.resolve=E,x.reject=k}),x}static any(x){if(!x||typeof x[Symbol.iterator]!="function")return Promise.reject(new G([],"All promises were rejected"));const E=[];let k=0;try{for(let $ of x)k++,E.push(ee.resolve($))}catch{return Promise.reject(new G([],"All promises were rejected"))}if(k===0)return Promise.reject(new G([],"All promises were rejected"));let U=!1;const Z=[];return new ee(($,ie)=>{for(let oe=0;oe{U||(U=!0,$(se))},se=>{Z.push(se),k--,k===0&&(U=!0,ie(new G(Z,"All promises were rejected")))})})}static race(x){let E,k,U=new this((ie,oe)=>{E=ie,k=oe});function Z(ie){E(ie)}function $(ie){k(ie)}for(let ie of x)C(ie)||(ie=this.resolve(ie)),ie.then(Z,$);return U}static all(x){return ee.allWithCallback(x)}static allSettled(x){return(this&&this.prototype instanceof ee?this:ee).allWithCallback(x,{thenCallback:k=>({status:"fulfilled",value:k}),errorCallback:k=>({status:"rejected",reason:k})})}static allWithCallback(x,E){let k,U,Z=new this((se,Ce)=>{k=se,U=Ce}),$=2,ie=0;const oe=[];for(let se of x){C(se)||(se=this.resolve(se));const Ce=ie;try{se.then(we=>{oe[Ce]=E?E.thenCallback(we):we,$--,$===0&&k(oe)},we=>{E?(oe[Ce]=E.errorCallback(we),$--,$===0&&k(oe)):U(we)})}catch(we){U(we)}$++,ie++}return $-=2,$===0&&k(oe),Z}constructor(x){const E=this;if(!(E instanceof ee))throw new Error("Must be an instanceof Promise.");E[p]=F,E[g]=[];try{const k=J();x&&x(k(B(E,M)),k(B(E,P)))}catch(k){ne(E,!1,k)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return ee}then(x,E){let k=this.constructor?.[Symbol.species];(!k||typeof k!="function")&&(k=this.constructor||ee);const U=new k(Y),Z=r.current;return this[p]==F?this[g].push(Z,U,x,E):m(this,Z,U,x,E),U}catch(x){return this.then(null,x)}finally(x){let E=this.constructor?.[Symbol.species];(!E||typeof E!="function")&&(E=ee);const k=new E(Y);k[y]=y;const U=r.current;return this[p]==F?this[g].push(U,k,x,x):m(this,U,k,x,x),k}}ee.resolve=ee.resolve,ee.reject=ee.reject,ee.race=ee.race,ee.all=ee.all;const ze=t[c]=t.Promise;t.Promise=ee;const Ke=a("thenPatched");function Ge(I){const x=I.prototype,E=i(x,"then");if(E&&(E.writable===!1||!E.configurable))return;const k=x.then;x[d]=k,I.prototype.then=function(U,Z){return new ee((ie,oe)=>{k.call(this,ie,oe)}).then(U,Z)},I[Ke]=!0}n.patchThen=Ge;function xt(I){return function(x,E){let k=I.apply(x,E);if(k instanceof ee)return k;let U=k.constructor;return U[Ke]||Ge(U),k}}return ze&&(Ge(ze),hn(t,"fetch",I=>xt(I))),Promise[r.__symbol__("uncaughtPromiseErrors")]=u,ee})}function z0(e){e.__load_patch("toString",t=>{const r=Function.prototype.toString,n=me("OriginalDelegate"),i=me("Promise"),o=me("Error"),s=function(){if(typeof this=="function"){const c=this[n];if(c)return typeof c=="function"?r.call(c):Object.prototype.toString.call(c);if(this===Promise){const d=t[i];if(d)return r.call(d)}if(this===Error){const d=t[o];if(d)return r.call(d)}}return r.call(this)};s[n]=r,Function.prototype.toString=s;const a=Object.prototype.toString,u="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?u:a.call(this)}})}function G0(e,t,r,n,i){const o=Zone.__symbol__(n);if(t[o])return;const s=t[o]=t[n];t[n]=function(a,u,l){return u&&u.prototype&&i.forEach(function(c){const d=`${r}.${n}::`+c,h=u.prototype;try{if(h.hasOwnProperty(c)){const f=e.ObjectGetOwnPropertyDescriptor(h,c);f&&f.value?(f.value=e.wrapWithCurrentZone(f.value,d),e._redefineProperty(u.prototype,c,f)):h[c]&&(h[c]=e.wrapWithCurrentZone(h[c],d))}else h[c]&&(h[c]=e.wrapWithCurrentZone(h[c],d))}catch{}}),s.call(t,a,u,l)},e.attachOriginToPatched(t[n],s)}function q0(e){e.__load_patch("util",(t,r,n)=>{const i=pu(t);n.patchOnProperties=Fp,n.patchMethod=hn,n.bindArguments=xl,n.patchMacroTask=k0;const o=r.__symbol__("BLACK_LISTED_EVENTS"),s=r.__symbol__("UNPATCHED_EVENTS");t[s]&&(t[o]=t[s]),t[o]&&(r[o]=r[s]=t[o]),n.patchEventPrototype=P0,n.patchEventTarget=N0,n.isIEOrEdge=R0,n.ObjectDefineProperty=_l,n.ObjectGetOwnPropertyDescriptor=Ri,n.ObjectCreate=T0,n.ArraySlice=F0,n.patchClass=vi,n.wrapWithCurrentZone=Fl,n.filterProperties=Rp,n.attachOriginToPatched=pn,n._redefineProperty=Object.defineProperty,n.patchCallbacks=G0,n.getGlobalObjects=()=>({globalSources:Sp,zoneSymbolEventNames:Et,eventNames:i,isBrowser:Il,isMix:Tp,isNode:Ys,TRUE_STR:un,FALSE_STR:ln,ZONE_SYMBOL_PREFIX:Oi,ADD_EVENT_LISTENER_STR:Al,REMOVE_EVENT_LISTENER_STR:Tl})})}function Z0(e){V0(e),z0(e),q0(e)}const Op=A0();Z0(Op);U0(Op);/** + */const qt=globalThis;function Dt(e){return(qt.__Zone_symbol_prefix||"__zone_symbol__")+e}function b0(){const e=qt.performance;function t(ne){e&&e.mark&&e.mark(ne)}function r(ne,N){e&&e.measure&&e.measure(ne,N)}t("Zone");let n=(()=>{const N=class N{static assertZonePatched(){if(qt.Promise!==P.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let m=N.current;for(;m.parent;)m=m.parent;return m}static get current(){return B.zone}static get currentTask(){return J}static __load_patch(m,R,Y=!1){if(P.hasOwnProperty(m)){const G=qt[Dt("forceDuplicateZoneCheck")]===!0;if(!Y&&G)throw Error("Already loaded patch: "+m)}else if(!qt["__Zone_disable_"+m]){const G="Zone:"+m;t(G),P[m]=R(qt,N,L),r(G,G)}}get parent(){return this._parent}get name(){return this._name}constructor(m,R){this._parent=m,this._name=R?R.name||"unnamed":"",this._properties=R&&R.properties||{},this._zoneDelegate=new o(this,this._parent&&this._parent._zoneDelegate,R)}get(m){const R=this.getZoneWith(m);if(R)return R._properties[m]}getZoneWith(m){let R=this;for(;R;){if(R._properties.hasOwnProperty(m))return R;R=R._parent}return null}fork(m){if(!m)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,m)}wrap(m,R){if(typeof m!="function")throw new Error("Expecting function got: "+m);const Y=this._zoneDelegate.intercept(this,m,R),G=this;return function(){return G.runGuarded(Y,this,arguments,R)}}run(m,R,Y,G){B={parent:B,zone:this};try{return this._zoneDelegate.invoke(this,m,R,Y,G)}finally{B=B.parent}}runGuarded(m,R=null,Y,G){B={parent:B,zone:this};try{try{return this._zoneDelegate.invoke(this,m,R,Y,G)}catch(ee){if(this._zoneDelegate.handleError(this,ee))throw ee}}finally{B=B.parent}}runTask(m,R,Y){if(m.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(m.zone||D).name+"; Execution: "+this.name+")");const G=m,{type:ee,data:{isPeriodic:ze=!1,isRefreshable:Ke=!1}={}}=m;if(m.state===b&&(ee===M||ee===F))return;const Ge=m.state!=y;Ge&&G._transitionTo(y,g);const xt=J;J=G,B={parent:B,zone:this};try{ee==F&&m.data&&!ze&&!Ke&&(m.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,G,R,Y)}catch(I){if(this._zoneDelegate.handleError(this,I))throw I}}finally{const I=m.state;if(I!==b&&I!==_)if(ee==M||ze||Ke&&I===p)Ge&&G._transitionTo(g,y,p);else{const x=G._zoneDelegates;this._updateTaskCount(G,-1),Ge&&G._transitionTo(b,y,b),Ke&&(G._zoneDelegates=x)}B=B.parent,J=xt}}scheduleTask(m){if(m.zone&&m.zone!==this){let Y=this;for(;Y;){if(Y===m.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${m.zone.name}`);Y=Y.parent}}m._transitionTo(p,b);const R=[];m._zoneDelegates=R,m._zone=this;try{m=this._zoneDelegate.scheduleTask(this,m)}catch(Y){throw m._transitionTo(_,p,b),this._zoneDelegate.handleError(this,Y),Y}return m._zoneDelegates===R&&this._updateTaskCount(m,1),m.state==p&&m._transitionTo(g,p),m}scheduleMicroTask(m,R,Y,G){return this.scheduleTask(new s(S,m,R,Y,G,void 0))}scheduleMacroTask(m,R,Y,G,ee){return this.scheduleTask(new s(F,m,R,Y,G,ee))}scheduleEventTask(m,R,Y,G,ee){return this.scheduleTask(new s(M,m,R,Y,G,ee))}cancelTask(m){if(m.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(m.zone||D).name+"; Execution: "+this.name+")");if(!(m.state!==g&&m.state!==y)){m._transitionTo(w,g,y);try{this._zoneDelegate.cancelTask(this,m)}catch(R){throw m._transitionTo(_,w),this._zoneDelegate.handleError(this,R),R}return this._updateTaskCount(m,-1),m._transitionTo(b,w),m.runCount=-1,m}}_updateTaskCount(m,R){const Y=m._zoneDelegates;R==-1&&(m._zoneDelegates=null);for(let G=0;Gne.hasTask(T,m),onScheduleTask:(ne,N,T,m)=>ne.scheduleTask(T,m),onInvokeTask:(ne,N,T,m,R,Y)=>ne.invokeTask(T,m,R,Y),onCancelTask:(ne,N,T,m)=>ne.cancelTask(T,m)};class o{get zone(){return this._zone}constructor(N,T,m){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=N,this._parentDelegate=T,this._forkZS=m&&(m&&m.onFork?m:T._forkZS),this._forkDlgt=m&&(m.onFork?T:T._forkDlgt),this._forkCurrZone=m&&(m.onFork?this._zone:T._forkCurrZone),this._interceptZS=m&&(m.onIntercept?m:T._interceptZS),this._interceptDlgt=m&&(m.onIntercept?T:T._interceptDlgt),this._interceptCurrZone=m&&(m.onIntercept?this._zone:T._interceptCurrZone),this._invokeZS=m&&(m.onInvoke?m:T._invokeZS),this._invokeDlgt=m&&(m.onInvoke?T:T._invokeDlgt),this._invokeCurrZone=m&&(m.onInvoke?this._zone:T._invokeCurrZone),this._handleErrorZS=m&&(m.onHandleError?m:T._handleErrorZS),this._handleErrorDlgt=m&&(m.onHandleError?T:T._handleErrorDlgt),this._handleErrorCurrZone=m&&(m.onHandleError?this._zone:T._handleErrorCurrZone),this._scheduleTaskZS=m&&(m.onScheduleTask?m:T._scheduleTaskZS),this._scheduleTaskDlgt=m&&(m.onScheduleTask?T:T._scheduleTaskDlgt),this._scheduleTaskCurrZone=m&&(m.onScheduleTask?this._zone:T._scheduleTaskCurrZone),this._invokeTaskZS=m&&(m.onInvokeTask?m:T._invokeTaskZS),this._invokeTaskDlgt=m&&(m.onInvokeTask?T:T._invokeTaskDlgt),this._invokeTaskCurrZone=m&&(m.onInvokeTask?this._zone:T._invokeTaskCurrZone),this._cancelTaskZS=m&&(m.onCancelTask?m:T._cancelTaskZS),this._cancelTaskDlgt=m&&(m.onCancelTask?T:T._cancelTaskDlgt),this._cancelTaskCurrZone=m&&(m.onCancelTask?this._zone:T._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const R=m&&m.onHasTask,Y=T&&T._hasTaskZS;(R||Y)&&(this._hasTaskZS=R?m:i,this._hasTaskDlgt=T,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,m.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=T,this._scheduleTaskCurrZone=this._zone),m.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=T,this._invokeTaskCurrZone=this._zone),m.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=T,this._cancelTaskCurrZone=this._zone))}fork(N,T){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,N,T):new n(N,T)}intercept(N,T,m){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,N,T,m):T}invoke(N,T,m,R,Y){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,N,T,m,R,Y):T.apply(m,R)}handleError(N,T){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,N,T):!0}scheduleTask(N,T){let m=T;if(this._scheduleTaskZS)this._hasTaskZS&&m._zoneDelegates.push(this._hasTaskDlgtOwner),m=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,N,T),m||(m=T);else if(T.scheduleFn)T.scheduleFn(T);else if(T.type==S)v(T);else throw new Error("Task is missing scheduleFn.");return m}invokeTask(N,T,m,R){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,N,T,m,R):T.callback.apply(m,R)}cancelTask(N,T){let m;if(this._cancelTaskZS)m=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,N,T);else{if(!T.cancelFn)throw Error("Task is not cancelable");m=T.cancelFn(T)}return m}hasTask(N,T){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,N,T)}catch(m){this.handleError(N,m)}}_updateTaskCount(N,T){const m=this._taskCounts,R=m[N],Y=m[N]=R+T;if(Y<0)throw new Error("More tasks executed then were scheduled.");if(R==0||Y==0){const G={microTask:m.microTask>0,macroTask:m.macroTask>0,eventTask:m.eventTask>0,change:N};this.hasTask(this._zone,G)}}}class s{constructor(N,T,m,R,Y,G){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=N,this.source=T,this.data=R,this.scheduleFn=Y,this.cancelFn=G,!m)throw new Error("callback is not defined");this.callback=m;const ee=this;N===M&&R&&R.useG?this.invoke=s.invokeTask:this.invoke=function(){return s.invokeTask.call(qt,ee,this,arguments)}}static invokeTask(N,T,m){N||(N=this),Pe++;try{return N.runCount++,N.zone.runTask(N,T,m)}finally{Pe==1&&C(),Pe--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,p)}_transitionTo(N,T,m){if(this._state===T||this._state===m)this._state=N,N==b&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${N}', expecting state '${T}'${m?" or '"+m+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const a=Dt("setTimeout"),u=Dt("Promise"),l=Dt("then");let c=[],d=!1,h;function f(ne){if(h||qt[u]&&(h=qt[u].resolve(0)),h){let N=h[l];N||(N=h.then),N.call(h,ne)}else qt[a](ne,0)}function v(ne){Pe===0&&c.length===0&&f(C),ne&&c.push(ne)}function C(){if(!d){for(d=!0;c.length;){const ne=c;c=[];for(let N=0;NB,onUnhandledError:Ae,microtaskDrainDone:Ae,scheduleMicroTask:v,showUncaughtError:()=>!n[Dt("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Ae,patchMethod:()=>Ae,bindArguments:()=>[],patchThen:()=>Ae,patchMacroTask:()=>Ae,patchEventPrototype:()=>Ae,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Ae,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Ae,wrapWithCurrentZone:()=>Ae,filterProperties:()=>[],attachOriginToPatched:()=>Ae,_redefineProperty:()=>Ae,patchCallbacks:()=>Ae,nativeScheduleMicroTask:f};let B={parent:null,zone:new n(null,null)},J=null,Pe=0;function Ae(){}return r("Zone","Zone"),n}function A0(){const e=globalThis,t=e[Dt("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(t||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??(e.Zone=b0()),e.Zone}const Ri=Object.getOwnPropertyDescriptor,_l=Object.defineProperty,bl=Object.getPrototypeOf,T0=Object.create,F0=Array.prototype.slice,Al="addEventListener",Tl="removeEventListener",Ma=Dt(Al),Ra=Dt(Tl),un="true",ln="false",Oi=Dt("");function Fl(e,t){return Zone.current.wrap(e,t)}function Sl(e,t,r,n,i){return Zone.current.scheduleMacroTask(e,t,r,n,i)}const me=Dt,Ws=typeof window<"u",si=Ws?window:void 0,Oe=Ws&&si||globalThis,S0="removeAttribute";function xl(e,t){for(let r=e.length-1;r>=0;r--)typeof e[r]=="function"&&(e[r]=Fl(e[r],t+"_"+r));return e}function x0(e,t){const r=e.constructor.name;for(let n=0;n{const u=function(){return a.apply(this,xl(arguments,r+"."+i))};return pn(u,a),u})(o)}}}function bp(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}const Ap=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ys=!("nw"in Oe)&&typeof Oe.process<"u"&&Oe.process.toString()==="[object process]",Il=!Ys&&!Ap&&!!(Ws&&si.HTMLElement),Tp=typeof Oe.process<"u"&&Oe.process.toString()==="[object process]"&&!Ap&&!!(Ws&&si.HTMLElement),cs={},I0=me("enable_beforeunload"),jd=function(e){if(e=e||Oe.event,!e)return;let t=cs[e.type];t||(t=cs[e.type]=me("ON_PROPERTY"+e.type));const r=this||e.target||Oe,n=r[t];let i;if(Il&&r===si&&e.type==="error"){const o=e;i=n&&n.call(this,o.message,o.filename,o.lineno,o.colno,o.error),i===!0&&e.preventDefault()}else i=n&&n.apply(this,arguments),e.type==="beforeunload"&&Oe[I0]&&typeof i=="string"?e.returnValue=i:i!=null&&!i&&e.preventDefault();return i};function $d(e,t,r){let n=Ri(e,t);if(!n&&r&&Ri(r,t)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;const i=me("on"+t+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete n.writable,delete n.value;const o=n.get,s=n.set,a=t.slice(2);let u=cs[a];u||(u=cs[a]=me("ON_PROPERTY"+a)),n.set=function(l){let c=this;if(!c&&e===Oe&&(c=Oe),!c)return;typeof c[u]=="function"&&c.removeEventListener(a,jd),s&&s.call(c,null),c[u]=l,typeof l=="function"&&c.addEventListener(a,jd,!1)},n.get=function(){let l=this;if(!l&&e===Oe&&(l=Oe),!l)return null;const c=l[u];if(c)return c;if(o){let d=o.call(this);if(d)return n.set.call(this,d),typeof l[S0]=="function"&&l.removeAttribute(t),d}return null},_l(e,t,n),e[i]=!0}function Fp(e,t,r){if(t)for(let n=0;nfunction(s,a){const u=r(s,a);return u.cbIdx>=0&&typeof a[u.cbIdx]=="function"?Sl(u.name,a[u.cbIdx],u,i):o.apply(s,a)})}function pn(e,t){e[me("OriginalDelegate")]=t}let Hd=!1,Oa=!1;function M0(){try{const e=si.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function R0(){if(Hd)return Oa;Hd=!0;try{const e=si.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Oa=!0)}catch{}return Oa}function Ud(e){return typeof e=="function"}function Vd(e){return typeof e=="number"}let kr=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){kr=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{kr=!1}const O0={useG:!0},Et={},Sp={},xp=new RegExp("^"+Oi+"(\\w+)(true|false)$"),Ip=me("propagationStopped");function kp(e,t){const r=(t?t(e):e)+ln,n=(t?t(e):e)+un,i=Oi+r,o=Oi+n;Et[e]={},Et[e][ln]=i,Et[e][un]=o}function N0(e,t,r,n){const i=n&&n.add||Al,o=n&&n.rm||Tl,s=n&&n.listeners||"eventListeners",a=n&&n.rmAll||"removeAllListeners",u=me(i),l="."+i+":",c="prependListener",d="."+c+":",h=function(p,g,y){if(p.isRemoved)return;const w=p.callback;typeof w=="object"&&w.handleEvent&&(p.callback=F=>w.handleEvent(F),p.originalDelegate=w);let _;try{p.invoke(p,g,[y])}catch(F){_=F}const S=p.options;if(S&&typeof S=="object"&&S.once){const F=p.originalDelegate?p.originalDelegate:p.callback;g[o].call(g,y.type,F,S)}return _};function f(p,g,y){if(g=g||e.event,!g)return;const w=p||g.target||e,_=w[Et[g.type][y?un:ln]];if(_){const S=[];if(_.length===1){const F=h(_[0],w,g);F&&S.push(F)}else{const F=_.slice();for(let M=0;M{throw M})}}}const v=function(p){return f(this,p,!1)},C=function(p){return f(this,p,!0)};function D(p,g){if(!p)return!1;let y=!0;g&&g.useG!==void 0&&(y=g.useG);const w=g&&g.vh;let _=!0;g&&g.chkDup!==void 0&&(_=g.chkDup);let S=!1;g&&g.rt!==void 0&&(S=g.rt);let F=p;for(;F&&!F.hasOwnProperty(i);)F=bl(F);if(!F&&p[i]&&(F=p),!F||F[u])return!1;const M=g&&g.eventNameToString,P={},L=F[u]=F[i],B=F[me(o)]=F[o],J=F[me(s)]=F[s],Pe=F[me(a)]=F[a];let Ae;g&&g.prepend&&(Ae=F[me(g.prepend)]=F[g.prepend]);function ne(E,k){return!kr&&typeof E=="object"&&E?!!E.capture:!kr||!k?E:typeof E=="boolean"?{capture:E,passive:!0}:E?typeof E=="object"&&E.passive!==!1?{...E,passive:!0}:E:{passive:!0}}const N=function(E){if(!P.isExisting)return L.call(P.target,P.eventName,P.capture?C:v,P.options)},T=function(E){if(!E.isRemoved){const k=Et[E.eventName];let U;k&&(U=k[E.capture?un:ln]);const W=U&&E.target[U];if(W){for(let $=0;$It.zone.cancelTask(It);E.call(br,"abort",Gt,{once:!0}),It.removeAbortListener=()=>br.removeEventListener("abort",Gt)}if(P.target=null,mi&&(mi.taskData=null),Md&&(P.options.once=!0),!kr&&typeof It.options=="boolean"||(It.options=zt),It.target=oe,It.capture=Ia,It.eventName=se,we&&(It.originalDelegate=Ce),ie?Ar.unshift(It):Ar.push(It),$)return oe}};return F[i]=x(L,l,G,ee,S),Ae&&(F[c]=x(Ae,d,R,ee,S,!0)),F[o]=function(){const E=this||e;let k=arguments[0];g&&g.transferEventName&&(k=g.transferEventName(k));const U=arguments[2],W=U?typeof U=="boolean"?!0:U.capture:!1,$=arguments[1];if(!$)return B.apply(this,arguments);if(w&&!w(B,$,E,arguments))return;const ie=Et[k];let oe;ie&&(oe=ie[W?un:ln]);const se=oe&&E[oe];if(se)for(let Ce=0;Cefunction(i,o){i[Ip]=!0,n&&n.apply(i,o)})}function L0(e,t){t.patchMethod(e,"queueMicrotask",r=>function(n,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}const Ao=me("zoneTask");function Tr(e,t,r,n){let i=null,o=null;t+=n,r+=n;const s={};function a(l){const c=l.data;c.args[0]=function(){return l.invoke.apply(this,arguments)};const d=i.apply(e,c.args);return Vd(d)?c.handleId=d:(c.handle=d,c.isRefreshable=Ud(d.refresh)),l}function u(l){const{handle:c,handleId:d}=l.data;return o.call(e,c??d)}i=hn(e,t,l=>function(c,d){if(Ud(d[0])){const h={isRefreshable:!1,isPeriodic:n==="Interval",delay:n==="Timeout"||n==="Interval"?d[1]||0:void 0,args:d},f=d[0];d[0]=function(){try{return f.apply(this,arguments)}finally{const{handle:y,handleId:w,isPeriodic:_,isRefreshable:S}=h;!_&&!S&&(w?delete s[w]:y&&(y[Ao]=null))}};const v=Sl(t,d[0],h,a,u);if(!v)return v;const{handleId:C,handle:D,isRefreshable:b,isPeriodic:p}=v.data;if(C)s[C]=v;else if(D&&(D[Ao]=v,b&&!p)){const g=D.refresh;D.refresh=function(){const{zone:y,state:w}=v;return w==="notScheduled"?(v._state="scheduled",y._updateTaskCount(v,1)):w==="running"&&(v._state="scheduling"),g.call(this)}}return D??C??v}else return l.apply(e,d)}),o=hn(e,r,l=>function(c,d){const h=d[0];let f;Vd(h)?(f=s[h],delete s[h]):(f=h?.[Ao],f?h[Ao]=null:f=h),f?.type?f.cancelFn&&f.zone.cancelTask(f):l.apply(e,d)})}function B0(e,t){const{isBrowser:r,isMix:n}=t.getGlobalObjects();if(!r&&!n||!e.customElements||!("customElements"in e))return;const i=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];t.patchCallbacks(t,e.customElements,"customElements","define",i)}function j0(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:r,zoneSymbolEventNames:n,TRUE_STR:i,FALSE_STR:o,ZONE_SYMBOL_PREFIX:s}=t.getGlobalObjects();for(let u=0;uo.target===e);if(!n||n.length===0)return t;const i=n[0].ignoreProperties;return t.filter(o=>i.indexOf(o)===-1)}function zd(e,t,r,n){if(!e)return;const i=Rp(e,t,r);Fp(e,i,n)}function pu(e){return Object.getOwnPropertyNames(e).filter(t=>t.startsWith("on")&&t.length>2).map(t=>t.substring(2))}function H0(e,t){if(Ys&&!Tp||Zone[e.symbol("patchEvents")])return;const r=t.__Zone_ignore_on_properties;let n=[];if(Il){const i=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const o=M0()?[{target:i,ignoreProperties:["error"]}]:[];zd(i,pu(i),r&&r.concat(o),bl(i))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{const r=t[e.__symbol__("legacyPatch")];r&&r()}),e.__load_patch("timers",t=>{const r="set",n="clear";Tr(t,r,n,"Timeout"),Tr(t,r,n,"Interval"),Tr(t,r,n,"Immediate")}),e.__load_patch("requestAnimationFrame",t=>{Tr(t,"request","cancel","AnimationFrame"),Tr(t,"mozRequest","mozCancel","AnimationFrame"),Tr(t,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(t,r)=>{const n=["alert","prompt","confirm"];for(let i=0;ifunction(l,c){return r.current.run(s,t,c,u)})}}),e.__load_patch("EventTarget",(t,r,n)=>{$0(t,n),j0(t,n);const i=t.XMLHttpRequestEventTarget;i&&i.prototype&&n.patchEventTarget(t,n,[i.prototype])}),e.__load_patch("MutationObserver",(t,r,n)=>{vi("MutationObserver"),vi("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(t,r,n)=>{vi("IntersectionObserver")}),e.__load_patch("FileReader",(t,r,n)=>{vi("FileReader")}),e.__load_patch("on_property",(t,r,n)=>{H0(n,t)}),e.__load_patch("customElements",(t,r,n)=>{B0(t,n)}),e.__load_patch("XHR",(t,r)=>{l(t);const n=me("xhrTask"),i=me("xhrSync"),o=me("xhrListener"),s=me("xhrScheduled"),a=me("xhrURL"),u=me("xhrErrorBeforeScheduled");function l(c){const d=c.XMLHttpRequest;if(!d)return;const h=d.prototype;function f(L){return L[n]}let v=h[Ma],C=h[Ra];if(!v){const L=c.XMLHttpRequestEventTarget;if(L){const B=L.prototype;v=B[Ma],C=B[Ra]}}const D="readystatechange",b="scheduled";function p(L){const B=L.data,J=B.target;J[s]=!1,J[u]=!1;const Pe=J[o];v||(v=J[Ma],C=J[Ra]),Pe&&C.call(J,D,Pe);const Ae=J[o]=()=>{if(J.readyState===J.DONE)if(!B.aborted&&J[s]&&L.state===b){const N=J[r.__symbol__("loadfalse")];if(J.status!==0&&N&&N.length>0){const T=L.invoke;L.invoke=function(){const m=J[r.__symbol__("loadfalse")];for(let R=0;Rfunction(L,B){return L[i]=B[2]==!1,L[a]=B[1],w.apply(L,B)}),_="XMLHttpRequest.send",S=me("fetchTaskAborting"),F=me("fetchTaskScheduling"),M=hn(h,"send",()=>function(L,B){if(r.current[F]===!0||L[i])return M.apply(L,B);{const J={target:L,url:L[a],isPeriodic:!1,args:B,aborted:!1},Pe=Sl(_,g,J,p,y);L&&L[u]===!0&&!J.aborted&&Pe.state===b&&Pe.invoke()}}),P=hn(h,"abort",()=>function(L,B){const J=f(L);if(J&&typeof J.type=="string"){if(J.cancelFn==null||J.data&&J.data.aborted)return;J.zone.cancelTask(J)}else if(r.current[S]===!0)return P.apply(L,B)})}}),e.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&x0(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(t,r)=>{function n(i){return function(o){Mp(t,i).forEach(a=>{const u=t.PromiseRejectionEvent;if(u){const l=new u(i,{promise:o.promise,reason:o.rejection});a.invoke(l)}})}}t.PromiseRejectionEvent&&(r[me("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),r[me("rejectionHandledHandler")]=n("rejectionhandled"))}),e.__load_patch("queueMicrotask",(t,r,n)=>{L0(t,n)})}function V0(e){e.__load_patch("ZoneAwarePromise",(t,r,n)=>{const i=Object.getOwnPropertyDescriptor,o=Object.defineProperty;function s(I){if(I&&I.toString===Object.prototype.toString){const x=I.constructor&&I.constructor.name;return(x||"")+": "+JSON.stringify(I)}return I?I.toString():Object.prototype.toString.call(I)}const a=n.symbol,u=[],l=t[a("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,c=a("Promise"),d=a("then"),h="__creationTrace__";n.onUnhandledError=I=>{if(n.showUncaughtError()){const x=I&&I.rejection;x?console.error("Unhandled Promise rejection:",x instanceof Error?x.message:x,"; Zone:",I.zone.name,"; Task:",I.task&&I.task.source,"; Value:",x,x instanceof Error?x.stack:void 0):console.error(I)}},n.microtaskDrainDone=()=>{for(;u.length;){const I=u.shift();try{I.zone.runGuarded(()=>{throw I.throwOriginal?I.rejection:I})}catch(x){v(x)}}};const f=a("unhandledPromiseRejectionHandler");function v(I){n.onUnhandledError(I);try{const x=r[f];typeof x=="function"&&x.call(this,I)}catch{}}function C(I){return I&&I.then}function D(I){return I}function b(I){return ee.reject(I)}const p=a("state"),g=a("value"),y=a("finally"),w=a("parentPromiseValue"),_=a("parentPromiseState"),S="Promise.then",F=null,M=!0,P=!1,L=0;function B(I,x){return E=>{try{ne(I,x,E)}catch(k){ne(I,!1,k)}}}const J=function(){let I=!1;return function(E){return function(){I||(I=!0,E.apply(null,arguments))}}},Pe="Promise resolved with itself",Ae=a("currentTaskTrace");function ne(I,x,E){const k=J();if(I===E)throw new TypeError(Pe);if(I[p]===F){let U=null;try{(typeof E=="object"||typeof E=="function")&&(U=E&&E.then)}catch(W){return k(()=>{ne(I,!1,W)})(),I}if(x!==P&&E instanceof ee&&E.hasOwnProperty(p)&&E.hasOwnProperty(g)&&E[p]!==F)T(E),ne(I,E[p],E[g]);else if(x!==P&&typeof U=="function")try{U.call(E,k(B(I,x)),k(B(I,!1)))}catch(W){k(()=>{ne(I,!1,W)})()}else{I[p]=x;const W=I[g];if(I[g]=E,I[y]===y&&x===M&&(I[p]=I[_],I[g]=I[w]),x===P&&E instanceof Error){const $=r.currentTask&&r.currentTask.data&&r.currentTask.data[h];$&&o(E,Ae,{configurable:!0,enumerable:!1,writable:!0,value:$})}for(let $=0;${try{const ie=I[g],oe=!!E&&y===E[y];oe&&(E[w]=ie,E[_]=W);const se=x.run($,void 0,oe&&$!==b&&$!==D?[]:[ie]);ne(E,!0,se)}catch(ie){ne(E,!1,ie)}},E)}const R="function ZoneAwarePromise() { [native code] }",Y=function(){},G=t.AggregateError;class ee{static toString(){return R}static resolve(x){return x instanceof ee?x:ne(new this(null),M,x)}static reject(x){return ne(new this(null),P,x)}static withResolvers(){const x={};return x.promise=new ee((E,k)=>{x.resolve=E,x.reject=k}),x}static any(x){if(!x||typeof x[Symbol.iterator]!="function")return Promise.reject(new G([],"All promises were rejected"));const E=[];let k=0;try{for(let $ of x)k++,E.push(ee.resolve($))}catch{return Promise.reject(new G([],"All promises were rejected"))}if(k===0)return Promise.reject(new G([],"All promises were rejected"));let U=!1;const W=[];return new ee(($,ie)=>{for(let oe=0;oe{U||(U=!0,$(se))},se=>{W.push(se),k--,k===0&&(U=!0,ie(new G(W,"All promises were rejected")))})})}static race(x){let E,k,U=new this((ie,oe)=>{E=ie,k=oe});function W(ie){E(ie)}function $(ie){k(ie)}for(let ie of x)C(ie)||(ie=this.resolve(ie)),ie.then(W,$);return U}static all(x){return ee.allWithCallback(x)}static allSettled(x){return(this&&this.prototype instanceof ee?this:ee).allWithCallback(x,{thenCallback:k=>({status:"fulfilled",value:k}),errorCallback:k=>({status:"rejected",reason:k})})}static allWithCallback(x,E){let k,U,W=new this((se,Ce)=>{k=se,U=Ce}),$=2,ie=0;const oe=[];for(let se of x){C(se)||(se=this.resolve(se));const Ce=ie;try{se.then(we=>{oe[Ce]=E?E.thenCallback(we):we,$--,$===0&&k(oe)},we=>{E?(oe[Ce]=E.errorCallback(we),$--,$===0&&k(oe)):U(we)})}catch(we){U(we)}$++,ie++}return $-=2,$===0&&k(oe),W}constructor(x){const E=this;if(!(E instanceof ee))throw new Error("Must be an instanceof Promise.");E[p]=F,E[g]=[];try{const k=J();x&&x(k(B(E,M)),k(B(E,P)))}catch(k){ne(E,!1,k)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return ee}then(x,E){let k=this.constructor?.[Symbol.species];(!k||typeof k!="function")&&(k=this.constructor||ee);const U=new k(Y),W=r.current;return this[p]==F?this[g].push(W,U,x,E):m(this,W,U,x,E),U}catch(x){return this.then(null,x)}finally(x){let E=this.constructor?.[Symbol.species];(!E||typeof E!="function")&&(E=ee);const k=new E(Y);k[y]=y;const U=r.current;return this[p]==F?this[g].push(U,k,x,x):m(this,U,k,x,x),k}}ee.resolve=ee.resolve,ee.reject=ee.reject,ee.race=ee.race,ee.all=ee.all;const ze=t[c]=t.Promise;t.Promise=ee;const Ke=a("thenPatched");function Ge(I){const x=I.prototype,E=i(x,"then");if(E&&(E.writable===!1||!E.configurable))return;const k=x.then;x[d]=k,I.prototype.then=function(U,W){return new ee((ie,oe)=>{k.call(this,ie,oe)}).then(U,W)},I[Ke]=!0}n.patchThen=Ge;function xt(I){return function(x,E){let k=I.apply(x,E);if(k instanceof ee)return k;let U=k.constructor;return U[Ke]||Ge(U),k}}return ze&&(Ge(ze),hn(t,"fetch",I=>xt(I))),Promise[r.__symbol__("uncaughtPromiseErrors")]=u,ee})}function z0(e){e.__load_patch("toString",t=>{const r=Function.prototype.toString,n=me("OriginalDelegate"),i=me("Promise"),o=me("Error"),s=function(){if(typeof this=="function"){const c=this[n];if(c)return typeof c=="function"?r.call(c):Object.prototype.toString.call(c);if(this===Promise){const d=t[i];if(d)return r.call(d)}if(this===Error){const d=t[o];if(d)return r.call(d)}}return r.call(this)};s[n]=r,Function.prototype.toString=s;const a=Object.prototype.toString,u="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?u:a.call(this)}})}function G0(e,t,r,n,i){const o=Zone.__symbol__(n);if(t[o])return;const s=t[o]=t[n];t[n]=function(a,u,l){return u&&u.prototype&&i.forEach(function(c){const d=`${r}.${n}::`+c,h=u.prototype;try{if(h.hasOwnProperty(c)){const f=e.ObjectGetOwnPropertyDescriptor(h,c);f&&f.value?(f.value=e.wrapWithCurrentZone(f.value,d),e._redefineProperty(u.prototype,c,f)):h[c]&&(h[c]=e.wrapWithCurrentZone(h[c],d))}else h[c]&&(h[c]=e.wrapWithCurrentZone(h[c],d))}catch{}}),s.call(t,a,u,l)},e.attachOriginToPatched(t[n],s)}function q0(e){e.__load_patch("util",(t,r,n)=>{const i=pu(t);n.patchOnProperties=Fp,n.patchMethod=hn,n.bindArguments=xl,n.patchMacroTask=k0;const o=r.__symbol__("BLACK_LISTED_EVENTS"),s=r.__symbol__("UNPATCHED_EVENTS");t[s]&&(t[o]=t[s]),t[o]&&(r[o]=r[s]=t[o]),n.patchEventPrototype=P0,n.patchEventTarget=N0,n.isIEOrEdge=R0,n.ObjectDefineProperty=_l,n.ObjectGetOwnPropertyDescriptor=Ri,n.ObjectCreate=T0,n.ArraySlice=F0,n.patchClass=vi,n.wrapWithCurrentZone=Fl,n.filterProperties=Rp,n.attachOriginToPatched=pn,n._redefineProperty=Object.defineProperty,n.patchCallbacks=G0,n.getGlobalObjects=()=>({globalSources:Sp,zoneSymbolEventNames:Et,eventNames:i,isBrowser:Il,isMix:Tp,isNode:Ys,TRUE_STR:un,FALSE_STR:ln,ZONE_SYMBOL_PREFIX:Oi,ADD_EVENT_LISTENER_STR:Al,REMOVE_EVENT_LISTENER_STR:Tl})})}function Z0(e){V0(e),z0(e),q0(e)}const Op=A0();Z0(Op);U0(Op);/** * @license Angular v18.2.8 * (c) 2010-2024 Google LLC. https://angular.io/ * License: MIT @@ -17,11 +17,11 @@ var w0=Object.defineProperty;var Ld=e=>{throw TypeError(e)};var _0=(e,t,r)=>t in `);return r===-1?t:t.substring(0,r)}function Cu(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}const QE=Ee({__forward_ref__:Ee});function fg(e){return e.__forward_ref__=fg,e.toString=function(){return lt(this())},e}function et(e){return hg(e)?e():e}function hg(e){return typeof e=="function"&&e.hasOwnProperty(QE)&&e.__forward_ref__===fg}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function XE(e){return{providers:e.providers||[],imports:e.imports||[]}}function Js(e){return Qd(e,pg)||Qd(e,gg)}function JE(e){return Js(e)!==null}function Qd(e,t){return e.hasOwnProperty(t)?e[t]:null}function eC(e){const t=e&&(e[pg]||e[gg]);return t||null}function Xd(e){return e&&(e.hasOwnProperty(Jd)||e.hasOwnProperty(tC))?e[Jd]:null}const pg=Ee({ɵprov:Ee}),Jd=Ee({ɵinj:Ee}),gg=Ee({ngInjectableDef:Ee}),tC=Ee({ngInjectorDef:Ee});class z{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.ɵprov=j({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function mg(e){return e&&!!e.ɵproviders}const nC=Ee({ɵcmp:Ee}),rC=Ee({ɵdir:Ee}),iC=Ee({ɵpipe:Ee}),oC=Ee({ɵmod:Ee}),gs=Ee({ɵfac:Ee}),bi=Ee({__NG_ELEMENT_ID__:Ee}),ef=Ee({__NG_ENV_ID__:Ee});function Xi(e){return typeof e=="string"?e:e==null?"":String(e)}function sC(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Xi(e)}function aC(e,t){const r=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new V(-200,e)}function Bl(e,t){throw new V(-201,!1)}var ue=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ue||{});let wu;function vg(){return wu}function Je(e){const t=wu;return wu=e,t}function yg(e,t,r){const n=Js(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&ue.Optional)return null;if(t!==void 0)return t;Bl(e,"Injector")}const uC={},Pi=uC,_u="__NG_DI_FLAG__",ms="ngTempTokenPath",lC="ngTokenPath",cC=/\n/gm,dC="ɵ",tf="__source";let zr;function fC(){return zr}function Sn(e){const t=zr;return zr=e,t}function hC(e,t=ue.Default){if(zr===void 0)throw new V(-203,!1);return zr===null?yg(e,void 0,t):zr.get(e,t&ue.Optional?null:void 0,t)}function te(e,t=ue.Default){return(vg()||hC)(et(e),t)}function A(e,t=ue.Default){return te(e,ea(t))}function ea(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function bu(e){const t=[];for(let r=0;r ");else if(typeof t=="object"){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):lt(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${e.replace(cC,` - `)}`}const Eg=Dg(dg("Optional"),8),Cg=Dg(dg("SkipSelf"),4);function rr(e,t){const r=e.hasOwnProperty(gs);return r?e[gs]:null}function vC(e,t,r){if(e.length!==t.length)return!1;for(let n=0;nArray.isArray(r)?jl(r,t):t(r))}function wg(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function vs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function DC(e,t,r,n){let i=e.length;if(i==t)e.push(r,n);else if(i===1)e.push(n,e[0]),e[0]=r;else{for(i--,e.push(e[i-1],e[i]);i>t;){const o=i-2;e[i]=e[o],i--}e[t]=r,e[t+1]=n}}function $l(e,t,r){let n=Ji(e,t);return n>=0?e[n|1]=r:(n=~n,DC(e,n,t,r)),n}function Ba(e,t){const r=Ji(e,t);if(r>=0)return e[r|1]}function Ji(e,t){return EC(e,t,1)}function EC(e,t,r){let n=0,i=e.length>>r;for(;i!==n;){const o=n+(i-n>>1),s=e[o<t?i=o:n=o+1}return~(i<t){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[c+1].toLowerCase(),n&2&&l!==d){if(Mt(n))return!1;s=!0}}}}return Mt(n)||s}function Mt(e){return(e&1)===0}function TC(e,t,r,n){if(t===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!Mt(s)&&(t+=rf(o,i),i=""),n=s,o=o||!Mt(n);r++}return i!==""&&(t+=rf(o,i)),t}function kC(e){return e.map(IC).join(",")}function MC(e){const t=[],r=[];let n=1,i=2;for(;n{const t=kg(e),r={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Tg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||gn.Emulated,styles:e.styles||tt,_:null,schemas:e.schemas||null,tView:null,id:""};Mg(r);const n=e.dependencies;return r.directiveDefs=sf(n,!1),r.pipeDefs=sf(n,!0),r.id=LC(r),r})}function RC(e){return jn(e)||Vl(e)}function OC(e){return e!==null}function NC(e){return Qi(()=>({type:e.type,bootstrap:e.bootstrap||tt,declarations:e.declarations||tt,imports:e.imports||tt,exports:e.exports||tt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function of(e,t){if(e==null)return Ln;const r={};for(const n in e)if(e.hasOwnProperty(n)){const i=e[n];let o,s,a=Bn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),t?(r[o]=a!==Bn.None?[n,a]:n,t[o]=s):r[o]=n}return r}function ot(e){return Qi(()=>{const t=kg(e);return Mg(t),t})}function ht(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function jn(e){return e[nC]||null}function Vl(e){return e[rC]||null}function xg(e){return e[iC]||null}function PC(e){const t=jn(e)||Vl(e)||xg(e);return t!==null?t.standalone:!1}function Ig(e,t){const r=e[oC]||null;if(!r&&t===!0)throw new Error(`Type ${lt(e)} does not have 'ɵmod' property.`);return r}function kg(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Ln,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||tt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:of(e.inputs,t),outputs:of(e.outputs),debugInfo:null}}function Mg(e){e.features?.forEach(t=>t(e))}function sf(e,t){if(!e)return null;const r=t?xg:RC;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(OC)}function LC(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of r)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ai(e){return{ɵproviders:e}}function BC(...e){return{ɵproviders:Rg(!0,e),ɵfromNgModule:!0}}function Rg(e,...t){const r=[],n=new Set;let i;const o=s=>{r.push(s)};return jl(t,s=>{const a=s;Tu(a,o,[],n)&&(i||(i=[]),i.push(a))}),i!==void 0&&Og(i,o),r}function Og(e,t){for(let r=0;r{t(o,n)})}}function Tu(e,t,r,n){if(e=et(e),!e)return!1;let i=null,o=Xd(e);const s=!o&&jn(e);if(!o&&!s){const u=e.ngModule;if(o=Xd(u),o)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=e}const a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){const u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(const l of u)Tu(l,t,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let l;try{jl(o.imports,c=>{Tu(c,t,r,n)&&(l||(l=[]),l.push(c))})}finally{}l!==void 0&&Og(l,t)}if(!a){const l=rr(i)||(()=>new i);t({provide:i,useFactory:l,deps:tt},i),t({provide:bg,useValue:i,multi:!0},i),t({provide:Yr,useValue:()=>te(i),multi:!0},i)}const u=o.providers;if(u!=null&&!a){const l=e;zl(u,c=>{t(c,l)})}}else return!1;return i!==e&&e.providers!==void 0}function zl(e,t){for(let r of e)mg(r)&&(r=r.ɵproviders),Array.isArray(r)?zl(r,t):t(r)}const jC=Ee({provide:String,useValue:Ee});function Ng(e){return e!==null&&typeof e=="object"&&jC in e}function $C(e){return!!(e&&e.useExisting)}function HC(e){return!!(e&&e.useFactory)}function Fu(e){return typeof e=="function"}const Gl=new z(""),Zo={},UC={};let ja;function ql(){return ja===void 0&&(ja=new Ag),ja}class yn{}class Zl extends yn{get destroyed(){return this._destroyed}constructor(t,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,xu(t,s=>this.processProvider(s)),this.records.set(_g,Mr(void 0,this)),i.has("environment")&&this.records.set(yn,Mr(void 0,this));const o=this.records.get(Gl);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(bg,tt,ue.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=ce(null);try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ce(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const r=Sn(this),n=Je(void 0);let i;try{return t()}finally{Sn(r),Je(n)}}get(t,r=Pi,n=ue.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ef))return t[ef](this);n=ea(n);let i;const o=Sn(this),s=Je(void 0);try{if(!(n&ue.SkipSelf)){let u=this.records.get(t);if(u===void 0){const l=WC(t)&&Js(t);l&&this.injectableDefInScope(l)?u=Mr(Su(t),Zo):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}const a=n&ue.Self?ql():this.parent;return r=n&ue.Optional&&r===Pi?null:r,a.get(t,r)}catch(a){if(a.name==="NullInjectorError"){if((a[ms]=a[ms]||[]).unshift(lt(t)),o)throw a;return gC(a,t,"R3InjectorError",this.source)}else throw a}finally{Je(s),Sn(o)}}resolveInjectorInitializers(){const t=ce(null),r=Sn(this),n=Je(void 0);let i;try{const o=this.get(Yr,tt,ue.Self);for(const s of o)s()}finally{Sn(r),Je(n),ce(t)}}toString(){const t=[],r=this.records;for(const n of r.keys())t.push(lt(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new V(205,!1)}processProvider(t){t=et(t);let r=Fu(t)?t:et(t&&t.provide);const n=zC(t);if(!Fu(t)&&t.multi===!0){let i=this.records.get(r);i||(i=Mr(void 0,Zo,!0),i.factory=()=>bu(i.multi),this.records.set(r,i)),r=t,i.multi.push(t)}this.records.set(r,n)}hydrate(t,r){const n=ce(null);try{return r.value===Zo&&(r.value=UC,r.value=r.factory()),typeof r.value=="object"&&r.value&&ZC(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{ce(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;const r=et(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){const r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}}function Su(e){const t=Js(e),r=t!==null?t.factory:rr(e);if(r!==null)return r;if(e instanceof z)throw new V(204,!1);if(e instanceof Function)return VC(e);throw new V(204,!1)}function VC(e){if(e.length>0)throw new V(204,!1);const r=eC(e);return r!==null?()=>r.factory(e):()=>new e}function zC(e){if(Ng(e))return Mr(void 0,e.useValue);{const t=GC(e);return Mr(t,Zo)}}function GC(e,t,r){let n;if(Fu(e)){const i=et(e);return rr(i)||Su(i)}else if(Ng(e))n=()=>et(e.useValue);else if(HC(e))n=()=>e.useFactory(...bu(e.deps||[]));else if($C(e))n=()=>te(et(e.useExisting));else{const i=et(e&&(e.useClass||e.provide));if(qC(e))n=()=>new i(...bu(e.deps));else return rr(i)||Su(i)}return n}function Mr(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function qC(e){return!!e.deps}function ZC(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function WC(e){return typeof e=="function"||typeof e=="object"&&e instanceof z}function xu(e,t){for(const r of e)Array.isArray(r)?xu(r,t):r&&mg(r)?xu(r.ɵproviders,t):t(r)}function _n(e,t){e instanceof Zl&&e.assertNotDestroyed();let r;const n=Sn(e),i=Je(void 0);try{return t()}finally{Sn(n),Je(i)}}function Pg(){return vg()!==void 0||fC()!=null}function YC(e){if(!Pg())throw new V(-203,!1)}function KC(e){return typeof e=="function"}const ft=0,X=1,Q=2,He=3,Bt=4,Ut=5,tn=6,Gr=7,ct=8,Kr=9,nn=10,Me=11,Li=12,af=13,to=14,At=15,ir=16,Rr=17,jt=18,ta=19,Lg=20,Rn=21,$a=22,_t=23,Re=25,Bg=1,Bi=6,Dn=7,ys=8,Qr=9,$e=10;var Ds=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ds||{});function $t(e){return Array.isArray(e)&&typeof e[Bg]=="object"}function rn(e){return Array.isArray(e)&&e[Bg]===!0}function jg(e){return(e.flags&4)!==0}function no(e){return e.componentOffset>-1}function Wl(e){return(e.flags&1)===1}function ro(e){return!!e.template}function Es(e){return(e[Q]&512)!==0}class QC{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}}function $g(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}function ui(){return Hg}function Hg(e){return e.type.prototype.ngOnChanges&&(e.setInput=JC),XC}ui.ngInherit=!0;function XC(){const e=Vg(this),t=e?.current;if(t){const r=e.previous;if(r===Ln)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function JC(e,t,r,n,i){const o=this.declaredInputs[n],s=Vg(e)||ew(e,{previous:Ln,current:null}),a=s.current||(s.current={}),u=s.previous,l=u[o];a[o]=new QC(l&&l.currentValue,r,u===Ln),$g(e,t,i,r)}const Ug="__ngSimpleChanges__";function Vg(e){return e[Ug]||null}function ew(e,t){return e[Ug]=t}let uf=null;const Wt=function(e,t,r){uf?.(e,t,r)},tw="svg",nw="math";function Ht(e){for(;Array.isArray(e);)e=e[ft];return e}function zg(e,t){return Ht(t[e])}function pt(e,t){return Ht(t[e.index])}function Yl(e,t){return e.data[t]}function Gg(e,t){return e[t]}function Un(e,t){const r=t[e];return $t(r)?r:r[ft]}function rw(e){return(e[Q]&4)===4}function Kl(e){return(e[Q]&128)===128}function iw(e){return rn(e[He])}function ji(e,t){return t==null?null:e[t]}function qg(e){e[Rr]=0}function Zg(e){e[Q]&1024||(e[Q]|=1024,Kl(e)&&ra(e))}function na(e){return!!(e[Q]&9216||e[_t]?.dirty)}function Iu(e){e[nn].changeDetectionScheduler?.notify(8),e[Q]&64&&(e[Q]|=1024),na(e)&&ra(e)}function ra(e){e[nn].changeDetectionScheduler?.notify(0);let t=or(e);for(;t!==null&&!(t[Q]&8192||(t[Q]|=8192,!Kl(t)));)t=or(t)}function Wg(e,t){if((e[Q]&256)===256)throw new V(911,!1);e[Rn]===null&&(e[Rn]=[]),e[Rn].push(t)}function ow(e,t){if(e[Rn]===null)return;const r=e[Rn].indexOf(t);r!==-1&&e[Rn].splice(r,1)}function or(e){const t=e[He];return rn(t)?t[He]:t}const de={lFrame:nm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Yg=!1;function sw(){return de.lFrame.elementDepthCount}function aw(){de.lFrame.elementDepthCount++}function uw(){de.lFrame.elementDepthCount--}function ia(){return de.skipHydrationRootTNode!==null}function lw(e){return de.skipHydrationRootTNode===e}function cw(e){de.skipHydrationRootTNode=e}function dw(){de.skipHydrationRootTNode=null}function he(){return de.lFrame.lView}function gt(){return de.lFrame.tView}function mt(){let e=Kg();for(;e!==null&&e.type===64;)e=e.parent;return e}function Kg(){return de.lFrame.currentTNode}function fw(){const e=de.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function io(e,t){const r=de.lFrame;r.currentTNode=e,r.isParent=t}function Qg(){return de.lFrame.isParent}function hw(){de.lFrame.isParent=!1}function Xg(){return Yg}function lf(e){Yg=e}function Ql(){const e=de.lFrame;let t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function pw(e){return de.lFrame.bindingIndex=e}function oo(){return de.lFrame.bindingIndex++}function gw(e){const t=de.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function mw(){return de.lFrame.inI18n}function vw(e,t){const r=de.lFrame;r.bindingIndex=r.bindingRootIndex=e,ku(t)}function yw(){return de.lFrame.currentDirectiveIndex}function ku(e){de.lFrame.currentDirectiveIndex=e}function Dw(e){const t=de.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Jg(){return de.lFrame.currentQueryIndex}function Xl(e){de.lFrame.currentQueryIndex=e}function Ew(e){const t=e[X];return t.type===2?t.declTNode:t.type===1?e[Ut]:null}function em(e,t,r){if(r&ue.SkipSelf){let i=t,o=e;for(;i=i.parent,i===null&&!(r&ue.Host);)if(i=Ew(o),i===null||(o=o[to],i.type&10))break;if(i===null)return!1;t=i,e=o}const n=de.lFrame=tm();return n.currentTNode=t,n.lView=e,!0}function Jl(e){const t=tm(),r=e[X];de.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function tm(){const e=de.lFrame,t=e===null?null:e.child;return t===null?nm(e):t}function nm(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function rm(){const e=de.lFrame;return de.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const im=rm;function ec(){const e=rm();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Dr(){return de.lFrame.selectedIndex}function sr(e){de.lFrame.selectedIndex=e}function om(){const e=de.lFrame;return Yl(e.tView,e.selectedIndex)}function sm(){return de.lFrame.currentNamespace}let am=!0;function tc(){return am}function li(e){am=e}function Cw(e,t,r){const{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(n){const s=Hg(t);(r.preOrderHooks??(r.preOrderHooks=[])).push(e,s),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,s)}i&&(r.preOrderHooks??(r.preOrderHooks=[])).push(0-e,i),o&&((r.preOrderHooks??(r.preOrderHooks=[])).push(e,o),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,o))}function nc(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r=n)break}else t[u]<0&&(e[Rr]+=65536),(a>14>16&&(e[Q]&3)===t&&(e[Q]+=16384,cf(a,o)):cf(a,o)}const qr=-1;class rc{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}}function _w(e){return e instanceof rc}function bw(e){return(e.flags&8)!==0}function Aw(e){return(e.flags&16)!==0}const Ua={};class Tw{constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,n){n=ea(n);const i=this.injector.get(t,Ua,n);return i!==Ua||r===Ua?i:this.parentInjector.get(t,r,n)}}function lm(e){return e!==qr}function Cs(e){return e&32767}function Fw(e){return e>>16}function ws(e,t){let r=Fw(e),n=t;for(;r>0;)n=n[to],r--;return n}let Mu=!0;function _s(e){const t=Mu;return Mu=e,t}const Sw=256,cm=Sw-1,dm=5;let xw=0;const Yt={};function Iw(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(bi)&&(n=r[bi]),n==null&&(n=r[bi]=xw++);const i=n&cm,o=1<>dm)]|=o}function fm(e,t){const r=hm(e,t);if(r!==-1)return r;const n=t[X];n.firstCreatePass&&(e.injectorIndex=t.length,Va(n.data,e),Va(t,null),Va(n.blueprint,null));const i=ic(e,t),o=e.injectorIndex;if(lm(i)){const s=Cs(i),a=ws(i,t),u=a[X].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|u[s+l]}return t[o+8]=i,o}function Va(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hm(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ic(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,i=t;for(;i!==null;){if(n=Dm(i),n===null)return qr;if(r++,i=i[to],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return qr}function kw(e,t,r){Iw(e,t,r)}function Mw(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;const r=e.attrs;if(r){const n=r.length;let i=0;for(;i>20,d=n?a:a+c,h=i?a+c:l;for(let f=d;f=u&&v.type===r)return f}if(i){const f=s[u];if(f&&ro(f)&&f.type===r)return u}return null}function Xr(e,t,r,n){let i=e[r];const o=t.data;if(_w(i)){const s=i;s.resolving&&aC(sC(o[r]));const a=_s(s.canSeeViewProviders);s.resolving=!0;let u;const l=s.injectImpl?Je(s.injectImpl):null,c=em(e,n,ue.Default);try{i=e[r]=s.factory(void 0,o,e,n),t.firstCreatePass&&r>=n.directiveStart&&Cw(r,o[r],t)}finally{l!==null&&Je(l),_s(a),s.resolving=!1,im()}}return i}function Ow(e){if(typeof e=="string")return e.charCodeAt(0)||0;const t=e.hasOwnProperty(bi)?e[bi]:void 0;return typeof t=="number"?t>=0?t&cm:Nw:t}function df(e,t,r){const n=1<>dm)]&n)}function ff(e,t){return!(e&ue.Self)&&!(e&ue.Host&&t)}class Ai{constructor(t,r){this._tNode=t,this._lView=r}get(t,r,n){return mm(this._tNode,this._lView,t,ea(n),r)}}function Nw(){return new Ai(mt(),he())}function ym(e){return Qi(()=>{const t=e.prototype.constructor,r=t[gs]||Ru(t),n=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==n;){const o=i[gs]||Ru(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ru(e){return hg(e)?()=>{const t=Ru(et(e));return t&&t()}:rr(e)}function Pw(e,t,r,n,i){let o=e,s=t;for(;o!==null&&s!==null&&s[Q]&2048&&!(s[Q]&512);){const a=vm(o,s,r,n|ue.Self,Yt);if(a!==Yt)return a;let u=o.parent;if(!u){const l=s[Lg];if(l){const c=l.get(r,Yt,n);if(c!==Yt)return c}u=Dm(s),s=s[to]}o=u}return i}function Dm(e){const t=e[X],r=t.type;return r===2?t.declTNode:r===1?e[Ut]:null}function Em(e){return Mw(mt(),e)}function hf(e,t=null,r=null,n){const i=Cm(e,t,r,n);return i.resolveInjectorInitializers(),i}function Cm(e,t=null,r=null,n,i=new Set){const o=[r||tt,BC(e)];return n=n||(typeof e=="object"?void 0:lt(e)),new Zl(o,t||ql(),n||null,i)}const Wn=class Wn{static create(t,r){if(Array.isArray(t))return hf({name:""},r,t,"");{const n=t.name??"";return hf({name:n},t.parent,t.providers,n)}}};Wn.THROW_IF_NOT_FOUND=Pi,Wn.NULL=new Ag,Wn.ɵprov=j({token:Wn,providedIn:"any",factory:()=>te(_g)}),Wn.__NG_ELEMENT_ID__=-1;let ar=Wn;const Lw=new z("");Lw.__NG_ELEMENT_ID__=e=>{const t=mt();if(t===null)throw new V(204,!1);if(t.type&2)return t.value;if(e&ue.Optional)return null;throw new V(204,!1)};const Bw="ngOriginalError";function za(e){return e[Bw]}const wm=!0;let oc=(()=>{const t=class t{};t.__NG_ELEMENT_ID__=$w,t.__NG_ENV_ID__=n=>n;let e=t;return e})();class jw extends oc{constructor(t){super(),this._lView=t}onDestroy(t){return Wg(this._lView,t),()=>ow(this._lView,t)}}function $w(){return new jw(he())}let Er=(()=>{const t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ct(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const 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)}};t.ɵprov=j({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();class Hw extends bt{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Pg()&&(this.destroyRef=A(oc,{optional:!0})??void 0,this.pendingTasks=A(Er,{optional:!0})??void 0)}emit(t){const r=ce(null);try{super.next(t)}finally{ce(r)}}subscribe(t,r,n){let i=t,o=r||(()=>null),s=n;if(t&&typeof t=="object"){const u=t;i=u.next?.bind(u),o=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:i,error:o,complete:s});return t instanceof en&&t.add(a),a}wrapInTimeout(t){return r=>{const n=this.pendingTasks?.add();setTimeout(()=>{t(r),n!==void 0&&this.pendingTasks?.remove(n)})}}}const nt=Hw;function bs(...e){}function _m(e){let t,r;function n(){e=bs;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{e(),n()})),()=>n()}function pf(e){return queueMicrotask(()=>e()),()=>{e=bs}}const sc="isAngularZone",As=sc+"_ID";let Uw=0;class Ne{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new nt(!1),this.onMicrotaskEmpty=new nt(!1),this.onStable=new nt(!1),this.onError=new nt(!1);const{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=wm}=t;if(typeof Zone>"u")throw new V(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,Gw(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(sc)===!0}static assertInAngularZone(){if(!Ne.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(Ne.isInAngularZone())throw new V(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,Vw,bs,bs);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}}const Vw={};function ac(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function zw(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){_m(()=>{e.callbackScheduled=!1,Ou(e),e.isCheckStableRunning=!0,ac(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ou(e)}function Gw(e){const t=()=>{zw(e)},r=Uw++;e._inner=e._inner.fork({name:"angular",properties:{[sc]:!0,[As]:r,[As+r]:!0},onInvokeTask:(n,i,o,s,a,u)=>{if(Zw(u))return n.invokeTask(o,s,a,u);try{return gf(e),n.invokeTask(o,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),mf(e)}},onInvoke:(n,i,o,s,a,u,l)=>{try{return gf(e),n.invoke(o,s,a,u,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ww(u)&&t(),mf(e)}},onHasTask:(n,i,o,s)=>{n.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ou(e),ac(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,o,s)=>(n.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ou(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function gf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function mf(e){e._nesting--,ac(e)}class qw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new nt,this.onMicrotaskEmpty=new nt,this.onStable=new nt,this.onError=new nt}run(t,r,n){return t.apply(r,n)}runGuarded(t,r,n){return t.apply(r,n)}runOutsideAngular(t){return t()}runTask(t,r,n,i){return t.apply(r,n)}}function Zw(e){return bm(e,"__ignore_ng_zone__")}function Ww(e){return bm(e,"__scheduler_tick__")}function bm(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}class ci{constructor(){this._console=console}handleError(t){const r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&za(t);for(;r&&za(r);)r=za(r);return r||null}}const Yw=new z("",{providedIn:"root",factory:()=>{const e=A(Ne),t=A(ci);return r=>e.runOutsideAngular(()=>t.handleError(r))}});function Kw(){return di(mt(),he())}function di(e,t){return new Cr(pt(e,t))}let Cr=(()=>{const t=class t{constructor(n){this.nativeElement=n}};t.__NG_ELEMENT_ID__=Kw;let e=t;return e})();function Qw(e){return e instanceof Cr?e.nativeElement:e}function Xw(){return this._results[Symbol.iterator]()}class uc{get changes(){return this._changes??(this._changes=new nt)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const r=uc.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=Xw)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,r){return this._results.reduce(t,r)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,r){this.dirty=!1;const n=yC(t);(this._changesDetected=!vC(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}}const Jw="ngSkipHydration",e_="ngskiphydration";function Am(e){const t=e.mergedAttrs;if(t===null)return!1;for(let r=0;rs_}),s_="ng",km=new z(""),on=new z("",{providedIn:"platform",factory:()=>"unknown"}),Mm=new z("",{providedIn:"root",factory:()=>so().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function a_(){const e=new fi;return A(on)==="browser"&&(e.store=u_(so(),A(lc))),e}let fi=(()=>{const t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(n,i){return this.store[n]!==void 0?this.store[n]:i}set(n,i){this.store[n]=i}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,i){this.onSerializeCallbacks[n]=i}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/null;function p_(e,t,r=!1){let n=e.getAttribute(Ga);if(n==null)return null;const[i,o]=n.split("|");if(n=r?o:i,!n)return null;const s=o?`|${o}`:"",a=r?i:s;let u={};if(n!==""){const c=t.get(fi,null,{optional:!0});c!==null&&(u=c.get(Bm,[])[Number(n)])}const l={data:u,firstChild:e.firstChild??null};return r&&(l.firstChild=e,dc(l,0,e.nextSibling)),a?e.setAttribute(Ga,a):e.removeAttribute(Ga),l}function g_(){jm=p_}function cc(e,t,r=!1){return jm(e,t,r)}function m_(e){let t=e._lView;return t[X].type===2?null:(Es(t)&&(t=t[Re]),t)}function v_(e){return e.textContent?.replace(/\s/gm,"")}function y_(e){const t=so(),r=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(o){const s=v_(o);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let n;const i=[];for(;n=r.nextNode();)i.push(n);for(const o of i)o.textContent==="ngetn"?o.replaceWith(t.createTextNode("")):o.remove()}function dc(e,t,r){e.segmentHeads??(e.segmentHeads={}),e.segmentHeads[t]=r}function Bu(e,t){return e.segmentHeads?.[t]??null}function $m(e,t){return e.data[Nm]?.[t]??null}function Hm(e,t){const r=$m(e,t)??[];let n=0;for(let i of r)n+=i[Fs]*(i[Pm]??1);return n}function D_(e){if(typeof e.disconnectedNodes>"u"){const t=e.data[Lm];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function oa(e,t){if(typeof e.disconnectedNodes>"u"){const r=e.data[Lm];e.disconnectedNodes=r?new Set(r):null}return!!D_(e)?.has(t)}const So=new z(""),Um=!1,Vm=new z("",{providedIn:"root",factory:()=>Um});let xo;function E_(){if(xo===void 0&&(xo=null,In.trustedTypes))try{xo=In.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xo}function sa(e){return E_()?.createHTML(e)||e}let Io;function zm(){if(Io===void 0&&(Io=null,In.trustedTypes))try{Io=In.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Io}function yf(e){return zm()?.createHTML(e)||e}function Df(e){return zm()?.createScriptURL(e)||e}class wr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cg})`}}class C_ extends wr{getTypeName(){return"HTML"}}class w_ extends wr{getTypeName(){return"Style"}}class __ extends wr{getTypeName(){return"Script"}}class b_ extends wr{getTypeName(){return"URL"}}class A_ extends wr{getTypeName(){return"ResourceURL"}}function dn(e){return e instanceof wr?e.changingThisBreaksApplicationSecurity:e}function xn(e,t){const r=T_(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${cg})`)}return r===t}function T_(e){return e instanceof wr&&e.getTypeName()||null}function F_(e){return new C_(e)}function S_(e){return new w_(e)}function x_(e){return new __(e)}function I_(e){return new b_(e)}function k_(e){return new A_(e)}function M_(e){const t=new O_(e);return N_()?new R_(t):t}class R_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const r=new window.DOMParser().parseFromString(sa(t),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(t):(r.firstChild?.remove(),r)}catch{return null}}}class O_{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const r=this.inertDocument.createElement("template");return r.innerHTML=sa(t),r}}function N_(){try{return!!new window.DOMParser().parseFromString(sa(""),"text/html")}catch{return!1}}const P_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fc(e){return e=String(e),e.match(P_)?e:"unsafe:"+e}function bn(e){const t={};for(const r of e.split(","))t[r]=!0;return t}function ao(...e){const t={};for(const r of e)for(const n in r)r.hasOwnProperty(n)&&(t[n]=!0);return t}const Gm=bn("area,br,col,hr,img,wbr"),qm=bn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Zm=bn("rp,rt"),L_=ao(Zm,qm),B_=ao(qm,bn("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")),j_=ao(Zm,bn("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")),Ef=ao(Gm,B_,j_,L_),Wm=bn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),$_=bn("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"),H_=bn("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"),U_=ao(Wm,$_,H_),V_=bn("script,style,template");class z_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let r=t.firstChild,n=!0,i=[];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){i.push(r),r=Z_(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let o=q_(r);if(o){r=o;break}r=i.pop()}}return this.buf.join("")}startElement(t){const r=Cf(t).toLowerCase();if(!Ef.hasOwnProperty(r))return this.sanitizedSomething=!0,!V_.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const n=t.attributes;for(let i=0;i"),!0}endElement(t){const r=Cf(t).toLowerCase();Ef.hasOwnProperty(r)&&!Gm.hasOwnProperty(r)&&(this.buf.push(""))}chars(t){this.buf.push(wf(t))}}function G_(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function q_(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ym(t);return t}function Z_(e){const t=e.firstChild;if(t&&G_(e,t))throw Ym(t);return t}function Cf(e){const t=e.nodeName;return typeof t=="string"?t:"FORM"}function Ym(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const W_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Y_=/([^\#-~ |!])/g;function wf(e){return e.replace(/&/g,"&").replace(W_,function(t){const r=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(Y_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let ko;function Km(e,t){let r=null;try{ko=ko||M_(e);let n=t?String(t):"";r=ko.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=ko.getInertBodyElement(n)}while(n!==o);const a=new z_().sanitizeChildren(_f(r)||r);return sa(a)}finally{if(r){const n=_f(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function _f(e){return"content"in e&&K_(e)?e.content:null}function K_(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Zt=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Zt||{});function Qm(e){const t=hc();return t?yf(t.sanitize(Zt.HTML,e)||""):xn(e,"HTML")?yf(dn(e)):Km(so(),Xi(e))}function Xm(e){const t=hc();return t?t.sanitize(Zt.URL,e)||"":xn(e,"URL")?dn(e):fc(Xi(e))}function Q_(e){const t=hc();if(t)return Df(t.sanitize(Zt.RESOURCE_URL,e)||"");if(xn(e,"ResourceURL"))return Df(dn(e));throw new V(904,!1)}function X_(e,t){return e==="base"||e==="link"?Q_:Xm}function J_(e,t,r){return X_(t)(e)}function hc(){const e=he();return e&&e[nn].sanitizer}function eb(e){return e.ownerDocument.body}function Jm(e){return e instanceof Function?e():e}function Mo(e){return A(ar).get(on)==="browser"}var Or=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Or||{});let tb;function pc(e,t){return tb(e,t)}function Nr(e,t,r,n,i){if(n!=null){let o,s=!1;rn(n)?o=n:$t(n)&&(s=!0,n=n[ft]);const a=Ht(n);e===0&&r!==null?i==null?rv(t,r,a):Ss(t,r,a,i||null,!0):e===1&&r!==null?Ss(t,r,a,i||null,!0):e===2?yc(t,a,s):e===3&&t.destroyNode(a),o!=null&&mb(t,e,o,r,i)}}function ev(e,t){return e.createText(t)}function nb(e,t,r){e.setValue(t,r)}function gc(e,t,r){return e.createElement(t,r)}function rb(e,t){tv(e,t),t[ft]=null,t[Ut]=null}function ib(e,t,r,n,i,o){n[ft]=i,n[Ut]=t,ua(e,n,r,1,i,o)}function tv(e,t){t[nn].changeDetectionScheduler?.notify(9),ua(e,t,t[Me],2,null,null)}function ob(e){let t=e[Li];if(!t)return qa(e[X],e);for(;t;){let r=null;if($t(t))r=t[Li];else{const n=t[$e];n&&(r=n)}if(!r){for(;t&&!t[Bt]&&t!==e;)$t(t)&&qa(t[X],t),t=t[He];t===null&&(t=e),$t(t)&&qa(t[X],t),r=t&&t[Bt]}t=r}}function sb(e,t,r,n){const i=$e+n,o=r.length;n>0&&(r[i-1][Bt]=t),n0&&(e[r-1][Bt]=n[Bt]);const o=vs(e,$e+t);rb(n[X],n);const s=o[jt];s!==null&&s.detachView(o[X]),n[He]=null,n[Bt]=null,n[Q]&=-129}return n}function aa(e,t){if(!(t[Q]&256)){const r=t[Me];r.destroyNode&&ua(e,t,r,3,null,null),ob(t)}}function qa(e,t){if(t[Q]&256)return;const r=ce(null);try{t[Q]&=-129,t[Q]|=256,t[_t]&&Lp(t[_t]),ub(e,t),ab(e,t),t[X].type===1&&t[Me].destroy();const n=t[ir];if(n!==null&&rn(t[He])){n!==t[He]&&mc(n,t);const i=t[jt];i!==null&&i.detachView(e)}Nu(t)}finally{ce(r)}}function ab(e,t){const r=e.cleanup,n=t[Gr];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{const s=n[r[o+1]];r[o].call(s)}n!==null&&(t[Gr]=null);const i=t[Rn];if(i!==null){t[Rn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[n.directiveStart+i];if(o===gn.None||o===gn.Emulated)return null}return pt(n,r)}}function Ss(e,t,r,n,i){e.insertBefore(t,r,n,i)}function rv(e,t,r){e.appendChild(t,r)}function bf(e,t,r,n,i){n!==null?Ss(e,t,r,n,i):rv(e,t,r)}function iv(e,t){return e.parentNode(t)}function db(e,t){return e.nextSibling(t)}function fb(e,t,r){return pb(e,t,r)}function hb(e,t,r){return e.type&40?pt(e,r):null}let pb=hb;function vc(e,t,r,n){const i=lb(e,n,t),o=t[Me],s=n.parent||t[Ut],a=fb(s,n,t);if(i!=null)if(Array.isArray(r))for(let u=0;uRe&&lv(e,t,Re,!1),Wt(s?2:0,i),r(n,i)}finally{sr(o),Wt(s?3:1,i)}}function hv(e,t,r){if(jg(t)){const n=ce(null);try{const i=t.directiveStart,o=t.directiveEnd;for(let s=i;snull;function bb(e){Tm(e)?sv(e):y_(e)}function Ab(){vv=bb}function Tb(e,t,r,n){const i=_v(t);i.push(r),e.firstCreatePass&&bv(e).push(n,i.length-1)}function Fb(e,t,r,n,i,o){let s=t?t.injectorIndex:-1,a=0;return ia()&&(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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Af(e,t,r,n,i){for(let o in t){if(!t.hasOwnProperty(o))continue;const s=t[o];if(s===void 0)continue;n??(n={});let a,u=Bn.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let l=o;if(i!==null){if(!i.hasOwnProperty(o))continue;l=i[o]}e===0?Tf(n,r,l,a,u):Tf(n,r,l,a)}return n}function Tf(e,t,r,n,i){let o;e.hasOwnProperty(r)?(o=e[r]).push(t,n):o=e[r]=[t,n],i!==void 0&&o.push(i)}function Sb(e,t,r){const n=t.directiveStart,i=t.directiveEnd,o=e.data,s=t.attrs,a=[];let u=null,l=null;for(let c=n;c0;){const r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function Ob(e,t,r,n){const i=r.directiveStart,o=r.directiveEnd;no(r)&&Hb(t,r,e.data[i+r.componentOffset]),e.firstCreatePass||fm(r,t),ur(n,t);const s=r.initialInputs;for(let a=i;a{ra(e.lView)},consumerOnSignalRead(){this.lView[_t]=this}};function tA(e){const t=e[_t]??Object.create(nA);return t.lView=e,t}const nA={...Np,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=or(e.lView);for(;t&&!xv(t[X]);)t=or(t);t&&Zg(t)},consumerOnSignalRead(){this.lView[_t]=this}};function xv(e){return e.type!==2}const rA=100;function Iv(e,t=!0,r=0){const n=e[nn],i=n.rendererFactory,o=!1;o||i.begin?.();try{iA(e,r)}catch(s){throw t&&Av(e,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function iA(e,t){const r=Xg();try{lf(!0),Uu(e,t);let n=0;for(;na(e);){if(n===rA)throw new V(103,!1);n++,Uu(e,1)}}finally{lf(r)}}function oA(e,t,r,n){const i=t[Q];if((i&256)===256)return;const o=!1,s=!1;!o&&t[nn].inlineEffectRunner?.flush(),Jl(t);let a=!0,u=null,l=null;o||(xv(e)?(l=Qb(t),u=Gd(l)):Y0()===null?(a=!1,l=tA(t),u=Gd(l)):t[_t]&&(Lp(t[_t]),t[_t]=null));try{qg(t),pw(e.bindingStartIndex),r!==null&&fv(e,t,r,2,n);const c=(i&3)===3;if(!o)if(c){const f=e.preOrderCheckHooks;f!==null&&Wo(t,f,null)}else{const f=e.preOrderHooks;f!==null&&Yo(t,f,0,null),Ha(t,0)}if(s||sA(t),kv(t,0),e.contentQueries!==null&&wv(e,t),!o)if(c){const f=e.contentCheckHooks;f!==null&&Wo(t,f)}else{const f=e.contentHooks;f!==null&&Yo(t,f,1),Ha(t,1)}Db(e,t);const d=e.components;d!==null&&Rv(t,d,0);const h=e.viewQuery;if(h!==null&&Hu(2,h,n),!o)if(c){const f=e.viewCheckHooks;f!==null&&Wo(t,f)}else{const f=e.viewHooks;f!==null&&Yo(t,f,2),Ha(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[$a]){for(const f of t[$a])f();t[$a]=null}o||(t[Q]&=-73)}catch(c){throw o||ra(t),c}finally{l!==null&&(Q0(l,u),a&&Jb(l)),ec()}}function kv(e,t){for(let r=Sm(e);r!==null;r=xm(r))for(let n=$e;n-1&&($i(t,n),vs(r,n))}this._attachedToViewContainer=!1}aa(this._lView[X],this._lView)}onDestroy(t){Wg(this._lView,t)}markForCheck(){bc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Q]&=-129}reattach(){Iu(this._lView),this._lView[Q]|=128}detectChanges(){this._lView[Q]|=1024,Iv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new V(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Es(this._lView),r=this._lView[ir];r!==null&&!t&&mc(r,this._lView),tv(this._lView[X],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new V(902,!1);this._appRef=t;const r=Es(this._lView),n=this._lView[ir];n!==null&&!r&&nv(n,this._lView),Iu(this._lView)}}let En=(()=>{const t=class t{};t.__NG_ELEMENT_ID__=cA;let e=t;return e})();const uA=En,lA=class extends uA{constructor(t,r,n){super(),this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){const i=fa(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:n});return new Ui(i)}};function cA(){return Ac(mt(),he())}function Ac(e,t){return e.type&4?new lA(t,e,di(e,t)):null}const dA=new RegExp(`^(\\d+)*(${Om}|${Rm})*(.*)`);function fA(e){const t=e.match(dA),[r,n,i,o]=t,s=n?parseInt(n,10):i,a=[];for(const[u,l,c]of o.matchAll(/(f|n)(\d*)/g)){const d=parseInt(c,10)||1;a.push(l,d)}return[s,...a]}function hA(e){return!e.prev&&e.parent?.type===8}function Za(e){return e.index-Re}function pA(e,t){const r=e.i18nNodes;if(r)return r.get(t)}function Tc(e,t,r,n){const i=Za(n);let o=pA(e,i);if(o===void 0){const s=e.data[d_];if(s?.[i])o=mA(s[i],r);else if(t.firstChild===n)o=e.firstChild;else{const a=n.prev===null,u=n.prev??n.parent;if(hA(n)){const l=Za(n.parent);o=Bu(e,l)}else{let l=pt(u,r);if(a)o=l.firstChild;else{const c=Za(u),d=Bu(e,c);if(u.type===2&&d){const f=Hm(e,c)+1;o=Fc(f,d)}else o=l.nextSibling}}}}return o}function Fc(e,t){let r=t;for(let n=0;n0&&(o.firstChild=e,e=Fc(n[Fs],e)),r.push(o)}return[e,r]}let Pv=()=>null;function wA(e,t){const r=e[Bi];return!t||r===null||r.length===0?null:r[0].data[c_]===t?r.shift():(Ov(e),null)}function _A(){Pv=wA}function Vi(e,t){return Pv(e,t)}class pa{}const Sc=new z("",{providedIn:"root",factory:()=>!1});const Lv=new z(""),Bv=new z("");class bA{}class jv{}function AA(e){const t=Error(`No component factory found for ${lt(e)}.`);return t[TA]=e,t}const TA="ngComponent";class FA{resolveComponentFactory(t){throw AA(t)}}const kd=class kd{};kd.NULL=new FA;let Jr=kd;class xc{}let Ic=(()=>{const t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>SA();let e=t;return e})();function SA(){const e=he(),t=mt(),r=Un(t.index,e);return($t(r)?r:e)[Me]}let xA=(()=>{const t=class t{};t.ɵprov=j({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();function Vu(e,t,r){let n=r?e.styles:null,i=r?e.classes:null,o=0;if(t!==null)for(let s=0;s0&&av(e,r,o.join(" "))}}function LA(e,t,r){const n=e.projection=[];for(let i=0;i{const t=class t{};t.__NG_ELEMENT_ID__=jA;let e=t;return e})();function jA(){const e=mt();return Uv(e,he())}const $A=Ft,Hv=class extends $A{constructor(t,r,n){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return di(this._hostTNode,this._hostLView)}get injector(){return new Ai(this._hostTNode,this._hostLView)}get parentInjector(){const t=ic(this._hostTNode,this._hostLView);if(lm(t)){const r=ws(t,this._hostLView),n=Cs(t),i=r[X].data[n+8];return new Ai(i,r)}else return new Ai(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const r=Sf(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-$e}createEmbeddedView(t,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);const s=Vi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Hi(this._hostTNode,s)),a}createComponent(t,r,n,i,o){const s=t&&!KC(t);let a;if(s)a=r;else{const v=r||{};a=v.index,n=v.injector,i=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}const u=s?t:new kc(jn(t)),l=n||this.parentInjector;if(!o&&u.ngModule==null){const C=(s?l:this.parentInjector).get(yn,null);C&&(o=C)}const c=jn(u.componentType??{}),d=Vi(this._lContainer,c?.id??null),h=d?.firstChild??null,f=u.create(l,i,h,o);return this.insertImpl(f.hostView,a,Hi(this._hostTNode,d)),f}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){const i=t._lView;if(iw(i)){const a=this.indexOf(t);if(a!==-1)this.detach(a);else{const u=i[He],l=new Hv(u,u[Ut],u[He]);l.detach(l.indexOf(t))}}const o=this._adjustIndex(r),s=this._lContainer;return ha(s,i,o,n),t.attachToViewContainerRef(),wg(Wa(s),o,t),t}move(t,r){return this.insert(t,r)}indexOf(t){const r=Sf(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){const r=this._adjustIndex(t,-1),n=$i(this._lContainer,r);n&&(vs(Wa(this._lContainer),r),aa(n[X],n))}detach(t){const r=this._adjustIndex(t,-1),n=$i(this._lContainer,r);return n&&vs(Wa(this._lContainer),r)!=null?new Ui(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function Sf(e){return e[ys]}function Wa(e){return e[ys]||(e[ys]=[])}function Uv(e,t){let r;const n=t[e.index];return rn(n)?r=n:(r=Cv(n,t,null,e),t[e.index]=r,da(t,r)),Vv(r,t,e,n),new Hv(r,e,t)}function HA(e,t){const r=e[Me],n=r.createComment(""),i=pt(t,e),o=iv(r,i);return Ss(r,o,n,db(r,i),!1),n}let Vv=zv,Mc=()=>!1;function UA(e,t,r){return Mc(e,t,r)}function zv(e,t,r,n){if(e[Dn])return;let i;r.type&8?i=Ht(n):i=HA(t,r),e[Dn]=i}function VA(e,t,r){if(e[Dn]&&e[Bi])return!0;const n=r[tn],i=t.index-Re;if(!n||t_(t)||oa(n,i))return!1;const s=Bu(n,i),a=n.data[Nm]?.[i],[u,l]=CA(s,a);return e[Dn]=u,e[Bi]=l,!0}function zA(e,t,r,n){Mc(e,r,t)||zv(e,t,r,n)}function GA(){Vv=zA,Mc=VA}class Rc{constructor(t){this.queryList=t,this.matches=null}clone(){return new Rc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Oc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const r=t.queries;if(r!==null){const n=t.contentQueries!==null?t.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{const l=o[a+1],c=t[-u];for(let d=$e;dt.trim())}function tT(e,t,r){e.queries===null&&(e.queries=new Nc),e.queries.track(new Pc(t,r))}function Lc(e,t){return e.queries.getByIndex(t)}function nT(e,t){const r=e[X],n=Lc(r,t);return n.crossesNgTemplate?zu(r,e,t,[]):Gv(r,e,n,t)}const xf=new Set;function hi(e){xf.has(e)||(xf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function qv(e){const t=r=>{const n=(Array.isArray(e)?e:e()).map(i=>typeof i=="function"?{directive:et(i),inputs:Ln,outputs:Ln}:{directive:et(i.directive),inputs:If(i.inputs),outputs:If(i.outputs)});r.hostDirectives===null?(r.findHostDirectiveDefs=Zv,r.hostDirectives=n):r.hostDirectives.unshift(...n)};return t.ngInherit=!0,t}function Zv(e,t,r){if(e.hostDirectives!==null)for(const n of e.hostDirectives){const i=Vl(n.directive);rT(i.declaredInputs,n.inputs),Zv(i,t,r),r.set(i,n),t.push(i)}}function If(e){if(e===void 0||e.length===0)return Ln;const t={};for(let r=0;rr()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class sT extends Wv{constructor(t){super(),this.moduleType=t}create(t){return new Yv(this.moduleType,t,[])}}class Kv extends ei{constructor(t){super(),this.componentFactoryResolver=new $v(this),this.instance=null;const r=new Zl([...t.providers,{provide:ei,useValue:this},{provide:Jr,useValue:this.componentFactoryResolver}],t.parent||ql(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Qv(e,t,r=null){return new Kv({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}function Xv(e){return Bc(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function aT(e,t){if(Array.isArray(e))for(let r=0;r{const t=class t{constructor(){this.impl=null}execute(){this.impl?.execute()}};t.ɵprov=j({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();const Yn=class Yn{constructor(){this.ngZone=A(Ne),this.scheduler=A(pa),this.errorHandler=A(ci,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){this.executing=!0;for(const t of Yn.PHASES)for(const r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[t]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[t](r.pipelinedValue))}catch(n){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(n)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}};Yn.PHASES=[Di.EarlyRead,Di.Write,Di.MixedReadWrite,Di.Read],Yn.ɵprov=j({token:Yn,providedIn:"root",factory:()=>new Yn});let kf=Yn;function ry(e,t,r,n){const i=he(),o=oo();if(Cn(i,o,t)){const s=gt(),a=om();Ub(a,i,e,t,r,n)}return ry}function pT(e,t,r,n){return Cn(e,oo(),r)?t+Xi(r)+n:An}function Ro(e,t){return e<<17|t<<2}function lr(e){return e>>17&32767}function gT(e){return(e&2)==2}function mT(e,t){return e&131071|t<<17}function Gu(e){return e|2}function ti(e){return(e&131068)>>2}function Ya(e,t){return e&-131069|t<<2}function vT(e){return(e&1)===1}function qu(e){return e|1}function yT(e,t,r,n,i,o){let s=t.classBindings,a=lr(s),u=ti(s);e[n]=r;let l=!1,c;if(Array.isArray(r)){const d=r;c=d[1],(c===null||Ji(d,c)>0)&&(l=!0)}else c=r;if(i)if(u!==0){const h=lr(e[a+1]);e[n+1]=Ro(h,a),h!==0&&(e[h+1]=Ya(e[h+1],n)),e[a+1]=mT(e[a+1],n)}else e[n+1]=Ro(a,0),a!==0&&(e[a+1]=Ya(e[a+1],n)),a=n;else e[n+1]=Ro(u,0),a===0?a=n:e[u+1]=Ya(e[u+1],n),u=n;l&&(e[n+1]=Gu(e[n+1])),Mf(e,c,n,!0),Mf(e,c,n,!1),DT(t,c,e,n),s=Ro(a,u),t.classBindings=s}function DT(e,t,r,n,i){const o=e.residualClasses;o!=null&&typeof t=="string"&&Ji(o,t)>=0&&(r[n+1]=qu(r[n+1]))}function Mf(e,t,r,n){const i=e[r+1],o=t===null;let s=n?lr(i):ti(i),a=!1;for(;s!==0&&(a===!1||o);){const u=e[s],l=e[s+1];ET(u,t)&&(a=!0,e[s+1]=n?qu(l):Gu(l)),s=n?lr(l):ti(l)}a&&(e[r+1]=n?Gu(i):qu(i))}function ET(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Ji(e,t)>=0:!1}const Pt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function CT(e){return e.substring(Pt.key,Pt.keyEnd)}function wT(e){return _T(e),iy(e,oy(e,0,Pt.textEnd))}function iy(e,t){const r=Pt.textEnd;return r===t?-1:(t=Pt.keyEnd=bT(e,Pt.key=t,r),oy(e,t,r))}function _T(e){Pt.key=0,Pt.keyEnd=0,Pt.value=0,Pt.valueEnd=0,Pt.textEnd=e.length}function oy(e,t,r){for(;t32;)t++;return t}function ma(e,t,r){const n=he(),i=oo();if(Cn(n,i,t)){const o=gt(),s=om();Ib(o,s,n,e,t,n[Me],r)}return ma}function Zu(e,t,r,n,i){const o=t.inputs,s=i?"class":"style";wc(e,r,o[s],s,n)}function sy(e){TT(RT,AT,e,!0)}function AT(e,t){for(let r=wT(t);r>=0;r=iy(t,r))$l(e,CT(t),!0)}function TT(e,t,r,n){const i=gt(),o=gw(2);i.firstUpdatePass&&FT(i,null,o,n);const s=he();if(r!==An&&Cn(s,o,r)){const a=i.data[Dr()];if(uy(a)&&!ay(i,o)){let u=a.classesWithoutHost;u!==null&&(r=Cu(u,r||"")),Zu(i,a,s,r,n)}else OT(i,a,s,s[Me],s[o+1],s[o+1]=MT(e,t,r),n,o)}}function ay(e,t){return t>=e.expandoStartIndex}function FT(e,t,r,n){const i=e.data;if(i[r+1]===null){const o=i[Dr()],s=ay(e,r);uy(o)&&t===null&&!s&&(t=!1),t=ST(i,o,t,n),yT(i,o,t,r,s)}}function ST(e,t,r,n){const i=Dw(e);let o=t.residualClasses;if(i===null)t.classBindings===0&&(r=Ka(null,e,t,r),r=zi(r,t.attrs),o=null);else{const s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(r=Ka(i,e,t,r),o===null){let u=xT(e,t);u!==void 0&&Array.isArray(u)&&(u=Ka(null,e,t,u[1]),u=zi(u,t.attrs),IT(e,t,n,u))}else o=kT(e,t)}return o!==void 0&&(t.residualClasses=o),r}function xT(e,t,r){const n=t.classBindings;if(ti(n)!==0)return e[lr(n)]}function IT(e,t,r,n){const i=t.classBindings;e[lr(i)]=n}function kT(e,t,r){let n;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0;){const u=e[i],l=Array.isArray(u),c=l?u[1]:u,d=c===null;let h=r[i+1];h===An&&(h=d?tt:void 0);let f=d?Ba(h,n):c===n?h:void 0;if(l&&!ks(f)&&(f=Ba(u,n)),ks(f)&&(a=f,s))return a;const v=e[i+1];i=s?lr(v):ti(v)}if(t!==null){let u=t.residualClasses;u!=null&&(a=Ba(u,n))}return a}function ks(e){return e!==void 0}function uy(e,t){return(e.flags&8)!==0}class PT{destroy(t){}updateValue(t,r){}swap(t,r){const n=Math.min(t,r),i=Math.max(t,r),o=this.detach(i);if(i-n>1){const s=this.detach(n);this.attach(n,o),this.attach(i,s)}else this.attach(n,o)}move(t,r){this.attach(r,this.detach(t))}}function Qa(e,t,r,n,i){return e===r&&Object.is(t,n)?1:Object.is(i(e,t),i(r,n))?-1:0}function LT(e,t,r){let n,i,o=0,s=e.length-1;const a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;o<=s&&o<=u;){const l=e.at(o),c=t[o],d=Qa(o,l,o,c,r);if(d!==0){d<0&&e.updateValue(o,c),o++;continue}const h=e.at(s),f=t[u],v=Qa(s,h,u,f,r);if(v!==0){v<0&&e.updateValue(s,f),s--,u--;continue}const C=r(o,l),D=r(s,h),b=r(o,c);if(Object.is(b,D)){const p=r(u,f);Object.is(p,C)?(e.swap(o,s),e.updateValue(s,f),u--,s--):e.move(s,o),e.updateValue(o,c),o++;continue}if(n??(n=new Pf),i??(i=Nf(e,o,s,r)),Wu(e,n,o,b))e.updateValue(o,c),o++,s++;else if(i.has(b))n.set(C,e.detach(o)),s--;else{const p=e.create(o,t[o]);e.attach(o,p),o++,s++}}for(;o<=u;)Of(e,n,r,o,t[o]),o++}else if(t!=null){const u=t[Symbol.iterator]();let l=u.next();for(;!l.done&&o<=s;){const c=e.at(o),d=l.value,h=Qa(o,c,o,d,r);if(h!==0)h<0&&e.updateValue(o,d),o++,l=u.next();else{n??(n=new Pf),i??(i=Nf(e,o,s,r));const f=r(o,d);if(Wu(e,n,o,f))e.updateValue(o,d),o++,s++,l=u.next();else if(!i.has(f))e.attach(o,e.create(o,d)),o++,s++,l=u.next();else{const v=r(o,c);n.set(v,e.detach(o)),s--}}}for(;!l.done;)Of(e,n,r,e.length,l.value),l=u.next()}for(;o<=s;)e.destroy(e.detach(s--));n?.forEach(u=>{e.destroy(u)})}function Wu(e,t,r,n){return t!==void 0&&t.has(n)?(e.attach(r,t.get(n)),t.delete(n),!0):!1}function Of(e,t,r,n,i){if(Wu(e,t,n,r(n,i)))e.updateValue(n,i);else{const o=e.create(n,i);e.attach(n,o)}}function Nf(e,t,r,n){const i=new Set;for(let o=t;o<=r;o++)i.add(n(o,e.at(o)));return i}class Pf{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const r=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(t,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,r){if(this.kvMap.has(t)){let n=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);const i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,r)}else this.kvMap.set(t,r)}forEach(t){for(let[r,n]of this.kvMap)if(t(n,r),this._vMap!==void 0){const i=this._vMap;for(;i.has(n);)n=i.get(n),t(n,r)}}}function hP(e,t){hi("NgControlFlow");const r=he(),n=oo(),i=r[n]!==An?r[n]:-1,o=i!==-1?Ms(r,Re+i):void 0,s=0;if(Cn(r,n,e)){const a=ce(null);try{if(o!==void 0&&Fv(o,s),e!==-1){const u=Re+e,l=Ms(r,u),c=Yu(r[X],u),d=Vi(l,c.tView.ssrId),h=fa(r,c,t,{dehydratedView:d});ha(l,h,s,Hi(c,d))}}finally{ce(a)}}else if(o!==void 0){const a=Tv(o,s);a!==void 0&&(a[ct]=t)}}class BT{constructor(t,r,n){this.lContainer=t,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-$e}}function jT(e){return e}class $T{constructor(t,r,n){this.hasEmptyBlock=t,this.trackByFn=r,this.liveCollection=n}}function HT(e,t,r,n,i,o,s,a,u,l,c,d,h){hi("NgControlFlow");const f=he(),v=gt(),C=u!==void 0,D=he(),b=s,p=new $T(C,b);D[Re+e]=p,ey(f,v,e+1,t,r,n,i,ji(v.consts,o))}class UT extends PT{constructor(t,r,n){super(),this.lContainer=t,this.hostLView=r,this.templateTNode=n,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-$e}at(t){return this.getLView(t)[ct].$implicit}attach(t,r){const n=r[tn];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),ha(this.lContainer,r,t,Hi(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),zT(this.lContainer,t)}create(t,r){const n=Vi(this.lContainer,this.templateTNode.tView.ssrId),i=fa(this.hostLView,this.templateTNode,new BT(this.lContainer,r,t),{dehydratedView:n});return this.operationsCounter?.recordCreate(),i}destroy(t){aa(t[X],t),this.operationsCounter?.recordDestroy()}updateValue(t,r){this.getLView(t)[ct].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(li(!0),gc(n,i,sm()));function ZT(e,t,r,n,i,o){const s=t[tn],a=!s||ia()||ga(r)||oa(s,o);if(li(a),a)return gc(n,i,sm());const u=Tc(s,e,t,r);return $m(s,o)&&dc(s,o,u.nextSibling),s&&(Am(r)||Tm(u))&&no(r)&&(cw(r),sv(u)),u}function WT(){ly=ZT}const Zn=void 0;function YT(e){const t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var KT=["en",[["a","p"],["AM","PM"],Zn],[["AM","PM"],Zn,Zn],[["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"]],Zn,[["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"]],Zn,[["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}",Zn,"{1} 'at' {0}",Zn],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",YT];let Xa={};function st(e){const t=XT(e);let r=Lf(t);if(r)return r;const n=t.split("-")[0];if(r=Lf(n),r)return r;if(n==="en")return KT;throw new V(701,!1)}function QT(e){return st(e)[Te.PluralCase]}function Lf(e){return e in Xa||(Xa[e]=In.ng&&In.ng.common&&In.ng.common.locales&&In.ng.common.locales[e]),Xa[e]}var Te=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Te||{});function XT(e){return e.toLowerCase().replace(/_/g,"-")}const Ku="en-US",JT="USD";function eF(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function jc(e,t,r,n){const i=he(),o=gt(),s=mt();return nF(o,i,i[Me],s,e,t,n),jc}function tF(e,t,r,n){const i=e.cleanup;if(i!=null)for(let o=0;ou?a[u]:null}typeof s=="string"&&(o+=2)}return null}function nF(e,t,r,n,i,o,s){const a=Wl(n),l=e.firstCreatePass&&bv(e),c=t[ct],d=_v(t);let h=!0;if(n.type&3||s){const C=pt(n,t),D=s?s(C):C,b=d.length,p=s?y=>s(Ht(y[n.index])):n.index;let g=null;if(!s&&a&&(g=tF(e,t,i,n.index)),g!==null){const y=g.__ngLastListenerFn__||g;y.__ngNextListenerFn__=o,g.__ngLastListenerFn__=o,h=!1}else{o=jf(n,t,c,o);const y=r.listen(D,i,o);d.push(o,y),l&&l.push(i,p,b,b+1)}}else o=jf(n,t,c,o);const f=n.outputs;let v;if(h&&f!==null&&(v=f[i])){const C=v.length;if(C)for(let D=0;D-1?Un(e.index,t):t;bc(s,5);let a=Bf(t,r,n,o),u=i.__ngNextListenerFn__;for(;u;)a=Bf(t,r,u,o)&&a,u=u.__ngNextListenerFn__;return a}}function rF(e,t,r){JA(e,t,r)}function iF(e){const t=he(),r=gt(),n=Jg();Xl(n+1);const i=Lc(r,n);if(e.dirty&&rw(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else{const o=nT(t,n);e.reset(o,Qw),e.notifyOnChanges()}return!0}return!1}function oF(){return QA(he(),Jg())}function sF(e,t,r,n){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}function Fn(e,t=""){const r=he(),n=gt(),i=e+Re,o=n.firstCreatePass?ca(n,i,1,t,null):n.data[i],s=cy(n,r,o,t,e);r[i]=s,tc()&&vc(n,r,s,o),io(o,!1)}let cy=(e,t,r,n,i)=>(li(!0),ev(t[Me],n));function aF(e,t,r,n,i){const o=t[tn],s=!o||ia()||ga(r)||oa(o,i);return li(s),s?ev(t[Me],n):Tc(o,e,t,r)}function uF(){cy=aF}function lF(e){return va("",e,""),lF}function va(e,t,r){const n=he(),i=pT(n,e,t,r);return i!==An&&qb(n,Dr(),i),va}let cF=(()=>{const t=class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const i=Rg(!1,n.type),o=i.length>0?Qv([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};t.ɵprov=j({token:t,providedIn:"environment",factory:()=>new t(te(yn))});let e=t;return e})();function uo(e){hi("NgStandalone"),e.getStandaloneInjector=t=>t.get(cF).getOrCreateStandaloneInjector(e)}function pP(e,t,r,n){return fy(he(),Ql(),e,t,r,n)}function dy(e,t){const r=e[t];return r===An?void 0:r}function fy(e,t,r,n,i,o){const s=t+r;return Cn(e,s,i)?Jv(e,s+1,o?n.call(o,i):n(i)):dy(e,s+1)}function dF(e,t,r,n,i,o,s){const a=t+r;return uT(e,a,i,o)?Jv(e,a+2,s?n.call(s,i,o):n(i,o)):dy(e,a+2)}function fF(e,t){const r=gt();let n;const i=e+Re;r.firstCreatePass?(n=hF(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];const o=n.factory||(n.factory=rr(n.type,!0));let s;const a=Je(ae);try{const u=_s(!1),l=o();return _s(u),sF(r,he(),i,l),l}finally{Je(a)}}function hF(e,t){if(t)for(let r=t.length-1;r>=0;r--){const n=t[r];if(e===n.name)return n}}function pF(e,t,r){const n=e+Re,i=he(),o=Gg(i,n);return hy(i,n)?fy(i,Ql(),t,o.transform,r,o):o.transform(r)}function gP(e,t,r,n){const i=e+Re,o=he(),s=Gg(o,i);return hy(o,i)?dF(o,Ql(),t,s.transform,r,n,s):s.transform(r,n)}function hy(e,t){return e[X].data[t].pure}function mP(e,t){const r=jn(e);r!==null&&(r.debugInfo=t)}let gF=(()=>{const t=class t{log(n){console.log(n)}warn(n){console.warn(n)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"platform"});let e=t;return e})();const mF=new z("");function ya(e){return!!e&&typeof e.then=="function"}function py(e){return!!e&&typeof e.subscribe=="function"}const vF=new z("");let gy=(()=>{const t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=A(vF,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const s=o();if(ya(s))n.push(s);else if(py(s)){const a=new Promise((u,l)=>{s.subscribe({complete:u,error:l})});n.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();const Da=new z("");function yF(e){return e.isBoundToModule}const DF=10;function EF(e,t,r){try{const n=r();return ya(n)?n.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}let _r=(()=>{const t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=A(Yw),this.afterRenderManager=A(hT),this.zonelessEnabled=A(Sc),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new bt,this.afterTick=new bt,this.componentTypes=[],this.components=[],this.isStable=A(Er).hasPendingTasks.pipe(le(n=>!n)),this._injector=A(yn)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){const o=n instanceof jv;if(!this._injector.get(gy).done){const f=!o&&PC(n),v=!1;throw new V(405,v)}let a;o?a=n:a=this._injector.get(Jr).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const u=yF(a)?void 0:this._injector.get(ei),l=i||a.selector,c=a.create(ar.NULL,[],l,u),d=c.location.nativeElement,h=c.injector.get(mF,null);return h?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Qo(this.components,c),h?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new V(101,!1);const n=ce(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,ce(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(xc,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++na(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Qo(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(Da,[]);[...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),()=>Qo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new V(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Qo(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}let Oo;function my(e){Oo??(Oo=new WeakMap);const t=Oo.get(e);if(t)return t;const r=e.isStable.pipe(Hn(n=>n)).toPromise().then(()=>{});return Oo.set(e,r),e.onDestroy(()=>Oo?.delete(e)),r}function CF(e,t,r,n){if(!r&&!na(e))return;Iv(e,t,r&&!n?0:1)}class wF{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}}let _F=(()=>{const t=class t{compileModuleSync(n){return new sT(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),o=Ig(n),s=Jm(o.declarations).reduce((a,u)=>{const l=jn(u);return l&&a.push(new kc(l)),a},[]);return new wF(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),bF=(()=>{const t=class t{constructor(){this.zone=A(Ne),this.changeDetectionScheduler=A(pa),this.applicationRef=A(_r)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();const AF=new z("",{factory:()=>!1});function vy({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:r}){return e??(e=()=>new Ne({...yy(),scheduleInRootZone:r})),[{provide:Ne,useFactory:e},{provide:Yr,multi:!0,useFactory:()=>{const n=A(bF,{optional:!0});return()=>n.initialize()}},{provide:Yr,multi:!0,useFactory:()=>{const n=A(FF);return()=>{n.initialize()}}},t===!0?{provide:Lv,useValue:!0}:[],{provide:Bv,useValue:r??wm}]}function TF(e){const t=e?.ignoreChangesOutsideZone,r=e?.scheduleInRootZone,n=vy({ngZoneFactory:()=>{const i=yy(e);return i.scheduleInRootZone=r,i.shouldCoalesceEventChangeDetection&&hi("NgZone_CoalesceEvent"),new Ne(i)},ignoreChangesOutsideZone:t,scheduleInRootZone:r});return ai([{provide:AF,useValue:!0},{provide:Sc,useValue:!1},n])}function yy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let FF=(()=>{const t=class t{constructor(){this.subscription=new en,this.initialized=!1,this.zone=A(Ne),this.pendingTasks=A(Er)}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??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();let SF=(()=>{const t=class t{constructor(){this.appRef=A(_r),this.taskService=A(Er),this.ngZone=A(Ne),this.zonelessEnabled=A(Sc),this.disableScheduling=A(Lv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new en,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(As):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(A(Bv,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof qw||!this.zoneIsDefined))}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?pf:_m;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(As+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(n),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,pf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function xF(){return typeof $localize<"u"&&$localize.locale||Ku}const Vn=new z("",{providedIn:"root",factory:()=>A(Vn,ue.Optional|ue.SkipSelf)||xF()}),IF=new z("",{providedIn:"root",factory:()=>JT});const Qu=new z("");function No(e){return!e.moduleRef}function kF(e){const t=No(e)?e.r3Injector:e.moduleRef.injector,r=t.get(Ne);return r.run(()=>{No(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const n=t.get(ci,null);let i;if(r.runOutsideAngular(()=>{i=r.onError.subscribe({next:o=>{n.handleError(o)}})}),No(e)){const o=()=>t.destroy(),s=e.platformInjector.get(Qu);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Qu);s.add(o),e.moduleRef.onDestroy(()=>{Qo(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return EF(n,r,()=>{const o=t.get(gy);return o.runInitializers(),o.donePromise.then(()=>{const s=t.get(Vn,Ku);if(eF(s||Ku),No(e)){const a=t.get(_r);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return MF(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function MF(e,t){const r=e.injector.get(_r);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(r);else throw new V(-403,!1);t.push(e)}let Xo=null;function RF(e=[],t){return ar.create({name:t,providers:[{provide:Gl,useValue:"platform"},{provide:Qu,useValue:new Set([()=>Xo=null])},...e]})}function OF(e=[]){if(Xo)return Xo;const t=RF(e);return Xo=t,NF(t),t}function NF(e){e.get(km,null)?.forEach(r=>r())}let Dy=(()=>{const t=class t{};t.__NG_ELEMENT_ID__=PF;let e=t;return e})();function PF(e){return LF(mt(),he(),(e&16)===16)}function LF(e,t,r){if(no(e)&&!r){const n=Un(e.index,t);return new Ui(n,n)}else if(e.type&175){const n=t[At];return new Ui(n,t)}return null}class BF{constructor(){}supports(t){return Xv(t)}create(t){return new $F(t)}}const jF=(e,t)=>t;class $F{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||jF}forEachItem(t){let r;for(r=this._itHead;r!==null;r=r._next)t(r)}forEachOperation(t){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){const 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=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,r,n,i){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),t!==null?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._reinsertAfter(t,o,i)):(t=this._linkedRecords===null?null:this._linkedRecords.get(n,i),t!==null?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._moveAfter(t,o,i)):t=this._addAfter(new HF(r,n),o,i)),t}_verifyReinsertion(t,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;t!==null;){const r=t._next;this._addToRemovals(this._unlink(t)),t=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(t,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,r,n),this._addToMoves(t,n),t}_moveAfter(t,r,n){return this._unlink(t),this._insertAfter(t,r,n),this._addToMoves(t,n),t}_addAfter(t,r,n){return this._insertAfter(t,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,r,n){const i=r===null?this._itHead:r._next;return t._next=i,t._prev=r,i===null?this._itTail=t:i._prev=t,r===null?this._itHead=t:r._next=t,this._linkedRecords===null&&(this._linkedRecords=new $f),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);const r=t._prev,n=t._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,t}_addToMoves(t,r){return t.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new $f),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,r){return t.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}}class HF{constructor(t,r){this.item=t,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}}class UF{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const r=t._prevDup,n=t._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}}class $f{constructor(){this.map=new Map}put(t){const r=t.trackById;let n=this.map.get(r);n||(n=new UF,this.map.set(r,n)),n.add(t)}get(t,r){const n=t,i=this.map.get(n);return i?i.get(t,r):null}remove(t){const r=t.trackById;return this.map.get(r).remove(t)&&this.map.delete(r),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}}function Hf(e,t,r){const n=e.previousIndex;if(n===null)return n;let i=0;return r&&n{if(r&&r.key===i)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{const o=this._getOrCreateRecordForKey(i,n);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,r){if(t){const n=t._prev;return r._next=t,r._prev=n,t._prev=r,n&&(n._next=r),t===this._mapHead&&(this._mapHead=r),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(t,r){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,r);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const n=new GF(t);return this._records.set(t,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,r){Object.is(r,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=r,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,r){t instanceof Map?t.forEach(r):Object.keys(t).forEach(n=>r(t[n],n))}}class GF{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Uf(){return new Ey([new BF])}let Ey=(()=>{const t=class t{constructor(n){this.factories=n}static create(n,i){if(i!=null){const o=i.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:i=>t.create(n,i||Uf()),deps:[[t,new Cg,new Eg]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new V(901,!1)}};t.ɵprov=j({token:t,providedIn:"root",factory:Uf});let e=t;return e})();function Vf(){return new $c([new VF])}let $c=(()=>{const t=class t{constructor(n){this.factories=n}static create(n,i){if(i){const o=i.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:i=>t.create(n,i||Vf()),deps:[[t,new Cg,new Eg]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(i)return i;throw new V(901,!1)}};t.ɵprov=j({token:t,providedIn:"root",factory:Vf});let e=t;return e})();function qF(e){try{const{rootComponent:t,appProviders:r,platformProviders:n}=e,i=OF(n),o=[vy({}),{provide:pa,useExisting:SF},...r||[]],s=new Kv({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return kF({r3Injector:s.injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}}let zf=!1;function ZF(){zf||(zf=!0,g_(),WT(),uF(),fT(),GA(),_A(),Ab())}function WF(e,t){return my(e)}function YF(){return ai([{provide:So,useFactory:()=>{let e=!0;return Mo()&&(e=!!A(fi,{optional:!0})?.get(Bm,null)),e&&hi("NgHydration"),e}},{provide:Yr,useValue:()=>{Mo()&&A(So)&&(KF(),ZF())},multi:!0},{provide:Vm,useFactory:()=>Mo()&&A(So)},{provide:Da,useFactory:()=>{if(Mo()&&A(So)){const e=A(_r),t=A(ar);return()=>{WF(e,t).then(()=>{EA(e)})}}return()=>{}},multi:!0}])}function KF(){const e=so();let t;for(const r of e.body.childNodes)if(r.nodeType===Node.COMMENT_NODE&&r.textContent?.trim()===h_){t=r;break}if(!t)throw new V(-507,!1)}function Ja(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Gf(e){const t=ce(null);try{return e()}finally{ce(t)}}/** + `)}`}const Eg=Dg(dg("Optional"),8),Cg=Dg(dg("SkipSelf"),4);function rr(e,t){const r=e.hasOwnProperty(gs);return r?e[gs]:null}function vC(e,t,r){if(e.length!==t.length)return!1;for(let n=0;nArray.isArray(r)?jl(r,t):t(r))}function wg(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function vs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function DC(e,t,r,n){let i=e.length;if(i==t)e.push(r,n);else if(i===1)e.push(n,e[0]),e[0]=r;else{for(i--,e.push(e[i-1],e[i]);i>t;){const o=i-2;e[i]=e[o],i--}e[t]=r,e[t+1]=n}}function $l(e,t,r){let n=Ji(e,t);return n>=0?e[n|1]=r:(n=~n,DC(e,n,t,r)),n}function Ba(e,t){const r=Ji(e,t);if(r>=0)return e[r|1]}function Ji(e,t){return EC(e,t,1)}function EC(e,t,r){let n=0,i=e.length>>r;for(;i!==n;){const o=n+(i-n>>1),s=e[o<t?i=o:n=o+1}return~(i<t){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[c+1].toLowerCase(),n&2&&l!==d){if(Mt(n))return!1;s=!0}}}}return Mt(n)||s}function Mt(e){return(e&1)===0}function TC(e,t,r,n){if(t===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!Mt(s)&&(t+=rf(o,i),i=""),n=s,o=o||!Mt(n);r++}return i!==""&&(t+=rf(o,i)),t}function kC(e){return e.map(IC).join(",")}function MC(e){const t=[],r=[];let n=1,i=2;for(;n{const t=kg(e),r={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Tg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||gn.Emulated,styles:e.styles||tt,_:null,schemas:e.schemas||null,tView:null,id:""};Mg(r);const n=e.dependencies;return r.directiveDefs=sf(n,!1),r.pipeDefs=sf(n,!0),r.id=LC(r),r})}function RC(e){return jn(e)||Vl(e)}function OC(e){return e!==null}function NC(e){return Qi(()=>({type:e.type,bootstrap:e.bootstrap||tt,declarations:e.declarations||tt,imports:e.imports||tt,exports:e.exports||tt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function of(e,t){if(e==null)return Ln;const r={};for(const n in e)if(e.hasOwnProperty(n)){const i=e[n];let o,s,a=Bn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),t?(r[o]=a!==Bn.None?[n,a]:n,t[o]=s):r[o]=n}return r}function ot(e){return Qi(()=>{const t=kg(e);return Mg(t),t})}function ht(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function jn(e){return e[nC]||null}function Vl(e){return e[rC]||null}function xg(e){return e[iC]||null}function PC(e){const t=jn(e)||Vl(e)||xg(e);return t!==null?t.standalone:!1}function Ig(e,t){const r=e[oC]||null;if(!r&&t===!0)throw new Error(`Type ${lt(e)} does not have 'ɵmod' property.`);return r}function kg(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Ln,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||tt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:of(e.inputs,t),outputs:of(e.outputs),debugInfo:null}}function Mg(e){e.features?.forEach(t=>t(e))}function sf(e,t){if(!e)return null;const r=t?xg:RC;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(OC)}function LC(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of r)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ai(e){return{ɵproviders:e}}function BC(...e){return{ɵproviders:Rg(!0,e),ɵfromNgModule:!0}}function Rg(e,...t){const r=[],n=new Set;let i;const o=s=>{r.push(s)};return jl(t,s=>{const a=s;Tu(a,o,[],n)&&(i||(i=[]),i.push(a))}),i!==void 0&&Og(i,o),r}function Og(e,t){for(let r=0;r{t(o,n)})}}function Tu(e,t,r,n){if(e=et(e),!e)return!1;let i=null,o=Xd(e);const s=!o&&jn(e);if(!o&&!s){const u=e.ngModule;if(o=Xd(u),o)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=e}const a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){const u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(const l of u)Tu(l,t,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let l;try{jl(o.imports,c=>{Tu(c,t,r,n)&&(l||(l=[]),l.push(c))})}finally{}l!==void 0&&Og(l,t)}if(!a){const l=rr(i)||(()=>new i);t({provide:i,useFactory:l,deps:tt},i),t({provide:bg,useValue:i,multi:!0},i),t({provide:Yr,useValue:()=>te(i),multi:!0},i)}const u=o.providers;if(u!=null&&!a){const l=e;zl(u,c=>{t(c,l)})}}else return!1;return i!==e&&e.providers!==void 0}function zl(e,t){for(let r of e)mg(r)&&(r=r.ɵproviders),Array.isArray(r)?zl(r,t):t(r)}const jC=Ee({provide:String,useValue:Ee});function Ng(e){return e!==null&&typeof e=="object"&&jC in e}function $C(e){return!!(e&&e.useExisting)}function HC(e){return!!(e&&e.useFactory)}function Fu(e){return typeof e=="function"}const Gl=new z(""),Zo={},UC={};let ja;function ql(){return ja===void 0&&(ja=new Ag),ja}class yn{}class Zl extends yn{get destroyed(){return this._destroyed}constructor(t,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,xu(t,s=>this.processProvider(s)),this.records.set(_g,Mr(void 0,this)),i.has("environment")&&this.records.set(yn,Mr(void 0,this));const o=this.records.get(Gl);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(bg,tt,ue.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=ce(null);try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ce(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const r=Sn(this),n=Je(void 0);let i;try{return t()}finally{Sn(r),Je(n)}}get(t,r=Pi,n=ue.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ef))return t[ef](this);n=ea(n);let i;const o=Sn(this),s=Je(void 0);try{if(!(n&ue.SkipSelf)){let u=this.records.get(t);if(u===void 0){const l=WC(t)&&Js(t);l&&this.injectableDefInScope(l)?u=Mr(Su(t),Zo):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}const a=n&ue.Self?ql():this.parent;return r=n&ue.Optional&&r===Pi?null:r,a.get(t,r)}catch(a){if(a.name==="NullInjectorError"){if((a[ms]=a[ms]||[]).unshift(lt(t)),o)throw a;return gC(a,t,"R3InjectorError",this.source)}else throw a}finally{Je(s),Sn(o)}}resolveInjectorInitializers(){const t=ce(null),r=Sn(this),n=Je(void 0);let i;try{const o=this.get(Yr,tt,ue.Self);for(const s of o)s()}finally{Sn(r),Je(n),ce(t)}}toString(){const t=[],r=this.records;for(const n of r.keys())t.push(lt(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new V(205,!1)}processProvider(t){t=et(t);let r=Fu(t)?t:et(t&&t.provide);const n=zC(t);if(!Fu(t)&&t.multi===!0){let i=this.records.get(r);i||(i=Mr(void 0,Zo,!0),i.factory=()=>bu(i.multi),this.records.set(r,i)),r=t,i.multi.push(t)}this.records.set(r,n)}hydrate(t,r){const n=ce(null);try{return r.value===Zo&&(r.value=UC,r.value=r.factory()),typeof r.value=="object"&&r.value&&ZC(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{ce(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;const r=et(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){const r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}}function Su(e){const t=Js(e),r=t!==null?t.factory:rr(e);if(r!==null)return r;if(e instanceof z)throw new V(204,!1);if(e instanceof Function)return VC(e);throw new V(204,!1)}function VC(e){if(e.length>0)throw new V(204,!1);const r=eC(e);return r!==null?()=>r.factory(e):()=>new e}function zC(e){if(Ng(e))return Mr(void 0,e.useValue);{const t=GC(e);return Mr(t,Zo)}}function GC(e,t,r){let n;if(Fu(e)){const i=et(e);return rr(i)||Su(i)}else if(Ng(e))n=()=>et(e.useValue);else if(HC(e))n=()=>e.useFactory(...bu(e.deps||[]));else if($C(e))n=()=>te(et(e.useExisting));else{const i=et(e&&(e.useClass||e.provide));if(qC(e))n=()=>new i(...bu(e.deps));else return rr(i)||Su(i)}return n}function Mr(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function qC(e){return!!e.deps}function ZC(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function WC(e){return typeof e=="function"||typeof e=="object"&&e instanceof z}function xu(e,t){for(const r of e)Array.isArray(r)?xu(r,t):r&&mg(r)?xu(r.ɵproviders,t):t(r)}function _n(e,t){e instanceof Zl&&e.assertNotDestroyed();let r;const n=Sn(e),i=Je(void 0);try{return t()}finally{Sn(n),Je(i)}}function Pg(){return vg()!==void 0||fC()!=null}function YC(e){if(!Pg())throw new V(-203,!1)}function KC(e){return typeof e=="function"}const ft=0,X=1,Q=2,He=3,Bt=4,Ut=5,tn=6,Gr=7,ct=8,Kr=9,nn=10,Me=11,Li=12,af=13,to=14,At=15,ir=16,Rr=17,jt=18,ta=19,Lg=20,Rn=21,$a=22,_t=23,Re=25,Bg=1,Bi=6,Dn=7,ys=8,Qr=9,$e=10;var Ds=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ds||{});function $t(e){return Array.isArray(e)&&typeof e[Bg]=="object"}function rn(e){return Array.isArray(e)&&e[Bg]===!0}function jg(e){return(e.flags&4)!==0}function no(e){return e.componentOffset>-1}function Wl(e){return(e.flags&1)===1}function ro(e){return!!e.template}function Es(e){return(e[Q]&512)!==0}class QC{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}}function $g(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}function ui(){return Hg}function Hg(e){return e.type.prototype.ngOnChanges&&(e.setInput=JC),XC}ui.ngInherit=!0;function XC(){const e=Vg(this),t=e?.current;if(t){const r=e.previous;if(r===Ln)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function JC(e,t,r,n,i){const o=this.declaredInputs[n],s=Vg(e)||ew(e,{previous:Ln,current:null}),a=s.current||(s.current={}),u=s.previous,l=u[o];a[o]=new QC(l&&l.currentValue,r,u===Ln),$g(e,t,i,r)}const Ug="__ngSimpleChanges__";function Vg(e){return e[Ug]||null}function ew(e,t){return e[Ug]=t}let uf=null;const Wt=function(e,t,r){uf?.(e,t,r)},tw="svg",nw="math";function Ht(e){for(;Array.isArray(e);)e=e[ft];return e}function zg(e,t){return Ht(t[e])}function pt(e,t){return Ht(t[e.index])}function Yl(e,t){return e.data[t]}function Gg(e,t){return e[t]}function Un(e,t){const r=t[e];return $t(r)?r:r[ft]}function rw(e){return(e[Q]&4)===4}function Kl(e){return(e[Q]&128)===128}function iw(e){return rn(e[He])}function ji(e,t){return t==null?null:e[t]}function qg(e){e[Rr]=0}function Zg(e){e[Q]&1024||(e[Q]|=1024,Kl(e)&&ra(e))}function na(e){return!!(e[Q]&9216||e[_t]?.dirty)}function Iu(e){e[nn].changeDetectionScheduler?.notify(8),e[Q]&64&&(e[Q]|=1024),na(e)&&ra(e)}function ra(e){e[nn].changeDetectionScheduler?.notify(0);let t=or(e);for(;t!==null&&!(t[Q]&8192||(t[Q]|=8192,!Kl(t)));)t=or(t)}function Wg(e,t){if((e[Q]&256)===256)throw new V(911,!1);e[Rn]===null&&(e[Rn]=[]),e[Rn].push(t)}function ow(e,t){if(e[Rn]===null)return;const r=e[Rn].indexOf(t);r!==-1&&e[Rn].splice(r,1)}function or(e){const t=e[He];return rn(t)?t[He]:t}const de={lFrame:nm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Yg=!1;function sw(){return de.lFrame.elementDepthCount}function aw(){de.lFrame.elementDepthCount++}function uw(){de.lFrame.elementDepthCount--}function ia(){return de.skipHydrationRootTNode!==null}function lw(e){return de.skipHydrationRootTNode===e}function cw(e){de.skipHydrationRootTNode=e}function dw(){de.skipHydrationRootTNode=null}function he(){return de.lFrame.lView}function gt(){return de.lFrame.tView}function mt(){let e=Kg();for(;e!==null&&e.type===64;)e=e.parent;return e}function Kg(){return de.lFrame.currentTNode}function fw(){const e=de.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function io(e,t){const r=de.lFrame;r.currentTNode=e,r.isParent=t}function Qg(){return de.lFrame.isParent}function hw(){de.lFrame.isParent=!1}function Xg(){return Yg}function lf(e){Yg=e}function Ql(){const e=de.lFrame;let t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function pw(e){return de.lFrame.bindingIndex=e}function oo(){return de.lFrame.bindingIndex++}function gw(e){const t=de.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function mw(){return de.lFrame.inI18n}function vw(e,t){const r=de.lFrame;r.bindingIndex=r.bindingRootIndex=e,ku(t)}function yw(){return de.lFrame.currentDirectiveIndex}function ku(e){de.lFrame.currentDirectiveIndex=e}function Dw(e){const t=de.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Jg(){return de.lFrame.currentQueryIndex}function Xl(e){de.lFrame.currentQueryIndex=e}function Ew(e){const t=e[X];return t.type===2?t.declTNode:t.type===1?e[Ut]:null}function em(e,t,r){if(r&ue.SkipSelf){let i=t,o=e;for(;i=i.parent,i===null&&!(r&ue.Host);)if(i=Ew(o),i===null||(o=o[to],i.type&10))break;if(i===null)return!1;t=i,e=o}const n=de.lFrame=tm();return n.currentTNode=t,n.lView=e,!0}function Jl(e){const t=tm(),r=e[X];de.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function tm(){const e=de.lFrame,t=e===null?null:e.child;return t===null?nm(e):t}function nm(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function rm(){const e=de.lFrame;return de.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const im=rm;function ec(){const e=rm();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Dr(){return de.lFrame.selectedIndex}function sr(e){de.lFrame.selectedIndex=e}function om(){const e=de.lFrame;return Yl(e.tView,e.selectedIndex)}function sm(){return de.lFrame.currentNamespace}let am=!0;function tc(){return am}function li(e){am=e}function Cw(e,t,r){const{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(n){const s=Hg(t);(r.preOrderHooks??(r.preOrderHooks=[])).push(e,s),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,s)}i&&(r.preOrderHooks??(r.preOrderHooks=[])).push(0-e,i),o&&((r.preOrderHooks??(r.preOrderHooks=[])).push(e,o),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,o))}function nc(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r=n)break}else t[u]<0&&(e[Rr]+=65536),(a>14>16&&(e[Q]&3)===t&&(e[Q]+=16384,cf(a,o)):cf(a,o)}const qr=-1;class rc{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}}function _w(e){return e instanceof rc}function bw(e){return(e.flags&8)!==0}function Aw(e){return(e.flags&16)!==0}const Ua={};class Tw{constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,n){n=ea(n);const i=this.injector.get(t,Ua,n);return i!==Ua||r===Ua?i:this.parentInjector.get(t,r,n)}}function lm(e){return e!==qr}function Cs(e){return e&32767}function Fw(e){return e>>16}function ws(e,t){let r=Fw(e),n=t;for(;r>0;)n=n[to],r--;return n}let Mu=!0;function _s(e){const t=Mu;return Mu=e,t}const Sw=256,cm=Sw-1,dm=5;let xw=0;const Yt={};function Iw(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(bi)&&(n=r[bi]),n==null&&(n=r[bi]=xw++);const i=n&cm,o=1<>dm)]|=o}function fm(e,t){const r=hm(e,t);if(r!==-1)return r;const n=t[X];n.firstCreatePass&&(e.injectorIndex=t.length,Va(n.data,e),Va(t,null),Va(n.blueprint,null));const i=ic(e,t),o=e.injectorIndex;if(lm(i)){const s=Cs(i),a=ws(i,t),u=a[X].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|u[s+l]}return t[o+8]=i,o}function Va(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hm(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ic(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,i=t;for(;i!==null;){if(n=Dm(i),n===null)return qr;if(r++,i=i[to],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return qr}function kw(e,t,r){Iw(e,t,r)}function Mw(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;const r=e.attrs;if(r){const n=r.length;let i=0;for(;i>20,d=n?a:a+c,h=i?a+c:l;for(let f=d;f=u&&v.type===r)return f}if(i){const f=s[u];if(f&&ro(f)&&f.type===r)return u}return null}function Xr(e,t,r,n){let i=e[r];const o=t.data;if(_w(i)){const s=i;s.resolving&&aC(sC(o[r]));const a=_s(s.canSeeViewProviders);s.resolving=!0;let u;const l=s.injectImpl?Je(s.injectImpl):null,c=em(e,n,ue.Default);try{i=e[r]=s.factory(void 0,o,e,n),t.firstCreatePass&&r>=n.directiveStart&&Cw(r,o[r],t)}finally{l!==null&&Je(l),_s(a),s.resolving=!1,im()}}return i}function Ow(e){if(typeof e=="string")return e.charCodeAt(0)||0;const t=e.hasOwnProperty(bi)?e[bi]:void 0;return typeof t=="number"?t>=0?t&cm:Nw:t}function df(e,t,r){const n=1<>dm)]&n)}function ff(e,t){return!(e&ue.Self)&&!(e&ue.Host&&t)}class Ai{constructor(t,r){this._tNode=t,this._lView=r}get(t,r,n){return mm(this._tNode,this._lView,t,ea(n),r)}}function Nw(){return new Ai(mt(),he())}function ym(e){return Qi(()=>{const t=e.prototype.constructor,r=t[gs]||Ru(t),n=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==n;){const o=i[gs]||Ru(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ru(e){return hg(e)?()=>{const t=Ru(et(e));return t&&t()}:rr(e)}function Pw(e,t,r,n,i){let o=e,s=t;for(;o!==null&&s!==null&&s[Q]&2048&&!(s[Q]&512);){const a=vm(o,s,r,n|ue.Self,Yt);if(a!==Yt)return a;let u=o.parent;if(!u){const l=s[Lg];if(l){const c=l.get(r,Yt,n);if(c!==Yt)return c}u=Dm(s),s=s[to]}o=u}return i}function Dm(e){const t=e[X],r=t.type;return r===2?t.declTNode:r===1?e[Ut]:null}function Em(e){return Mw(mt(),e)}function hf(e,t=null,r=null,n){const i=Cm(e,t,r,n);return i.resolveInjectorInitializers(),i}function Cm(e,t=null,r=null,n,i=new Set){const o=[r||tt,BC(e)];return n=n||(typeof e=="object"?void 0:lt(e)),new Zl(o,t||ql(),n||null,i)}const Wn=class Wn{static create(t,r){if(Array.isArray(t))return hf({name:""},r,t,"");{const n=t.name??"";return hf({name:n},t.parent,t.providers,n)}}};Wn.THROW_IF_NOT_FOUND=Pi,Wn.NULL=new Ag,Wn.ɵprov=j({token:Wn,providedIn:"any",factory:()=>te(_g)}),Wn.__NG_ELEMENT_ID__=-1;let ar=Wn;const Lw=new z("");Lw.__NG_ELEMENT_ID__=e=>{const t=mt();if(t===null)throw new V(204,!1);if(t.type&2)return t.value;if(e&ue.Optional)return null;throw new V(204,!1)};const Bw="ngOriginalError";function za(e){return e[Bw]}const wm=!0;let oc=(()=>{const t=class t{};t.__NG_ELEMENT_ID__=$w,t.__NG_ENV_ID__=n=>n;let e=t;return e})();class jw extends oc{constructor(t){super(),this._lView=t}onDestroy(t){return Wg(this._lView,t),()=>ow(this._lView,t)}}function $w(){return new jw(he())}let Er=(()=>{const t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ct(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const 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)}};t.ɵprov=j({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();class Hw extends bt{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Pg()&&(this.destroyRef=A(oc,{optional:!0})??void 0,this.pendingTasks=A(Er,{optional:!0})??void 0)}emit(t){const r=ce(null);try{super.next(t)}finally{ce(r)}}subscribe(t,r,n){let i=t,o=r||(()=>null),s=n;if(t&&typeof t=="object"){const u=t;i=u.next?.bind(u),o=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:i,error:o,complete:s});return t instanceof en&&t.add(a),a}wrapInTimeout(t){return r=>{const n=this.pendingTasks?.add();setTimeout(()=>{t(r),n!==void 0&&this.pendingTasks?.remove(n)})}}}const nt=Hw;function bs(...e){}function _m(e){let t,r;function n(){e=bs;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{e(),n()})),()=>n()}function pf(e){return queueMicrotask(()=>e()),()=>{e=bs}}const sc="isAngularZone",As=sc+"_ID";let Uw=0;class Ne{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new nt(!1),this.onMicrotaskEmpty=new nt(!1),this.onStable=new nt(!1),this.onError=new nt(!1);const{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=wm}=t;if(typeof Zone>"u")throw new V(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,Gw(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(sc)===!0}static assertInAngularZone(){if(!Ne.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(Ne.isInAngularZone())throw new V(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,Vw,bs,bs);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}}const Vw={};function ac(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function zw(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){_m(()=>{e.callbackScheduled=!1,Ou(e),e.isCheckStableRunning=!0,ac(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ou(e)}function Gw(e){const t=()=>{zw(e)},r=Uw++;e._inner=e._inner.fork({name:"angular",properties:{[sc]:!0,[As]:r,[As+r]:!0},onInvokeTask:(n,i,o,s,a,u)=>{if(Zw(u))return n.invokeTask(o,s,a,u);try{return gf(e),n.invokeTask(o,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),mf(e)}},onInvoke:(n,i,o,s,a,u,l)=>{try{return gf(e),n.invoke(o,s,a,u,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ww(u)&&t(),mf(e)}},onHasTask:(n,i,o,s)=>{n.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ou(e),ac(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,o,s)=>(n.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ou(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function gf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function mf(e){e._nesting--,ac(e)}class qw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new nt,this.onMicrotaskEmpty=new nt,this.onStable=new nt,this.onError=new nt}run(t,r,n){return t.apply(r,n)}runGuarded(t,r,n){return t.apply(r,n)}runOutsideAngular(t){return t()}runTask(t,r,n,i){return t.apply(r,n)}}function Zw(e){return bm(e,"__ignore_ng_zone__")}function Ww(e){return bm(e,"__scheduler_tick__")}function bm(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}class ci{constructor(){this._console=console}handleError(t){const r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&za(t);for(;r&&za(r);)r=za(r);return r||null}}const Yw=new z("",{providedIn:"root",factory:()=>{const e=A(Ne),t=A(ci);return r=>e.runOutsideAngular(()=>t.handleError(r))}});function Kw(){return di(mt(),he())}function di(e,t){return new Cr(pt(e,t))}let Cr=(()=>{const t=class t{constructor(n){this.nativeElement=n}};t.__NG_ELEMENT_ID__=Kw;let e=t;return e})();function Qw(e){return e instanceof Cr?e.nativeElement:e}function Xw(){return this._results[Symbol.iterator]()}class uc{get changes(){return this._changes??(this._changes=new nt)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const r=uc.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=Xw)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,r){return this._results.reduce(t,r)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,r){this.dirty=!1;const n=yC(t);(this._changesDetected=!vC(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}}const Jw="ngSkipHydration",e_="ngskiphydration";function Am(e){const t=e.mergedAttrs;if(t===null)return!1;for(let r=0;rs_}),s_="ng",km=new z(""),on=new z("",{providedIn:"platform",factory:()=>"unknown"}),Mm=new z("",{providedIn:"root",factory:()=>so().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function a_(){const e=new fi;return A(on)==="browser"&&(e.store=u_(so(),A(lc))),e}let fi=(()=>{const t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(n,i){return this.store[n]!==void 0?this.store[n]:i}set(n,i){this.store[n]=i}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,i){this.onSerializeCallbacks[n]=i}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/null;function p_(e,t,r=!1){let n=e.getAttribute(Ga);if(n==null)return null;const[i,o]=n.split("|");if(n=r?o:i,!n)return null;const s=o?`|${o}`:"",a=r?i:s;let u={};if(n!==""){const c=t.get(fi,null,{optional:!0});c!==null&&(u=c.get(Bm,[])[Number(n)])}const l={data:u,firstChild:e.firstChild??null};return r&&(l.firstChild=e,dc(l,0,e.nextSibling)),a?e.setAttribute(Ga,a):e.removeAttribute(Ga),l}function g_(){jm=p_}function cc(e,t,r=!1){return jm(e,t,r)}function m_(e){let t=e._lView;return t[X].type===2?null:(Es(t)&&(t=t[Re]),t)}function v_(e){return e.textContent?.replace(/\s/gm,"")}function y_(e){const t=so(),r=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(o){const s=v_(o);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let n;const i=[];for(;n=r.nextNode();)i.push(n);for(const o of i)o.textContent==="ngetn"?o.replaceWith(t.createTextNode("")):o.remove()}function dc(e,t,r){e.segmentHeads??(e.segmentHeads={}),e.segmentHeads[t]=r}function Bu(e,t){return e.segmentHeads?.[t]??null}function $m(e,t){return e.data[Nm]?.[t]??null}function Hm(e,t){const r=$m(e,t)??[];let n=0;for(let i of r)n+=i[Fs]*(i[Pm]??1);return n}function D_(e){if(typeof e.disconnectedNodes>"u"){const t=e.data[Lm];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function oa(e,t){if(typeof e.disconnectedNodes>"u"){const r=e.data[Lm];e.disconnectedNodes=r?new Set(r):null}return!!D_(e)?.has(t)}const So=new z(""),Um=!1,Vm=new z("",{providedIn:"root",factory:()=>Um});let xo;function E_(){if(xo===void 0&&(xo=null,In.trustedTypes))try{xo=In.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xo}function sa(e){return E_()?.createHTML(e)||e}let Io;function zm(){if(Io===void 0&&(Io=null,In.trustedTypes))try{Io=In.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Io}function yf(e){return zm()?.createHTML(e)||e}function Df(e){return zm()?.createScriptURL(e)||e}class wr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cg})`}}class C_ extends wr{getTypeName(){return"HTML"}}class w_ extends wr{getTypeName(){return"Style"}}class __ extends wr{getTypeName(){return"Script"}}class b_ extends wr{getTypeName(){return"URL"}}class A_ extends wr{getTypeName(){return"ResourceURL"}}function dn(e){return e instanceof wr?e.changingThisBreaksApplicationSecurity:e}function xn(e,t){const r=T_(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${cg})`)}return r===t}function T_(e){return e instanceof wr&&e.getTypeName()||null}function F_(e){return new C_(e)}function S_(e){return new w_(e)}function x_(e){return new __(e)}function I_(e){return new b_(e)}function k_(e){return new A_(e)}function M_(e){const t=new O_(e);return N_()?new R_(t):t}class R_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const r=new window.DOMParser().parseFromString(sa(t),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(t):(r.firstChild?.remove(),r)}catch{return null}}}class O_{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const r=this.inertDocument.createElement("template");return r.innerHTML=sa(t),r}}function N_(){try{return!!new window.DOMParser().parseFromString(sa(""),"text/html")}catch{return!1}}const P_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fc(e){return e=String(e),e.match(P_)?e:"unsafe:"+e}function bn(e){const t={};for(const r of e.split(","))t[r]=!0;return t}function ao(...e){const t={};for(const r of e)for(const n in r)r.hasOwnProperty(n)&&(t[n]=!0);return t}const Gm=bn("area,br,col,hr,img,wbr"),qm=bn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Zm=bn("rp,rt"),L_=ao(Zm,qm),B_=ao(qm,bn("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")),j_=ao(Zm,bn("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")),Ef=ao(Gm,B_,j_,L_),Wm=bn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),$_=bn("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"),H_=bn("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"),U_=ao(Wm,$_,H_),V_=bn("script,style,template");class z_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let r=t.firstChild,n=!0,i=[];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){i.push(r),r=Z_(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let o=q_(r);if(o){r=o;break}r=i.pop()}}return this.buf.join("")}startElement(t){const r=Cf(t).toLowerCase();if(!Ef.hasOwnProperty(r))return this.sanitizedSomething=!0,!V_.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const n=t.attributes;for(let i=0;i"),!0}endElement(t){const r=Cf(t).toLowerCase();Ef.hasOwnProperty(r)&&!Gm.hasOwnProperty(r)&&(this.buf.push(""))}chars(t){this.buf.push(wf(t))}}function G_(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function q_(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ym(t);return t}function Z_(e){const t=e.firstChild;if(t&&G_(e,t))throw Ym(t);return t}function Cf(e){const t=e.nodeName;return typeof t=="string"?t:"FORM"}function Ym(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const W_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Y_=/([^\#-~ |!])/g;function wf(e){return e.replace(/&/g,"&").replace(W_,function(t){const r=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(Y_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let ko;function Km(e,t){let r=null;try{ko=ko||M_(e);let n=t?String(t):"";r=ko.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=ko.getInertBodyElement(n)}while(n!==o);const a=new z_().sanitizeChildren(_f(r)||r);return sa(a)}finally{if(r){const n=_f(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function _f(e){return"content"in e&&K_(e)?e.content:null}function K_(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Zt=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Zt||{});function Qm(e){const t=hc();return t?yf(t.sanitize(Zt.HTML,e)||""):xn(e,"HTML")?yf(dn(e)):Km(so(),Xi(e))}function Xm(e){const t=hc();return t?t.sanitize(Zt.URL,e)||"":xn(e,"URL")?dn(e):fc(Xi(e))}function Q_(e){const t=hc();if(t)return Df(t.sanitize(Zt.RESOURCE_URL,e)||"");if(xn(e,"ResourceURL"))return Df(dn(e));throw new V(904,!1)}function X_(e,t){return e==="base"||e==="link"?Q_:Xm}function J_(e,t,r){return X_(t)(e)}function hc(){const e=he();return e&&e[nn].sanitizer}function eb(e){return e.ownerDocument.body}function Jm(e){return e instanceof Function?e():e}function Mo(e){return A(ar).get(on)==="browser"}var Or=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Or||{});let tb;function pc(e,t){return tb(e,t)}function Nr(e,t,r,n,i){if(n!=null){let o,s=!1;rn(n)?o=n:$t(n)&&(s=!0,n=n[ft]);const a=Ht(n);e===0&&r!==null?i==null?rv(t,r,a):Ss(t,r,a,i||null,!0):e===1&&r!==null?Ss(t,r,a,i||null,!0):e===2?yc(t,a,s):e===3&&t.destroyNode(a),o!=null&&mb(t,e,o,r,i)}}function ev(e,t){return e.createText(t)}function nb(e,t,r){e.setValue(t,r)}function gc(e,t,r){return e.createElement(t,r)}function rb(e,t){tv(e,t),t[ft]=null,t[Ut]=null}function ib(e,t,r,n,i,o){n[ft]=i,n[Ut]=t,ua(e,n,r,1,i,o)}function tv(e,t){t[nn].changeDetectionScheduler?.notify(9),ua(e,t,t[Me],2,null,null)}function ob(e){let t=e[Li];if(!t)return qa(e[X],e);for(;t;){let r=null;if($t(t))r=t[Li];else{const n=t[$e];n&&(r=n)}if(!r){for(;t&&!t[Bt]&&t!==e;)$t(t)&&qa(t[X],t),t=t[He];t===null&&(t=e),$t(t)&&qa(t[X],t),r=t&&t[Bt]}t=r}}function sb(e,t,r,n){const i=$e+n,o=r.length;n>0&&(r[i-1][Bt]=t),n0&&(e[r-1][Bt]=n[Bt]);const o=vs(e,$e+t);rb(n[X],n);const s=o[jt];s!==null&&s.detachView(o[X]),n[He]=null,n[Bt]=null,n[Q]&=-129}return n}function aa(e,t){if(!(t[Q]&256)){const r=t[Me];r.destroyNode&&ua(e,t,r,3,null,null),ob(t)}}function qa(e,t){if(t[Q]&256)return;const r=ce(null);try{t[Q]&=-129,t[Q]|=256,t[_t]&&Lp(t[_t]),ub(e,t),ab(e,t),t[X].type===1&&t[Me].destroy();const n=t[ir];if(n!==null&&rn(t[He])){n!==t[He]&&mc(n,t);const i=t[jt];i!==null&&i.detachView(e)}Nu(t)}finally{ce(r)}}function ab(e,t){const r=e.cleanup,n=t[Gr];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{const s=n[r[o+1]];r[o].call(s)}n!==null&&(t[Gr]=null);const i=t[Rn];if(i!==null){t[Rn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[n.directiveStart+i];if(o===gn.None||o===gn.Emulated)return null}return pt(n,r)}}function Ss(e,t,r,n,i){e.insertBefore(t,r,n,i)}function rv(e,t,r){e.appendChild(t,r)}function bf(e,t,r,n,i){n!==null?Ss(e,t,r,n,i):rv(e,t,r)}function iv(e,t){return e.parentNode(t)}function db(e,t){return e.nextSibling(t)}function fb(e,t,r){return pb(e,t,r)}function hb(e,t,r){return e.type&40?pt(e,r):null}let pb=hb;function vc(e,t,r,n){const i=lb(e,n,t),o=t[Me],s=n.parent||t[Ut],a=fb(s,n,t);if(i!=null)if(Array.isArray(r))for(let u=0;uRe&&lv(e,t,Re,!1),Wt(s?2:0,i),r(n,i)}finally{sr(o),Wt(s?3:1,i)}}function hv(e,t,r){if(jg(t)){const n=ce(null);try{const i=t.directiveStart,o=t.directiveEnd;for(let s=i;snull;function bb(e){Tm(e)?sv(e):y_(e)}function Ab(){vv=bb}function Tb(e,t,r,n){const i=_v(t);i.push(r),e.firstCreatePass&&bv(e).push(n,i.length-1)}function Fb(e,t,r,n,i,o){let s=t?t.injectorIndex:-1,a=0;return ia()&&(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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Af(e,t,r,n,i){for(let o in t){if(!t.hasOwnProperty(o))continue;const s=t[o];if(s===void 0)continue;n??(n={});let a,u=Bn.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let l=o;if(i!==null){if(!i.hasOwnProperty(o))continue;l=i[o]}e===0?Tf(n,r,l,a,u):Tf(n,r,l,a)}return n}function Tf(e,t,r,n,i){let o;e.hasOwnProperty(r)?(o=e[r]).push(t,n):o=e[r]=[t,n],i!==void 0&&o.push(i)}function Sb(e,t,r){const n=t.directiveStart,i=t.directiveEnd,o=e.data,s=t.attrs,a=[];let u=null,l=null;for(let c=n;c0;){const r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function Ob(e,t,r,n){const i=r.directiveStart,o=r.directiveEnd;no(r)&&Hb(t,r,e.data[i+r.componentOffset]),e.firstCreatePass||fm(r,t),ur(n,t);const s=r.initialInputs;for(let a=i;a{ra(e.lView)},consumerOnSignalRead(){this.lView[_t]=this}};function tA(e){const t=e[_t]??Object.create(nA);return t.lView=e,t}const nA={...Np,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=or(e.lView);for(;t&&!xv(t[X]);)t=or(t);t&&Zg(t)},consumerOnSignalRead(){this.lView[_t]=this}};function xv(e){return e.type!==2}const rA=100;function Iv(e,t=!0,r=0){const n=e[nn],i=n.rendererFactory,o=!1;o||i.begin?.();try{iA(e,r)}catch(s){throw t&&Av(e,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function iA(e,t){const r=Xg();try{lf(!0),Uu(e,t);let n=0;for(;na(e);){if(n===rA)throw new V(103,!1);n++,Uu(e,1)}}finally{lf(r)}}function oA(e,t,r,n){const i=t[Q];if((i&256)===256)return;const o=!1,s=!1;!o&&t[nn].inlineEffectRunner?.flush(),Jl(t);let a=!0,u=null,l=null;o||(xv(e)?(l=Qb(t),u=Gd(l)):Y0()===null?(a=!1,l=tA(t),u=Gd(l)):t[_t]&&(Lp(t[_t]),t[_t]=null));try{qg(t),pw(e.bindingStartIndex),r!==null&&fv(e,t,r,2,n);const c=(i&3)===3;if(!o)if(c){const f=e.preOrderCheckHooks;f!==null&&Wo(t,f,null)}else{const f=e.preOrderHooks;f!==null&&Yo(t,f,0,null),Ha(t,0)}if(s||sA(t),kv(t,0),e.contentQueries!==null&&wv(e,t),!o)if(c){const f=e.contentCheckHooks;f!==null&&Wo(t,f)}else{const f=e.contentHooks;f!==null&&Yo(t,f,1),Ha(t,1)}Db(e,t);const d=e.components;d!==null&&Rv(t,d,0);const h=e.viewQuery;if(h!==null&&Hu(2,h,n),!o)if(c){const f=e.viewCheckHooks;f!==null&&Wo(t,f)}else{const f=e.viewHooks;f!==null&&Yo(t,f,2),Ha(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[$a]){for(const f of t[$a])f();t[$a]=null}o||(t[Q]&=-73)}catch(c){throw o||ra(t),c}finally{l!==null&&(Q0(l,u),a&&Jb(l)),ec()}}function kv(e,t){for(let r=Sm(e);r!==null;r=xm(r))for(let n=$e;n-1&&($i(t,n),vs(r,n))}this._attachedToViewContainer=!1}aa(this._lView[X],this._lView)}onDestroy(t){Wg(this._lView,t)}markForCheck(){bc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Q]&=-129}reattach(){Iu(this._lView),this._lView[Q]|=128}detectChanges(){this._lView[Q]|=1024,Iv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new V(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Es(this._lView),r=this._lView[ir];r!==null&&!t&&mc(r,this._lView),tv(this._lView[X],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new V(902,!1);this._appRef=t;const r=Es(this._lView),n=this._lView[ir];n!==null&&!r&&nv(n,this._lView),Iu(this._lView)}}let En=(()=>{const t=class t{};t.__NG_ELEMENT_ID__=cA;let e=t;return e})();const uA=En,lA=class extends uA{constructor(t,r,n){super(),this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){const i=fa(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:n});return new Ui(i)}};function cA(){return Ac(mt(),he())}function Ac(e,t){return e.type&4?new lA(t,e,di(e,t)):null}const dA=new RegExp(`^(\\d+)*(${Om}|${Rm})*(.*)`);function fA(e){const t=e.match(dA),[r,n,i,o]=t,s=n?parseInt(n,10):i,a=[];for(const[u,l,c]of o.matchAll(/(f|n)(\d*)/g)){const d=parseInt(c,10)||1;a.push(l,d)}return[s,...a]}function hA(e){return!e.prev&&e.parent?.type===8}function Za(e){return e.index-Re}function pA(e,t){const r=e.i18nNodes;if(r)return r.get(t)}function Tc(e,t,r,n){const i=Za(n);let o=pA(e,i);if(o===void 0){const s=e.data[d_];if(s?.[i])o=mA(s[i],r);else if(t.firstChild===n)o=e.firstChild;else{const a=n.prev===null,u=n.prev??n.parent;if(hA(n)){const l=Za(n.parent);o=Bu(e,l)}else{let l=pt(u,r);if(a)o=l.firstChild;else{const c=Za(u),d=Bu(e,c);if(u.type===2&&d){const f=Hm(e,c)+1;o=Fc(f,d)}else o=l.nextSibling}}}}return o}function Fc(e,t){let r=t;for(let n=0;n0&&(o.firstChild=e,e=Fc(n[Fs],e)),r.push(o)}return[e,r]}let Pv=()=>null;function wA(e,t){const r=e[Bi];return!t||r===null||r.length===0?null:r[0].data[c_]===t?r.shift():(Ov(e),null)}function _A(){Pv=wA}function Vi(e,t){return Pv(e,t)}class pa{}const Sc=new z("",{providedIn:"root",factory:()=>!1});const Lv=new z(""),Bv=new z("");class bA{}class jv{}function AA(e){const t=Error(`No component factory found for ${lt(e)}.`);return t[TA]=e,t}const TA="ngComponent";class FA{resolveComponentFactory(t){throw AA(t)}}const kd=class kd{};kd.NULL=new FA;let Jr=kd;class xc{}let Ic=(()=>{const t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>SA();let e=t;return e})();function SA(){const e=he(),t=mt(),r=Un(t.index,e);return($t(r)?r:e)[Me]}let xA=(()=>{const t=class t{};t.ɵprov=j({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();function Vu(e,t,r){let n=r?e.styles:null,i=r?e.classes:null,o=0;if(t!==null)for(let s=0;s0&&av(e,r,o.join(" "))}}function LA(e,t,r){const n=e.projection=[];for(let i=0;i{const t=class t{};t.__NG_ELEMENT_ID__=jA;let e=t;return e})();function jA(){const e=mt();return Uv(e,he())}const $A=Ft,Hv=class extends $A{constructor(t,r,n){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return di(this._hostTNode,this._hostLView)}get injector(){return new Ai(this._hostTNode,this._hostLView)}get parentInjector(){const t=ic(this._hostTNode,this._hostLView);if(lm(t)){const r=ws(t,this._hostLView),n=Cs(t),i=r[X].data[n+8];return new Ai(i,r)}else return new Ai(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const r=Sf(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-$e}createEmbeddedView(t,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);const s=Vi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Hi(this._hostTNode,s)),a}createComponent(t,r,n,i,o){const s=t&&!KC(t);let a;if(s)a=r;else{const v=r||{};a=v.index,n=v.injector,i=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}const u=s?t:new kc(jn(t)),l=n||this.parentInjector;if(!o&&u.ngModule==null){const C=(s?l:this.parentInjector).get(yn,null);C&&(o=C)}const c=jn(u.componentType??{}),d=Vi(this._lContainer,c?.id??null),h=d?.firstChild??null,f=u.create(l,i,h,o);return this.insertImpl(f.hostView,a,Hi(this._hostTNode,d)),f}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){const i=t._lView;if(iw(i)){const a=this.indexOf(t);if(a!==-1)this.detach(a);else{const u=i[He],l=new Hv(u,u[Ut],u[He]);l.detach(l.indexOf(t))}}const o=this._adjustIndex(r),s=this._lContainer;return ha(s,i,o,n),t.attachToViewContainerRef(),wg(Wa(s),o,t),t}move(t,r){return this.insert(t,r)}indexOf(t){const r=Sf(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){const r=this._adjustIndex(t,-1),n=$i(this._lContainer,r);n&&(vs(Wa(this._lContainer),r),aa(n[X],n))}detach(t){const r=this._adjustIndex(t,-1),n=$i(this._lContainer,r);return n&&vs(Wa(this._lContainer),r)!=null?new Ui(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function Sf(e){return e[ys]}function Wa(e){return e[ys]||(e[ys]=[])}function Uv(e,t){let r;const n=t[e.index];return rn(n)?r=n:(r=Cv(n,t,null,e),t[e.index]=r,da(t,r)),Vv(r,t,e,n),new Hv(r,e,t)}function HA(e,t){const r=e[Me],n=r.createComment(""),i=pt(t,e),o=iv(r,i);return Ss(r,o,n,db(r,i),!1),n}let Vv=zv,Mc=()=>!1;function UA(e,t,r){return Mc(e,t,r)}function zv(e,t,r,n){if(e[Dn])return;let i;r.type&8?i=Ht(n):i=HA(t,r),e[Dn]=i}function VA(e,t,r){if(e[Dn]&&e[Bi])return!0;const n=r[tn],i=t.index-Re;if(!n||t_(t)||oa(n,i))return!1;const s=Bu(n,i),a=n.data[Nm]?.[i],[u,l]=CA(s,a);return e[Dn]=u,e[Bi]=l,!0}function zA(e,t,r,n){Mc(e,r,t)||zv(e,t,r,n)}function GA(){Vv=zA,Mc=VA}class Rc{constructor(t){this.queryList=t,this.matches=null}clone(){return new Rc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Oc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const r=t.queries;if(r!==null){const n=t.contentQueries!==null?t.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{const l=o[a+1],c=t[-u];for(let d=$e;dt.trim())}function tT(e,t,r){e.queries===null&&(e.queries=new Nc),e.queries.track(new Pc(t,r))}function Lc(e,t){return e.queries.getByIndex(t)}function nT(e,t){const r=e[X],n=Lc(r,t);return n.crossesNgTemplate?zu(r,e,t,[]):Gv(r,e,n,t)}const xf=new Set;function hi(e){xf.has(e)||(xf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function qv(e){const t=r=>{const n=(Array.isArray(e)?e:e()).map(i=>typeof i=="function"?{directive:et(i),inputs:Ln,outputs:Ln}:{directive:et(i.directive),inputs:If(i.inputs),outputs:If(i.outputs)});r.hostDirectives===null?(r.findHostDirectiveDefs=Zv,r.hostDirectives=n):r.hostDirectives.unshift(...n)};return t.ngInherit=!0,t}function Zv(e,t,r){if(e.hostDirectives!==null)for(const n of e.hostDirectives){const i=Vl(n.directive);rT(i.declaredInputs,n.inputs),Zv(i,t,r),r.set(i,n),t.push(i)}}function If(e){if(e===void 0||e.length===0)return Ln;const t={};for(let r=0;rr()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class sT extends Wv{constructor(t){super(),this.moduleType=t}create(t){return new Yv(this.moduleType,t,[])}}class Kv extends ei{constructor(t){super(),this.componentFactoryResolver=new $v(this),this.instance=null;const r=new Zl([...t.providers,{provide:ei,useValue:this},{provide:Jr,useValue:this.componentFactoryResolver}],t.parent||ql(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Qv(e,t,r=null){return new Kv({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}function Xv(e){return Bc(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function aT(e,t){if(Array.isArray(e))for(let r=0;r{const t=class t{constructor(){this.impl=null}execute(){this.impl?.execute()}};t.ɵprov=j({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();const Yn=class Yn{constructor(){this.ngZone=A(Ne),this.scheduler=A(pa),this.errorHandler=A(ci,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){this.executing=!0;for(const t of Yn.PHASES)for(const r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[t]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[t](r.pipelinedValue))}catch(n){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(n)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}};Yn.PHASES=[Di.EarlyRead,Di.Write,Di.MixedReadWrite,Di.Read],Yn.ɵprov=j({token:Yn,providedIn:"root",factory:()=>new Yn});let kf=Yn;function ry(e,t,r,n){const i=he(),o=oo();if(Cn(i,o,t)){const s=gt(),a=om();Ub(a,i,e,t,r,n)}return ry}function pT(e,t,r,n){return Cn(e,oo(),r)?t+Xi(r)+n:An}function Ro(e,t){return e<<17|t<<2}function lr(e){return e>>17&32767}function gT(e){return(e&2)==2}function mT(e,t){return e&131071|t<<17}function Gu(e){return e|2}function ti(e){return(e&131068)>>2}function Ya(e,t){return e&-131069|t<<2}function vT(e){return(e&1)===1}function qu(e){return e|1}function yT(e,t,r,n,i,o){let s=t.classBindings,a=lr(s),u=ti(s);e[n]=r;let l=!1,c;if(Array.isArray(r)){const d=r;c=d[1],(c===null||Ji(d,c)>0)&&(l=!0)}else c=r;if(i)if(u!==0){const h=lr(e[a+1]);e[n+1]=Ro(h,a),h!==0&&(e[h+1]=Ya(e[h+1],n)),e[a+1]=mT(e[a+1],n)}else e[n+1]=Ro(a,0),a!==0&&(e[a+1]=Ya(e[a+1],n)),a=n;else e[n+1]=Ro(u,0),a===0?a=n:e[u+1]=Ya(e[u+1],n),u=n;l&&(e[n+1]=Gu(e[n+1])),Mf(e,c,n,!0),Mf(e,c,n,!1),DT(t,c,e,n),s=Ro(a,u),t.classBindings=s}function DT(e,t,r,n,i){const o=e.residualClasses;o!=null&&typeof t=="string"&&Ji(o,t)>=0&&(r[n+1]=qu(r[n+1]))}function Mf(e,t,r,n){const i=e[r+1],o=t===null;let s=n?lr(i):ti(i),a=!1;for(;s!==0&&(a===!1||o);){const u=e[s],l=e[s+1];ET(u,t)&&(a=!0,e[s+1]=n?qu(l):Gu(l)),s=n?lr(l):ti(l)}a&&(e[r+1]=n?Gu(i):qu(i))}function ET(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Ji(e,t)>=0:!1}const Pt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function CT(e){return e.substring(Pt.key,Pt.keyEnd)}function wT(e){return _T(e),iy(e,oy(e,0,Pt.textEnd))}function iy(e,t){const r=Pt.textEnd;return r===t?-1:(t=Pt.keyEnd=bT(e,Pt.key=t,r),oy(e,t,r))}function _T(e){Pt.key=0,Pt.keyEnd=0,Pt.value=0,Pt.valueEnd=0,Pt.textEnd=e.length}function oy(e,t,r){for(;t32;)t++;return t}function ma(e,t,r){const n=he(),i=oo();if(Cn(n,i,t)){const o=gt(),s=om();Ib(o,s,n,e,t,n[Me],r)}return ma}function Zu(e,t,r,n,i){const o=t.inputs,s=i?"class":"style";wc(e,r,o[s],s,n)}function sy(e){TT(RT,AT,e,!0)}function AT(e,t){for(let r=wT(t);r>=0;r=iy(t,r))$l(e,CT(t),!0)}function TT(e,t,r,n){const i=gt(),o=gw(2);i.firstUpdatePass&&FT(i,null,o,n);const s=he();if(r!==An&&Cn(s,o,r)){const a=i.data[Dr()];if(uy(a)&&!ay(i,o)){let u=a.classesWithoutHost;u!==null&&(r=Cu(u,r||"")),Zu(i,a,s,r,n)}else OT(i,a,s,s[Me],s[o+1],s[o+1]=MT(e,t,r),n,o)}}function ay(e,t){return t>=e.expandoStartIndex}function FT(e,t,r,n){const i=e.data;if(i[r+1]===null){const o=i[Dr()],s=ay(e,r);uy(o)&&t===null&&!s&&(t=!1),t=ST(i,o,t,n),yT(i,o,t,r,s)}}function ST(e,t,r,n){const i=Dw(e);let o=t.residualClasses;if(i===null)t.classBindings===0&&(r=Ka(null,e,t,r),r=zi(r,t.attrs),o=null);else{const s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(r=Ka(i,e,t,r),o===null){let u=xT(e,t);u!==void 0&&Array.isArray(u)&&(u=Ka(null,e,t,u[1]),u=zi(u,t.attrs),IT(e,t,n,u))}else o=kT(e,t)}return o!==void 0&&(t.residualClasses=o),r}function xT(e,t,r){const n=t.classBindings;if(ti(n)!==0)return e[lr(n)]}function IT(e,t,r,n){const i=t.classBindings;e[lr(i)]=n}function kT(e,t,r){let n;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0;){const u=e[i],l=Array.isArray(u),c=l?u[1]:u,d=c===null;let h=r[i+1];h===An&&(h=d?tt:void 0);let f=d?Ba(h,n):c===n?h:void 0;if(l&&!ks(f)&&(f=Ba(u,n)),ks(f)&&(a=f,s))return a;const v=e[i+1];i=s?lr(v):ti(v)}if(t!==null){let u=t.residualClasses;u!=null&&(a=Ba(u,n))}return a}function ks(e){return e!==void 0}function uy(e,t){return(e.flags&8)!==0}class PT{destroy(t){}updateValue(t,r){}swap(t,r){const n=Math.min(t,r),i=Math.max(t,r),o=this.detach(i);if(i-n>1){const s=this.detach(n);this.attach(n,o),this.attach(i,s)}else this.attach(n,o)}move(t,r){this.attach(r,this.detach(t))}}function Qa(e,t,r,n,i){return e===r&&Object.is(t,n)?1:Object.is(i(e,t),i(r,n))?-1:0}function LT(e,t,r){let n,i,o=0,s=e.length-1;const a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;o<=s&&o<=u;){const l=e.at(o),c=t[o],d=Qa(o,l,o,c,r);if(d!==0){d<0&&e.updateValue(o,c),o++;continue}const h=e.at(s),f=t[u],v=Qa(s,h,u,f,r);if(v!==0){v<0&&e.updateValue(s,f),s--,u--;continue}const C=r(o,l),D=r(s,h),b=r(o,c);if(Object.is(b,D)){const p=r(u,f);Object.is(p,C)?(e.swap(o,s),e.updateValue(s,f),u--,s--):e.move(s,o),e.updateValue(o,c),o++;continue}if(n??(n=new Pf),i??(i=Nf(e,o,s,r)),Wu(e,n,o,b))e.updateValue(o,c),o++,s++;else if(i.has(b))n.set(C,e.detach(o)),s--;else{const p=e.create(o,t[o]);e.attach(o,p),o++,s++}}for(;o<=u;)Of(e,n,r,o,t[o]),o++}else if(t!=null){const u=t[Symbol.iterator]();let l=u.next();for(;!l.done&&o<=s;){const c=e.at(o),d=l.value,h=Qa(o,c,o,d,r);if(h!==0)h<0&&e.updateValue(o,d),o++,l=u.next();else{n??(n=new Pf),i??(i=Nf(e,o,s,r));const f=r(o,d);if(Wu(e,n,o,f))e.updateValue(o,d),o++,s++,l=u.next();else if(!i.has(f))e.attach(o,e.create(o,d)),o++,s++,l=u.next();else{const v=r(o,c);n.set(v,e.detach(o)),s--}}}for(;!l.done;)Of(e,n,r,e.length,l.value),l=u.next()}for(;o<=s;)e.destroy(e.detach(s--));n?.forEach(u=>{e.destroy(u)})}function Wu(e,t,r,n){return t!==void 0&&t.has(n)?(e.attach(r,t.get(n)),t.delete(n),!0):!1}function Of(e,t,r,n,i){if(Wu(e,t,n,r(n,i)))e.updateValue(n,i);else{const o=e.create(n,i);e.attach(n,o)}}function Nf(e,t,r,n){const i=new Set;for(let o=t;o<=r;o++)i.add(n(o,e.at(o)));return i}class Pf{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const r=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(t,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,r){if(this.kvMap.has(t)){let n=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);const i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,r)}else this.kvMap.set(t,r)}forEach(t){for(let[r,n]of this.kvMap)if(t(n,r),this._vMap!==void 0){const i=this._vMap;for(;i.has(n);)n=i.get(n),t(n,r)}}}function pP(e,t){hi("NgControlFlow");const r=he(),n=oo(),i=r[n]!==An?r[n]:-1,o=i!==-1?Ms(r,Re+i):void 0,s=0;if(Cn(r,n,e)){const a=ce(null);try{if(o!==void 0&&Fv(o,s),e!==-1){const u=Re+e,l=Ms(r,u),c=Yu(r[X],u),d=Vi(l,c.tView.ssrId),h=fa(r,c,t,{dehydratedView:d});ha(l,h,s,Hi(c,d))}}finally{ce(a)}}else if(o!==void 0){const a=Tv(o,s);a!==void 0&&(a[ct]=t)}}class BT{constructor(t,r,n){this.lContainer=t,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-$e}}function jT(e){return e}class $T{constructor(t,r,n){this.hasEmptyBlock=t,this.trackByFn=r,this.liveCollection=n}}function HT(e,t,r,n,i,o,s,a,u,l,c,d,h){hi("NgControlFlow");const f=he(),v=gt(),C=u!==void 0,D=he(),b=s,p=new $T(C,b);D[Re+e]=p,ey(f,v,e+1,t,r,n,i,ji(v.consts,o))}class UT extends PT{constructor(t,r,n){super(),this.lContainer=t,this.hostLView=r,this.templateTNode=n,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-$e}at(t){return this.getLView(t)[ct].$implicit}attach(t,r){const n=r[tn];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),ha(this.lContainer,r,t,Hi(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),zT(this.lContainer,t)}create(t,r){const n=Vi(this.lContainer,this.templateTNode.tView.ssrId),i=fa(this.hostLView,this.templateTNode,new BT(this.lContainer,r,t),{dehydratedView:n});return this.operationsCounter?.recordCreate(),i}destroy(t){aa(t[X],t),this.operationsCounter?.recordDestroy()}updateValue(t,r){this.getLView(t)[ct].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(li(!0),gc(n,i,sm()));function ZT(e,t,r,n,i,o){const s=t[tn],a=!s||ia()||ga(r)||oa(s,o);if(li(a),a)return gc(n,i,sm());const u=Tc(s,e,t,r);return $m(s,o)&&dc(s,o,u.nextSibling),s&&(Am(r)||Tm(u))&&no(r)&&(cw(r),sv(u)),u}function WT(){ly=ZT}const Zn=void 0;function YT(e){const t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var KT=["en",[["a","p"],["AM","PM"],Zn],[["AM","PM"],Zn,Zn],[["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"]],Zn,[["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"]],Zn,[["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}",Zn,"{1} 'at' {0}",Zn],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",YT];let Xa={};function st(e){const t=XT(e);let r=Lf(t);if(r)return r;const n=t.split("-")[0];if(r=Lf(n),r)return r;if(n==="en")return KT;throw new V(701,!1)}function QT(e){return st(e)[Te.PluralCase]}function Lf(e){return e in Xa||(Xa[e]=In.ng&&In.ng.common&&In.ng.common.locales&&In.ng.common.locales[e]),Xa[e]}var Te=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Te||{});function XT(e){return e.toLowerCase().replace(/_/g,"-")}const Ku="en-US",JT="USD";function eF(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function jc(e,t,r,n){const i=he(),o=gt(),s=mt();return nF(o,i,i[Me],s,e,t,n),jc}function tF(e,t,r,n){const i=e.cleanup;if(i!=null)for(let o=0;ou?a[u]:null}typeof s=="string"&&(o+=2)}return null}function nF(e,t,r,n,i,o,s){const a=Wl(n),l=e.firstCreatePass&&bv(e),c=t[ct],d=_v(t);let h=!0;if(n.type&3||s){const C=pt(n,t),D=s?s(C):C,b=d.length,p=s?y=>s(Ht(y[n.index])):n.index;let g=null;if(!s&&a&&(g=tF(e,t,i,n.index)),g!==null){const y=g.__ngLastListenerFn__||g;y.__ngNextListenerFn__=o,g.__ngLastListenerFn__=o,h=!1}else{o=jf(n,t,c,o);const y=r.listen(D,i,o);d.push(o,y),l&&l.push(i,p,b,b+1)}}else o=jf(n,t,c,o);const f=n.outputs;let v;if(h&&f!==null&&(v=f[i])){const C=v.length;if(C)for(let D=0;D-1?Un(e.index,t):t;bc(s,5);let a=Bf(t,r,n,o),u=i.__ngNextListenerFn__;for(;u;)a=Bf(t,r,u,o)&&a,u=u.__ngNextListenerFn__;return a}}function rF(e,t,r){JA(e,t,r)}function iF(e){const t=he(),r=gt(),n=Jg();Xl(n+1);const i=Lc(r,n);if(e.dirty&&rw(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else{const o=nT(t,n);e.reset(o,Qw),e.notifyOnChanges()}return!0}return!1}function oF(){return QA(he(),Jg())}function sF(e,t,r,n){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}function Fn(e,t=""){const r=he(),n=gt(),i=e+Re,o=n.firstCreatePass?ca(n,i,1,t,null):n.data[i],s=cy(n,r,o,t,e);r[i]=s,tc()&&vc(n,r,s,o),io(o,!1)}let cy=(e,t,r,n,i)=>(li(!0),ev(t[Me],n));function aF(e,t,r,n,i){const o=t[tn],s=!o||ia()||ga(r)||oa(o,i);return li(s),s?ev(t[Me],n):Tc(o,e,t,r)}function uF(){cy=aF}function lF(e){return va("",e,""),lF}function va(e,t,r){const n=he(),i=pT(n,e,t,r);return i!==An&&qb(n,Dr(),i),va}let cF=(()=>{const t=class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const i=Rg(!1,n.type),o=i.length>0?Qv([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};t.ɵprov=j({token:t,providedIn:"environment",factory:()=>new t(te(yn))});let e=t;return e})();function uo(e){hi("NgStandalone"),e.getStandaloneInjector=t=>t.get(cF).getOrCreateStandaloneInjector(e)}function gP(e,t,r,n){return fy(he(),Ql(),e,t,r,n)}function dy(e,t){const r=e[t];return r===An?void 0:r}function fy(e,t,r,n,i,o){const s=t+r;return Cn(e,s,i)?Jv(e,s+1,o?n.call(o,i):n(i)):dy(e,s+1)}function dF(e,t,r,n,i,o,s){const a=t+r;return uT(e,a,i,o)?Jv(e,a+2,s?n.call(s,i,o):n(i,o)):dy(e,a+2)}function fF(e,t){const r=gt();let n;const i=e+Re;r.firstCreatePass?(n=hF(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];const o=n.factory||(n.factory=rr(n.type,!0));let s;const a=Je(ae);try{const u=_s(!1),l=o();return _s(u),sF(r,he(),i,l),l}finally{Je(a)}}function hF(e,t){if(t)for(let r=t.length-1;r>=0;r--){const n=t[r];if(e===n.name)return n}}function pF(e,t,r){const n=e+Re,i=he(),o=Gg(i,n);return hy(i,n)?fy(i,Ql(),t,o.transform,r,o):o.transform(r)}function mP(e,t,r,n){const i=e+Re,o=he(),s=Gg(o,i);return hy(o,i)?dF(o,Ql(),t,s.transform,r,n,s):s.transform(r,n)}function hy(e,t){return e[X].data[t].pure}function vP(e,t){const r=jn(e);r!==null&&(r.debugInfo=t)}let gF=(()=>{const t=class t{log(n){console.log(n)}warn(n){console.warn(n)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"platform"});let e=t;return e})();const mF=new z("");function ya(e){return!!e&&typeof e.then=="function"}function py(e){return!!e&&typeof e.subscribe=="function"}const vF=new z("");let gy=(()=>{const t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=A(vF,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const s=o();if(ya(s))n.push(s);else if(py(s)){const a=new Promise((u,l)=>{s.subscribe({complete:u,error:l})});n.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();const Da=new z("");function yF(e){return e.isBoundToModule}const DF=10;function EF(e,t,r){try{const n=r();return ya(n)?n.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}let _r=(()=>{const t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=A(Yw),this.afterRenderManager=A(hT),this.zonelessEnabled=A(Sc),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new bt,this.afterTick=new bt,this.componentTypes=[],this.components=[],this.isStable=A(Er).hasPendingTasks.pipe(le(n=>!n)),this._injector=A(yn)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){const o=n instanceof jv;if(!this._injector.get(gy).done){const f=!o&&PC(n),v=!1;throw new V(405,v)}let a;o?a=n:a=this._injector.get(Jr).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const u=yF(a)?void 0:this._injector.get(ei),l=i||a.selector,c=a.create(ar.NULL,[],l,u),d=c.location.nativeElement,h=c.injector.get(mF,null);return h?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Qo(this.components,c),h?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new V(101,!1);const n=ce(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,ce(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(xc,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++na(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Qo(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(Da,[]);[...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),()=>Qo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new V(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Qo(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}let Oo;function my(e){Oo??(Oo=new WeakMap);const t=Oo.get(e);if(t)return t;const r=e.isStable.pipe(Hn(n=>n)).toPromise().then(()=>{});return Oo.set(e,r),e.onDestroy(()=>Oo?.delete(e)),r}function CF(e,t,r,n){if(!r&&!na(e))return;Iv(e,t,r&&!n?0:1)}class wF{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}}let _F=(()=>{const t=class t{compileModuleSync(n){return new sT(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),o=Ig(n),s=Jm(o.declarations).reduce((a,u)=>{const l=jn(u);return l&&a.push(new kc(l)),a},[]);return new wF(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),bF=(()=>{const t=class t{constructor(){this.zone=A(Ne),this.changeDetectionScheduler=A(pa),this.applicationRef=A(_r)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();const AF=new z("",{factory:()=>!1});function vy({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:r}){return e??(e=()=>new Ne({...yy(),scheduleInRootZone:r})),[{provide:Ne,useFactory:e},{provide:Yr,multi:!0,useFactory:()=>{const n=A(bF,{optional:!0});return()=>n.initialize()}},{provide:Yr,multi:!0,useFactory:()=>{const n=A(FF);return()=>{n.initialize()}}},t===!0?{provide:Lv,useValue:!0}:[],{provide:Bv,useValue:r??wm}]}function TF(e){const t=e?.ignoreChangesOutsideZone,r=e?.scheduleInRootZone,n=vy({ngZoneFactory:()=>{const i=yy(e);return i.scheduleInRootZone=r,i.shouldCoalesceEventChangeDetection&&hi("NgZone_CoalesceEvent"),new Ne(i)},ignoreChangesOutsideZone:t,scheduleInRootZone:r});return ai([{provide:AF,useValue:!0},{provide:Sc,useValue:!1},n])}function yy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let FF=(()=>{const t=class t{constructor(){this.subscription=new en,this.initialized=!1,this.zone=A(Ne),this.pendingTasks=A(Er)}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??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();let SF=(()=>{const t=class t{constructor(){this.appRef=A(_r),this.taskService=A(Er),this.ngZone=A(Ne),this.zonelessEnabled=A(Sc),this.disableScheduling=A(Lv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new en,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(As):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(A(Bv,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof qw||!this.zoneIsDefined))}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?pf:_m;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(As+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(n),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,pf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function xF(){return typeof $localize<"u"&&$localize.locale||Ku}const Vn=new z("",{providedIn:"root",factory:()=>A(Vn,ue.Optional|ue.SkipSelf)||xF()}),IF=new z("",{providedIn:"root",factory:()=>JT});const Qu=new z("");function No(e){return!e.moduleRef}function kF(e){const t=No(e)?e.r3Injector:e.moduleRef.injector,r=t.get(Ne);return r.run(()=>{No(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const n=t.get(ci,null);let i;if(r.runOutsideAngular(()=>{i=r.onError.subscribe({next:o=>{n.handleError(o)}})}),No(e)){const o=()=>t.destroy(),s=e.platformInjector.get(Qu);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Qu);s.add(o),e.moduleRef.onDestroy(()=>{Qo(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return EF(n,r,()=>{const o=t.get(gy);return o.runInitializers(),o.donePromise.then(()=>{const s=t.get(Vn,Ku);if(eF(s||Ku),No(e)){const a=t.get(_r);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return MF(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function MF(e,t){const r=e.injector.get(_r);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(r);else throw new V(-403,!1);t.push(e)}let Xo=null;function RF(e=[],t){return ar.create({name:t,providers:[{provide:Gl,useValue:"platform"},{provide:Qu,useValue:new Set([()=>Xo=null])},...e]})}function OF(e=[]){if(Xo)return Xo;const t=RF(e);return Xo=t,NF(t),t}function NF(e){e.get(km,null)?.forEach(r=>r())}let Dy=(()=>{const t=class t{};t.__NG_ELEMENT_ID__=PF;let e=t;return e})();function PF(e){return LF(mt(),he(),(e&16)===16)}function LF(e,t,r){if(no(e)&&!r){const n=Un(e.index,t);return new Ui(n,n)}else if(e.type&175){const n=t[At];return new Ui(n,t)}return null}class BF{constructor(){}supports(t){return Xv(t)}create(t){return new $F(t)}}const jF=(e,t)=>t;class $F{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||jF}forEachItem(t){let r;for(r=this._itHead;r!==null;r=r._next)t(r)}forEachOperation(t){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){const 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=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,r,n,i){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),t!==null?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._reinsertAfter(t,o,i)):(t=this._linkedRecords===null?null:this._linkedRecords.get(n,i),t!==null?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._moveAfter(t,o,i)):t=this._addAfter(new HF(r,n),o,i)),t}_verifyReinsertion(t,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;t!==null;){const r=t._next;this._addToRemovals(this._unlink(t)),t=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(t,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,r,n),this._addToMoves(t,n),t}_moveAfter(t,r,n){return this._unlink(t),this._insertAfter(t,r,n),this._addToMoves(t,n),t}_addAfter(t,r,n){return this._insertAfter(t,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,r,n){const i=r===null?this._itHead:r._next;return t._next=i,t._prev=r,i===null?this._itTail=t:i._prev=t,r===null?this._itHead=t:r._next=t,this._linkedRecords===null&&(this._linkedRecords=new $f),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);const r=t._prev,n=t._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,t}_addToMoves(t,r){return t.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new $f),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,r){return t.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}}class HF{constructor(t,r){this.item=t,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}}class UF{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const r=t._prevDup,n=t._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}}class $f{constructor(){this.map=new Map}put(t){const r=t.trackById;let n=this.map.get(r);n||(n=new UF,this.map.set(r,n)),n.add(t)}get(t,r){const n=t,i=this.map.get(n);return i?i.get(t,r):null}remove(t){const r=t.trackById;return this.map.get(r).remove(t)&&this.map.delete(r),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}}function Hf(e,t,r){const n=e.previousIndex;if(n===null)return n;let i=0;return r&&n{if(r&&r.key===i)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{const o=this._getOrCreateRecordForKey(i,n);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,r){if(t){const n=t._prev;return r._next=t,r._prev=n,t._prev=r,n&&(n._next=r),t===this._mapHead&&(this._mapHead=r),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(t,r){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,r);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const n=new GF(t);return this._records.set(t,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,r){Object.is(r,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=r,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,r){t instanceof Map?t.forEach(r):Object.keys(t).forEach(n=>r(t[n],n))}}class GF{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Uf(){return new Ey([new BF])}let Ey=(()=>{const t=class t{constructor(n){this.factories=n}static create(n,i){if(i!=null){const o=i.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:i=>t.create(n,i||Uf()),deps:[[t,new Cg,new Eg]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new V(901,!1)}};t.ɵprov=j({token:t,providedIn:"root",factory:Uf});let e=t;return e})();function Vf(){return new $c([new VF])}let $c=(()=>{const t=class t{constructor(n){this.factories=n}static create(n,i){if(i){const o=i.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:i=>t.create(n,i||Vf()),deps:[[t,new Cg,new Eg]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(i)return i;throw new V(901,!1)}};t.ɵprov=j({token:t,providedIn:"root",factory:Vf});let e=t;return e})();function qF(e){try{const{rootComponent:t,appProviders:r,platformProviders:n}=e,i=OF(n),o=[vy({}),{provide:pa,useExisting:SF},...r||[]],s=new Kv({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return kF({r3Injector:s.injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}}let zf=!1;function ZF(){zf||(zf=!0,g_(),WT(),uF(),fT(),GA(),_A(),Ab())}function WF(e,t){return my(e)}function YF(){return ai([{provide:So,useFactory:()=>{let e=!0;return Mo()&&(e=!!A(fi,{optional:!0})?.get(Bm,null)),e&&hi("NgHydration"),e}},{provide:Yr,useValue:()=>{Mo()&&A(So)&&(KF(),ZF())},multi:!0},{provide:Vm,useFactory:()=>Mo()&&A(So)},{provide:Da,useFactory:()=>{if(Mo()&&A(So)){const e=A(_r),t=A(ar);return()=>{WF(e,t).then(()=>{EA(e)})}}return()=>{}},multi:!0}])}function KF(){const e=so();let t;for(const r of e.body.childNodes)if(r.nodeType===Node.COMMENT_NODE&&r.textContent?.trim()===h_){t=r;break}if(!t)throw new V(-507,!1)}function Ja(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Gf(e){const t=ce(null);try{return e()}finally{ce(t)}}/** * @license Angular v18.2.8 * (c) 2010-2024 Google LLC. https://angular.io/ * License: MIT - */let Cy=null;function Zr(){return Cy}function QF(e){Cy??(Cy=e)}class XF{}const it=new z("");let wy=(()=>{const t=class t{historyGo(n){throw new Error("")}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>A(JF),providedIn:"platform"});let e=t;return e})(),JF=(()=>{const t=class t extends wy{constructor(){super(),this._doc=A(it),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Zr().getBaseHref(this._doc)}onPopState(n){const i=Zr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){const i=Zr().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}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function _y(e,t){if(e.length==0)return t;if(t.length==0)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,r==2?e+t.substring(1):r==1?e+t:e+"/"+t}function qf(e){const t=e.match(/#|\?|$/),r=t&&t.index||e.length,n=r-(e[r-1]==="/"?1:0);return e.slice(0,n)+e.slice(r)}function Kn(e){return e&&e[0]!=="?"?"?"+e:e}let Ea=(()=>{const t=class t{historyGo(n){throw new Error("")}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>A(tS),providedIn:"root"});let e=t;return e})();const eS=new z("");let tS=(()=>{const t=class t extends Ea{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??A(it).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 _y(this._baseHref,n)}path(n=!1){const i=this._platformLocation.pathname+Kn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){const a=this.prepareExternalUrl(o+Kn(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){const a=this.prepareExternalUrl(o+Kn(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)}};t.ɵfac=function(i){return new(i||t)(te(wy),te(eS,8))},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),lo=(()=>{const t=class t{constructor(n){this._subject=new nt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const i=this._locationStrategy.getBaseHref();this._basePath=iS(qf(Zf(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+Kn(i))}normalize(n){return t.stripTrailingSlash(rS(this._basePath,Zf(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+Kn(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Kn(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._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const 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})}};t.normalizeQueryParams=Kn,t.joinWithSlash=_y,t.stripTrailingSlash=qf,t.ɵfac=function(i){return new(i||t)(te(Ea))},t.ɵprov=j({token:t,factory:()=>nS(),providedIn:"root"});let e=t;return e})();function nS(){return new lo(te(Ea))}function rS(e,t){if(!e||!t.startsWith(e))return t;const r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function Zf(e){return e.replace(/\/index.html$/,"")}function iS(e){if(new RegExp("^(https?:)?//").test(e)){const[,r]=e.split(/\/\/[^\/]+/);return r}return e}const by={ADP:[void 0,void 0,0],AFN:[void 0,"؋",0],ALL:[void 0,void 0,0],AMD:[void 0,"֏",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"₼"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",2],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GHS:[void 0,"GH₵"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["₱"],PKR:[void 0,"Rs",2],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["¤"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Ca=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Ca||{}),Ir=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}(Ir||{}),Xe=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Xe||{}),De=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(De||{}),at=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(at||{});const ke={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function oS(e){return st(e)[Te.LocaleId]}function sS(e,t,r){const n=st(e),i=[n[Te.DayPeriodsFormat],n[Te.DayPeriodsStandalone]],o=Tt(i,t);return Tt(o,r)}function aS(e,t,r){const n=st(e),i=[n[Te.DaysFormat],n[Te.DaysStandalone]],o=Tt(i,t);return Tt(o,r)}function uS(e,t,r){const n=st(e),i=[n[Te.MonthsFormat],n[Te.MonthsStandalone]],o=Tt(i,t);return Tt(o,r)}function lS(e,t){const n=st(e)[Te.Eras];return Tt(n,t)}function Po(e,t){const r=st(e);return Tt(r[Te.DateFormat],t)}function Lo(e,t){const r=st(e);return Tt(r[Te.TimeFormat],t)}function Bo(e,t){const n=st(e)[Te.DateTimeFormat];return Tt(n,t)}function wt(e,t){const r=st(e),n=r[Te.NumberSymbols][t];if(typeof n>"u"){if(t===ke.CurrencyDecimal)return r[Te.NumberSymbols][ke.Decimal];if(t===ke.CurrencyGroup)return r[Te.NumberSymbols][ke.Group]}return n}function Hc(e,t){return st(e)[Te.NumberFormats][t]}function cS(e){return st(e)[Te.Currencies]}const dS=QT;function Ay(e){if(!e[Te.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Te.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function fS(e){const t=st(e);return Ay(t),(t[Te.ExtraData][2]||[]).map(n=>typeof n=="string"?eu(n):[eu(n[0]),eu(n[1])])}function hS(e,t,r){const n=st(e);Ay(n);const i=[n[Te.ExtraData][0],n[Te.ExtraData][1]],o=Tt(i,t)||[];return Tt(o,r)||[]}function Tt(e,t){for(let r=t;r>-1;r--)if(typeof e[r]<"u")return e[r];throw new Error("Locale data API: locale data undefined")}function eu(e){const[t,r]=e.split(":");return{hours:+t,minutes:+r}}function pS(e,t,r="en"){const n=cS(r)[e]||by[e]||[],i=n[1];return t==="narrow"&&typeof i=="string"?i:n[0]||e}const gS=2;function mS(e){let t;const r=by[e];return r&&(t=r[2]),typeof t=="number"?t:gS}const vS=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Fr={},yS=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var mn=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(mn||{}),ge=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(ge||{}),pe=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(pe||{});function DS(e,t,r,n){let i=SS(e);t=an(r,t)||t;let s=[],a;for(;t;)if(a=yS.exec(t),a){s=s.concat(a.slice(1));const c=s.pop();if(!c)break;t=c}else{s.push(t);break}let u=i.getTimezoneOffset();n&&(u=Fy(n,u),i=FS(i,n));let l="";return s.forEach(c=>{const d=AS(c);l+=d?d(i,r,u):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Rs(e,t,r){const n=new Date(0);return n.setFullYear(e,t,r),n.setHours(0,0,0),n}function an(e,t){const r=oS(e);if(Fr[r]??(Fr[r]={}),Fr[r][t])return Fr[r][t];let n="";switch(t){case"shortDate":n=Po(e,at.Short);break;case"mediumDate":n=Po(e,at.Medium);break;case"longDate":n=Po(e,at.Long);break;case"fullDate":n=Po(e,at.Full);break;case"shortTime":n=Lo(e,at.Short);break;case"mediumTime":n=Lo(e,at.Medium);break;case"longTime":n=Lo(e,at.Long);break;case"fullTime":n=Lo(e,at.Full);break;case"short":const i=an(e,"shortTime"),o=an(e,"shortDate");n=jo(Bo(e,at.Short),[i,o]);break;case"medium":const s=an(e,"mediumTime"),a=an(e,"mediumDate");n=jo(Bo(e,at.Medium),[s,a]);break;case"long":const u=an(e,"longTime"),l=an(e,"longDate");n=jo(Bo(e,at.Long),[u,l]);break;case"full":const c=an(e,"fullTime"),d=an(e,"fullDate");n=jo(Bo(e,at.Full),[c,d]);break}return n&&(Fr[r][t]=n),n}function jo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(r,n){return t!=null&&n in t?t[n]:r})),e}function Rt(e,t,r="-",n,i){let o="";(e<0||i&&e<=0)&&(i?e=-e+1:(e=-e,o=r));let s=String(e);for(;s.length0||a>-r)&&(a+=r),e===ge.Hours)a===0&&r===-12&&(a=12);else if(e===ge.FractionalSeconds)return ES(a,t);const u=wt(s,ke.MinusSign);return Rt(a,t,u,n,i)}}function CS(e,t){switch(e){case ge.FullYear:return t.getFullYear();case ge.Month:return t.getMonth();case ge.Date:return t.getDate();case ge.Hours:return t.getHours();case ge.Minutes:return t.getMinutes();case ge.Seconds:return t.getSeconds();case ge.FractionalSeconds:return t.getMilliseconds();case ge.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function _e(e,t,r=Xe.Format,n=!1){return function(i,o){return wS(i,o,e,t,r,n)}}function wS(e,t,r,n,i,o){switch(r){case pe.Months:return uS(t,i,n)[e.getMonth()];case pe.Days:return aS(t,i,n)[e.getDay()];case pe.DayPeriods:const s=e.getHours(),a=e.getMinutes();if(o){const l=fS(t),c=hS(t,i,n),d=l.findIndex(h=>{if(Array.isArray(h)){const[f,v]=h,C=s>=f.hours&&a>=f.minutes,D=s0?Math.floor(i/60):Math.ceil(i/60);switch(e){case mn.Short:return(i>=0?"+":"")+Rt(s,2,o)+Rt(Math.abs(i%60),2,o);case mn.ShortGMT:return"GMT"+(i>=0?"+":"")+Rt(s,1,o);case mn.Long:return"GMT"+(i>=0?"+":"")+Rt(s,2,o)+":"+Rt(Math.abs(i%60),2,o);case mn.Extended:return n===0?"Z":(i>=0?"+":"")+Rt(s,2,o)+":"+Rt(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}const _S=0,Jo=4;function bS(e){const t=Rs(e,_S,1).getDay();return Rs(e,0,1+(t<=Jo?Jo:Jo+7)-t)}function Ty(e){const t=e.getDay(),r=t===0?-3:Jo-t;return Rs(e.getFullYear(),e.getMonth(),e.getDate()+r)}function tu(e,t=!1){return function(r,n){let i;if(t){const o=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();i=1+Math.floor((s+o)/7)}else{const o=Ty(r),s=bS(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return Rt(i,e,wt(n,ke.MinusSign))}}function Ho(e,t=!1){return function(r,n){const o=Ty(r).getFullYear();return Rt(o,e,wt(n,ke.MinusSign),t)}}const nu={};function AS(e){if(nu[e])return nu[e];let t;switch(e){case"G":case"GG":case"GGG":t=_e(pe.Eras,De.Abbreviated);break;case"GGGG":t=_e(pe.Eras,De.Wide);break;case"GGGGG":t=_e(pe.Eras,De.Narrow);break;case"y":t=xe(ge.FullYear,1,0,!1,!0);break;case"yy":t=xe(ge.FullYear,2,0,!0,!0);break;case"yyy":t=xe(ge.FullYear,3,0,!1,!0);break;case"yyyy":t=xe(ge.FullYear,4,0,!1,!0);break;case"Y":t=Ho(1);break;case"YY":t=Ho(2,!0);break;case"YYY":t=Ho(3);break;case"YYYY":t=Ho(4);break;case"M":case"L":t=xe(ge.Month,1,1);break;case"MM":case"LL":t=xe(ge.Month,2,1);break;case"MMM":t=_e(pe.Months,De.Abbreviated);break;case"MMMM":t=_e(pe.Months,De.Wide);break;case"MMMMM":t=_e(pe.Months,De.Narrow);break;case"LLL":t=_e(pe.Months,De.Abbreviated,Xe.Standalone);break;case"LLLL":t=_e(pe.Months,De.Wide,Xe.Standalone);break;case"LLLLL":t=_e(pe.Months,De.Narrow,Xe.Standalone);break;case"w":t=tu(1);break;case"ww":t=tu(2);break;case"W":t=tu(1,!0);break;case"d":t=xe(ge.Date,1);break;case"dd":t=xe(ge.Date,2);break;case"c":case"cc":t=xe(ge.Day,1);break;case"ccc":t=_e(pe.Days,De.Abbreviated,Xe.Standalone);break;case"cccc":t=_e(pe.Days,De.Wide,Xe.Standalone);break;case"ccccc":t=_e(pe.Days,De.Narrow,Xe.Standalone);break;case"cccccc":t=_e(pe.Days,De.Short,Xe.Standalone);break;case"E":case"EE":case"EEE":t=_e(pe.Days,De.Abbreviated);break;case"EEEE":t=_e(pe.Days,De.Wide);break;case"EEEEE":t=_e(pe.Days,De.Narrow);break;case"EEEEEE":t=_e(pe.Days,De.Short);break;case"a":case"aa":case"aaa":t=_e(pe.DayPeriods,De.Abbreviated);break;case"aaaa":t=_e(pe.DayPeriods,De.Wide);break;case"aaaaa":t=_e(pe.DayPeriods,De.Narrow);break;case"b":case"bb":case"bbb":t=_e(pe.DayPeriods,De.Abbreviated,Xe.Standalone,!0);break;case"bbbb":t=_e(pe.DayPeriods,De.Wide,Xe.Standalone,!0);break;case"bbbbb":t=_e(pe.DayPeriods,De.Narrow,Xe.Standalone,!0);break;case"B":case"BB":case"BBB":t=_e(pe.DayPeriods,De.Abbreviated,Xe.Format,!0);break;case"BBBB":t=_e(pe.DayPeriods,De.Wide,Xe.Format,!0);break;case"BBBBB":t=_e(pe.DayPeriods,De.Narrow,Xe.Format,!0);break;case"h":t=xe(ge.Hours,1,-12);break;case"hh":t=xe(ge.Hours,2,-12);break;case"H":t=xe(ge.Hours,1);break;case"HH":t=xe(ge.Hours,2);break;case"m":t=xe(ge.Minutes,1);break;case"mm":t=xe(ge.Minutes,2);break;case"s":t=xe(ge.Seconds,1);break;case"ss":t=xe(ge.Seconds,2);break;case"S":t=xe(ge.FractionalSeconds,1);break;case"SS":t=xe(ge.FractionalSeconds,2);break;case"SSS":t=xe(ge.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=$o(mn.Short);break;case"ZZZZZ":t=$o(mn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=$o(mn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=$o(mn.Long);break;default:return null}return nu[e]=t,t}function Fy(e,t){e=e.replace(/:/g,"");const r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function TS(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function FS(e,t,r){const i=e.getTimezoneOffset(),o=Fy(t,i);return TS(e,-1*(o-i))}function SS(e){if(Wf(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[i,o=1,s=1]=e.split("-").map(a=>+a);return Rs(i,o-1,s)}const r=parseFloat(e);if(!isNaN(e-r))return new Date(r);let n;if(n=e.match(vS))return xS(n)}const t=new Date(e);if(!Wf(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function xS(e){const t=new Date(0);let r=0,n=0;const i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=Number(e[9]+e[10]),n=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-r,a=Number(e[5]||0)-n,u=Number(e[6]||0),l=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return o.call(t,s,a,u,l),t}function Wf(e){return e instanceof Date&&!isNaN(e.valueOf())}const IS=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Yf=22,Os=".",Ti="0",kS=";",MS=",",ru="#",Kf="¤",RS="%";function Uc(e,t,r,n,i,o,s=!1){let a="",u=!1;if(!isFinite(e))a=wt(r,ke.Infinity);else{let l=BS(e);s&&(l=LS(l));let c=t.minInt,d=t.minFrac,h=t.maxFrac;if(o){const p=o.match(IS);if(p===null)throw new Error(`${o} is not a valid digit info`);const g=p[1],y=p[3],w=p[5];g!=null&&(c=iu(g)),y!=null&&(d=iu(y)),w!=null?h=iu(w):y!=null&&d>h&&(h=d)}jS(l,d,h);let f=l.digits,v=l.integerLen;const C=l.exponent;let D=[];for(u=f.every(p=>!p);v0?D=f.splice(v,f.length):(D=f,f=[0]);const b=[];for(f.length>=t.lgSize&&b.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)b.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&b.unshift(f.join("")),a=b.join(wt(r,n)),D.length&&(a+=wt(r,i)+D.join("")),C&&(a+=wt(r,ke.Exponential)+"+"+C)}return e<0&&!u?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function OS(e,t,r,n,i){const o=Hc(t,Ca.Currency),s=Vc(o,wt(t,ke.MinusSign));return s.minFrac=mS(n),s.maxFrac=s.minFrac,Uc(e,s,t,ke.CurrencyGroup,ke.CurrencyDecimal,i).replace(Kf,r).replace(Kf,"").trim()}function NS(e,t,r){const n=Hc(t,Ca.Percent),i=Vc(n,wt(t,ke.MinusSign));return Uc(e,i,t,ke.Group,ke.Decimal,r,!0).replace(new RegExp(RS,"g"),wt(t,ke.PercentSign))}function PS(e,t,r){const n=Hc(t,Ca.Decimal),i=Vc(n,wt(t,ke.MinusSign));return Uc(e,i,t,ke.Group,ke.Decimal,r)}function Vc(e,t="-"){const r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(kS),i=n[0],o=n[1],s=i.indexOf(Os)!==-1?i.split(Os):[i.substring(0,i.lastIndexOf(Ti)+1),i.substring(i.lastIndexOf(Ti)+1)],a=s[0],u=s[1]||"";r.posPre=a.substring(0,a.indexOf(ru));for(let c=0;c-1&&(t=t.replace(Os,"")),(o=t.search(/e/i))>0?(i<0&&(i=o),i+=+t.slice(o+1),t=t.substring(0,o)):i<0&&(i=t.length),o=0;t.charAt(o)===Ti;o++);if(o===(a=t.length))n=[0],i=1;else{for(a--;t.charAt(a)===Ti;)a--;for(i-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(t.charAt(o))}return i>Yf&&(n=n.splice(0,Yf-1),r=i-1,i=1),{digits:n,exponent:r,integerLen:i}}function jS(e,t,r){if(t>r)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${r}).`);let n=e.digits,i=n.length-e.integerLen;const o=Math.min(Math.max(t,i),r);let s=o+e.integerLen,a=n[s];if(s>0){n.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[s-1]++;for(;i=l?v.pop():u=!1),h>=10?1:0},0);c&&(n.unshift(c),e.integerLen++)}function iu(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}let zc=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:function(i){let o=null;return i?o=new i:o=(s=>new $S(s))(te(Vn)),o},providedIn:"root"});let e=t;return e})();function Sy(e,t,r,n){let i=`=${e}`;if(t.indexOf(i)>-1||(i=r.getPluralCategory(e,n),t.indexOf(i)>-1))return i;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}let $S=(()=>{const t=class t extends zc{constructor(n){super(),this.locale=n}getPluralCategory(n,i){switch(dS(i||this.locale)(n)){case Ir.Zero:return"zero";case Ir.One:return"one";case Ir.Two:return"two";case Ir.Few:return"few";case Ir.Many:return"many";default:return"other"}}};t.ɵfac=function(i){return new(i||t)(te(Vn))},t.ɵprov=j({token:t,factory:t.ɵfac});let e=t;return e})();function xy(e,t){t=encodeURIComponent(t);for(const r of e.split(";")){const n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}const ou=/\s+/,Qf=[];let Xf=(()=>{const t=class t{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=Qf,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(ou):Qf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ou):n}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const i of n)this._updateState(i,!0);else if(n!=null)for(const i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){const o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(ou).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};t.ɵfac=function(i){return new(i||t)(ae(Cr),ae(Ic))},t.ɵdir=ot({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})(),Jf=(()=>{const t=class t{constructor(n){this._viewContainerRef=n,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(n){return n.ngComponentOutletNgModule!==void 0||n.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(n){return n.ngComponentOutlet!==void 0||n.ngComponentOutletContent!==void 0||n.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(n)}ngOnChanges(n){if(this._needToReCreateComponentInstance(n)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const i=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(n)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=oT(this.ngComponentOutletNgModule,eh(i)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(eh(i)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:i,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const n of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(n,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(n){for(const[i,o]of this._inputsUsed)o?(n.setInput(i,this.ngComponentOutletInputs[i]),this._inputsUsed.set(i,!1)):(n.setInput(i,void 0),this._inputsUsed.delete(i))}};t.ɵfac=function(i){return new(i||t)(ae(Ft))},t.ɵdir=ot({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[ui]});let e=t;return e})();function eh(e){return e.get(ei).injector}class HS{constructor(t,r,n,i){this.$implicit=t,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}}let th=(()=>{const t=class t{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;const n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new HS(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){const u=i.get(s);i.move(u,a),nh(u,o)}});for(let o=0,s=i.length;o{const s=i.get(o.currentIndex);nh(s,o)})}static ngTemplateContextGuard(n,i){return!0}};t.ɵfac=function(i){return new(i||t)(ae(Ft),ae(En),ae(Ey))},t.ɵdir=ot({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function nh(e,t){e.context.$implicit=t.item}let rh=(()=>{const t=class t{constructor(n,i){this._viewContainer=n,this._context=new US,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){ih("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){ih("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}};t.ɵfac=function(i){return new(i||t)(ae(Ft),ae(En))},t.ɵdir=ot({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})();class US{constructor(){this.$implicit=null,this.ngIf=null}}function ih(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${lt(t)}'.`)}class Gc{constructor(t,r){this._viewContainerRef=t,this._templateRef=r,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Ns=(()=>{const t=class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){const i=n===this._ngSwitch;return this._lastCasesMatched||(this._lastCasesMatched=i),this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(const i of this._defaultViews)i.enforceState(n)}}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=ot({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let e=t;return e})(),oh=(()=>{const t=class t{constructor(n,i,o){this.ngSwitch=o,o._addCase(),this._view=new Gc(n,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};t.ɵfac=function(i){return new(i||t)(ae(Ft),ae(En),ae(Ns,9))},t.ɵdir=ot({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let e=t;return e})(),sh=(()=>{const t=class t{constructor(n,i,o){o._addDefault(new Gc(n,i))}};t.ɵfac=function(i){return new(i||t)(ae(Ft),ae(En),ae(Ns,9))},t.ɵdir=ot({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0});let e=t;return e})();let Xu=(()=>{const t=class t{constructor(n){this._localization=n,this._caseViews={}}set ngPlural(n){this._updateView(n)}addCase(n,i){this._caseViews[n]=i}_updateView(n){this._clearViews();const i=Object.keys(this._caseViews),o=Sy(n,i,this._localization);this._activateView(this._caseViews[o])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(n){n&&(this._activeView=n,this._activeView.create())}};t.ɵfac=function(i){return new(i||t)(ae(zc))},t.ɵdir=ot({type:t,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});let e=t;return e})(),ah=(()=>{const t=class t{constructor(n,i,o,s){this.value=n;const a=!isNaN(Number(n));s.addCase(a?`=${n}`:n,new Gc(o,i))}};t.ɵfac=function(i){return new(i||t)(Em("ngPluralCase"),ae(En),ae(Ft),ae(Xu,1))},t.ɵdir=ot({type:t,selectors:[["","ngPluralCase",""]],standalone:!0});let e=t;return e})(),uh=(()=>{const t=class t{constructor(n,i,o){this._ngEl=n,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){const[o,s]=n.split("."),a=o.indexOf("-")===-1?void 0:Or.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,s?`${i}${s}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};t.ɵfac=function(i){return new(i||t)(ae(Cr),ae($c),ae(Ic))},t.ɵdir=ot({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let e=t;return e})(),lh=(()=>{const t=class t{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}const o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(n,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}};t.ɵfac=function(i){return new(i||t)(ae(Ft))},t.ɵdir=ot({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ui]});let e=t;return e})();function Vt(e,t){return new V(2100,!1)}class VS{createSubscription(t,r){return Gf(()=>t.subscribe({next:r,error:n=>{throw n}}))}dispose(t){Gf(()=>t.unsubscribe())}}class zS{createSubscription(t,r){return t.then(r,n=>{throw n})}dispose(t){}}const GS=new zS,qS=new VS;let Ju=(()=>{const t=class t{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(ya(n))return GS;if(py(n))return qS;throw Vt(t,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())}};t.ɵfac=function(i){return new(i||t)(ae(Dy,16))},t.ɵpipe=ht({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})(),ch=(()=>{const t=class t{transform(n){if(n==null)return null;if(typeof n!="string")throw Vt(t,n);return n.toLowerCase()}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=ht({name:"lowercase",type:t,pure:!0,standalone:!0});let e=t;return e})();const ZS=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let dh=(()=>{const t=class t{transform(n){if(n==null)return null;if(typeof n!="string")throw Vt(t,n);return n.replace(ZS,i=>i[0].toUpperCase()+i.slice(1).toLowerCase())}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=ht({name:"titlecase",type:t,pure:!0,standalone:!0});let e=t;return e})(),fh=(()=>{const t=class t{transform(n){if(n==null)return null;if(typeof n!="string")throw Vt(t,n);return n.toUpperCase()}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=ht({name:"uppercase",type:t,pure:!0,standalone:!0});let e=t;return e})();const WS="mediumDate",YS=new z(""),KS=new z("");let hh=(()=>{const t=class t{constructor(n,i,o){this.locale=n,this.defaultTimezone=i,this.defaultOptions=o}transform(n,i,o,s){if(n==null||n===""||n!==n)return null;try{const a=i??this.defaultOptions?.dateFormat??WS,u=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return DS(n,a,s||this.locale,u)}catch(a){throw Vt(t,a.message)}}};t.ɵfac=function(i){return new(i||t)(ae(Vn,16),ae(YS,24),ae(KS,24))},t.ɵpipe=ht({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();const QS=/#/g;let ph=(()=>{const t=class t{constructor(n){this._localization=n}transform(n,i,o){if(n==null)return"";if(typeof i!="object"||i===null)throw Vt(t,i);const s=Sy(n,Object.keys(i),this._localization,o);return i[s].replace(QS,n.toString())}};t.ɵfac=function(i){return new(i||t)(ae(zc,16))},t.ɵpipe=ht({name:"i18nPlural",type:t,pure:!0,standalone:!0});let e=t;return e})(),gh=(()=>{const t=class t{transform(n,i){if(n==null)return"";if(typeof i!="object"||typeof n!="string")throw Vt(t,i);return i.hasOwnProperty(n)?i[n]:i.hasOwnProperty("other")?i.other:""}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=ht({name:"i18nSelect",type:t,pure:!0,standalone:!0});let e=t;return e})(),mh=(()=>{const t=class t{transform(n){return JSON.stringify(n,null,2)}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=ht({name:"json",type:t,pure:!1,standalone:!0});let e=t;return e})();function XS(e,t){return{key:e,value:t}}let vh=(()=>{const t=class t{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=yh}transform(n,i=yh){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??(this.differ=this.differs.find(n).create());const o=this.differ.diff(n),s=i!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(XS(a.key,a.currentValue))})),(o||s)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}};t.ɵfac=function(i){return new(i||t)(ae($c,16))},t.ɵpipe=ht({name:"keyvalue",type:t,pure:!1,standalone:!0});let e=t;return e})();function yh(e,t){const r=e.key,n=t.key;if(r===n)return 0;if(r===void 0)return 1;if(n===void 0)return-1;if(r===null)return 1;if(n===null)return-1;if(typeof r=="string"&&typeof n=="string")return r{const t=class t{constructor(n){this._locale=n}transform(n,i,o){if(!qc(n))return null;o||(o=this._locale);try{const s=Zc(n);return PS(s,o,i)}catch(s){throw Vt(t,s.message)}}};t.ɵfac=function(i){return new(i||t)(ae(Vn,16))},t.ɵpipe=ht({name:"number",type:t,pure:!0,standalone:!0});let e=t;return e})(),Eh=(()=>{const t=class t{constructor(n){this._locale=n}transform(n,i,o){if(!qc(n))return null;o||(o=this._locale);try{const s=Zc(n);return NS(s,o,i)}catch(s){throw Vt(t,s.message)}}};t.ɵfac=function(i){return new(i||t)(ae(Vn,16))},t.ɵpipe=ht({name:"percent",type:t,pure:!0,standalone:!0});let e=t;return e})(),Ch=(()=>{const t=class t{constructor(n,i="USD"){this._locale=n,this._defaultCurrencyCode=i}transform(n,i=this._defaultCurrencyCode,o="symbol",s,a){if(!qc(n))return null;a||(a=this._locale),typeof o=="boolean"&&(o=o?"symbol":"code");let u=i||this._defaultCurrencyCode;o!=="code"&&(o==="symbol"||o==="symbol-narrow"?u=pS(u,o==="symbol"?"wide":"narrow",a):u=o);try{const l=Zc(n);return OS(l,a,u,i,s)}catch(l){throw Vt(t,l.message)}}};t.ɵfac=function(i){return new(i||t)(ae(Vn,16),ae(IF,16))},t.ɵpipe=ht({name:"currency",type:t,pure:!0,standalone:!0});let e=t;return e})();function qc(e){return!(e==null||e===""||e!==e)}function Zc(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}let wh=(()=>{const t=class t{transform(n,i,o){if(n==null)return null;if(!this.supports(n))throw Vt(t,n);return n.slice(i,o)}supports(n){return typeof n=="string"||Array.isArray(n)}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=ht({name:"slice",type:t,pure:!1,standalone:!0});let e=t;return e})(),vP=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=NC({type:t,imports:[Xf,Jf,th,rh,lh,uh,Ns,oh,sh,Xu,ah,Ju,fh,ch,mh,wh,Dh,Eh,dh,Ch,hh,ph,gh,vh],exports:[Xf,Jf,th,rh,lh,uh,Ns,oh,sh,Xu,ah,Ju,fh,ch,mh,wh,Dh,Eh,dh,Ch,hh,ph,gh,vh]}),t.ɵinj=XE({});let e=t;return e})();const Iy="browser",JS="server";function ex(e){return e===Iy}function wa(e){return e===JS}class ky{}/** + */let Cy=null;function Zr(){return Cy}function QF(e){Cy??(Cy=e)}class XF{}const it=new z("");let wy=(()=>{const t=class t{historyGo(n){throw new Error("")}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>A(JF),providedIn:"platform"});let e=t;return e})(),JF=(()=>{const t=class t extends wy{constructor(){super(),this._doc=A(it),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Zr().getBaseHref(this._doc)}onPopState(n){const i=Zr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){const i=Zr().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}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function _y(e,t){if(e.length==0)return t;if(t.length==0)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,r==2?e+t.substring(1):r==1?e+t:e+"/"+t}function qf(e){const t=e.match(/#|\?|$/),r=t&&t.index||e.length,n=r-(e[r-1]==="/"?1:0);return e.slice(0,n)+e.slice(r)}function Kn(e){return e&&e[0]!=="?"?"?"+e:e}let Ea=(()=>{const t=class t{historyGo(n){throw new Error("")}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>A(tS),providedIn:"root"});let e=t;return e})();const eS=new z("");let tS=(()=>{const t=class t extends Ea{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??A(it).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 _y(this._baseHref,n)}path(n=!1){const i=this._platformLocation.pathname+Kn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){const a=this.prepareExternalUrl(o+Kn(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){const a=this.prepareExternalUrl(o+Kn(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)}};t.ɵfac=function(i){return new(i||t)(te(wy),te(eS,8))},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),lo=(()=>{const t=class t{constructor(n){this._subject=new nt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const i=this._locationStrategy.getBaseHref();this._basePath=iS(qf(Zf(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+Kn(i))}normalize(n){return t.stripTrailingSlash(rS(this._basePath,Zf(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+Kn(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Kn(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._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const 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})}};t.normalizeQueryParams=Kn,t.joinWithSlash=_y,t.stripTrailingSlash=qf,t.ɵfac=function(i){return new(i||t)(te(Ea))},t.ɵprov=j({token:t,factory:()=>nS(),providedIn:"root"});let e=t;return e})();function nS(){return new lo(te(Ea))}function rS(e,t){if(!e||!t.startsWith(e))return t;const r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function Zf(e){return e.replace(/\/index.html$/,"")}function iS(e){if(new RegExp("^(https?:)?//").test(e)){const[,r]=e.split(/\/\/[^\/]+/);return r}return e}const by={ADP:[void 0,void 0,0],AFN:[void 0,"؋",0],ALL:[void 0,void 0,0],AMD:[void 0,"֏",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"₼"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",2],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GHS:[void 0,"GH₵"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["₱"],PKR:[void 0,"Rs",2],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["¤"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Ca=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Ca||{}),Ir=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}(Ir||{}),Xe=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Xe||{}),De=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(De||{}),at=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(at||{});const ke={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function oS(e){return st(e)[Te.LocaleId]}function sS(e,t,r){const n=st(e),i=[n[Te.DayPeriodsFormat],n[Te.DayPeriodsStandalone]],o=Tt(i,t);return Tt(o,r)}function aS(e,t,r){const n=st(e),i=[n[Te.DaysFormat],n[Te.DaysStandalone]],o=Tt(i,t);return Tt(o,r)}function uS(e,t,r){const n=st(e),i=[n[Te.MonthsFormat],n[Te.MonthsStandalone]],o=Tt(i,t);return Tt(o,r)}function lS(e,t){const n=st(e)[Te.Eras];return Tt(n,t)}function Po(e,t){const r=st(e);return Tt(r[Te.DateFormat],t)}function Lo(e,t){const r=st(e);return Tt(r[Te.TimeFormat],t)}function Bo(e,t){const n=st(e)[Te.DateTimeFormat];return Tt(n,t)}function wt(e,t){const r=st(e),n=r[Te.NumberSymbols][t];if(typeof n>"u"){if(t===ke.CurrencyDecimal)return r[Te.NumberSymbols][ke.Decimal];if(t===ke.CurrencyGroup)return r[Te.NumberSymbols][ke.Group]}return n}function Hc(e,t){return st(e)[Te.NumberFormats][t]}function cS(e){return st(e)[Te.Currencies]}const dS=QT;function Ay(e){if(!e[Te.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Te.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function fS(e){const t=st(e);return Ay(t),(t[Te.ExtraData][2]||[]).map(n=>typeof n=="string"?eu(n):[eu(n[0]),eu(n[1])])}function hS(e,t,r){const n=st(e);Ay(n);const i=[n[Te.ExtraData][0],n[Te.ExtraData][1]],o=Tt(i,t)||[];return Tt(o,r)||[]}function Tt(e,t){for(let r=t;r>-1;r--)if(typeof e[r]<"u")return e[r];throw new Error("Locale data API: locale data undefined")}function eu(e){const[t,r]=e.split(":");return{hours:+t,minutes:+r}}function pS(e,t,r="en"){const n=cS(r)[e]||by[e]||[],i=n[1];return t==="narrow"&&typeof i=="string"?i:n[0]||e}const gS=2;function mS(e){let t;const r=by[e];return r&&(t=r[2]),typeof t=="number"?t:gS}const vS=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Fr={},yS=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var mn=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(mn||{}),ge=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(ge||{}),pe=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(pe||{});function DS(e,t,r,n){let i=SS(e);t=an(r,t)||t;let s=[],a;for(;t;)if(a=yS.exec(t),a){s=s.concat(a.slice(1));const c=s.pop();if(!c)break;t=c}else{s.push(t);break}let u=i.getTimezoneOffset();n&&(u=Fy(n,u),i=FS(i,n));let l="";return s.forEach(c=>{const d=AS(c);l+=d?d(i,r,u):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Rs(e,t,r){const n=new Date(0);return n.setFullYear(e,t,r),n.setHours(0,0,0),n}function an(e,t){const r=oS(e);if(Fr[r]??(Fr[r]={}),Fr[r][t])return Fr[r][t];let n="";switch(t){case"shortDate":n=Po(e,at.Short);break;case"mediumDate":n=Po(e,at.Medium);break;case"longDate":n=Po(e,at.Long);break;case"fullDate":n=Po(e,at.Full);break;case"shortTime":n=Lo(e,at.Short);break;case"mediumTime":n=Lo(e,at.Medium);break;case"longTime":n=Lo(e,at.Long);break;case"fullTime":n=Lo(e,at.Full);break;case"short":const i=an(e,"shortTime"),o=an(e,"shortDate");n=jo(Bo(e,at.Short),[i,o]);break;case"medium":const s=an(e,"mediumTime"),a=an(e,"mediumDate");n=jo(Bo(e,at.Medium),[s,a]);break;case"long":const u=an(e,"longTime"),l=an(e,"longDate");n=jo(Bo(e,at.Long),[u,l]);break;case"full":const c=an(e,"fullTime"),d=an(e,"fullDate");n=jo(Bo(e,at.Full),[c,d]);break}return n&&(Fr[r][t]=n),n}function jo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(r,n){return t!=null&&n in t?t[n]:r})),e}function Rt(e,t,r="-",n,i){let o="";(e<0||i&&e<=0)&&(i?e=-e+1:(e=-e,o=r));let s=String(e);for(;s.length0||a>-r)&&(a+=r),e===ge.Hours)a===0&&r===-12&&(a=12);else if(e===ge.FractionalSeconds)return ES(a,t);const u=wt(s,ke.MinusSign);return Rt(a,t,u,n,i)}}function CS(e,t){switch(e){case ge.FullYear:return t.getFullYear();case ge.Month:return t.getMonth();case ge.Date:return t.getDate();case ge.Hours:return t.getHours();case ge.Minutes:return t.getMinutes();case ge.Seconds:return t.getSeconds();case ge.FractionalSeconds:return t.getMilliseconds();case ge.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function _e(e,t,r=Xe.Format,n=!1){return function(i,o){return wS(i,o,e,t,r,n)}}function wS(e,t,r,n,i,o){switch(r){case pe.Months:return uS(t,i,n)[e.getMonth()];case pe.Days:return aS(t,i,n)[e.getDay()];case pe.DayPeriods:const s=e.getHours(),a=e.getMinutes();if(o){const l=fS(t),c=hS(t,i,n),d=l.findIndex(h=>{if(Array.isArray(h)){const[f,v]=h,C=s>=f.hours&&a>=f.minutes,D=s0?Math.floor(i/60):Math.ceil(i/60);switch(e){case mn.Short:return(i>=0?"+":"")+Rt(s,2,o)+Rt(Math.abs(i%60),2,o);case mn.ShortGMT:return"GMT"+(i>=0?"+":"")+Rt(s,1,o);case mn.Long:return"GMT"+(i>=0?"+":"")+Rt(s,2,o)+":"+Rt(Math.abs(i%60),2,o);case mn.Extended:return n===0?"Z":(i>=0?"+":"")+Rt(s,2,o)+":"+Rt(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}const _S=0,Jo=4;function bS(e){const t=Rs(e,_S,1).getDay();return Rs(e,0,1+(t<=Jo?Jo:Jo+7)-t)}function Ty(e){const t=e.getDay(),r=t===0?-3:Jo-t;return Rs(e.getFullYear(),e.getMonth(),e.getDate()+r)}function tu(e,t=!1){return function(r,n){let i;if(t){const o=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();i=1+Math.floor((s+o)/7)}else{const o=Ty(r),s=bS(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return Rt(i,e,wt(n,ke.MinusSign))}}function Ho(e,t=!1){return function(r,n){const o=Ty(r).getFullYear();return Rt(o,e,wt(n,ke.MinusSign),t)}}const nu={};function AS(e){if(nu[e])return nu[e];let t;switch(e){case"G":case"GG":case"GGG":t=_e(pe.Eras,De.Abbreviated);break;case"GGGG":t=_e(pe.Eras,De.Wide);break;case"GGGGG":t=_e(pe.Eras,De.Narrow);break;case"y":t=xe(ge.FullYear,1,0,!1,!0);break;case"yy":t=xe(ge.FullYear,2,0,!0,!0);break;case"yyy":t=xe(ge.FullYear,3,0,!1,!0);break;case"yyyy":t=xe(ge.FullYear,4,0,!1,!0);break;case"Y":t=Ho(1);break;case"YY":t=Ho(2,!0);break;case"YYY":t=Ho(3);break;case"YYYY":t=Ho(4);break;case"M":case"L":t=xe(ge.Month,1,1);break;case"MM":case"LL":t=xe(ge.Month,2,1);break;case"MMM":t=_e(pe.Months,De.Abbreviated);break;case"MMMM":t=_e(pe.Months,De.Wide);break;case"MMMMM":t=_e(pe.Months,De.Narrow);break;case"LLL":t=_e(pe.Months,De.Abbreviated,Xe.Standalone);break;case"LLLL":t=_e(pe.Months,De.Wide,Xe.Standalone);break;case"LLLLL":t=_e(pe.Months,De.Narrow,Xe.Standalone);break;case"w":t=tu(1);break;case"ww":t=tu(2);break;case"W":t=tu(1,!0);break;case"d":t=xe(ge.Date,1);break;case"dd":t=xe(ge.Date,2);break;case"c":case"cc":t=xe(ge.Day,1);break;case"ccc":t=_e(pe.Days,De.Abbreviated,Xe.Standalone);break;case"cccc":t=_e(pe.Days,De.Wide,Xe.Standalone);break;case"ccccc":t=_e(pe.Days,De.Narrow,Xe.Standalone);break;case"cccccc":t=_e(pe.Days,De.Short,Xe.Standalone);break;case"E":case"EE":case"EEE":t=_e(pe.Days,De.Abbreviated);break;case"EEEE":t=_e(pe.Days,De.Wide);break;case"EEEEE":t=_e(pe.Days,De.Narrow);break;case"EEEEEE":t=_e(pe.Days,De.Short);break;case"a":case"aa":case"aaa":t=_e(pe.DayPeriods,De.Abbreviated);break;case"aaaa":t=_e(pe.DayPeriods,De.Wide);break;case"aaaaa":t=_e(pe.DayPeriods,De.Narrow);break;case"b":case"bb":case"bbb":t=_e(pe.DayPeriods,De.Abbreviated,Xe.Standalone,!0);break;case"bbbb":t=_e(pe.DayPeriods,De.Wide,Xe.Standalone,!0);break;case"bbbbb":t=_e(pe.DayPeriods,De.Narrow,Xe.Standalone,!0);break;case"B":case"BB":case"BBB":t=_e(pe.DayPeriods,De.Abbreviated,Xe.Format,!0);break;case"BBBB":t=_e(pe.DayPeriods,De.Wide,Xe.Format,!0);break;case"BBBBB":t=_e(pe.DayPeriods,De.Narrow,Xe.Format,!0);break;case"h":t=xe(ge.Hours,1,-12);break;case"hh":t=xe(ge.Hours,2,-12);break;case"H":t=xe(ge.Hours,1);break;case"HH":t=xe(ge.Hours,2);break;case"m":t=xe(ge.Minutes,1);break;case"mm":t=xe(ge.Minutes,2);break;case"s":t=xe(ge.Seconds,1);break;case"ss":t=xe(ge.Seconds,2);break;case"S":t=xe(ge.FractionalSeconds,1);break;case"SS":t=xe(ge.FractionalSeconds,2);break;case"SSS":t=xe(ge.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=$o(mn.Short);break;case"ZZZZZ":t=$o(mn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=$o(mn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=$o(mn.Long);break;default:return null}return nu[e]=t,t}function Fy(e,t){e=e.replace(/:/g,"");const r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function TS(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function FS(e,t,r){const i=e.getTimezoneOffset(),o=Fy(t,i);return TS(e,-1*(o-i))}function SS(e){if(Wf(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[i,o=1,s=1]=e.split("-").map(a=>+a);return Rs(i,o-1,s)}const r=parseFloat(e);if(!isNaN(e-r))return new Date(r);let n;if(n=e.match(vS))return xS(n)}const t=new Date(e);if(!Wf(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function xS(e){const t=new Date(0);let r=0,n=0;const i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=Number(e[9]+e[10]),n=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-r,a=Number(e[5]||0)-n,u=Number(e[6]||0),l=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return o.call(t,s,a,u,l),t}function Wf(e){return e instanceof Date&&!isNaN(e.valueOf())}const IS=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Yf=22,Os=".",Ti="0",kS=";",MS=",",ru="#",Kf="¤",RS="%";function Uc(e,t,r,n,i,o,s=!1){let a="",u=!1;if(!isFinite(e))a=wt(r,ke.Infinity);else{let l=BS(e);s&&(l=LS(l));let c=t.minInt,d=t.minFrac,h=t.maxFrac;if(o){const p=o.match(IS);if(p===null)throw new Error(`${o} is not a valid digit info`);const g=p[1],y=p[3],w=p[5];g!=null&&(c=iu(g)),y!=null&&(d=iu(y)),w!=null?h=iu(w):y!=null&&d>h&&(h=d)}jS(l,d,h);let f=l.digits,v=l.integerLen;const C=l.exponent;let D=[];for(u=f.every(p=>!p);v0?D=f.splice(v,f.length):(D=f,f=[0]);const b=[];for(f.length>=t.lgSize&&b.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)b.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&b.unshift(f.join("")),a=b.join(wt(r,n)),D.length&&(a+=wt(r,i)+D.join("")),C&&(a+=wt(r,ke.Exponential)+"+"+C)}return e<0&&!u?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function OS(e,t,r,n,i){const o=Hc(t,Ca.Currency),s=Vc(o,wt(t,ke.MinusSign));return s.minFrac=mS(n),s.maxFrac=s.minFrac,Uc(e,s,t,ke.CurrencyGroup,ke.CurrencyDecimal,i).replace(Kf,r).replace(Kf,"").trim()}function NS(e,t,r){const n=Hc(t,Ca.Percent),i=Vc(n,wt(t,ke.MinusSign));return Uc(e,i,t,ke.Group,ke.Decimal,r,!0).replace(new RegExp(RS,"g"),wt(t,ke.PercentSign))}function PS(e,t,r){const n=Hc(t,Ca.Decimal),i=Vc(n,wt(t,ke.MinusSign));return Uc(e,i,t,ke.Group,ke.Decimal,r)}function Vc(e,t="-"){const r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(kS),i=n[0],o=n[1],s=i.indexOf(Os)!==-1?i.split(Os):[i.substring(0,i.lastIndexOf(Ti)+1),i.substring(i.lastIndexOf(Ti)+1)],a=s[0],u=s[1]||"";r.posPre=a.substring(0,a.indexOf(ru));for(let c=0;c-1&&(t=t.replace(Os,"")),(o=t.search(/e/i))>0?(i<0&&(i=o),i+=+t.slice(o+1),t=t.substring(0,o)):i<0&&(i=t.length),o=0;t.charAt(o)===Ti;o++);if(o===(a=t.length))n=[0],i=1;else{for(a--;t.charAt(a)===Ti;)a--;for(i-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(t.charAt(o))}return i>Yf&&(n=n.splice(0,Yf-1),r=i-1,i=1),{digits:n,exponent:r,integerLen:i}}function jS(e,t,r){if(t>r)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${r}).`);let n=e.digits,i=n.length-e.integerLen;const o=Math.min(Math.max(t,i),r);let s=o+e.integerLen,a=n[s];if(s>0){n.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[s-1]++;for(;i=l?v.pop():u=!1),h>=10?1:0},0);c&&(n.unshift(c),e.integerLen++)}function iu(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}let zc=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:function(i){let o=null;return i?o=new i:o=(s=>new $S(s))(te(Vn)),o},providedIn:"root"});let e=t;return e})();function Sy(e,t,r,n){let i=`=${e}`;if(t.indexOf(i)>-1||(i=r.getPluralCategory(e,n),t.indexOf(i)>-1))return i;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}let $S=(()=>{const t=class t extends zc{constructor(n){super(),this.locale=n}getPluralCategory(n,i){switch(dS(i||this.locale)(n)){case Ir.Zero:return"zero";case Ir.One:return"one";case Ir.Two:return"two";case Ir.Few:return"few";case Ir.Many:return"many";default:return"other"}}};t.ɵfac=function(i){return new(i||t)(te(Vn))},t.ɵprov=j({token:t,factory:t.ɵfac});let e=t;return e})();function xy(e,t){t=encodeURIComponent(t);for(const r of e.split(";")){const n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}const ou=/\s+/,Qf=[];let Xf=(()=>{const t=class t{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=Qf,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(ou):Qf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ou):n}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const i of n)this._updateState(i,!0);else if(n!=null)for(const i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){const o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(ou).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};t.ɵfac=function(i){return new(i||t)(ae(Cr),ae(Ic))},t.ɵdir=ot({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})(),Jf=(()=>{const t=class t{constructor(n){this._viewContainerRef=n,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(n){return n.ngComponentOutletNgModule!==void 0||n.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(n){return n.ngComponentOutlet!==void 0||n.ngComponentOutletContent!==void 0||n.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(n)}ngOnChanges(n){if(this._needToReCreateComponentInstance(n)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const i=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(n)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=oT(this.ngComponentOutletNgModule,eh(i)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(eh(i)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:i,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const n of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(n,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(n){for(const[i,o]of this._inputsUsed)o?(n.setInput(i,this.ngComponentOutletInputs[i]),this._inputsUsed.set(i,!1)):(n.setInput(i,void 0),this._inputsUsed.delete(i))}};t.ɵfac=function(i){return new(i||t)(ae(Ft))},t.ɵdir=ot({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[ui]});let e=t;return e})();function eh(e){return e.get(ei).injector}class HS{constructor(t,r,n,i){this.$implicit=t,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}}let th=(()=>{const t=class t{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;const n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new HS(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){const u=i.get(s);i.move(u,a),nh(u,o)}});for(let o=0,s=i.length;o{const s=i.get(o.currentIndex);nh(s,o)})}static ngTemplateContextGuard(n,i){return!0}};t.ɵfac=function(i){return new(i||t)(ae(Ft),ae(En),ae(Ey))},t.ɵdir=ot({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function nh(e,t){e.context.$implicit=t.item}let rh=(()=>{const t=class t{constructor(n,i){this._viewContainer=n,this._context=new US,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){ih("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){ih("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}};t.ɵfac=function(i){return new(i||t)(ae(Ft),ae(En))},t.ɵdir=ot({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})();class US{constructor(){this.$implicit=null,this.ngIf=null}}function ih(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${lt(t)}'.`)}class Gc{constructor(t,r){this._viewContainerRef=t,this._templateRef=r,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Ns=(()=>{const t=class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){const i=n===this._ngSwitch;return this._lastCasesMatched||(this._lastCasesMatched=i),this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(const i of this._defaultViews)i.enforceState(n)}}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=ot({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let e=t;return e})(),oh=(()=>{const t=class t{constructor(n,i,o){this.ngSwitch=o,o._addCase(),this._view=new Gc(n,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};t.ɵfac=function(i){return new(i||t)(ae(Ft),ae(En),ae(Ns,9))},t.ɵdir=ot({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let e=t;return e})(),sh=(()=>{const t=class t{constructor(n,i,o){o._addDefault(new Gc(n,i))}};t.ɵfac=function(i){return new(i||t)(ae(Ft),ae(En),ae(Ns,9))},t.ɵdir=ot({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0});let e=t;return e})();let Xu=(()=>{const t=class t{constructor(n){this._localization=n,this._caseViews={}}set ngPlural(n){this._updateView(n)}addCase(n,i){this._caseViews[n]=i}_updateView(n){this._clearViews();const i=Object.keys(this._caseViews),o=Sy(n,i,this._localization);this._activateView(this._caseViews[o])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(n){n&&(this._activeView=n,this._activeView.create())}};t.ɵfac=function(i){return new(i||t)(ae(zc))},t.ɵdir=ot({type:t,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});let e=t;return e})(),ah=(()=>{const t=class t{constructor(n,i,o,s){this.value=n;const a=!isNaN(Number(n));s.addCase(a?`=${n}`:n,new Gc(o,i))}};t.ɵfac=function(i){return new(i||t)(Em("ngPluralCase"),ae(En),ae(Ft),ae(Xu,1))},t.ɵdir=ot({type:t,selectors:[["","ngPluralCase",""]],standalone:!0});let e=t;return e})(),uh=(()=>{const t=class t{constructor(n,i,o){this._ngEl=n,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){const[o,s]=n.split("."),a=o.indexOf("-")===-1?void 0:Or.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,s?`${i}${s}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};t.ɵfac=function(i){return new(i||t)(ae(Cr),ae($c),ae(Ic))},t.ɵdir=ot({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let e=t;return e})(),lh=(()=>{const t=class t{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}const o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(n,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}};t.ɵfac=function(i){return new(i||t)(ae(Ft))},t.ɵdir=ot({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ui]});let e=t;return e})();function Vt(e,t){return new V(2100,!1)}class VS{createSubscription(t,r){return Gf(()=>t.subscribe({next:r,error:n=>{throw n}}))}dispose(t){Gf(()=>t.unsubscribe())}}class zS{createSubscription(t,r){return t.then(r,n=>{throw n})}dispose(t){}}const GS=new zS,qS=new VS;let Ju=(()=>{const t=class t{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(ya(n))return GS;if(py(n))return qS;throw Vt(t,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())}};t.ɵfac=function(i){return new(i||t)(ae(Dy,16))},t.ɵpipe=ht({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})(),ch=(()=>{const t=class t{transform(n){if(n==null)return null;if(typeof n!="string")throw Vt(t,n);return n.toLowerCase()}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=ht({name:"lowercase",type:t,pure:!0,standalone:!0});let e=t;return e})();const ZS=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let dh=(()=>{const t=class t{transform(n){if(n==null)return null;if(typeof n!="string")throw Vt(t,n);return n.replace(ZS,i=>i[0].toUpperCase()+i.slice(1).toLowerCase())}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=ht({name:"titlecase",type:t,pure:!0,standalone:!0});let e=t;return e})(),fh=(()=>{const t=class t{transform(n){if(n==null)return null;if(typeof n!="string")throw Vt(t,n);return n.toUpperCase()}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=ht({name:"uppercase",type:t,pure:!0,standalone:!0});let e=t;return e})();const WS="mediumDate",YS=new z(""),KS=new z("");let hh=(()=>{const t=class t{constructor(n,i,o){this.locale=n,this.defaultTimezone=i,this.defaultOptions=o}transform(n,i,o,s){if(n==null||n===""||n!==n)return null;try{const a=i??this.defaultOptions?.dateFormat??WS,u=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return DS(n,a,s||this.locale,u)}catch(a){throw Vt(t,a.message)}}};t.ɵfac=function(i){return new(i||t)(ae(Vn,16),ae(YS,24),ae(KS,24))},t.ɵpipe=ht({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();const QS=/#/g;let ph=(()=>{const t=class t{constructor(n){this._localization=n}transform(n,i,o){if(n==null)return"";if(typeof i!="object"||i===null)throw Vt(t,i);const s=Sy(n,Object.keys(i),this._localization,o);return i[s].replace(QS,n.toString())}};t.ɵfac=function(i){return new(i||t)(ae(zc,16))},t.ɵpipe=ht({name:"i18nPlural",type:t,pure:!0,standalone:!0});let e=t;return e})(),gh=(()=>{const t=class t{transform(n,i){if(n==null)return"";if(typeof i!="object"||typeof n!="string")throw Vt(t,i);return i.hasOwnProperty(n)?i[n]:i.hasOwnProperty("other")?i.other:""}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=ht({name:"i18nSelect",type:t,pure:!0,standalone:!0});let e=t;return e})(),mh=(()=>{const t=class t{transform(n){return JSON.stringify(n,null,2)}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=ht({name:"json",type:t,pure:!1,standalone:!0});let e=t;return e})();function XS(e,t){return{key:e,value:t}}let vh=(()=>{const t=class t{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=yh}transform(n,i=yh){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??(this.differ=this.differs.find(n).create());const o=this.differ.diff(n),s=i!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(XS(a.key,a.currentValue))})),(o||s)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}};t.ɵfac=function(i){return new(i||t)(ae($c,16))},t.ɵpipe=ht({name:"keyvalue",type:t,pure:!1,standalone:!0});let e=t;return e})();function yh(e,t){const r=e.key,n=t.key;if(r===n)return 0;if(r===void 0)return 1;if(n===void 0)return-1;if(r===null)return 1;if(n===null)return-1;if(typeof r=="string"&&typeof n=="string")return r{const t=class t{constructor(n){this._locale=n}transform(n,i,o){if(!qc(n))return null;o||(o=this._locale);try{const s=Zc(n);return PS(s,o,i)}catch(s){throw Vt(t,s.message)}}};t.ɵfac=function(i){return new(i||t)(ae(Vn,16))},t.ɵpipe=ht({name:"number",type:t,pure:!0,standalone:!0});let e=t;return e})(),Eh=(()=>{const t=class t{constructor(n){this._locale=n}transform(n,i,o){if(!qc(n))return null;o||(o=this._locale);try{const s=Zc(n);return NS(s,o,i)}catch(s){throw Vt(t,s.message)}}};t.ɵfac=function(i){return new(i||t)(ae(Vn,16))},t.ɵpipe=ht({name:"percent",type:t,pure:!0,standalone:!0});let e=t;return e})(),Ch=(()=>{const t=class t{constructor(n,i="USD"){this._locale=n,this._defaultCurrencyCode=i}transform(n,i=this._defaultCurrencyCode,o="symbol",s,a){if(!qc(n))return null;a||(a=this._locale),typeof o=="boolean"&&(o=o?"symbol":"code");let u=i||this._defaultCurrencyCode;o!=="code"&&(o==="symbol"||o==="symbol-narrow"?u=pS(u,o==="symbol"?"wide":"narrow",a):u=o);try{const l=Zc(n);return OS(l,a,u,i,s)}catch(l){throw Vt(t,l.message)}}};t.ɵfac=function(i){return new(i||t)(ae(Vn,16),ae(IF,16))},t.ɵpipe=ht({name:"currency",type:t,pure:!0,standalone:!0});let e=t;return e})();function qc(e){return!(e==null||e===""||e!==e)}function Zc(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}let wh=(()=>{const t=class t{transform(n,i,o){if(n==null)return null;if(!this.supports(n))throw Vt(t,n);return n.slice(i,o)}supports(n){return typeof n=="string"||Array.isArray(n)}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=ht({name:"slice",type:t,pure:!1,standalone:!0});let e=t;return e})(),yP=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=NC({type:t,imports:[Xf,Jf,th,rh,lh,uh,Ns,oh,sh,Xu,ah,Ju,fh,ch,mh,wh,Dh,Eh,dh,Ch,hh,ph,gh,vh],exports:[Xf,Jf,th,rh,lh,uh,Ns,oh,sh,Xu,ah,Ju,fh,ch,mh,wh,Dh,Eh,dh,Ch,hh,ph,gh,vh]}),t.ɵinj=XE({});let e=t;return e})();const Iy="browser",JS="server";function ex(e){return e===Iy}function wa(e){return e===JS}class ky{}/** * @license Angular v18.2.8 * (c) 2010-2024 Google LLC. https://angular.io/ * License: MIT @@ -34,42 +34,42 @@ var w0=Object.defineProperty;var Ld=e=>{throw TypeError(e)};var _0=(e,t,r)=>t in * @license Angular v18.2.8 * (c) 2010-2024 Google LLC. https://angular.io/ * License: MIT - */const re="primary",co=Symbol("RouteTitle");class lI{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){const r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}}function ni(e){return new lI(e)}function cI(e,t,r){const n=r.path.split("/");if(n.length>e.length||r.pathMatch==="full"&&(t.hasChildren()||n.lengthn[o]===i)}else return e===t}function zy(e){return e.length>0?e[e.length-1]:null}function zn(e){return FE(e)?e:ya(e)?We(Promise.resolve(e)):K(e)}const fI={exact:qy,subset:Zy},Gy={exact:hI,subset:pI,ignored:()=>!0};function Hh(e,t,r){return fI[r.paths](e.root,t.root,r.matrixParams)&&Gy[r.queryParams](e.queryParams,t.queryParams)&&!(r.fragment==="exact"&&e.fragment!==t.fragment)}function hI(e,t){return Xt(e,t)}function qy(e,t,r){if(!Jn(e.segments,t.segments)||!ts(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children)if(!e.children[n]||!qy(e.children[n],t.children[n],r))return!1;return!0}function pI(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>Vy(e[r],t[r]))}function Zy(e,t,r){return Wy(e,t,t.segments,r)}function Wy(e,t,r,n){if(e.segments.length>r.length){const i=e.segments.slice(0,r.length);return!(!Jn(i,r)||t.hasChildren()||!ts(i,r,n))}else if(e.segments.length===r.length){if(!Jn(e.segments,r)||!ts(e.segments,r,n))return!1;for(const i in t.children)if(!e.children[i]||!Zy(e.children[i],t.children[i],n))return!1;return!0}else{const i=r.slice(0,e.segments.length),o=r.slice(e.segments.length);return!Jn(e.segments,i)||!ts(e.segments,i,n)||!e.children[re]?!1:Wy(e.children[re],t,o,n)}}function ts(e,t,r){return t.every((n,i)=>Gy[r](e[i].parameters,n.parameters))}class dr{constructor(t=new ye([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??(this._queryParamMap=ni(this.queryParams)),this._queryParamMap}toString(){return vI.serialize(this)}}class ye{constructor(t,r){this.segments=t,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 ns(this)}}class Si{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??(this._parameterMap=ni(this.parameters)),this._parameterMap}toString(){return Ky(this)}}function gI(e,t){return Jn(e,t)&&e.every((r,n)=>Xt(r.parameters,t[n].parameters))}function Jn(e,t){return e.length!==t.length?!1:e.every((r,n)=>r.path===t[n].path)}function mI(e,t){let r=[];return Object.entries(e.children).forEach(([n,i])=>{n===re&&(r=r.concat(t(i,n)))}),Object.entries(e.children).forEach(([n,i])=>{n!==re&&(r=r.concat(t(i,n)))}),r}let nd=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>new rd,providedIn:"root"});let e=t;return e})();class rd{parse(t){const r=new SI(t);return new dr(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){const r=`/${Ci(t.root,!0)}`,n=EI(t.queryParams),i=typeof t.fragment=="string"?`#${yI(t.fragment)}`:"";return`${r}${n}${i}`}}const vI=new rd;function ns(e){return e.segments.map(t=>Ky(t)).join("/")}function Ci(e,t){if(!e.hasChildren())return ns(e);if(t){const r=e.children[re]?Ci(e.children[re],!1):"",n=[];return Object.entries(e.children).forEach(([i,o])=>{i!==re&&n.push(`${i}:${Ci(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{const r=mI(e,(n,i)=>i===re?[Ci(e.children[re],!1)]:[`${i}:${Ci(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[re]!=null?`${ns(e)}/${r[0]}`:`${ns(e)}/(${r.join("//")})`}}function Yy(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Vo(e){return Yy(e).replace(/%3B/gi,";")}function yI(e){return encodeURI(e)}function sl(e){return Yy(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function rs(e){return decodeURIComponent(e)}function Uh(e){return rs(e.replace(/\+/g,"%20"))}function Ky(e){return`${sl(e.path)}${DI(e.parameters)}`}function DI(e){return Object.entries(e).map(([t,r])=>`;${sl(t)}=${sl(r)}`).join("")}function EI(e){const t=Object.entries(e).map(([r,n])=>Array.isArray(n)?n.map(i=>`${Vo(r)}=${Vo(i)}`).join("&"):`${Vo(r)}=${Vo(n)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}const CI=/^[^\/()?;#]+/;function lu(e){const t=e.match(CI);return t?t[0]:""}const wI=/^[^\/()?;=#]+/;function _I(e){const t=e.match(wI);return t?t[0]:""}const bI=/^[^=?&#]+/;function AI(e){const t=e.match(bI);return t?t[0]:""}const TI=/^[^&#]+/;function FI(e){const t=e.match(TI);return t?t[0]:""}class SI{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ye([],{}):new ye([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[re]=new ye(t,r)),n}parseSegment(){const t=lu(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new V(4009,!1);return this.capture(t),new Si(rs(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const r=_I(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){const i=lu(this.remaining);i&&(n=i,this.capture(n))}t[rs(r)]=rs(n)}parseQueryParam(t){const r=AI(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){const s=FI(this.remaining);s&&(n=s,this.capture(n))}const i=Uh(r),o=Uh(n);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){const r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=lu(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new V(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=re);const s=this.parseChildren();r[o]=Object.keys(s).length===1?s[re]:new ye([],s),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new V(4011,!1)}}function Qy(e){return e.segments.length>0?new ye([],{[re]:e}):e}function Xy(e){const t={};for(const[n,i]of Object.entries(e.children)){const o=Xy(i);if(n===re&&o.segments.length===0&&o.hasChildren())for(const[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[n]=o)}const r=new ye(e.segments,t);return xI(r)}function xI(e){if(e.numberOfChildren===1&&e.children[re]){const t=e.children[re];return new ye(e.segments.concat(t.segments),t.children)}return e}function fr(e){return e instanceof dr}function II(e,t,r=null,n=null){const i=Jy(e);return eD(i,t,r,n)}function Jy(e){let t;function r(o){const s={};for(const u of o.children){const l=r(u);s[u.outlet]=l}const a=new ye(o.url,s);return o===e&&(t=a),a}const n=r(e.root),i=Qy(n);return t??i}function eD(e,t,r,n){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return cu(i,i,i,r,n);const o=kI(t);if(o.toRoot())return cu(i,i,new ye([],{}),r,n);const s=MI(o,i,e),a=s.processChildren?xi(s.segmentGroup,s.index,o.commands):nD(s.segmentGroup,s.index,o.commands);return cu(i,s.segmentGroup,a,r,n)}function Ps(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Gi(e){return typeof e=="object"&&e!=null&&e.outlets}function cu(e,t,r,n,i){let o={};n&&Object.entries(n).forEach(([u,l])=>{o[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`});let s;e===t?s=r:s=tD(e,t,r);const a=Qy(Xy(s));return new dr(a,o,i)}function tD(e,t,r){const n={};return Object.entries(e.children).forEach(([i,o])=>{o===t?n[i]=r:n[i]=tD(o,t,r)}),new ye(e.segments,n)}class Vh{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&Ps(n[0]))throw new V(4003,!1);const i=n.find(Gi);if(i&&i!==zy(n))throw new V(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}}function kI(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Vh(!0,0,e);let t=0,r=!1;const n=e.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([u,l])=>{a[u]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?r=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Vh(r,t,n)}class is{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}}function MI(e,t,r){if(e.isAbsolute)return new is(t,!0,0);if(!r)return new is(t,!1,NaN);if(r.parent===null)return new is(r,!0,0);const n=Ps(e.commands[0])?0:1,i=r.segments.length-1+n;return RI(r,i,e.numberOfDoubleDots)}function RI(e,t,r){let n=e,i=t,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new V(4005,!1);i=n.segments.length}return new is(n,!1,i-o)}function OI(e){return Gi(e[0])?e[0].outlets:{[re]:e}}function nD(e,t,r){if(e??(e=new ye([],{})),e.segments.length===0&&e.hasChildren())return xi(e,t,r);const n=NI(e,t,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==re)&&e.children[re]&&e.numberOfChildren===1&&e.children[re].segments.length===0){const o=xi(e.children[re],t,r);return new ye(e.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=nD(e.children[o],t,s))}),Object.entries(e.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new ye(e.segments,i)}}function NI(e,t,r){let n=0,i=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;const s=e.segments[i],a=r[n];if(Gi(a))break;const u=`${a}`,l=n0&&u===void 0)break;if(u&&l&&typeof l=="object"&&l.outlets===void 0){if(!Gh(u,l,s))return o;n+=2}else{if(!Gh(u,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function al(e,t,r){const n=e.segments.slice(0,t);let i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(t[r]=al(new ye([],{}),0,n))}),t}function zh(e){const t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function Gh(e,t,r){return e==r.path&&Xt(t,r.parameters)}const Ii="imperative";var Ve=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(Ve||{});class sn{constructor(t,r){this.id=t,this.url=r}}class ul extends sn{constructor(t,r,n="imperative",i=null){super(t,r),this.type=Ve.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class hr extends sn{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=Ve.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ut=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(ut||{}),ll=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(ll||{});class er extends sn{constructor(t,r,n,i){super(t,r),this.reason=n,this.code=i,this.type=Ve.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class qi extends sn{constructor(t,r,n,i){super(t,r),this.reason=n,this.code=i,this.type=Ve.NavigationSkipped}}class id extends sn{constructor(t,r,n,i){super(t,r),this.error=n,this.target=i,this.type=Ve.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class rD extends sn{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=Ve.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class LI extends sn{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=Ve.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class BI extends sn{constructor(t,r,n,i,o){super(t,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=Ve.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class jI extends sn{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=Ve.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $I extends sn{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=Ve.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class HI{constructor(t){this.route=t,this.type=Ve.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class UI{constructor(t){this.route=t,this.type=Ve.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class VI{constructor(t){this.snapshot=t,this.type=Ve.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zI{constructor(t){this.snapshot=t,this.type=Ve.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class GI{constructor(t){this.snapshot=t,this.type=Ve.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qI{constructor(t){this.snapshot=t,this.type=Ve.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class od{}class Ls{constructor(t,r){this.url=t,this.navigationBehaviorOptions=r}}function ZI(e,t){return e.providers&&!e._injector&&(e._injector=Qv(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Lt(e){return e.outlet||re}function WI(e,t){const r=e.filter(n=>Lt(n)===t);return r.push(...e.filter(n=>Lt(n)!==t)),r}function fo(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}class YI{get injector(){return fo(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new ba(this.rootInjector),this.attachRef=null}}let ba=(()=>{const t=class t{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){const o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){const i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const 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 YI(this.rootInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};t.ɵfac=function(i){return new(i||t)(te(yn))},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();class iD{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){const r=cl(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){const r=cl(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){const r=dl(t,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return dl(t,this._root).map(r=>r.value)}}function cl(e,t){if(e===t.value)return t;for(const r of t.children){const n=cl(e,r);if(n)return n}return null}function dl(e,t){if(e===t.value)return[t];for(const r of t.children){const n=dl(e,r);if(n.length)return n.unshift(t),n}return[]}class Ot{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}}function Lr(e){const t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}class oD extends iD{constructor(t,r){super(t),this.snapshot=r,sd(this,t)}toString(){return this.snapshot.toString()}}function sD(e){const t=KI(e),r=new Ct([new Si("",{})]),n=new Ct({}),i=new Ct({}),o=new Ct({}),s=new Ct(""),a=new Gn(r,n,o,s,i,re,e,t.root);return a.snapshot=t.root,new oD(new Ot(a,[]),t)}function KI(e){const t={},r={},n={},i="",o=new os([],t,n,i,r,re,e,null,{});return new aD("",new Ot(o,[]))}class Gn{constructor(t,r,n,i,o,s,a,u){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(le(l=>l[co]))??K(void 0),this.url=t,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._paramMap=this.params.pipe(le(t=>ni(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap??(this._queryParamMap=this.queryParams.pipe(le(t=>ni(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Bs(e,t,r="emptyOnly"){let n;const{routeConfig:i}=e;return t!==null&&(r==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...i?.data,...e._resolvedData}}:n={params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}},i&&lD(i)&&(n.resolve[co]=i.title),n}class os{get title(){return this.data?.[co]}constructor(t,r,n,i,o,s,a,u,l){this.url=t,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??(this._paramMap=ni(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap??(this._queryParamMap=ni(this.queryParams)),this._queryParamMap}toString(){const t=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}}class aD extends iD{constructor(t,r){super(r),this.url=t,sd(this,r)}toString(){return uD(this._root)}}function sd(e,t){t.value._routerState=e,t.children.forEach(r=>sd(e,r))}function uD(e){const t=e.children.length>0?` { ${e.children.map(uD).join(", ")} } `:"";return`${e.value}${t}`}function du(e){if(e.snapshot){const t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,Xt(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),Xt(t.params,r.params)||e.paramsSubject.next(r.params),dI(t.url,r.url)||e.urlSubject.next(r.url),Xt(t.data,r.data)||e.dataSubject.next(r.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function fl(e,t){const r=Xt(e.params,t.params)&&gI(e.url,t.url),n=!e.parent!=!t.parent;return r&&!n&&(!e.parent||fl(e.parent,t.parent))}function lD(e){return typeof e.title=="string"||e.title===null}let cD=(()=>{const t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=re,this.activateEvents=new nt,this.deactivateEvents=new nt,this.attachEvents=new nt,this.detachEvents=new nt,this.parentContexts=A(ba),this.location=A(Ft),this.changeDetector=A(Dy),this.inputBinder=A(ud,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{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;const 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 V(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new V(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new V(4012,!1);this.location.detach();const 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){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new V(4013,!1);this._activatedRoute=n;const o=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,l=new ad(n,u,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=ot({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ui]});let e=t;return e})();class ad{__ngOutletInjector(t){return new ad(this.route,this.childContexts,t)}constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===Gn?this.route:t===ba?this.childContexts:this.parent.get(t,r)}}const ud=new z("");function QI(e,t,r){const n=Zi(e,t._root,r?r._root:void 0);return new oD(n,t)}function Zi(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){const n=r.value;n._futureSnapshot=t.value;const i=XI(e,t,r);return new Ot(n,i)}else{if(e.shouldAttach(t.value)){const o=e.retrieve(t.value);if(o!==null){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Zi(e,a)),s}}const n=JI(t.value),i=t.children.map(o=>Zi(e,o));return new Ot(n,i)}}function XI(e,t,r){return t.children.map(n=>{for(const i of r.children)if(e.shouldReuseRoute(n.value,i.value.snapshot))return Zi(e,n,i);return Zi(e,n)})}function JI(e){return new Gn(new Ct(e.url),new Ct(e.params),new Ct(e.queryParams),new Ct(e.fragment),new Ct(e.data),e.outlet,e.component,e)}class ld{constructor(t,r){this.redirectTo=t,this.navigationBehaviorOptions=r}}const dD="ngNavigationCancelingError";function js(e,t){const{redirectTo:r,navigationBehaviorOptions:n}=fr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=fD(!1,ut.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function fD(e,t){const r=new Error(`NavigationCancelingError: ${e||""}`);return r[dD]=!0,r.cancellationCode=t,r}function e1(e){return hD(e)&&fr(e.url)}function hD(e){return!!e&&e[dD]}const t1=(e,t,r,n)=>le(i=>(new n1(t,i.targetRouterState,i.currentRouterState,r,n).activate(e),i));class n1{constructor(t,r,n,i,o){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){const r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),du(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){const i=Lr(r);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(t,r,n){const i=t.value,o=r?r.value:null;if(i===o)if(i.component){const s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(t,r,s.children)}else this.deactivateChildRoutes(t,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){const n=r.getContext(t.value.outlet),i=n&&t.value.component?n.children:r,o=Lr(t);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){const s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){const n=r.getContext(t.value.outlet),i=n&&t.value.component?n.children:r,o=Lr(t);for(const 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(t,r,n){const i=Lr(r);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new qI(o.value.snapshot))}),t.children.length&&this.forwardEvent(new zI(t.value.snapshot))}activateRoutes(t,r,n){const i=t.value,o=r?r.value:null;if(du(i),i===o)if(i.component){const s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,r,s.children)}else this.activateChildRoutes(t,r,n);else if(i.component){const s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const 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),du(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,n)}}class qh{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class ss{constructor(t,r){this.component=t,this.route=r}}function r1(e,t,r){const n=e._root,i=t?t._root:null;return wi(n,i,r,[n.value])}function i1(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function pi(e,t){const r=Symbol(),n=t.get(e,r);return n===r?typeof e=="function"&&!JE(e)?e:t.get(e):n}function wi(e,t,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Lr(t);return e.children.forEach(s=>{o1(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>ki(a,r.getContext(s),i)),i}function o1(e,t,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const u=s1(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new qh(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?wi(e,t,a?a.children:null,n,i):wi(e,t,r,n,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ss(a.outlet.component,s))}else s&&ki(t,a,i),i.canActivateChecks.push(new qh(n)),o.component?wi(e,null,a?a.children:null,n,i):wi(e,null,r,n,i);return i}function s1(e,t,r){if(typeof r=="function")return r(e,t);switch(r){case"pathParamsChange":return!Jn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Jn(e.url,t.url)||!Xt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fl(e,t)||!Xt(e.queryParams,t.queryParams);case"paramsChange":default:return!fl(e,t)}}function ki(e,t,r){const n=Lr(e),i=e.value;Object.entries(n).forEach(([o,s])=>{i.component?t?ki(s,t.children.getContext(o),r):ki(s,null,r):ki(s,t,r)}),i.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new ss(t.outlet.component,i)):r.canDeactivateChecks.push(new ss(null,i)):r.canDeactivateChecks.push(new ss(null,i))}function ho(e){return typeof e=="function"}function a1(e){return typeof e=="boolean"}function u1(e){return e&&ho(e.canLoad)}function l1(e){return e&&ho(e.canActivate)}function c1(e){return e&&ho(e.canActivateChild)}function d1(e){return e&&ho(e.canDeactivate)}function f1(e){return e&&ho(e.canMatch)}function pD(e){return e instanceof Ki||e?.name==="EmptyError"}const zo=Symbol("INITIAL_VALUE");function ri(){return Nt(e=>sg(e.map(t=>t.pipe(Wr(1),WE(zo)))).pipe(le(t=>{for(const r of t)if(r!==!0){if(r===zo)return zo;if(r===!1||h1(r))return r}return!0}),vn(t=>t!==zo),Wr(1)))}function h1(e){return fr(e)||e instanceof ld}function p1(e,t){return Ze(r=>{const{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?K({...r,guardsResult:!0}):g1(s,n,i,e).pipe(Ze(a=>a&&a1(a)?m1(n,o,e,t):K(a)),le(a=>({...r,guardsResult:a})))})}function g1(e,t,r,n){return We(e).pipe(Ze(i=>C1(i.component,i.route,r,t,n)),Hn(i=>i!==!0,!0))}function m1(e,t,r,n){return We(t).pipe(Ni(i=>Eu(y1(i.route.parent,n),v1(i.route,n),E1(e,i.path,r),D1(e,i.route,r))),Hn(i=>i!==!0,!0))}function v1(e,t){return e!==null&&t&&t(new GI(e)),K(!0)}function y1(e,t){return e!==null&&t&&t(new VI(e)),K(!0)}function D1(e,t,r){const n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return K(!0);const i=n.map(o=>ag(()=>{const s=fo(t)??r,a=pi(o,s),u=l1(a)?a.canActivate(t,e):_n(s,()=>a(t,e));return zn(u).pipe(Hn())}));return K(i).pipe(ri())}function E1(e,t,r){const n=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>i1(s)).filter(s=>s!==null).map(s=>ag(()=>{const a=s.guards.map(u=>{const l=fo(s.node)??r,c=pi(u,l),d=c1(c)?c.canActivateChild(n,e):_n(l,()=>c(n,e));return zn(d).pipe(Hn())});return K(a).pipe(ri())}));return K(o).pipe(ri())}function C1(e,t,r,n,i){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return K(!0);const s=o.map(a=>{const u=fo(t)??i,l=pi(a,u),c=d1(l)?l.canDeactivate(e,t,r,n):_n(u,()=>l(e,t,r,n));return zn(c).pipe(Hn())});return K(s).pipe(ri())}function w1(e,t,r,n){const i=t.canLoad;if(i===void 0||i.length===0)return K(!0);const o=i.map(s=>{const a=pi(s,e),u=u1(a)?a.canLoad(t,r):_n(e,()=>a(t,r));return zn(u)});return K(o).pipe(ri(),gD(n))}function gD(e){return aE(Le(t=>{if(typeof t!="boolean")throw js(e,t)}),le(t=>t===!0))}function _1(e,t,r,n){const i=t.canMatch;if(!i||i.length===0)return K(!0);const o=i.map(s=>{const a=pi(s,e),u=f1(a)?a.canMatch(t,r):_n(e,()=>a(t,r));return zn(u)});return K(o).pipe(ri(),gD(n))}class hl{constructor(t){this.segmentGroup=t||null}}class pl extends Error{constructor(t){super(),this.urlTree=t}}function Sr(e){return Qs(new hl(e))}function b1(e){return Qs(new V(4e3,!1))}function A1(e){return Qs(fD(!1,ut.GuardRejected))}class T1{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return K(n);if(i.numberOfChildren>1||!i.children[re])return b1(`${t.redirectTo}`);i=i.children[re]}}applyRedirectCommands(t,r,n,i,o){if(typeof r!="string"){const a=r,{queryParams:u,fragment:l,routeConfig:c,url:d,outlet:h,params:f,data:v,title:C}=i,D=_n(o,()=>a({params:f,data:v,queryParams:u,fragment:l,routeConfig:c,url:d,outlet:h,title:C}));if(D instanceof dr)throw new pl(D);r=D}const s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n);if(r[0]==="/")throw new pl(s);return s}applyRedirectCreateUrlTree(t,r,n,i){const o=this.createSegmentGroup(t,r.root,n,i);return new dr(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){const n={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){const a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(t,r,n,i){const o=this.createSegments(t,r.segments,n,i);let s={};return Object.entries(r.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,n,i)}),new ye(o,s)}createSegments(t,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(t,o,i):this.findOrReturn(o,n))}findPosParam(t,r,n){const i=n[r.path.substring(1)];if(!i)throw new V(4001,!1);return i}findOrReturn(t,r){let n=0;for(const i of r){if(i.path===t.path)return r.splice(n),i;n++}return t}}const gl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function F1(e,t,r,n,i){const o=mD(e,t,r);return o.matched?(n=ZI(t,n),_1(n,t,r,i).pipe(le(s=>s===!0?o:{...gl}))):K(o)}function mD(e,t,r){if(t.path==="**")return S1(r);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||r.length>0)?{...gl}:{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};const i=(t.matcher||cI)(r,e,t);if(!i)return{...gl};const o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});const s=i.consumed.length>0?{...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 S1(e){return{matched:!0,parameters:e.length>0?zy(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Zh(e,t,r,n){return r.length>0&&k1(e,r,n)?{segmentGroup:new ye(t,I1(n,new ye(r,e.children))),slicedSegments:[]}:r.length===0&&M1(e,r,n)?{segmentGroup:new ye(e.segments,x1(e,r,n,e.children)),slicedSegments:r}:{segmentGroup:new ye(e.segments,e.children),slicedSegments:r}}function x1(e,t,r,n){const i={};for(const o of r)if(Aa(e,t,o)&&!n[Lt(o)]){const s=new ye([],{});i[Lt(o)]=s}return{...n,...i}}function I1(e,t){const r={};r[re]=t;for(const n of e)if(n.path===""&&Lt(n)!==re){const i=new ye([],{});r[Lt(n)]=i}return r}function k1(e,t,r){return r.some(n=>Aa(e,t,n)&&Lt(n)!==re)}function M1(e,t,r){return r.some(n=>Aa(e,t,n))}function Aa(e,t,r){return(e.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function R1(e,t,r){return t.length===0&&!e.children[r]}class O1{}function N1(e,t,r,n,i,o,s="emptyOnly"){return new L1(e,t,r,n,i,s,o).recognize()}const P1=31;class L1{constructor(t,r,n,i,o,s,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new T1(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new V(4002,`'${t.segmentGroup}'`)}recognize(){const t=Zh(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(le(({children:r,rootSnapshot:n})=>{const i=new Ot(n,r),o=new aD("",i),s=II(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){const r=new os([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),re,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,re,r).pipe(le(n=>({children:n,rootSnapshot:r})),Xn(n=>{if(n instanceof pl)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof hl?this.noMatchError(n):n}))}processSegmentGroup(t,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,r,n,o):this.processSegment(t,r,n,n.segments,i,!0,o).pipe(le(s=>s instanceof Ot?[s]:[]))}processChildren(t,r,n,i){const o=[];for(const s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return We(o).pipe(Ni(s=>{const a=n.children[s],u=WI(r,s);return this.processSegmentGroup(t,u,a,s,i)}),ZE((s,a)=>(s.push(...a),s)),Xs(null),qE(),Ze(s=>{if(s===null)return Sr(n);const a=vD(s);return B1(a),K(a)}))}processSegment(t,r,n,i,o,s,a){return We(r).pipe(Ni(u=>this.processSegmentAgainstRoute(u._injector??t,r,u,n,i,o,s,a).pipe(Xn(l=>{if(l instanceof hl)return K(null);throw l}))),Hn(u=>!!u),Xn(u=>{if(pD(u))return R1(n,i,o)?K(new O1):Sr(n);throw u}))}processSegmentAgainstRoute(t,r,n,i,o,s,a,u){return Lt(n)!==s&&(s===re||!Aa(i,o,n))?Sr(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,n,o,s,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,r,n,o,s,u):Sr(i)}expandSegmentAgainstRouteUsingRedirect(t,r,n,i,o,s,a){const{matched:u,parameters:l,consumedSegments:c,positionalParamSegments:d,remainingSegments:h}=mD(r,i,o);if(!u)return Sr(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>P1&&(this.allowRedirects=!1));const f=new os(o,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Wh(i),Lt(i),i.component??i._loadedComponent??null,i,Yh(i)),v=Bs(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(v.params),f.data=Object.freeze(v.data);const C=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(i,C).pipe(Ze(D=>this.processSegment(t,n,r,D.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,r,n,i,o,s){const a=F1(r,n,i,t,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Nt(u=>u.matched?(t=n._injector??t,this.getChildConfig(t,n,i).pipe(Nt(({routes:l})=>{const c=n._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=u,v=new os(h,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Wh(n),Lt(n),n.component??n._loadedComponent??null,n,Yh(n)),C=Bs(v,s,this.paramsInheritanceStrategy);v.params=Object.freeze(C.params),v.data=Object.freeze(C.data);const{segmentGroup:D,slicedSegments:b}=Zh(r,h,f,l);if(b.length===0&&D.hasChildren())return this.processChildren(c,l,D,v).pipe(le(g=>new Ot(v,g)));if(l.length===0&&b.length===0)return K(new Ot(v,[]));const p=Lt(n)===o;return this.processSegment(c,l,D,b,p?re:o,!0,v).pipe(le(g=>new Ot(v,g instanceof Ot?[g]:[])))}))):Sr(r)))}getChildConfig(t,r,n){return r.children?K({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?K({routes:r._loadedRoutes,injector:r._loadedInjector}):w1(t,r,n,this.urlSerializer).pipe(Ze(i=>i?this.configLoader.loadChildren(t,r).pipe(Le(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):A1(r))):K({routes:[],injector:t})}}function B1(e){e.sort((t,r)=>t.value.outlet===re?-1:r.value.outlet===re?1:t.value.outlet.localeCompare(r.value.outlet))}function j1(e){const t=e.value.routeConfig;return t&&t.path===""}function vD(e){const t=[],r=new Set;for(const n of e){if(!j1(n)){t.push(n);continue}const i=t.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):t.push(n)}for(const n of r){const i=vD(n.children);t.push(new Ot(n.value,i))}return t.filter(n=>!r.has(n))}function Wh(e){return e.data||{}}function Yh(e){return e.resolve||{}}function $1(e,t,r,n,i,o){return Ze(s=>N1(e,t,r,n,s.extractedUrl,i,o).pipe(le(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}function H1(e,t){return Ze(r=>{const{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return K(r);const o=new Set(i.map(u=>u.route)),s=new Set;for(const u of o)if(!s.has(u))for(const l of yD(u))s.add(l);let a=0;return We(s).pipe(Ni(u=>o.has(u)?U1(u,n,e,t):(u.data=Bs(u,u.parent,e).resolve,K(void 0))),Le(()=>a++),Ll(1),Ze(u=>a===s.size?K(r):cn))})}function yD(e){const t=e.children.map(r=>yD(r)).flat();return[e,...t]}function U1(e,t,r,n){const i=e.routeConfig,o=e._resolve;return i?.title!==void 0&&!lD(i)&&(o[co]=i.title),V1(o,e,t,n).pipe(le(s=>(e._resolvedData=s,e.data=Bs(e,e.parent,r).resolve,null)))}function V1(e,t,r,n){const i=ol(e);if(i.length===0)return K({});const o={};return We(i).pipe(Ze(s=>z1(e[s],t,r,n).pipe(Hn(),Le(a=>{if(a instanceof ld)throw js(new rd,a);o[s]=a}))),Ll(1),zE(o),Xn(s=>pD(s)?cn:Qs(s)))}function z1(e,t,r,n){const i=fo(t)??n,o=pi(e,i),s=o.resolve?o.resolve(t,r):_n(i,()=>o(t,r));return zn(s)}function fu(e){return Nt(t=>{const r=e(t);return r?We(r).pipe(le(()=>t)):K(t)})}let DD=(()=>{const t=class t{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===re);return i}getResolvedTitleForRoute(n){return n.data[co]}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>A(G1),providedIn:"root"});let e=t;return e})(),G1=(()=>{const t=class t extends DD{constructor(n){super(),this.title=n}updateTitle(n){const i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};t.ɵfac=function(i){return new(i||t)(te(sI))},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();const cd=new z("",{providedIn:"root",factory:()=>({})});let q1=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=eo({type:t,selectors:[["ng-component"]],standalone:!0,features:[uo],decls:1,vars:0,template:function(i,o){i&1&&kn(0,"router-outlet")},dependencies:[cD],encapsulation:2});let e=t;return e})();function dd(e){const t=e.children&&e.children.map(dd),r=t?{...e,children:t}:{...e};return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==re&&(r.component=q1),r}const fd=new z("");let Z1=(()=>{const t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=A(_F)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return K(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const i=zn(n.loadComponent()).pipe(le(ED),Le(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),ps(()=>{this.componentLoaders.delete(n)})),o=new Wd(i,()=>new bt).pipe(Du());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return K({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const s=W1(i,this.compiler,n,this.onLoadEndListener).pipe(ps(()=>{this.childrenLoaders.delete(i)})),a=new Wd(s,()=>new bt).pipe(Du());return this.childrenLoaders.set(i,a),a}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function W1(e,t,r,n){return zn(e.loadChildren()).pipe(le(ED),Ze(i=>i instanceof Wv||Array.isArray(i)?K(i):We(t.compileModuleAsync(i))),le(i=>{n&&n(e);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(fd,[],{optional:!0,self:!0}).flat()),{routes:s.map(dd),injector:o}}))}function Y1(e){return e&&typeof e=="object"&&"default"in e}function ED(e){return Y1(e)?e.default:e}let hd=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>A(K1),providedIn:"root"});let e=t;return e})(),K1=(()=>{const t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();const Q1=new z(""),X1=new z("");let J1=(()=>{const t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new bt,this.transitionAbortSubject=new bt,this.configLoader=A(Z1),this.environmentInjector=A(yn),this.urlSerializer=A(nd),this.rootContexts=A(ba),this.location=A(lo),this.inputBindingEnabled=A(ud,{optional:!0})!==null,this.titleStrategy=A(DD),this.options=A(cd,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=A(hd),this.createViewTransition=A(Q1,{optional:!0}),this.navigationErrorHandler=A(X1,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>K(void 0),this.rootComponentType=null;const n=o=>this.events.next(new HI(o)),i=o=>this.events.next(new UI(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:i})}setupNavigations(n,i,o){return this.transitions=new Ct({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Ii,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(vn(s=>s.id!==0),le(s=>({...s,extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Nt(s=>{let a=!1,u=!1;return K(s).pipe(Nt(l=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",ut.SupersededByNewNavigation),cn;this.currentTransition=s,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const c=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=l.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!c&&d!=="reload"){const h="";return this.events.next(new qi(l.id,this.urlSerializer.serialize(l.rawUrl),h,ll.IgnoredSameUrlNavigation)),l.resolve(!1),cn}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return K(l).pipe(Nt(h=>{const f=this.transitions?.getValue();return this.events.next(new ul(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?cn:Promise.resolve(h)}),$1(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Le(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:h.urlAfterRedirects};const f=new rD(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:h,extractedUrl:f,source:v,restoredState:C,extras:D}=l,b=new ul(h,this.urlSerializer.serialize(f),v,C);this.events.next(b);const p=sD(this.rootComponentType).snapshot;return this.currentTransition=s={...l,targetSnapshot:p,urlAfterRedirects:f,extras:{...D,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,K(s)}else{const h="";return this.events.next(new qi(l.id,this.urlSerializer.serialize(l.extractedUrl),h,ll.IgnoredByUrlHandlingStrategy)),l.resolve(!1),cn}}),Le(l=>{const c=new LI(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),le(l=>(this.currentTransition=s={...l,guards:r1(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},s)),p1(this.environmentInjector,l=>this.events.next(l)),Le(l=>{if(s.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw js(this.urlSerializer,l.guardsResult);const c=new BI(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),vn(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",ut.GuardRejected),!1)),fu(l=>{if(l.guards.canActivateChecks.length)return K(l).pipe(Le(c=>{const d=new jI(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),Nt(c=>{let d=!1;return K(c).pipe(H1(this.paramsInheritanceStrategy,this.environmentInjector),Le({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",ut.NoDataFromResolver)}}))}),Le(c=>{const d=new $I(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),fu(l=>{const c=d=>{const h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(Le(f=>{d.component=f}),le(()=>{})));for(const f of d.children)h.push(...c(f));return h};return sg(c(l.targetSnapshot.root)).pipe(Xs(null),Wr(1))}),fu(()=>this.afterPreactivation()),Nt(()=>{const{currentSnapshot:l,targetSnapshot:c}=s,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return d?We(d).pipe(le(()=>s)):K(s)}),le(l=>{const c=QI(n.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,s}),Le(()=>{this.events.next(new od)}),t1(this.rootContexts,n.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Wr(1),Le({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new hr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),lg(this.transitionAbortSubject.pipe(Le(l=>{throw l}))),ps(()=>{!a&&!u&&this.cancelNavigationTransition(s,"",ut.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Xn(l=>{if(u=!0,hD(l))this.events.next(new er(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),e1(l)?this.events.next(new Ls(l.url,l.navigationBehaviorOptions)):s.resolve(!1);else{const c=new id(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0);try{const d=_n(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(d instanceof ld){const{message:h,cancellationCode:f}=js(this.urlSerializer,d);this.events.next(new er(s.id,this.urlSerializer.serialize(s.extractedUrl),h,f)),this.events.next(new Ls(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(c);const h=n.errorHandler(l);s.resolve(!!h)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return cn}))}))}cancelNavigationTransition(n,i,o){const s=new er(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(){const n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function ek(e){return e!==Ii}let tk=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>A(rk),providedIn:"root"});let e=t;return e})();class nk{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}}let rk=(()=>{const t=class t extends nk{};t.ɵfac=(()=>{let n;return function(o){return(n||(n=ym(t)))(o||t)}})(),t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),CD=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>A(ik),providedIn:"root"});let e=t;return e})(),ik=(()=>{const t=class t extends CD{constructor(){super(...arguments),this.location=A(lo),this.urlSerializer=A(nd),this.options=A(cd,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=A(hd),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new dr,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=sD(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()?.ɵrouterPageId??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 ul)this.stateMemento=this.createStateMemento();else if(n instanceof qi)this.rawUrlTree=i.initialUrl;else if(n instanceof rD){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else n instanceof od?(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(i.targetBrowserUrl??this.rawUrlTree,i)):n instanceof er&&(n.code===ut.GuardRejected||n.code===ut.NoDataFromResolver)?this.restoreHistory(i):n instanceof id?this.restoreHistory(i,!0):n instanceof hr&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){const o=n instanceof dr?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){const s=this.browserPageId,a={...i.extras.state,...this.generateNgRouterState(i.id,s)};this.location.replaceState(o,"",a)}else{const s={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){const 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,ɵrouterPageId:i}:{navigationId:n}}};t.ɵfac=(()=>{let n;return function(o){return(n||(n=ym(t)))(o||t)}})(),t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();var _i=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(_i||{});function ok(e,t){e.events.pipe(vn(r=>r instanceof hr||r instanceof er||r instanceof id||r instanceof qi),le(r=>r instanceof hr||r instanceof qi?_i.COMPLETE:(r instanceof er?r.code===ut.Redirect||r.code===ut.SupersededByNewNavigation:!1)?_i.REDIRECTING:_i.FAILED),vn(r=>r!==_i.REDIRECTING),Wr(1)).subscribe(()=>{t()})}function sk(e){throw e}const ak={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},uk={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let po=(()=>{const t=class t{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.console=A(gF),this.stateManager=A(CD),this.options=A(cd,{optional:!0})||{},this.pendingTasks=A(Er),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=A(J1),this.urlSerializer=A(nd),this.location=A(lo),this.urlHandlingStrategy=A(hd),this._events=new bt,this.errorHandler=this.options.errorHandler||sk,this.navigated=!1,this.routeReuseStrategy=A(tk),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=A(fd,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!A(ud,{optional:!0}),this.eventsSubscription=new en,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(i=>{try{const o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof er&&i.code!==ut.Redirect&&i.code!==ut.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof hr)this.navigated=!0;else if(i instanceof Ls){const a=i.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),l={browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||ek(o.source),...a};this.scheduleNavigation(u,Ii,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}ck(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),Ii,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)}))}navigateToSyncWithBrowser(n,i,o){const s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.ɵrouterPageId,Object.keys(l).length!==0&&(s.state=l)}const u=this.parseUrl(n);this.scheduleNavigation(u,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(dd),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={}){const{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:a;let d=null;switch(u??this.options.defaultQueryParamsHandling){case"merge":d={...this.currentUrlTree.queryParams,...s};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{const f=o?o.snapshot:this.routerState.snapshot.root;h=Jy(f)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),h=this.currentUrlTree.root}return eD(h,n,d,c??null)}navigateByUrl(n,i={skipLocationChange:!1}){const o=fr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Ii,null,i)}navigate(n,i={skipLocationChange:!1}){return lk(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={...ak}:i===!1?o={...uk}:o=i,fr(n))return Hh(this.currentUrlTree,n,o);const s=this.parseUrl(n);return Hh(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 u,l,c;a?(u=a.resolve,l=a.reject,c=a.promise):c=new Promise((h,f)=>{u=h,l=f});const d=this.pendingTasks.add();return ok(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:u,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function lk(e){for(let t=0;t{const t=class t{constructor(n,i,o,s,a,u){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=u,this.href=null,this.onChanges=new bt,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=n.events.subscribe(c=>{c instanceof hr&&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.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(fr(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,i,o,s,a){const u=this.urlTree;if(u===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;const l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;const i=this.href===null?null:J_(this.href,this.el.nativeElement.tagName.toLowerCase());this.applyAttributeValue("href",i)}applyAttributeValue(n,i){const o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.routerLinkInput===null?null:fr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.ɵfac=function(i){return new(i||t)(ae(po),ae(Gn),Em("tabindex"),ae(Ic),ae(Cr),ae(Ea))},t.ɵdir=ot({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&jc("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&ry("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ja],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ja],replaceUrl:[2,"replaceUrl","replaceUrl",Ja],routerLink:"routerLink"},standalone:!0,features:[iT,ui]});let e=t;return e})();const dk=new z("");function fk(e,...t){return ai([{provide:fd,multi:!0,useValue:e},[],{provide:Gn,useFactory:hk,deps:[po]},{provide:Da,multi:!0,useFactory:pk},t.map(r=>r.ɵproviders)])}function hk(e){return e.routerState.root}function pk(){const e=A(ar);return t=>{const r=e.get(_r);if(t!==r.components[0])return;const n=e.get(po),i=e.get(gk);e.get(mk)===1&&n.initialNavigation(),e.get(vk,null,ue.Optional)?.setUpPreloading(),e.get(dk,null,ue.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const gk=new z("",{factory:()=>new bt}),mk=new z("",{providedIn:"root",factory:()=>1}),vk=new z("");function yk(e,t){if(e&1&&(vt(0,"a",1)(1,"div",2),Fn(2),yt()()),e&2){const r=t.$implicit;ma("href",r.Href,Xm),Ec(2),va(" ",r.Text," ")}}const Hr=class Hr{constructor(){this.SocialItems=[]}ngOnInit(){this.SocialItems=[{Text:"GitHub",Href:"https://github.com/RiddleTime/Race-Element"},{Text:"Discord",Href:"https://discord.gg/26AAEW5mUq"},{Text:"X",Href:"https://x.com/Race_Element"},{Text:"Donate",Href:"/guide/sponsor"}]}};Hr.ɵfac=function(r){return new(r||Hr)},Hr.ɵcmp=eo({type:Hr,selectors:[["app-socials"]],standalone:!0,features:[uo],decls:3,vars:0,consts:[[1,"select-none","font-['Conthrax']","md:mt-2","max-w-md","md:max-w-3xl","mx-auto","md:text-2xl","flex","flex-wrap","flex-col","md:flex-row","place-content-start","md:place-content-left"],["target","_blank",3,"href"],[1,"mx-auto","text-base","text-center","mb-2","md:mb-0","text-[#A6A6A6]","hover:text-[red]","hover:bg-[rgba(0,0,0,0.8)]","ml-1","mr-1","pl-2","pr-2","bg-[rgba(0.2,0.2,0.2,0.8)]","rounded-tl-lg","rounded-br-lg"]],template:function(r,n){r&1&&(vt(0,"div",0),HT(1,yk,3,2,"a",1,jT),yt()),r&2&&(Ec(),VT(n.SocialItems))}});let ml=Hr;const Ur=class Ur{constructor(){this.ThisYear=new Date().getFullYear()}};Ur.ɵfac=function(r){return new(r||Ur)},Ur.ɵcmp=eo({type:Ur,selectors:[["app-root"]],standalone:!0,features:[uo],decls:25,vars:1,consts:[[1,"container","mx-auto","flex","flex-col","self-center","pt-2","select-none"],[1,"mx-auto","mb-3"],["href","/",1,"self-center","drop-shadow-[0_35px_35px_rgba(1,1,1,0.25)]","text-center","font-['Conthrax']","text-4xl","md:text-7xl","text-[orangered]","hover:text-[orangered]"],[1,"-skew-x-12"],[1,"text-center","font-['Conthrax']"],[1,"border-t-2","border-[grey]","mb-2","container","mx-auto","md:max-w-2xl"],[1,"mx-auto","container","place-content-center","grid","max-w-2xl","md:max-w-3xl","grid-cols-2","md:grid-cols-1"],[1,"text-lg","font-['Conthrax']","md:mx-auto","ml-6","place-content-end","md:place-content-center","md:text-2xl","flex","flex-wrap","flex-col","md:flex-row"],["href","/news",1,"mx-auto","text-center","mb-2","md:mb-0","text-[white]","hover:text-[red]","hover:bg-[rgba(0,0,0,0.8)]","ml-1","mr-1","pl-2","pr-2","bg-[rgba(0.2,0.2,0.2)]","rounded-tl-lg","rounded-br-lg"],["href","/guide",1,"mx-auto","text-center","mb-2","md:mb-0","text-[white]","hover:text-[red]","hover:bg-[rgba(0,0,0,0.8)]","ml-1","mr-1","pl-2","pr-2","bg-[rgba(0.2,0.2,0.2)]","rounded-tl-lg","rounded-br-lg"],["href","/guide/features",1,"mx-auto","text-center","mb-2","md:mb-0","text-[white]","hover:text-[red]","hover:bg-[rgba(0,0,0,0.8)]","ml-1","mr-1","pl-2","pr-2","bg-[rgba(0.2,0.2,0.2)]","rounded-tl-lg","rounded-br-lg"],["href","/guide/how-to-get-started",1,"mx-auto","text-center","mb-2","md:mb-0","text-[white]","hover:text-[red]","hover:bg-[rgba(0,0,0,0.8)]","ml-1","mr-1","pl-2","pr-2","bg-[rgba(0.2,0.2,0.2)]","rounded-tl-lg","rounded-br-lg"],[1,"mr-6","md:mx-auto"],[1,"border-t-2","border-[grey]","mt-1","md:mt-2","container","mx-auto","md:max-w-2xl","flex-col","md:flex-row"],[1,"mt-4","md:mt-4"],[1,"text-sm","select-none","mx-auto","mt-2"],["src","https://hits.seeyoufarm.com/api/count/keep/badge.svg?url=https%3A%2F%2Fgithub.com%2FRiddleTime%2FRace-Element&count_bg=%23FF4500&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=Usage%3A+Today+%2F+All-time&edge_flat=false",1,"mx-auto"],[1,"text-center"]],template:function(r,n){r&1&&(vt(0,"div",0)(1,"div",1)(2,"a",2)(3,"div",3),Fn(4,"Race Element"),yt()(),vt(5,"p",4),Fn(6,"Solutions for Simulators"),yt()(),kn(7,"div",5),vt(8,"div",6)(9,"nav",7)(10,"a",8),Fn(11,"News"),yt(),vt(12,"a",9),Fn(13,"Guides"),yt(),vt(14,"a",10),Fn(15,"Features"),yt(),vt(16,"a",11),Fn(17,"Download"),yt()(),kn(18,"app-socials",12),yt(),kn(19,"div",13)(20,"router-outlet",14),vt(21,"footer",15),kn(22,"img",16),vt(23,"p",17),Fn(24),yt()()()),r&2&&(Ec(24),va("© 2022 - ",n.ThisYear," Reinier Klarenberg"))},dependencies:[cD,ml]});let vl=Ur;const Dk="modulepreload",Ek=function(e){return"/"+e},Kh={},W=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=s?.nonce||s?.getAttribute("nonce");i=Promise.allSettled(r.map(u=>{if(u=Ek(u),u in Kh)return;Kh[u]=!0;const l=u.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${c}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":Dk,l||(d.as="script"),d.crossOrigin="",d.href=u,a&&d.setAttribute("nonce",a),document.head.appendChild(d),l)return new Promise((h,f)=>{d.addEventListener("load",h),d.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return i.then(s=>{for(const a of s||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},Ck=new z("@analogjs/router Server Request");new z("@analogjs/router Server Response");const wk=new z("@analogjs/router Base URL"),wD=new z("@analogjs/router API Prefix");function _k(){return A(Ck,{optional:!0})}function bk(){return A(wk,{optional:!0})}function Ak(){return A(wD)}const _D={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CJS_IGNORE_WARNING:"true"},yl=Symbol("@analogjs/router Route Meta Tags Key"),Tk="charset",Fk="http-equiv",Sk="name",xk="property";function Ik(){const e=A(po),t=A(iI);e.events.pipe(vn(r=>r instanceof hr)).subscribe(()=>{const r=kk(e.routerState.snapshot.root);for(const n in r){const i=r[n];t.updateTag(i,n)}})}function kk(e){const t={};let r=e;for(;r;){const n=r.data[yl]??[];for(const i of n)t[Mk(i)]=i;r=r.firstChild}return t}function Mk(e){return e.name?`${Sk}="${e.name}"`:e.property?`${xk}="${e.property}"`:e.httpEquiv?`${Fk}="${e.httpEquiv}"`:Tk}const pd=Symbol("@analogjs/router Analog Route Metadata Key");let Rk={};function Ok(e){const t=e.routeConfig,r=Ak(),n=bk(),{queryParams:i,fragment:o,params:s,parent:a}=e,u=a?.url.map(c=>c.path).join("/")||"",l=new URL("",_D.VITE_ANALOG_PUBLIC_BASE_URL||n||(typeof window<"u"&&window.location.origin?window.location.origin:""));return l.pathname=`${l.pathname.endsWith("/")?l.pathname:l.pathname+"/"}${r}/_analog${t[pd].endpoint}`,l.search=`${new URLSearchParams(i).toString()}`,l.hash=o??"",Object.keys(s).forEach(c=>{l.pathname=l.pathname.replace(`[${c}]`,s[c])}),l.pathname=l.pathname.replace("**",u),l}function Nk(e){if(e&&Pk(e))return e;let{meta:t,...r}=e??{};return Array.isArray(t)?r.data={...r.data,[yl]:t}:typeof t=="function"&&(r.resolve={...r.resolve,[yl]:t}),r||(r={}),r.runGuardsAndResolvers=r.runGuardsAndResolvers??"paramsOrQueryParamsChange",r.resolve={...r.resolve,load:async n=>{const i=A(Ry),o=n.routeConfig;if(Rk[o[pd].endpointKey]){const s=Ok(n);return _D.VITE_ANALOG_PUBLIC_BASE_URL&&globalThis.$fetch?globalThis.$fetch(s.pathname):SE(i.get(`${s.href}`))}return{}}},r}function Pk(e){return!!e.redirectTo}const Lk=typeof Zone<"u"&&!!Zone.root;function Bk(e){return async()=>{const t=()=>Promise.all([W(()=>Promise.resolve().then(()=>sP),void 0),e()]),[{parseRawContentFile:r,MarkdownRouteComponent:n,ContentRenderer:i},o]=await(Lk?Zone.root.run(t):t()),{content:s,attributes:a}=r(o),{title:u,meta:l}=a;return{default:n,routeMeta:{data:{_analogContent:s},title:u,meta:l,resolve:{renderedAnalogContent:async()=>A(i).render(s)}}}}}const jk=".server.ts";let $k={"/src/app/pages/index.page.ts":()=>W(()=>import("./index.page-BRTYuvoS.js"),[]),"/src/app/pages/guide/[slug].page.ts":()=>W(()=>import("./_slug_.page-r3GM7Ts8.js"),[]),"/src/app/pages/guide/index.page.ts":()=>W(()=>import("./index.page-BI5mgGCU.js"),[]),"/src/app/pages/news/[slug].page.ts":()=>W(()=>import("./_slug_.page-C-PyxfXF.js"),[]),"/src/app/pages/news/index.page.ts":()=>W(()=>import("./index.page-Cml7_63h.js"),[]),"/src/app/pages/setup/index.page.ts":()=>W(()=>import("./index.page-qvYn__Pm.js"),[])},Hk={"/src/content/guide/features.md":()=>W(()=>import("./features-2eESu8X-.js"),[]).then(e=>e.default),"/src/content/guide/guide-get-started.md":()=>W(()=>import("./guide-get-started-Bfw9CXOs.js"),[]).then(e=>e.default),"/src/content/guide/guide-huds-and-streaming.md":()=>W(()=>import("./guide-huds-and-streaming-CVggPCzf.js"),[]).then(e=>e.default),"/src/content/guide/guide-multi-sim.md":()=>W(()=>import("./guide-multi-sim-Cv9XySxf.js"),[]).then(e=>e.default),"/src/content/guide/guide-setup-hider.md":()=>W(()=>import("./guide-setup-hider-D0h0Qg1t.js"),[]).then(e=>e.default),"/src/content/guide/guide-starting-race-element-minimized.md":()=>W(()=>import("./guide-starting-race-element-minimized-BiN8OpPW.js"),[]).then(e=>e.default),"/src/content/guide/guide-using-hud-tab.md":()=>W(()=>import("./guide-using-hud-tab-BXy0NJSQ.js"),[]).then(e=>e.default),"/src/content/guide/guide-using-liveries-tab.md":()=>W(()=>import("./guide-using-liveries-tab-c1f1oTmj.js"),[]).then(e=>e.default),"/src/content/guide/guide-using-setups-tab.md":()=>W(()=>import("./guide-using-setups-tab-Dqg454y0.js"),[]).then(e=>e.default),"/src/content/guide/guide-video-guides.md":()=>W(()=>import("./guide-video-guides-CQ1gOuBm.js"),[]).then(e=>e.default),"/src/content/guide/sponsor.md":()=>W(()=>import("./sponsor-CYsG9ocl.js"),[]).then(e=>e.default),"/src/content/guide/twitch-chat-bot-commands.md":()=>W(()=>import("./twitch-chat-bot-commands-Pj6oNTZH.js"),[]).then(e=>e.default),"/src/content/news/news-dualsense-active-triggers.md":()=>W(()=>import("./news-dualsense-active-triggers-DMEXXgsh.js"),[]).then(e=>e.default),"/src/content/news/news-highspeed-rendering.md":()=>W(()=>import("./news-highspeed-rendering-C18CQ4T4.js"),[]).then(e=>e.default),"/src/content/news/news-new-website.md":()=>W(()=>import("./news-new-website-FgVk1p9q.js"),[]).then(e=>e.default),"/src/content/news/news-nexusmods-listing.md":()=>W(()=>import("./news-nexusmods-listing-DJ43UAR9.js"),[]).then(e=>e.default),"/src/content/news/news-posts-on-other-websites.md":()=>W(()=>import("./news-posts-on-other-websites-ScHYMwVm.js"),[]).then(e=>e.default),"/src/content/news/news-setuplink.md":()=>W(()=>import("./news-setuplink-X-M47urO.js"),[]).then(e=>e.default),"/src/content/news/news-signpath.md":()=>W(()=>import("./news-signpath-hkCNUwSM.js"),[]).then(e=>e.default),"/src/content/news/pushing-too-hard.md":()=>W(()=>import("./pushing-too-hard-Bt8vBFol.js"),[]).then(e=>e.default),"/src/content/news/version-2-released.md":()=>W(()=>import("./version-2-released-0m1m9qbq.js"),[]).then(e=>e.default)};function Uk(e){var a,u;const t=Object.keys(e);if(t.length===0)return[];const r=t.reduce((l,c)=>{const d=Vk(c),h=d.split("/"),f=h.length-1,v=h[f],C=h.slice(0,f);return{...l,[f]:{...l[f],[d]:{filename:c,rawSegment:v,ancestorRawSegments:C,segment:Qh(v),level:f,children:[]}}}},{}),n=Object.keys(r).map(Number),i=Math.max(...n);for(let l=i;l>0;l--){const c=r[l],d=Object.keys(c);for(const h of d){const f=c[h],v=f.ancestorRawSegments.join("/"),C=f.ancestorRawSegments.length-1,D=f.ancestorRawSegments[C];r[a=l-1]||(r[a]={}),(u=r[l-1])[v]||(u[v]={filename:null,rawSegment:D,ancestorRawSegments:f.ancestorRawSegments.slice(0,C),segment:Qh(D),level:l-1,children:[]}),r[l-1][v].children.push(f)}}const o=r[0],s=Object.keys(o).map(l=>o[l]);return AD(s),bD(s,e)}function Vk(e){return e.replace(/^(?:[a-zA-Z]:[\\/])?(.*?)[\\/](?:routes|pages)[\\/]|(?:[\\/](?:app[\\/](?:routes|pages)[\\/]))|(\.page\.(js|ts|analog|ag)$)|(\.(ts|md|analog|ag)$)/g,"").replace(/\[\.{3}.+\]/,"**").replace(/\[([^\]]+)\]/g,":$1")}function Qh(e){return e.replace(/index|\(.*?\)/g,"").replace(/\.|\/+/g,"/").replace(/^\/+|\/+$/g,"")}function bD(e,t){const r=[];for(const n of e){const i=n.children.length>0?bD(n.children,t):void 0;let o,s;if(n.filename){o=n.filename.endsWith(".md")?Bk(t[n.filename]):t[n.filename];const l=n.filename.replace(/\.page\.(ts|analog|ag)$/,jk);s={endpoint:(n.filename.replace(/\.page\.(ts|analog|ag)$/,"").replace(/\[\.{3}.+\]/,"**").replace(/^(.*?)\/pages/,"/pages")||"").replace(/\./g,"/").replace(/\/\((.*?)\)$/,"/-$1-"),endpointKey:l}}const a=o?{path:n.segment,loadChildren:()=>o().then(u=>[{path:"",component:u.default,...Nk(u.routeMeta),children:i,[pd]:s}])}:{path:n.segment,children:i};r.push(a)}return r}function AD(e){e.sort((t,r)=>{let n=Xh(t.segment),i=Xh(r.segment);return t.children.length>r.children.length?n=`~${n}`:t.children.lengthi?1:-1});for(const t of e)AD(t.children)}function Xh(e){return e.replace(":","~~").replace("**","~~~~")}const zk=Uk({...$k,...Hk});function Gk(e,t,r=A(on),n=_k()){if(wa(r)&&e.url.includes("/_analog/")){let i=new dt;const o=n?.headers.cookie;i=i.set("cookie",o??"");const s=e.clone({headers:i});return t(s)}else return t(e)}function qk(...e){return ai([fk(zk,...e),{provide:Yr,multi:!0,useValue:()=>Ik()},{provide:Qc,multi:!0,useValue:Gk},{provide:wD,useFactory(){return"api"}}])}const Zk={title:"Features",slug:"features",description:"General features"},Wk={title:"Get Started",slug:"how-to-get-started",description:"Downloading and Installing Race Element",type:"guide"},Yk={title:"HUDs and Streaming",slug:"huds-and-streaming",description:"Settings up the HUDs with OBS or Streamlabs",type:"guide"},Kk={title:"Multi-Sim",slug:"multi-sim",description:"Getting Race Element Ready for Multi-Sim",type:"guide"},Qk={title:"Setup Hider for Streaming",slug:"setup-hider",description:"Setting up the setup hider with OBS or Streamlabs",type:"guide"},Xk={title:"Starting Race Element Minimized",slug:"start-the-app-minimized",description:"How to start the app in minimized mode",type:"guide"},Jk={title:"Using the HUD Tab",slug:"how-to-use-huds",description:"Custom HUDs for Sim Racing",type:"guide"},eM={title:"Using the Liveries Tab",slug:"how-to-use-liveries",description:"ACC Liveries and Race Element",type:"guide"},tM={title:"Using the Setups Tab",slug:"how-to-use-setups",description:"Using ACC Setups with Race Element",type:"guide"},nM={title:"Video Guides",slug:"video-guides",description:"A collection of video-guides made by other people in various languages",type:"guide"},rM={title:"Sponsor",slug:"sponsor",description:"Support Developement"},iM={title:"Twitch Chat Bot Commands",slug:"twitch-chat-bot-commands",description:"A list of all available chat bot commands and how to use them",type:"guide"},oM={title:"Active Triggers",slug:"2023-10-19-dualsense-active-triggers",description:"Race Element now provides adaptive trigger feedback",date:"2023-10-19T00:00:00.000Z",type:"news"},sM={title:"Highspeed Rendering",slug:"highspeed-rendering",description:"Rendering Overlays at 200 Hz with minimal CPU usage",date:"2024-11-09T00:00:00.000Z",type:"news"},aM={title:"New website",slug:"2024-06-12-new-website-2024",description:"From Ruby to Angular",date:"2024-06-12T00:00:00.000Z",type:"news"},uM={title:"Race Element is now listed at NexusMods",slug:"nexus-mods-listing",description:"The first mod for Assetto Corsa Competizione at NexusMods!",date:"2024-06-19T00:00:00.000Z",type:"news"},lM={title:"Official Posts on Other Websites",slug:"2022-04-25-official-posts",description:"The only places where Race Element is officially posted",date:"2022-04-25T00:00:00.000Z",type:"news"},cM={title:"SetupLinks Are Added!",slug:"2024-06-06-setup-links",description:"You can now share your setups as a SetupLink, these open up race element's setup importer automatically",date:"2024-06-06T00:00:00.000Z",type:"news"},dM={title:"Digitally Signed App",slug:"2023-04-29-signpath",description:"Race Element is now released with a certificate with SignPath",date:"2023-04-29T00:00:00.000Z",type:"news"},fM={title:"Pushing Too Hard and How To Fix It",slug:"overdriving-the-car-simracing-arnout",description:"An article by SimRacing Arnout",date:"2024-09-09T00:00:00.000Z",type:"news"},hM={title:"Race Element 2.0",slug:"race-element-2-released",description:"Multi-Sim support is added!",date:"2024-09-24T00:00:00.000Z",type:"news"};var Jh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pM(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gd={exports:{}},Fe={},go={},St={};function TD(e){return typeof e>"u"||e===null}function gM(e){return typeof e=="object"&&e!==null}function mM(e){return Array.isArray(e)?e:TD(e)?[]:[e]}function vM(e,t){var r,n,i,o;if(t)for(o=Object.keys(t),r=0,n=o.length;r0&&`\0\r + */const re="primary",co=Symbol("RouteTitle");class lI{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){const r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}}function ni(e){return new lI(e)}function cI(e,t,r){const n=r.path.split("/");if(n.length>e.length||r.pathMatch==="full"&&(t.hasChildren()||n.lengthn[o]===i)}else return e===t}function zy(e){return e.length>0?e[e.length-1]:null}function zn(e){return FE(e)?e:ya(e)?We(Promise.resolve(e)):K(e)}const fI={exact:qy,subset:Zy},Gy={exact:hI,subset:pI,ignored:()=>!0};function Hh(e,t,r){return fI[r.paths](e.root,t.root,r.matrixParams)&&Gy[r.queryParams](e.queryParams,t.queryParams)&&!(r.fragment==="exact"&&e.fragment!==t.fragment)}function hI(e,t){return Xt(e,t)}function qy(e,t,r){if(!Jn(e.segments,t.segments)||!ts(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children)if(!e.children[n]||!qy(e.children[n],t.children[n],r))return!1;return!0}function pI(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>Vy(e[r],t[r]))}function Zy(e,t,r){return Wy(e,t,t.segments,r)}function Wy(e,t,r,n){if(e.segments.length>r.length){const i=e.segments.slice(0,r.length);return!(!Jn(i,r)||t.hasChildren()||!ts(i,r,n))}else if(e.segments.length===r.length){if(!Jn(e.segments,r)||!ts(e.segments,r,n))return!1;for(const i in t.children)if(!e.children[i]||!Zy(e.children[i],t.children[i],n))return!1;return!0}else{const i=r.slice(0,e.segments.length),o=r.slice(e.segments.length);return!Jn(e.segments,i)||!ts(e.segments,i,n)||!e.children[re]?!1:Wy(e.children[re],t,o,n)}}function ts(e,t,r){return t.every((n,i)=>Gy[r](e[i].parameters,n.parameters))}class dr{constructor(t=new ye([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??(this._queryParamMap=ni(this.queryParams)),this._queryParamMap}toString(){return vI.serialize(this)}}class ye{constructor(t,r){this.segments=t,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 ns(this)}}class Si{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??(this._parameterMap=ni(this.parameters)),this._parameterMap}toString(){return Ky(this)}}function gI(e,t){return Jn(e,t)&&e.every((r,n)=>Xt(r.parameters,t[n].parameters))}function Jn(e,t){return e.length!==t.length?!1:e.every((r,n)=>r.path===t[n].path)}function mI(e,t){let r=[];return Object.entries(e.children).forEach(([n,i])=>{n===re&&(r=r.concat(t(i,n)))}),Object.entries(e.children).forEach(([n,i])=>{n!==re&&(r=r.concat(t(i,n)))}),r}let nd=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>new rd,providedIn:"root"});let e=t;return e})();class rd{parse(t){const r=new SI(t);return new dr(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){const r=`/${Ci(t.root,!0)}`,n=EI(t.queryParams),i=typeof t.fragment=="string"?`#${yI(t.fragment)}`:"";return`${r}${n}${i}`}}const vI=new rd;function ns(e){return e.segments.map(t=>Ky(t)).join("/")}function Ci(e,t){if(!e.hasChildren())return ns(e);if(t){const r=e.children[re]?Ci(e.children[re],!1):"",n=[];return Object.entries(e.children).forEach(([i,o])=>{i!==re&&n.push(`${i}:${Ci(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{const r=mI(e,(n,i)=>i===re?[Ci(e.children[re],!1)]:[`${i}:${Ci(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[re]!=null?`${ns(e)}/${r[0]}`:`${ns(e)}/(${r.join("//")})`}}function Yy(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Vo(e){return Yy(e).replace(/%3B/gi,";")}function yI(e){return encodeURI(e)}function sl(e){return Yy(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function rs(e){return decodeURIComponent(e)}function Uh(e){return rs(e.replace(/\+/g,"%20"))}function Ky(e){return`${sl(e.path)}${DI(e.parameters)}`}function DI(e){return Object.entries(e).map(([t,r])=>`;${sl(t)}=${sl(r)}`).join("")}function EI(e){const t=Object.entries(e).map(([r,n])=>Array.isArray(n)?n.map(i=>`${Vo(r)}=${Vo(i)}`).join("&"):`${Vo(r)}=${Vo(n)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}const CI=/^[^\/()?;#]+/;function lu(e){const t=e.match(CI);return t?t[0]:""}const wI=/^[^\/()?;=#]+/;function _I(e){const t=e.match(wI);return t?t[0]:""}const bI=/^[^=?&#]+/;function AI(e){const t=e.match(bI);return t?t[0]:""}const TI=/^[^&#]+/;function FI(e){const t=e.match(TI);return t?t[0]:""}class SI{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ye([],{}):new ye([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[re]=new ye(t,r)),n}parseSegment(){const t=lu(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new V(4009,!1);return this.capture(t),new Si(rs(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const r=_I(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){const i=lu(this.remaining);i&&(n=i,this.capture(n))}t[rs(r)]=rs(n)}parseQueryParam(t){const r=AI(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){const s=FI(this.remaining);s&&(n=s,this.capture(n))}const i=Uh(r),o=Uh(n);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){const r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=lu(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new V(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=re);const s=this.parseChildren();r[o]=Object.keys(s).length===1?s[re]:new ye([],s),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new V(4011,!1)}}function Qy(e){return e.segments.length>0?new ye([],{[re]:e}):e}function Xy(e){const t={};for(const[n,i]of Object.entries(e.children)){const o=Xy(i);if(n===re&&o.segments.length===0&&o.hasChildren())for(const[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[n]=o)}const r=new ye(e.segments,t);return xI(r)}function xI(e){if(e.numberOfChildren===1&&e.children[re]){const t=e.children[re];return new ye(e.segments.concat(t.segments),t.children)}return e}function fr(e){return e instanceof dr}function II(e,t,r=null,n=null){const i=Jy(e);return eD(i,t,r,n)}function Jy(e){let t;function r(o){const s={};for(const u of o.children){const l=r(u);s[u.outlet]=l}const a=new ye(o.url,s);return o===e&&(t=a),a}const n=r(e.root),i=Qy(n);return t??i}function eD(e,t,r,n){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return cu(i,i,i,r,n);const o=kI(t);if(o.toRoot())return cu(i,i,new ye([],{}),r,n);const s=MI(o,i,e),a=s.processChildren?xi(s.segmentGroup,s.index,o.commands):nD(s.segmentGroup,s.index,o.commands);return cu(i,s.segmentGroup,a,r,n)}function Ps(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Gi(e){return typeof e=="object"&&e!=null&&e.outlets}function cu(e,t,r,n,i){let o={};n&&Object.entries(n).forEach(([u,l])=>{o[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`});let s;e===t?s=r:s=tD(e,t,r);const a=Qy(Xy(s));return new dr(a,o,i)}function tD(e,t,r){const n={};return Object.entries(e.children).forEach(([i,o])=>{o===t?n[i]=r:n[i]=tD(o,t,r)}),new ye(e.segments,n)}class Vh{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&Ps(n[0]))throw new V(4003,!1);const i=n.find(Gi);if(i&&i!==zy(n))throw new V(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}}function kI(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Vh(!0,0,e);let t=0,r=!1;const n=e.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([u,l])=>{a[u]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?r=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Vh(r,t,n)}class is{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}}function MI(e,t,r){if(e.isAbsolute)return new is(t,!0,0);if(!r)return new is(t,!1,NaN);if(r.parent===null)return new is(r,!0,0);const n=Ps(e.commands[0])?0:1,i=r.segments.length-1+n;return RI(r,i,e.numberOfDoubleDots)}function RI(e,t,r){let n=e,i=t,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new V(4005,!1);i=n.segments.length}return new is(n,!1,i-o)}function OI(e){return Gi(e[0])?e[0].outlets:{[re]:e}}function nD(e,t,r){if(e??(e=new ye([],{})),e.segments.length===0&&e.hasChildren())return xi(e,t,r);const n=NI(e,t,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==re)&&e.children[re]&&e.numberOfChildren===1&&e.children[re].segments.length===0){const o=xi(e.children[re],t,r);return new ye(e.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=nD(e.children[o],t,s))}),Object.entries(e.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new ye(e.segments,i)}}function NI(e,t,r){let n=0,i=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;const s=e.segments[i],a=r[n];if(Gi(a))break;const u=`${a}`,l=n0&&u===void 0)break;if(u&&l&&typeof l=="object"&&l.outlets===void 0){if(!Gh(u,l,s))return o;n+=2}else{if(!Gh(u,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function al(e,t,r){const n=e.segments.slice(0,t);let i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(t[r]=al(new ye([],{}),0,n))}),t}function zh(e){const t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function Gh(e,t,r){return e==r.path&&Xt(t,r.parameters)}const Ii="imperative";var Ve=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(Ve||{});class sn{constructor(t,r){this.id=t,this.url=r}}class ul extends sn{constructor(t,r,n="imperative",i=null){super(t,r),this.type=Ve.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class hr extends sn{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=Ve.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ut=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(ut||{}),ll=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(ll||{});class er extends sn{constructor(t,r,n,i){super(t,r),this.reason=n,this.code=i,this.type=Ve.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class qi extends sn{constructor(t,r,n,i){super(t,r),this.reason=n,this.code=i,this.type=Ve.NavigationSkipped}}class id extends sn{constructor(t,r,n,i){super(t,r),this.error=n,this.target=i,this.type=Ve.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class rD extends sn{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=Ve.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class LI extends sn{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=Ve.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class BI extends sn{constructor(t,r,n,i,o){super(t,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=Ve.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class jI extends sn{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=Ve.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $I extends sn{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=Ve.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class HI{constructor(t){this.route=t,this.type=Ve.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class UI{constructor(t){this.route=t,this.type=Ve.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class VI{constructor(t){this.snapshot=t,this.type=Ve.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zI{constructor(t){this.snapshot=t,this.type=Ve.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class GI{constructor(t){this.snapshot=t,this.type=Ve.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qI{constructor(t){this.snapshot=t,this.type=Ve.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class od{}class Ls{constructor(t,r){this.url=t,this.navigationBehaviorOptions=r}}function ZI(e,t){return e.providers&&!e._injector&&(e._injector=Qv(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Lt(e){return e.outlet||re}function WI(e,t){const r=e.filter(n=>Lt(n)===t);return r.push(...e.filter(n=>Lt(n)!==t)),r}function fo(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}class YI{get injector(){return fo(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new ba(this.rootInjector),this.attachRef=null}}let ba=(()=>{const t=class t{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){const o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){const i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const 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 YI(this.rootInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};t.ɵfac=function(i){return new(i||t)(te(yn))},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();class iD{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){const r=cl(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){const r=cl(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){const r=dl(t,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return dl(t,this._root).map(r=>r.value)}}function cl(e,t){if(e===t.value)return t;for(const r of t.children){const n=cl(e,r);if(n)return n}return null}function dl(e,t){if(e===t.value)return[t];for(const r of t.children){const n=dl(e,r);if(n.length)return n.unshift(t),n}return[]}class Ot{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}}function Lr(e){const t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}class oD extends iD{constructor(t,r){super(t),this.snapshot=r,sd(this,t)}toString(){return this.snapshot.toString()}}function sD(e){const t=KI(e),r=new Ct([new Si("",{})]),n=new Ct({}),i=new Ct({}),o=new Ct({}),s=new Ct(""),a=new Gn(r,n,o,s,i,re,e,t.root);return a.snapshot=t.root,new oD(new Ot(a,[]),t)}function KI(e){const t={},r={},n={},i="",o=new os([],t,n,i,r,re,e,null,{});return new aD("",new Ot(o,[]))}class Gn{constructor(t,r,n,i,o,s,a,u){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(le(l=>l[co]))??K(void 0),this.url=t,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._paramMap=this.params.pipe(le(t=>ni(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap??(this._queryParamMap=this.queryParams.pipe(le(t=>ni(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Bs(e,t,r="emptyOnly"){let n;const{routeConfig:i}=e;return t!==null&&(r==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...i?.data,...e._resolvedData}}:n={params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}},i&&lD(i)&&(n.resolve[co]=i.title),n}class os{get title(){return this.data?.[co]}constructor(t,r,n,i,o,s,a,u,l){this.url=t,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??(this._paramMap=ni(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap??(this._queryParamMap=ni(this.queryParams)),this._queryParamMap}toString(){const t=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}}class aD extends iD{constructor(t,r){super(r),this.url=t,sd(this,r)}toString(){return uD(this._root)}}function sd(e,t){t.value._routerState=e,t.children.forEach(r=>sd(e,r))}function uD(e){const t=e.children.length>0?` { ${e.children.map(uD).join(", ")} } `:"";return`${e.value}${t}`}function du(e){if(e.snapshot){const t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,Xt(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),Xt(t.params,r.params)||e.paramsSubject.next(r.params),dI(t.url,r.url)||e.urlSubject.next(r.url),Xt(t.data,r.data)||e.dataSubject.next(r.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function fl(e,t){const r=Xt(e.params,t.params)&&gI(e.url,t.url),n=!e.parent!=!t.parent;return r&&!n&&(!e.parent||fl(e.parent,t.parent))}function lD(e){return typeof e.title=="string"||e.title===null}let cD=(()=>{const t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=re,this.activateEvents=new nt,this.deactivateEvents=new nt,this.attachEvents=new nt,this.detachEvents=new nt,this.parentContexts=A(ba),this.location=A(Ft),this.changeDetector=A(Dy),this.inputBinder=A(ud,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{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;const 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 V(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new V(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new V(4012,!1);this.location.detach();const 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){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new V(4013,!1);this._activatedRoute=n;const o=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,l=new ad(n,u,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=ot({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ui]});let e=t;return e})();class ad{__ngOutletInjector(t){return new ad(this.route,this.childContexts,t)}constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===Gn?this.route:t===ba?this.childContexts:this.parent.get(t,r)}}const ud=new z("");function QI(e,t,r){const n=Zi(e,t._root,r?r._root:void 0);return new oD(n,t)}function Zi(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){const n=r.value;n._futureSnapshot=t.value;const i=XI(e,t,r);return new Ot(n,i)}else{if(e.shouldAttach(t.value)){const o=e.retrieve(t.value);if(o!==null){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Zi(e,a)),s}}const n=JI(t.value),i=t.children.map(o=>Zi(e,o));return new Ot(n,i)}}function XI(e,t,r){return t.children.map(n=>{for(const i of r.children)if(e.shouldReuseRoute(n.value,i.value.snapshot))return Zi(e,n,i);return Zi(e,n)})}function JI(e){return new Gn(new Ct(e.url),new Ct(e.params),new Ct(e.queryParams),new Ct(e.fragment),new Ct(e.data),e.outlet,e.component,e)}class ld{constructor(t,r){this.redirectTo=t,this.navigationBehaviorOptions=r}}const dD="ngNavigationCancelingError";function js(e,t){const{redirectTo:r,navigationBehaviorOptions:n}=fr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=fD(!1,ut.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function fD(e,t){const r=new Error(`NavigationCancelingError: ${e||""}`);return r[dD]=!0,r.cancellationCode=t,r}function e1(e){return hD(e)&&fr(e.url)}function hD(e){return!!e&&e[dD]}const t1=(e,t,r,n)=>le(i=>(new n1(t,i.targetRouterState,i.currentRouterState,r,n).activate(e),i));class n1{constructor(t,r,n,i,o){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){const r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),du(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){const i=Lr(r);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(t,r,n){const i=t.value,o=r?r.value:null;if(i===o)if(i.component){const s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(t,r,s.children)}else this.deactivateChildRoutes(t,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){const n=r.getContext(t.value.outlet),i=n&&t.value.component?n.children:r,o=Lr(t);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){const s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){const n=r.getContext(t.value.outlet),i=n&&t.value.component?n.children:r,o=Lr(t);for(const 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(t,r,n){const i=Lr(r);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new qI(o.value.snapshot))}),t.children.length&&this.forwardEvent(new zI(t.value.snapshot))}activateRoutes(t,r,n){const i=t.value,o=r?r.value:null;if(du(i),i===o)if(i.component){const s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,r,s.children)}else this.activateChildRoutes(t,r,n);else if(i.component){const s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const 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),du(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,n)}}class qh{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class ss{constructor(t,r){this.component=t,this.route=r}}function r1(e,t,r){const n=e._root,i=t?t._root:null;return wi(n,i,r,[n.value])}function i1(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function pi(e,t){const r=Symbol(),n=t.get(e,r);return n===r?typeof e=="function"&&!JE(e)?e:t.get(e):n}function wi(e,t,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Lr(t);return e.children.forEach(s=>{o1(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>ki(a,r.getContext(s),i)),i}function o1(e,t,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const u=s1(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new qh(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?wi(e,t,a?a.children:null,n,i):wi(e,t,r,n,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ss(a.outlet.component,s))}else s&&ki(t,a,i),i.canActivateChecks.push(new qh(n)),o.component?wi(e,null,a?a.children:null,n,i):wi(e,null,r,n,i);return i}function s1(e,t,r){if(typeof r=="function")return r(e,t);switch(r){case"pathParamsChange":return!Jn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Jn(e.url,t.url)||!Xt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fl(e,t)||!Xt(e.queryParams,t.queryParams);case"paramsChange":default:return!fl(e,t)}}function ki(e,t,r){const n=Lr(e),i=e.value;Object.entries(n).forEach(([o,s])=>{i.component?t?ki(s,t.children.getContext(o),r):ki(s,null,r):ki(s,t,r)}),i.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new ss(t.outlet.component,i)):r.canDeactivateChecks.push(new ss(null,i)):r.canDeactivateChecks.push(new ss(null,i))}function ho(e){return typeof e=="function"}function a1(e){return typeof e=="boolean"}function u1(e){return e&&ho(e.canLoad)}function l1(e){return e&&ho(e.canActivate)}function c1(e){return e&&ho(e.canActivateChild)}function d1(e){return e&&ho(e.canDeactivate)}function f1(e){return e&&ho(e.canMatch)}function pD(e){return e instanceof Ki||e?.name==="EmptyError"}const zo=Symbol("INITIAL_VALUE");function ri(){return Nt(e=>sg(e.map(t=>t.pipe(Wr(1),WE(zo)))).pipe(le(t=>{for(const r of t)if(r!==!0){if(r===zo)return zo;if(r===!1||h1(r))return r}return!0}),vn(t=>t!==zo),Wr(1)))}function h1(e){return fr(e)||e instanceof ld}function p1(e,t){return Ze(r=>{const{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?K({...r,guardsResult:!0}):g1(s,n,i,e).pipe(Ze(a=>a&&a1(a)?m1(n,o,e,t):K(a)),le(a=>({...r,guardsResult:a})))})}function g1(e,t,r,n){return We(e).pipe(Ze(i=>C1(i.component,i.route,r,t,n)),Hn(i=>i!==!0,!0))}function m1(e,t,r,n){return We(t).pipe(Ni(i=>Eu(y1(i.route.parent,n),v1(i.route,n),E1(e,i.path,r),D1(e,i.route,r))),Hn(i=>i!==!0,!0))}function v1(e,t){return e!==null&&t&&t(new GI(e)),K(!0)}function y1(e,t){return e!==null&&t&&t(new VI(e)),K(!0)}function D1(e,t,r){const n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return K(!0);const i=n.map(o=>ag(()=>{const s=fo(t)??r,a=pi(o,s),u=l1(a)?a.canActivate(t,e):_n(s,()=>a(t,e));return zn(u).pipe(Hn())}));return K(i).pipe(ri())}function E1(e,t,r){const n=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>i1(s)).filter(s=>s!==null).map(s=>ag(()=>{const a=s.guards.map(u=>{const l=fo(s.node)??r,c=pi(u,l),d=c1(c)?c.canActivateChild(n,e):_n(l,()=>c(n,e));return zn(d).pipe(Hn())});return K(a).pipe(ri())}));return K(o).pipe(ri())}function C1(e,t,r,n,i){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return K(!0);const s=o.map(a=>{const u=fo(t)??i,l=pi(a,u),c=d1(l)?l.canDeactivate(e,t,r,n):_n(u,()=>l(e,t,r,n));return zn(c).pipe(Hn())});return K(s).pipe(ri())}function w1(e,t,r,n){const i=t.canLoad;if(i===void 0||i.length===0)return K(!0);const o=i.map(s=>{const a=pi(s,e),u=u1(a)?a.canLoad(t,r):_n(e,()=>a(t,r));return zn(u)});return K(o).pipe(ri(),gD(n))}function gD(e){return aE(Le(t=>{if(typeof t!="boolean")throw js(e,t)}),le(t=>t===!0))}function _1(e,t,r,n){const i=t.canMatch;if(!i||i.length===0)return K(!0);const o=i.map(s=>{const a=pi(s,e),u=f1(a)?a.canMatch(t,r):_n(e,()=>a(t,r));return zn(u)});return K(o).pipe(ri(),gD(n))}class hl{constructor(t){this.segmentGroup=t||null}}class pl extends Error{constructor(t){super(),this.urlTree=t}}function Sr(e){return Qs(new hl(e))}function b1(e){return Qs(new V(4e3,!1))}function A1(e){return Qs(fD(!1,ut.GuardRejected))}class T1{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return K(n);if(i.numberOfChildren>1||!i.children[re])return b1(`${t.redirectTo}`);i=i.children[re]}}applyRedirectCommands(t,r,n,i,o){if(typeof r!="string"){const a=r,{queryParams:u,fragment:l,routeConfig:c,url:d,outlet:h,params:f,data:v,title:C}=i,D=_n(o,()=>a({params:f,data:v,queryParams:u,fragment:l,routeConfig:c,url:d,outlet:h,title:C}));if(D instanceof dr)throw new pl(D);r=D}const s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n);if(r[0]==="/")throw new pl(s);return s}applyRedirectCreateUrlTree(t,r,n,i){const o=this.createSegmentGroup(t,r.root,n,i);return new dr(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){const n={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){const a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(t,r,n,i){const o=this.createSegments(t,r.segments,n,i);let s={};return Object.entries(r.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,n,i)}),new ye(o,s)}createSegments(t,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(t,o,i):this.findOrReturn(o,n))}findPosParam(t,r,n){const i=n[r.path.substring(1)];if(!i)throw new V(4001,!1);return i}findOrReturn(t,r){let n=0;for(const i of r){if(i.path===t.path)return r.splice(n),i;n++}return t}}const gl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function F1(e,t,r,n,i){const o=mD(e,t,r);return o.matched?(n=ZI(t,n),_1(n,t,r,i).pipe(le(s=>s===!0?o:{...gl}))):K(o)}function mD(e,t,r){if(t.path==="**")return S1(r);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||r.length>0)?{...gl}:{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};const i=(t.matcher||cI)(r,e,t);if(!i)return{...gl};const o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});const s=i.consumed.length>0?{...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 S1(e){return{matched:!0,parameters:e.length>0?zy(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Zh(e,t,r,n){return r.length>0&&k1(e,r,n)?{segmentGroup:new ye(t,I1(n,new ye(r,e.children))),slicedSegments:[]}:r.length===0&&M1(e,r,n)?{segmentGroup:new ye(e.segments,x1(e,r,n,e.children)),slicedSegments:r}:{segmentGroup:new ye(e.segments,e.children),slicedSegments:r}}function x1(e,t,r,n){const i={};for(const o of r)if(Aa(e,t,o)&&!n[Lt(o)]){const s=new ye([],{});i[Lt(o)]=s}return{...n,...i}}function I1(e,t){const r={};r[re]=t;for(const n of e)if(n.path===""&&Lt(n)!==re){const i=new ye([],{});r[Lt(n)]=i}return r}function k1(e,t,r){return r.some(n=>Aa(e,t,n)&&Lt(n)!==re)}function M1(e,t,r){return r.some(n=>Aa(e,t,n))}function Aa(e,t,r){return(e.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function R1(e,t,r){return t.length===0&&!e.children[r]}class O1{}function N1(e,t,r,n,i,o,s="emptyOnly"){return new L1(e,t,r,n,i,s,o).recognize()}const P1=31;class L1{constructor(t,r,n,i,o,s,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new T1(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new V(4002,`'${t.segmentGroup}'`)}recognize(){const t=Zh(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(le(({children:r,rootSnapshot:n})=>{const i=new Ot(n,r),o=new aD("",i),s=II(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){const r=new os([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),re,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,re,r).pipe(le(n=>({children:n,rootSnapshot:r})),Xn(n=>{if(n instanceof pl)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof hl?this.noMatchError(n):n}))}processSegmentGroup(t,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,r,n,o):this.processSegment(t,r,n,n.segments,i,!0,o).pipe(le(s=>s instanceof Ot?[s]:[]))}processChildren(t,r,n,i){const o=[];for(const s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return We(o).pipe(Ni(s=>{const a=n.children[s],u=WI(r,s);return this.processSegmentGroup(t,u,a,s,i)}),ZE((s,a)=>(s.push(...a),s)),Xs(null),qE(),Ze(s=>{if(s===null)return Sr(n);const a=vD(s);return B1(a),K(a)}))}processSegment(t,r,n,i,o,s,a){return We(r).pipe(Ni(u=>this.processSegmentAgainstRoute(u._injector??t,r,u,n,i,o,s,a).pipe(Xn(l=>{if(l instanceof hl)return K(null);throw l}))),Hn(u=>!!u),Xn(u=>{if(pD(u))return R1(n,i,o)?K(new O1):Sr(n);throw u}))}processSegmentAgainstRoute(t,r,n,i,o,s,a,u){return Lt(n)!==s&&(s===re||!Aa(i,o,n))?Sr(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,n,o,s,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,r,n,o,s,u):Sr(i)}expandSegmentAgainstRouteUsingRedirect(t,r,n,i,o,s,a){const{matched:u,parameters:l,consumedSegments:c,positionalParamSegments:d,remainingSegments:h}=mD(r,i,o);if(!u)return Sr(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>P1&&(this.allowRedirects=!1));const f=new os(o,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Wh(i),Lt(i),i.component??i._loadedComponent??null,i,Yh(i)),v=Bs(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(v.params),f.data=Object.freeze(v.data);const C=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(i,C).pipe(Ze(D=>this.processSegment(t,n,r,D.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,r,n,i,o,s){const a=F1(r,n,i,t,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Nt(u=>u.matched?(t=n._injector??t,this.getChildConfig(t,n,i).pipe(Nt(({routes:l})=>{const c=n._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=u,v=new os(h,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Wh(n),Lt(n),n.component??n._loadedComponent??null,n,Yh(n)),C=Bs(v,s,this.paramsInheritanceStrategy);v.params=Object.freeze(C.params),v.data=Object.freeze(C.data);const{segmentGroup:D,slicedSegments:b}=Zh(r,h,f,l);if(b.length===0&&D.hasChildren())return this.processChildren(c,l,D,v).pipe(le(g=>new Ot(v,g)));if(l.length===0&&b.length===0)return K(new Ot(v,[]));const p=Lt(n)===o;return this.processSegment(c,l,D,b,p?re:o,!0,v).pipe(le(g=>new Ot(v,g instanceof Ot?[g]:[])))}))):Sr(r)))}getChildConfig(t,r,n){return r.children?K({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?K({routes:r._loadedRoutes,injector:r._loadedInjector}):w1(t,r,n,this.urlSerializer).pipe(Ze(i=>i?this.configLoader.loadChildren(t,r).pipe(Le(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):A1(r))):K({routes:[],injector:t})}}function B1(e){e.sort((t,r)=>t.value.outlet===re?-1:r.value.outlet===re?1:t.value.outlet.localeCompare(r.value.outlet))}function j1(e){const t=e.value.routeConfig;return t&&t.path===""}function vD(e){const t=[],r=new Set;for(const n of e){if(!j1(n)){t.push(n);continue}const i=t.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):t.push(n)}for(const n of r){const i=vD(n.children);t.push(new Ot(n.value,i))}return t.filter(n=>!r.has(n))}function Wh(e){return e.data||{}}function Yh(e){return e.resolve||{}}function $1(e,t,r,n,i,o){return Ze(s=>N1(e,t,r,n,s.extractedUrl,i,o).pipe(le(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}function H1(e,t){return Ze(r=>{const{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return K(r);const o=new Set(i.map(u=>u.route)),s=new Set;for(const u of o)if(!s.has(u))for(const l of yD(u))s.add(l);let a=0;return We(s).pipe(Ni(u=>o.has(u)?U1(u,n,e,t):(u.data=Bs(u,u.parent,e).resolve,K(void 0))),Le(()=>a++),Ll(1),Ze(u=>a===s.size?K(r):cn))})}function yD(e){const t=e.children.map(r=>yD(r)).flat();return[e,...t]}function U1(e,t,r,n){const i=e.routeConfig,o=e._resolve;return i?.title!==void 0&&!lD(i)&&(o[co]=i.title),V1(o,e,t,n).pipe(le(s=>(e._resolvedData=s,e.data=Bs(e,e.parent,r).resolve,null)))}function V1(e,t,r,n){const i=ol(e);if(i.length===0)return K({});const o={};return We(i).pipe(Ze(s=>z1(e[s],t,r,n).pipe(Hn(),Le(a=>{if(a instanceof ld)throw js(new rd,a);o[s]=a}))),Ll(1),zE(o),Xn(s=>pD(s)?cn:Qs(s)))}function z1(e,t,r,n){const i=fo(t)??n,o=pi(e,i),s=o.resolve?o.resolve(t,r):_n(i,()=>o(t,r));return zn(s)}function fu(e){return Nt(t=>{const r=e(t);return r?We(r).pipe(le(()=>t)):K(t)})}let DD=(()=>{const t=class t{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===re);return i}getResolvedTitleForRoute(n){return n.data[co]}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>A(G1),providedIn:"root"});let e=t;return e})(),G1=(()=>{const t=class t extends DD{constructor(n){super(),this.title=n}updateTitle(n){const i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};t.ɵfac=function(i){return new(i||t)(te(sI))},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();const cd=new z("",{providedIn:"root",factory:()=>({})});let q1=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=eo({type:t,selectors:[["ng-component"]],standalone:!0,features:[uo],decls:1,vars:0,template:function(i,o){i&1&&kn(0,"router-outlet")},dependencies:[cD],encapsulation:2});let e=t;return e})();function dd(e){const t=e.children&&e.children.map(dd),r=t?{...e,children:t}:{...e};return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==re&&(r.component=q1),r}const fd=new z("");let Z1=(()=>{const t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=A(_F)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return K(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const i=zn(n.loadComponent()).pipe(le(ED),Le(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),ps(()=>{this.componentLoaders.delete(n)})),o=new Wd(i,()=>new bt).pipe(Du());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return K({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const s=W1(i,this.compiler,n,this.onLoadEndListener).pipe(ps(()=>{this.childrenLoaders.delete(i)})),a=new Wd(s,()=>new bt).pipe(Du());return this.childrenLoaders.set(i,a),a}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function W1(e,t,r,n){return zn(e.loadChildren()).pipe(le(ED),Ze(i=>i instanceof Wv||Array.isArray(i)?K(i):We(t.compileModuleAsync(i))),le(i=>{n&&n(e);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(fd,[],{optional:!0,self:!0}).flat()),{routes:s.map(dd),injector:o}}))}function Y1(e){return e&&typeof e=="object"&&"default"in e}function ED(e){return Y1(e)?e.default:e}let hd=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>A(K1),providedIn:"root"});let e=t;return e})(),K1=(()=>{const t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();const Q1=new z(""),X1=new z("");let J1=(()=>{const t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new bt,this.transitionAbortSubject=new bt,this.configLoader=A(Z1),this.environmentInjector=A(yn),this.urlSerializer=A(nd),this.rootContexts=A(ba),this.location=A(lo),this.inputBindingEnabled=A(ud,{optional:!0})!==null,this.titleStrategy=A(DD),this.options=A(cd,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=A(hd),this.createViewTransition=A(Q1,{optional:!0}),this.navigationErrorHandler=A(X1,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>K(void 0),this.rootComponentType=null;const n=o=>this.events.next(new HI(o)),i=o=>this.events.next(new UI(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:i})}setupNavigations(n,i,o){return this.transitions=new Ct({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Ii,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(vn(s=>s.id!==0),le(s=>({...s,extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Nt(s=>{let a=!1,u=!1;return K(s).pipe(Nt(l=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",ut.SupersededByNewNavigation),cn;this.currentTransition=s,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const c=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=l.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!c&&d!=="reload"){const h="";return this.events.next(new qi(l.id,this.urlSerializer.serialize(l.rawUrl),h,ll.IgnoredSameUrlNavigation)),l.resolve(!1),cn}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return K(l).pipe(Nt(h=>{const f=this.transitions?.getValue();return this.events.next(new ul(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?cn:Promise.resolve(h)}),$1(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Le(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:h.urlAfterRedirects};const f=new rD(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:h,extractedUrl:f,source:v,restoredState:C,extras:D}=l,b=new ul(h,this.urlSerializer.serialize(f),v,C);this.events.next(b);const p=sD(this.rootComponentType).snapshot;return this.currentTransition=s={...l,targetSnapshot:p,urlAfterRedirects:f,extras:{...D,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,K(s)}else{const h="";return this.events.next(new qi(l.id,this.urlSerializer.serialize(l.extractedUrl),h,ll.IgnoredByUrlHandlingStrategy)),l.resolve(!1),cn}}),Le(l=>{const c=new LI(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),le(l=>(this.currentTransition=s={...l,guards:r1(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},s)),p1(this.environmentInjector,l=>this.events.next(l)),Le(l=>{if(s.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw js(this.urlSerializer,l.guardsResult);const c=new BI(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),vn(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",ut.GuardRejected),!1)),fu(l=>{if(l.guards.canActivateChecks.length)return K(l).pipe(Le(c=>{const d=new jI(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),Nt(c=>{let d=!1;return K(c).pipe(H1(this.paramsInheritanceStrategy,this.environmentInjector),Le({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",ut.NoDataFromResolver)}}))}),Le(c=>{const d=new $I(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),fu(l=>{const c=d=>{const h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(Le(f=>{d.component=f}),le(()=>{})));for(const f of d.children)h.push(...c(f));return h};return sg(c(l.targetSnapshot.root)).pipe(Xs(null),Wr(1))}),fu(()=>this.afterPreactivation()),Nt(()=>{const{currentSnapshot:l,targetSnapshot:c}=s,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return d?We(d).pipe(le(()=>s)):K(s)}),le(l=>{const c=QI(n.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,s}),Le(()=>{this.events.next(new od)}),t1(this.rootContexts,n.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Wr(1),Le({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new hr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),lg(this.transitionAbortSubject.pipe(Le(l=>{throw l}))),ps(()=>{!a&&!u&&this.cancelNavigationTransition(s,"",ut.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Xn(l=>{if(u=!0,hD(l))this.events.next(new er(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),e1(l)?this.events.next(new Ls(l.url,l.navigationBehaviorOptions)):s.resolve(!1);else{const c=new id(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0);try{const d=_n(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(d instanceof ld){const{message:h,cancellationCode:f}=js(this.urlSerializer,d);this.events.next(new er(s.id,this.urlSerializer.serialize(s.extractedUrl),h,f)),this.events.next(new Ls(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(c);const h=n.errorHandler(l);s.resolve(!!h)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return cn}))}))}cancelNavigationTransition(n,i,o){const s=new er(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(){const n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function ek(e){return e!==Ii}let tk=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>A(rk),providedIn:"root"});let e=t;return e})();class nk{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}}let rk=(()=>{const t=class t extends nk{};t.ɵfac=(()=>{let n;return function(o){return(n||(n=ym(t)))(o||t)}})(),t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),CD=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:()=>A(ik),providedIn:"root"});let e=t;return e})(),ik=(()=>{const t=class t extends CD{constructor(){super(...arguments),this.location=A(lo),this.urlSerializer=A(nd),this.options=A(cd,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=A(hd),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new dr,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=sD(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()?.ɵrouterPageId??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 ul)this.stateMemento=this.createStateMemento();else if(n instanceof qi)this.rawUrlTree=i.initialUrl;else if(n instanceof rD){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else n instanceof od?(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(i.targetBrowserUrl??this.rawUrlTree,i)):n instanceof er&&(n.code===ut.GuardRejected||n.code===ut.NoDataFromResolver)?this.restoreHistory(i):n instanceof id?this.restoreHistory(i,!0):n instanceof hr&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){const o=n instanceof dr?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){const s=this.browserPageId,a={...i.extras.state,...this.generateNgRouterState(i.id,s)};this.location.replaceState(o,"",a)}else{const s={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){const 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,ɵrouterPageId:i}:{navigationId:n}}};t.ɵfac=(()=>{let n;return function(o){return(n||(n=ym(t)))(o||t)}})(),t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();var _i=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(_i||{});function ok(e,t){e.events.pipe(vn(r=>r instanceof hr||r instanceof er||r instanceof id||r instanceof qi),le(r=>r instanceof hr||r instanceof qi?_i.COMPLETE:(r instanceof er?r.code===ut.Redirect||r.code===ut.SupersededByNewNavigation:!1)?_i.REDIRECTING:_i.FAILED),vn(r=>r!==_i.REDIRECTING),Wr(1)).subscribe(()=>{t()})}function sk(e){throw e}const ak={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},uk={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let po=(()=>{const t=class t{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.console=A(gF),this.stateManager=A(CD),this.options=A(cd,{optional:!0})||{},this.pendingTasks=A(Er),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=A(J1),this.urlSerializer=A(nd),this.location=A(lo),this.urlHandlingStrategy=A(hd),this._events=new bt,this.errorHandler=this.options.errorHandler||sk,this.navigated=!1,this.routeReuseStrategy=A(tk),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=A(fd,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!A(ud,{optional:!0}),this.eventsSubscription=new en,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(i=>{try{const o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof er&&i.code!==ut.Redirect&&i.code!==ut.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof hr)this.navigated=!0;else if(i instanceof Ls){const a=i.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),l={browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||ek(o.source),...a};this.scheduleNavigation(u,Ii,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}ck(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),Ii,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)}))}navigateToSyncWithBrowser(n,i,o){const s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.ɵrouterPageId,Object.keys(l).length!==0&&(s.state=l)}const u=this.parseUrl(n);this.scheduleNavigation(u,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(dd),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={}){const{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:a;let d=null;switch(u??this.options.defaultQueryParamsHandling){case"merge":d={...this.currentUrlTree.queryParams,...s};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{const f=o?o.snapshot:this.routerState.snapshot.root;h=Jy(f)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),h=this.currentUrlTree.root}return eD(h,n,d,c??null)}navigateByUrl(n,i={skipLocationChange:!1}){const o=fr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Ii,null,i)}navigate(n,i={skipLocationChange:!1}){return lk(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={...ak}:i===!1?o={...uk}:o=i,fr(n))return Hh(this.currentUrlTree,n,o);const s=this.parseUrl(n);return Hh(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 u,l,c;a?(u=a.resolve,l=a.reject,c=a.promise):c=new Promise((h,f)=>{u=h,l=f});const d=this.pendingTasks.add();return ok(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:u,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function lk(e){for(let t=0;t{const t=class t{constructor(n,i,o,s,a,u){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=u,this.href=null,this.onChanges=new bt,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=n.events.subscribe(c=>{c instanceof hr&&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.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(fr(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,i,o,s,a){const u=this.urlTree;if(u===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;const l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;const i=this.href===null?null:J_(this.href,this.el.nativeElement.tagName.toLowerCase());this.applyAttributeValue("href",i)}applyAttributeValue(n,i){const o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.routerLinkInput===null?null:fr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.ɵfac=function(i){return new(i||t)(ae(po),ae(Gn),Em("tabindex"),ae(Ic),ae(Cr),ae(Ea))},t.ɵdir=ot({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&jc("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&ry("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ja],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ja],replaceUrl:[2,"replaceUrl","replaceUrl",Ja],routerLink:"routerLink"},standalone:!0,features:[iT,ui]});let e=t;return e})();const dk=new z("");function fk(e,...t){return ai([{provide:fd,multi:!0,useValue:e},[],{provide:Gn,useFactory:hk,deps:[po]},{provide:Da,multi:!0,useFactory:pk},t.map(r=>r.ɵproviders)])}function hk(e){return e.routerState.root}function pk(){const e=A(ar);return t=>{const r=e.get(_r);if(t!==r.components[0])return;const n=e.get(po),i=e.get(gk);e.get(mk)===1&&n.initialNavigation(),e.get(vk,null,ue.Optional)?.setUpPreloading(),e.get(dk,null,ue.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const gk=new z("",{factory:()=>new bt}),mk=new z("",{providedIn:"root",factory:()=>1}),vk=new z("");function yk(e,t){if(e&1&&(vt(0,"a",1)(1,"div",2),Fn(2),yt()()),e&2){const r=t.$implicit;ma("href",r.Href,Xm),Ec(2),va(" ",r.Text," ")}}const Hr=class Hr{constructor(){this.SocialItems=[]}ngOnInit(){this.SocialItems=[{Text:"GitHub",Href:"https://github.com/RiddleTime/Race-Element"},{Text:"Discord",Href:"https://discord.gg/26AAEW5mUq"},{Text:"X",Href:"https://x.com/Race_Element"},{Text:"Donate",Href:"/guide/sponsor"}]}};Hr.ɵfac=function(r){return new(r||Hr)},Hr.ɵcmp=eo({type:Hr,selectors:[["app-socials"]],standalone:!0,features:[uo],decls:3,vars:0,consts:[[1,"select-none","font-['Conthrax']","md:mt-2","max-w-md","md:max-w-3xl","mx-auto","md:text-2xl","flex","flex-wrap","flex-col","md:flex-row","place-content-start","md:place-content-left"],["target","_blank",3,"href"],[1,"mx-auto","text-base","text-center","mb-2","md:mb-0","text-[#A6A6A6]","hover:text-[red]","hover:bg-[rgba(0,0,0,0.8)]","ml-1","mr-1","pl-2","pr-2","bg-[rgba(0.2,0.2,0.2,0.8)]","rounded-tl-lg","rounded-br-lg"]],template:function(r,n){r&1&&(vt(0,"div",0),HT(1,yk,3,2,"a",1,jT),yt()),r&2&&(Ec(),VT(n.SocialItems))}});let ml=Hr;const Ur=class Ur{constructor(){this.ThisYear=new Date().getFullYear()}};Ur.ɵfac=function(r){return new(r||Ur)},Ur.ɵcmp=eo({type:Ur,selectors:[["app-root"]],standalone:!0,features:[uo],decls:25,vars:1,consts:[[1,"container","mx-auto","flex","flex-col","self-center","pt-2","select-none"],[1,"mx-auto","mb-3"],["href","/",1,"self-center","drop-shadow-[0_35px_35px_rgba(1,1,1,0.25)]","text-center","font-['Conthrax']","text-4xl","md:text-7xl","text-[orangered]","hover:text-[orangered]"],[1,"-skew-x-12"],[1,"text-center","font-['Conthrax']"],[1,"border-t-2","border-[grey]","mb-2","container","mx-auto","md:max-w-2xl"],[1,"mx-auto","container","place-content-center","grid","max-w-2xl","md:max-w-3xl","grid-cols-2","md:grid-cols-1"],[1,"text-lg","font-['Conthrax']","md:mx-auto","ml-6","place-content-end","md:place-content-center","md:text-2xl","flex","flex-wrap","flex-col","md:flex-row"],["href","/news",1,"mx-auto","text-center","mb-2","md:mb-0","text-[white]","hover:text-[red]","hover:bg-[rgba(0,0,0,0.8)]","ml-1","mr-1","pl-2","pr-2","bg-[rgba(0.2,0.2,0.2)]","rounded-tl-lg","rounded-br-lg"],["href","/guide",1,"mx-auto","text-center","mb-2","md:mb-0","text-[white]","hover:text-[red]","hover:bg-[rgba(0,0,0,0.8)]","ml-1","mr-1","pl-2","pr-2","bg-[rgba(0.2,0.2,0.2)]","rounded-tl-lg","rounded-br-lg"],["href","/guide/features",1,"mx-auto","text-center","mb-2","md:mb-0","text-[white]","hover:text-[red]","hover:bg-[rgba(0,0,0,0.8)]","ml-1","mr-1","pl-2","pr-2","bg-[rgba(0.2,0.2,0.2)]","rounded-tl-lg","rounded-br-lg"],["href","/guide/how-to-get-started",1,"mx-auto","text-center","mb-2","md:mb-0","text-[white]","hover:text-[red]","hover:bg-[rgba(0,0,0,0.8)]","ml-1","mr-1","pl-2","pr-2","bg-[rgba(0.2,0.2,0.2)]","rounded-tl-lg","rounded-br-lg"],[1,"mr-6","md:mx-auto"],[1,"border-t-2","border-[grey]","mt-1","md:mt-2","container","mx-auto","md:max-w-2xl","flex-col","md:flex-row"],[1,"mt-4","md:mt-4"],[1,"text-sm","select-none","mx-auto","mt-2"],["src","https://hits.seeyoufarm.com/api/count/keep/badge.svg?url=https%3A%2F%2Fgithub.com%2FRiddleTime%2FRace-Element&count_bg=%23FF4500&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=Usage%3A+Today+%2F+All-time&edge_flat=false",1,"mx-auto"],[1,"text-center"]],template:function(r,n){r&1&&(vt(0,"div",0)(1,"div",1)(2,"a",2)(3,"div",3),Fn(4,"Race Element"),yt()(),vt(5,"p",4),Fn(6,"Solutions for Simulators"),yt()(),kn(7,"div",5),vt(8,"div",6)(9,"nav",7)(10,"a",8),Fn(11,"News"),yt(),vt(12,"a",9),Fn(13,"Guides"),yt(),vt(14,"a",10),Fn(15,"Features"),yt(),vt(16,"a",11),Fn(17,"Download"),yt()(),kn(18,"app-socials",12),yt(),kn(19,"div",13)(20,"router-outlet",14),vt(21,"footer",15),kn(22,"img",16),vt(23,"p",17),Fn(24),yt()()()),r&2&&(Ec(24),va("© 2022 - ",n.ThisYear," Reinier Klarenberg"))},dependencies:[cD,ml]});let vl=Ur;const Dk="modulepreload",Ek=function(e){return"/"+e},Kh={},q=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=s?.nonce||s?.getAttribute("nonce");i=Promise.allSettled(r.map(u=>{if(u=Ek(u),u in Kh)return;Kh[u]=!0;const l=u.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${c}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":Dk,l||(d.as="script"),d.crossOrigin="",d.href=u,a&&d.setAttribute("nonce",a),document.head.appendChild(d),l)return new Promise((h,f)=>{d.addEventListener("load",h),d.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return i.then(s=>{for(const a of s||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},Ck=new z("@analogjs/router Server Request");new z("@analogjs/router Server Response");const wk=new z("@analogjs/router Base URL"),wD=new z("@analogjs/router API Prefix");function _k(){return A(Ck,{optional:!0})}function bk(){return A(wk,{optional:!0})}function Ak(){return A(wD)}const _D={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CJS_IGNORE_WARNING:"true"},yl=Symbol("@analogjs/router Route Meta Tags Key"),Tk="charset",Fk="http-equiv",Sk="name",xk="property";function Ik(){const e=A(po),t=A(iI);e.events.pipe(vn(r=>r instanceof hr)).subscribe(()=>{const r=kk(e.routerState.snapshot.root);for(const n in r){const i=r[n];t.updateTag(i,n)}})}function kk(e){const t={};let r=e;for(;r;){const n=r.data[yl]??[];for(const i of n)t[Mk(i)]=i;r=r.firstChild}return t}function Mk(e){return e.name?`${Sk}="${e.name}"`:e.property?`${xk}="${e.property}"`:e.httpEquiv?`${Fk}="${e.httpEquiv}"`:Tk}const pd=Symbol("@analogjs/router Analog Route Metadata Key");let Rk={};function Ok(e){const t=e.routeConfig,r=Ak(),n=bk(),{queryParams:i,fragment:o,params:s,parent:a}=e,u=a?.url.map(c=>c.path).join("/")||"",l=new URL("",_D.VITE_ANALOG_PUBLIC_BASE_URL||n||(typeof window<"u"&&window.location.origin?window.location.origin:""));return l.pathname=`${l.pathname.endsWith("/")?l.pathname:l.pathname+"/"}${r}/_analog${t[pd].endpoint}`,l.search=`${new URLSearchParams(i).toString()}`,l.hash=o??"",Object.keys(s).forEach(c=>{l.pathname=l.pathname.replace(`[${c}]`,s[c])}),l.pathname=l.pathname.replace("**",u),l}function Nk(e){if(e&&Pk(e))return e;let{meta:t,...r}=e??{};return Array.isArray(t)?r.data={...r.data,[yl]:t}:typeof t=="function"&&(r.resolve={...r.resolve,[yl]:t}),r||(r={}),r.runGuardsAndResolvers=r.runGuardsAndResolvers??"paramsOrQueryParamsChange",r.resolve={...r.resolve,load:async n=>{const i=A(Ry),o=n.routeConfig;if(Rk[o[pd].endpointKey]){const s=Ok(n);return _D.VITE_ANALOG_PUBLIC_BASE_URL&&globalThis.$fetch?globalThis.$fetch(s.pathname):SE(i.get(`${s.href}`))}return{}}},r}function Pk(e){return!!e.redirectTo}const Lk=typeof Zone<"u"&&!!Zone.root;function Bk(e){return async()=>{const t=()=>Promise.all([q(()=>Promise.resolve().then(()=>aP),void 0),e()]),[{parseRawContentFile:r,MarkdownRouteComponent:n,ContentRenderer:i},o]=await(Lk?Zone.root.run(t):t()),{content:s,attributes:a}=r(o),{title:u,meta:l}=a;return{default:n,routeMeta:{data:{_analogContent:s},title:u,meta:l,resolve:{renderedAnalogContent:async()=>A(i).render(s)}}}}}const jk=".server.ts";let $k={"/src/app/pages/index.page.ts":()=>q(()=>import("./index.page-BRTYuvoS.js"),[]),"/src/app/pages/guide/[slug].page.ts":()=>q(()=>import("./_slug_.page-CQNWpN9c.js"),[]),"/src/app/pages/guide/index.page.ts":()=>q(()=>import("./index.page-ChBS2TJJ.js"),[]),"/src/app/pages/news/[slug].page.ts":()=>q(()=>import("./_slug_.page-Bskbl4-c.js"),[]),"/src/app/pages/news/index.page.ts":()=>q(()=>import("./index.page-C3E9gRUf.js"),[]),"/src/app/pages/setup/index.page.ts":()=>q(()=>import("./index.page-vNyYtbSi.js"),[])},Hk={"/src/content/guide/features.md":()=>q(()=>import("./features-2eESu8X-.js"),[]).then(e=>e.default),"/src/content/guide/guide-get-started.md":()=>q(()=>import("./guide-get-started-Bfw9CXOs.js"),[]).then(e=>e.default),"/src/content/guide/guide-huds-and-streaming.md":()=>q(()=>import("./guide-huds-and-streaming-CVggPCzf.js"),[]).then(e=>e.default),"/src/content/guide/guide-multi-sim.md":()=>q(()=>import("./guide-multi-sim-Cv9XySxf.js"),[]).then(e=>e.default),"/src/content/guide/guide-setup-hider.md":()=>q(()=>import("./guide-setup-hider-D0h0Qg1t.js"),[]).then(e=>e.default),"/src/content/guide/guide-starting-race-element-minimized.md":()=>q(()=>import("./guide-starting-race-element-minimized-BiN8OpPW.js"),[]).then(e=>e.default),"/src/content/guide/guide-using-hud-tab.md":()=>q(()=>import("./guide-using-hud-tab-BXy0NJSQ.js"),[]).then(e=>e.default),"/src/content/guide/guide-using-liveries-tab.md":()=>q(()=>import("./guide-using-liveries-tab-c1f1oTmj.js"),[]).then(e=>e.default),"/src/content/guide/guide-using-setups-tab.md":()=>q(()=>import("./guide-using-setups-tab-Dqg454y0.js"),[]).then(e=>e.default),"/src/content/guide/guide-video-guides.md":()=>q(()=>import("./guide-video-guides-CQ1gOuBm.js"),[]).then(e=>e.default),"/src/content/guide/sponsor.md":()=>q(()=>import("./sponsor-CYsG9ocl.js"),[]).then(e=>e.default),"/src/content/guide/twitch-chat-bot-commands.md":()=>q(()=>import("./twitch-chat-bot-commands-Pj6oNTZH.js"),[]).then(e=>e.default),"/src/content/news/Assette-Corsa-EVO-and-Race-Element.md":()=>q(()=>import("./Assette-Corsa-EVO-and-Race-Element-UUptBRyv.js"),[]).then(e=>e.default),"/src/content/news/news-dualsense-active-triggers.md":()=>q(()=>import("./news-dualsense-active-triggers-DMEXXgsh.js"),[]).then(e=>e.default),"/src/content/news/news-highspeed-rendering.md":()=>q(()=>import("./news-highspeed-rendering-C18CQ4T4.js"),[]).then(e=>e.default),"/src/content/news/news-new-website.md":()=>q(()=>import("./news-new-website-FgVk1p9q.js"),[]).then(e=>e.default),"/src/content/news/news-nexusmods-listing.md":()=>q(()=>import("./news-nexusmods-listing-DJ43UAR9.js"),[]).then(e=>e.default),"/src/content/news/news-posts-on-other-websites.md":()=>q(()=>import("./news-posts-on-other-websites-ScHYMwVm.js"),[]).then(e=>e.default),"/src/content/news/news-setuplink.md":()=>q(()=>import("./news-setuplink-X-M47urO.js"),[]).then(e=>e.default),"/src/content/news/news-signpath.md":()=>q(()=>import("./news-signpath-hkCNUwSM.js"),[]).then(e=>e.default),"/src/content/news/pushing-too-hard.md":()=>q(()=>import("./pushing-too-hard-Bt8vBFol.js"),[]).then(e=>e.default),"/src/content/news/version-2-released.md":()=>q(()=>import("./version-2-released-0m1m9qbq.js"),[]).then(e=>e.default)};function Uk(e){var a,u;const t=Object.keys(e);if(t.length===0)return[];const r=t.reduce((l,c)=>{const d=Vk(c),h=d.split("/"),f=h.length-1,v=h[f],C=h.slice(0,f);return{...l,[f]:{...l[f],[d]:{filename:c,rawSegment:v,ancestorRawSegments:C,segment:Qh(v),level:f,children:[]}}}},{}),n=Object.keys(r).map(Number),i=Math.max(...n);for(let l=i;l>0;l--){const c=r[l],d=Object.keys(c);for(const h of d){const f=c[h],v=f.ancestorRawSegments.join("/"),C=f.ancestorRawSegments.length-1,D=f.ancestorRawSegments[C];r[a=l-1]||(r[a]={}),(u=r[l-1])[v]||(u[v]={filename:null,rawSegment:D,ancestorRawSegments:f.ancestorRawSegments.slice(0,C),segment:Qh(D),level:l-1,children:[]}),r[l-1][v].children.push(f)}}const o=r[0],s=Object.keys(o).map(l=>o[l]);return AD(s),bD(s,e)}function Vk(e){return e.replace(/^(?:[a-zA-Z]:[\\/])?(.*?)[\\/](?:routes|pages)[\\/]|(?:[\\/](?:app[\\/](?:routes|pages)[\\/]))|(\.page\.(js|ts|analog|ag)$)|(\.(ts|md|analog|ag)$)/g,"").replace(/\[\.{3}.+\]/,"**").replace(/\[([^\]]+)\]/g,":$1")}function Qh(e){return e.replace(/index|\(.*?\)/g,"").replace(/\.|\/+/g,"/").replace(/^\/+|\/+$/g,"")}function bD(e,t){const r=[];for(const n of e){const i=n.children.length>0?bD(n.children,t):void 0;let o,s;if(n.filename){o=n.filename.endsWith(".md")?Bk(t[n.filename]):t[n.filename];const l=n.filename.replace(/\.page\.(ts|analog|ag)$/,jk);s={endpoint:(n.filename.replace(/\.page\.(ts|analog|ag)$/,"").replace(/\[\.{3}.+\]/,"**").replace(/^(.*?)\/pages/,"/pages")||"").replace(/\./g,"/").replace(/\/\((.*?)\)$/,"/-$1-"),endpointKey:l}}const a=o?{path:n.segment,loadChildren:()=>o().then(u=>[{path:"",component:u.default,...Nk(u.routeMeta),children:i,[pd]:s}])}:{path:n.segment,children:i};r.push(a)}return r}function AD(e){e.sort((t,r)=>{let n=Xh(t.segment),i=Xh(r.segment);return t.children.length>r.children.length?n=`~${n}`:t.children.lengthi?1:-1});for(const t of e)AD(t.children)}function Xh(e){return e.replace(":","~~").replace("**","~~~~")}const zk=Uk({...$k,...Hk});function Gk(e,t,r=A(on),n=_k()){if(wa(r)&&e.url.includes("/_analog/")){let i=new dt;const o=n?.headers.cookie;i=i.set("cookie",o??"");const s=e.clone({headers:i});return t(s)}else return t(e)}function qk(...e){return ai([fk(zk,...e),{provide:Yr,multi:!0,useValue:()=>Ik()},{provide:Qc,multi:!0,useValue:Gk},{provide:wD,useFactory(){return"api"}}])}const Zk={title:"Features",slug:"features",description:"General features"},Wk={title:"Get Started",slug:"how-to-get-started",description:"Downloading and Installing Race Element",type:"guide"},Yk={title:"HUDs and Streaming",slug:"huds-and-streaming",description:"Settings up the HUDs with OBS or Streamlabs",type:"guide"},Kk={title:"Multi-Sim",slug:"multi-sim",description:"Getting Race Element Ready for Multi-Sim",type:"guide"},Qk={title:"Setup Hider for Streaming",slug:"setup-hider",description:"Setting up the setup hider with OBS or Streamlabs",type:"guide"},Xk={title:"Starting Race Element Minimized",slug:"start-the-app-minimized",description:"How to start the app in minimized mode",type:"guide"},Jk={title:"Using the HUD Tab",slug:"how-to-use-huds",description:"Custom HUDs for Sim Racing",type:"guide"},eM={title:"Using the Liveries Tab",slug:"how-to-use-liveries",description:"ACC Liveries and Race Element",type:"guide"},tM={title:"Using the Setups Tab",slug:"how-to-use-setups",description:"Using ACC Setups with Race Element",type:"guide"},nM={title:"Video Guides",slug:"video-guides",description:"A collection of video-guides made by other people in various languages",type:"guide"},rM={title:"Sponsor",slug:"sponsor",description:"Support Developement"},iM={title:"Twitch Chat Bot Commands",slug:"twitch-chat-bot-commands",description:"A list of all available chat bot commands and how to use them",type:"guide"},oM={title:"Assetto Corsa EVO and Race Element",slug:"Assetto-Corsa-EVO-Race-Element-Future",description:"Why was Race Element prepared for a future simulator in the Assetto Corsa Series?",date:"2025-01-15T00:00:00.000Z",type:"news"},sM={title:"Active Triggers",slug:"2023-10-19-dualsense-active-triggers",description:"Race Element now provides adaptive trigger feedback",date:"2023-10-19T00:00:00.000Z",type:"news"},aM={title:"Highspeed Rendering",slug:"highspeed-rendering",description:"Rendering Overlays at 200 Hz with minimal CPU usage",date:"2024-11-09T00:00:00.000Z",type:"news"},uM={title:"New website",slug:"2024-06-12-new-website-2024",description:"From Ruby to Angular",date:"2024-06-12T00:00:00.000Z",type:"news"},lM={title:"Race Element is now listed at NexusMods",slug:"nexus-mods-listing",description:"The first mod for Assetto Corsa Competizione at NexusMods!",date:"2024-06-19T00:00:00.000Z",type:"news"},cM={title:"Official Posts on Other Websites",slug:"2022-04-25-official-posts",description:"The only places where Race Element is officially posted",date:"2022-04-25T00:00:00.000Z",type:"news"},dM={title:"SetupLinks Are Added!",slug:"2024-06-06-setup-links",description:"You can now share your setups as a SetupLink, these open up race element's setup importer automatically",date:"2024-06-06T00:00:00.000Z",type:"news"},fM={title:"Digitally Signed App",slug:"2023-04-29-signpath",description:"Race Element is now released with a certificate with SignPath",date:"2023-04-29T00:00:00.000Z",type:"news"},hM={title:"Pushing Too Hard and How To Fix It",slug:"overdriving-the-car-simracing-arnout",description:"An article by SimRacing Arnout",date:"2024-09-09T00:00:00.000Z",type:"news"},pM={title:"Race Element 2.0",slug:"race-element-2-released",description:"Multi-Sim support is added!",date:"2024-09-24T00:00:00.000Z",type:"news"};var Jh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gM(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gd={exports:{}},Fe={},go={},St={};function TD(e){return typeof e>"u"||e===null}function mM(e){return typeof e=="object"&&e!==null}function vM(e){return Array.isArray(e)?e:TD(e)?[]:[e]}function yM(e,t){var r,n,i,o;if(t)for(o=Object.keys(t),r=0,n=o.length;r0&&`\0\r …\u2028\u2029`.indexOf(this.buffer.charAt(i-1))===-1;)if(i-=1,this.position-i>r/2-1){n=" ... ",i+=5;break}for(o="",s=this.position;sr/2-1){o=" ... ",s-=5;break}return a=this.buffer.slice(i,s),ep.repeat(" ",t)+n+a+o+` `+ep.repeat(" ",t+this.position-i+n.length)+"^"};md.prototype.toString=function(t){var r,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),t||(r=this.getSnippet(),r&&(n+=`: -`+r)),n};var EM=md,tp=mo,CM=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],wM=["scalar","sequence","mapping"];function _M(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function bM(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(CM.indexOf(r)===-1)throw new tp('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=_M(t.styleAliases||null),wM.indexOf(this.kind)===-1)throw new tp('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var je=bM,np=St,as=mo,AM=je;function Dl(e,t,r){var n=[];return e.include.forEach(function(i){r=Dl(i,t,r)}),e[t].forEach(function(i){r.forEach(function(o,s){o.tag===i.tag&&o.kind===i.kind&&n.push(s)}),r.push(i)}),r.filter(function(i,o){return n.indexOf(o)===-1})}function TM(){var e={scalar:{},sequence:{},mapping:{},fallback:{}},t,r;function n(i){e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,r=arguments.length;t=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),FD=St,JM=je,eR=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function tR(e){return!(e===null||!eR.test(e)||e[e.length-1]==="_")}function nR(e){var t,r,n,i;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,i=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:t.indexOf(":")>=0?(t.split(":").forEach(function(o){i.unshift(parseFloat(o,10))}),t=0,n=1,i.forEach(function(o){t+=o*n,n*=60}),r*t):r*parseFloat(t,10)}var rR=/^[-+]?[0-9]+e/;function iR(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(FD.isNegativeZero(e))return"-0.0";return r=e.toString(10),rR.test(r)?r.replace("e",".e"):r}function oR(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||FD.isNegativeZero(e))}var sR=new JM("tag:yaml.org,2002:float",{kind:"scalar",resolve:tR,construct:nR,predicate:oR,represent:iR,defaultStyle:"lowercase"}),aR=gi,SD=new aR({include:[vd],implicit:[BM,VM,XM,sR]}),uR=gi,xD=new uR({include:[SD]}),lR=je,ID=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),kD=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function cR(e){return e===null?!1:ID.exec(e)!==null||kD.exec(e)!==null}function dR(e){var t,r,n,i,o,s,a,u=0,l=null,c,d,h;if(t=ID.exec(e),t===null&&(t=kD.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(o=+t[4],s=+t[5],a=+t[6],t[7]){for(u=t[7].slice(0,3);u.length<3;)u+="0";u=+u}return t[9]&&(c=+t[10],d=+(t[11]||0),l=(c*60+d)*6e4,t[9]==="-"&&(l=-l)),h=new Date(Date.UTC(r,n,i,o,s,a,u)),l&&h.setTime(h.getTime()-l),h}function fR(e){return e.toISOString()}var hR=new lR("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:cR,construct:dR,instanceOf:Date,represent:fR}),pR=je;function gR(e){return e==="<<"||e===null}var mR=new pR("tag:yaml.org,2002:merge",{kind:"scalar",resolve:gR});function MD(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Qn;try{var vR=MD;Qn=vR("buffer").Buffer}catch{}var yR=je,yd=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function DR(e){if(e===null)return!1;var t,r,n=0,i=e.length,o=yd;for(r=0;r64)){if(t<0)return!1;n+=6}return n%8===0}function ER(e){var t,r,n=e.replace(/[\r\n=]/g,""),i=n.length,o=yd,s=0,a=[];for(t=0;t>16&255),a.push(s>>8&255),a.push(s&255)),s=s<<6|o.indexOf(n.charAt(t));return r=i%4*6,r===0?(a.push(s>>16&255),a.push(s>>8&255),a.push(s&255)):r===18?(a.push(s>>10&255),a.push(s>>2&255)):r===12&&a.push(s>>4&255),Qn?Qn.from?Qn.from(a):new Qn(a):a}function CR(e){var t="",r=0,n,i,o=e.length,s=yd;for(n=0;n>18&63],t+=s[r>>12&63],t+=s[r>>6&63],t+=s[r&63]),r=(r<<8)+e[n];return i=o%3,i===0?(t+=s[r>>18&63],t+=s[r>>12&63],t+=s[r>>6&63],t+=s[r&63]):i===2?(t+=s[r>>10&63],t+=s[r>>4&63],t+=s[r<<2&63],t+=s[64]):i===1&&(t+=s[r>>2&63],t+=s[r<<4&63],t+=s[64],t+=s[64]),t}function wR(e){return Qn&&Qn.isBuffer(e)}var _R=new yR("tag:yaml.org,2002:binary",{kind:"scalar",resolve:DR,construct:ER,predicate:wR,represent:CR}),bR=je,AR=Object.prototype.hasOwnProperty,TR=Object.prototype.toString;function FR(e){if(e===null)return!0;var t=[],r,n,i,o,s,a=e;for(r=0,n=a.length;r"u"}var qR=new HR("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:UR,construct:VR,predicate:GR,represent:zR}),ZR=je;function WR(e){if(e===null||e.length===0)return!1;var t=e,r=/\/([gim]*)$/.exec(e),n="";return!(t[0]==="/"&&(r&&(n=r[1]),n.length>3||t[t.length-n.length-1]!=="/"))}function YR(e){var t=e,r=/\/([gim]*)$/.exec(e),n="";return t[0]==="/"&&(r&&(n=r[1]),t=t.slice(1,t.length-n.length-1)),new RegExp(t,n)}function KR(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}function QR(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var XR=new ZR("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:WR,construct:YR,predicate:QR,represent:KR}),$s;try{var JR=MD;$s=JR("esprima")}catch{typeof window<"u"&&($s=window.esprima)}var eO=je;function tO(e){if(e===null)return!1;try{var t="("+e+")",r=$s.parse(t,{range:!0});return!(r.type!=="Program"||r.body.length!==1||r.body[0].type!=="ExpressionStatement"||r.body[0].expression.type!=="ArrowFunctionExpression"&&r.body[0].expression.type!=="FunctionExpression")}catch{return!1}}function nO(e){var t="("+e+")",r=$s.parse(t,{range:!0}),n=[],i;if(r.type!=="Program"||r.body.length!==1||r.body[0].type!=="ExpressionStatement"||r.body[0].expression.type!=="ArrowFunctionExpression"&&r.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return r.body[0].expression.params.forEach(function(o){n.push(o.name)}),i=r.body[0].expression.body.range,r.body[0].expression.body.type==="BlockStatement"?new Function(n,t.slice(i[0]+1,i[1]-1)):new Function(n,"return "+t.slice(i[0],i[1]))}function rO(e){return e.toString()}function iO(e){return Object.prototype.toString.call(e)==="[object Function]"}var oO=new eO("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:tO,construct:nO,predicate:iO,represent:rO}),rp=gi,Ta=rp.DEFAULT=new rp({include:[vo],explicit:[qR,XR,oO]}),fn=St,RD=mo,sO=EM,OD=vo,aO=Ta,$n=Object.prototype.hasOwnProperty,Hs=1,ND=2,PD=3,Us=4,hu=1,uO=2,ip=3,lO=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,cO=/[\x85\u2028\u2029]/,dO=/[,\[\]\{\}]/,LD=/^(?:!|!!|![a-z\-]+!)$/i,BD=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function op(e){return Object.prototype.toString.call(e)}function Jt(e){return e===10||e===13}function tr(e){return e===9||e===32}function rt(e){return e===9||e===32||e===10||e===13}function jr(e){return e===44||e===91||e===93||e===123||e===125}function fO(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function hO(e){return e===120?2:e===117?4:e===85?8:0}function pO(e){return 48<=e&&e<=57?e-48:-1}function sp(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?` -`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function gO(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var jD=new Array(256),$D=new Array(256);for(var xr=0;xr<256;xr++)jD[xr]=sp(xr)?1:0,$D[xr]=sp(xr);function mO(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||aO,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function HD(e,t){return new RD(t,new sO(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function q(e,t){throw HD(e,t)}function Vs(e,t){e.onWarning&&e.onWarning.call(null,HD(e,t))}var ap={YAML:function(t,r,n){var i,o,s;t.version!==null&&q(t,"duplication of %YAML directive"),n.length!==1&&q(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),i===null&&q(t,"ill-formed argument of the YAML directive"),o=parseInt(i[1],10),s=parseInt(i[2],10),o!==1&&q(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=s<2,s!==1&&s!==2&&Vs(t,"unsupported YAML version of the document")},TAG:function(t,r,n){var i,o;n.length!==2&&q(t,"TAG directive accepts exactly two arguments"),i=n[0],o=n[1],LD.test(i)||q(t,"ill-formed tag handle (first argument) of the TAG directive"),$n.call(t.tagMap,i)&&q(t,'there is a previously declared suffix for "'+i+'" tag handle'),BD.test(o)||q(t,"ill-formed tag prefix (second argument) of the TAG directive"),t.tagMap[i]=o}};function Pn(e,t,r,n){var i,o,s,a;if(t1&&(e.result+=fn.repeat(` -`,t-1))}function vO(e,t,r){var n,i,o,s,a,u,l,c,d=e.kind,h=e.result,f;if(f=e.input.charCodeAt(e.position),rt(f)||jr(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96||(f===63||f===45)&&(i=e.input.charCodeAt(e.position+1),rt(i)||r&&jr(i)))return!1;for(e.kind="scalar",e.result="",o=s=e.position,a=!1;f!==0;){if(f===58){if(i=e.input.charCodeAt(e.position+1),rt(i)||r&&jr(i))break}else if(f===35){if(n=e.input.charCodeAt(e.position-1),rt(n))break}else{if(e.position===e.lineStart&&Fa(e)||r&&jr(f))break;if(Jt(f))if(u=e.line,l=e.lineStart,c=e.lineIndent,Ie(e,!1,-1),e.lineIndent>=t){a=!0,f=e.input.charCodeAt(e.position);continue}else{e.position=s,e.line=u,e.lineStart=l,e.lineIndent=c;break}}a&&(Pn(e,o,s,!1),Ed(e,e.line-u),o=s=e.position,a=!1),tr(f)||(s=e.position+1),f=e.input.charCodeAt(++e.position)}return Pn(e,o,s,!1),e.result?!0:(e.kind=d,e.result=h,!1)}function yO(e,t){var r,n,i;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(Pn(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,i=e.position;else return!0;else Jt(r)?(Pn(e,n,i,!0),Ed(e,Ie(e,!1,t)),n=i=e.position):e.position===e.lineStart&&Fa(e)?q(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);q(e,"unexpected end of the stream within a single quoted scalar")}function DO(e,t){var r,n,i,o,s,a;if(a=e.input.charCodeAt(e.position),a!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(a=e.input.charCodeAt(e.position))!==0;){if(a===34)return Pn(e,r,e.position,!0),e.position++,!0;if(a===92){if(Pn(e,r,e.position,!0),a=e.input.charCodeAt(++e.position),Jt(a))Ie(e,!1,t);else if(a<256&&jD[a])e.result+=$D[a],e.position++;else if((s=hO(a))>0){for(i=s,o=0;i>0;i--)a=e.input.charCodeAt(++e.position),(s=fO(a))>=0?o=(o<<4)+s:q(e,"expected hexadecimal character");e.result+=gO(o),e.position++}else q(e,"unknown escape sequence");r=n=e.position}else Jt(a)?(Pn(e,r,n,!0),Ed(e,Ie(e,!1,t)),r=n=e.position):e.position===e.lineStart&&Fa(e)?q(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}q(e,"unexpected end of the stream within a double quoted scalar")}function EO(e,t){var r=!0,n,i=e.tag,o,s=e.anchor,a,u,l,c,d,h={},f,v,C,D;if(D=e.input.charCodeAt(e.position),D===91)u=93,d=!1,o=[];else if(D===123)u=125,d=!0,o={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=o),D=e.input.charCodeAt(++e.position);D!==0;){if(Ie(e,!0,t),D=e.input.charCodeAt(e.position),D===u)return e.position++,e.tag=i,e.anchor=s,e.kind=d?"mapping":"sequence",e.result=o,!0;r||q(e,"missed comma between flow collection entries"),v=f=C=null,l=c=!1,D===63&&(a=e.input.charCodeAt(e.position+1),rt(a)&&(l=c=!0,e.position++,Ie(e,!0,t))),n=e.line,ii(e,t,Hs,!1,!0),v=e.tag,f=e.result,Ie(e,!0,t),D=e.input.charCodeAt(e.position),(c||e.line===n)&&D===58&&(l=!0,D=e.input.charCodeAt(++e.position),Ie(e,!0,t),ii(e,t,Hs,!1,!0),C=e.result),d?$r(e,o,h,v,f,C):l?o.push($r(e,null,h,v,f,C)):o.push(f),Ie(e,!0,t),D=e.input.charCodeAt(e.position),D===44?(r=!0,D=e.input.charCodeAt(++e.position)):r=!1}q(e,"unexpected end of the stream within a flow collection")}function CO(e,t){var r,n,i=hu,o=!1,s=!1,a=t,u=0,l=!1,c,d;if(d=e.input.charCodeAt(e.position),d===124)n=!1;else if(d===62)n=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)hu===i?i=d===43?ip:uO:q(e,"repeat of a chomping mode identifier");else if((c=pO(d))>=0)c===0?q(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?q(e,"repeat of an indentation width identifier"):(a=t+c-1,s=!0);else break;if(tr(d)){do d=e.input.charCodeAt(++e.position);while(tr(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!Jt(d)&&d!==0)}for(;d!==0;){for(Dd(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!s||e.lineIndenta&&(a=e.lineIndent),Jt(d)){u++;continue}if(e.lineIndent=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),FD=St,eR=je,tR=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function nR(e){return!(e===null||!tR.test(e)||e[e.length-1]==="_")}function rR(e){var t,r,n,i;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,i=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:t.indexOf(":")>=0?(t.split(":").forEach(function(o){i.unshift(parseFloat(o,10))}),t=0,n=1,i.forEach(function(o){t+=o*n,n*=60}),r*t):r*parseFloat(t,10)}var iR=/^[-+]?[0-9]+e/;function oR(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(FD.isNegativeZero(e))return"-0.0";return r=e.toString(10),iR.test(r)?r.replace("e",".e"):r}function sR(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||FD.isNegativeZero(e))}var aR=new eR("tag:yaml.org,2002:float",{kind:"scalar",resolve:nR,construct:rR,predicate:sR,represent:oR,defaultStyle:"lowercase"}),uR=gi,SD=new uR({include:[vd],implicit:[jM,zM,JM,aR]}),lR=gi,xD=new lR({include:[SD]}),cR=je,ID=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),kD=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function dR(e){return e===null?!1:ID.exec(e)!==null||kD.exec(e)!==null}function fR(e){var t,r,n,i,o,s,a,u=0,l=null,c,d,h;if(t=ID.exec(e),t===null&&(t=kD.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(o=+t[4],s=+t[5],a=+t[6],t[7]){for(u=t[7].slice(0,3);u.length<3;)u+="0";u=+u}return t[9]&&(c=+t[10],d=+(t[11]||0),l=(c*60+d)*6e4,t[9]==="-"&&(l=-l)),h=new Date(Date.UTC(r,n,i,o,s,a,u)),l&&h.setTime(h.getTime()-l),h}function hR(e){return e.toISOString()}var pR=new cR("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:dR,construct:fR,instanceOf:Date,represent:hR}),gR=je;function mR(e){return e==="<<"||e===null}var vR=new gR("tag:yaml.org,2002:merge",{kind:"scalar",resolve:mR});function MD(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Qn;try{var yR=MD;Qn=yR("buffer").Buffer}catch{}var DR=je,yd=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;function ER(e){if(e===null)return!1;var t,r,n=0,i=e.length,o=yd;for(r=0;r64)){if(t<0)return!1;n+=6}return n%8===0}function CR(e){var t,r,n=e.replace(/[\r\n=]/g,""),i=n.length,o=yd,s=0,a=[];for(t=0;t>16&255),a.push(s>>8&255),a.push(s&255)),s=s<<6|o.indexOf(n.charAt(t));return r=i%4*6,r===0?(a.push(s>>16&255),a.push(s>>8&255),a.push(s&255)):r===18?(a.push(s>>10&255),a.push(s>>2&255)):r===12&&a.push(s>>4&255),Qn?Qn.from?Qn.from(a):new Qn(a):a}function wR(e){var t="",r=0,n,i,o=e.length,s=yd;for(n=0;n>18&63],t+=s[r>>12&63],t+=s[r>>6&63],t+=s[r&63]),r=(r<<8)+e[n];return i=o%3,i===0?(t+=s[r>>18&63],t+=s[r>>12&63],t+=s[r>>6&63],t+=s[r&63]):i===2?(t+=s[r>>10&63],t+=s[r>>4&63],t+=s[r<<2&63],t+=s[64]):i===1&&(t+=s[r>>2&63],t+=s[r<<4&63],t+=s[64],t+=s[64]),t}function _R(e){return Qn&&Qn.isBuffer(e)}var bR=new DR("tag:yaml.org,2002:binary",{kind:"scalar",resolve:ER,construct:CR,predicate:_R,represent:wR}),AR=je,TR=Object.prototype.hasOwnProperty,FR=Object.prototype.toString;function SR(e){if(e===null)return!0;var t=[],r,n,i,o,s,a=e;for(r=0,n=a.length;r"u"}var ZR=new UR("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:VR,construct:zR,predicate:qR,represent:GR}),WR=je;function YR(e){if(e===null||e.length===0)return!1;var t=e,r=/\/([gim]*)$/.exec(e),n="";return!(t[0]==="/"&&(r&&(n=r[1]),n.length>3||t[t.length-n.length-1]!=="/"))}function KR(e){var t=e,r=/\/([gim]*)$/.exec(e),n="";return t[0]==="/"&&(r&&(n=r[1]),t=t.slice(1,t.length-n.length-1)),new RegExp(t,n)}function QR(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}function XR(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var JR=new WR("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:YR,construct:KR,predicate:XR,represent:QR}),$s;try{var eO=MD;$s=eO("esprima")}catch{typeof window<"u"&&($s=window.esprima)}var tO=je;function nO(e){if(e===null)return!1;try{var t="("+e+")",r=$s.parse(t,{range:!0});return!(r.type!=="Program"||r.body.length!==1||r.body[0].type!=="ExpressionStatement"||r.body[0].expression.type!=="ArrowFunctionExpression"&&r.body[0].expression.type!=="FunctionExpression")}catch{return!1}}function rO(e){var t="("+e+")",r=$s.parse(t,{range:!0}),n=[],i;if(r.type!=="Program"||r.body.length!==1||r.body[0].type!=="ExpressionStatement"||r.body[0].expression.type!=="ArrowFunctionExpression"&&r.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return r.body[0].expression.params.forEach(function(o){n.push(o.name)}),i=r.body[0].expression.body.range,r.body[0].expression.body.type==="BlockStatement"?new Function(n,t.slice(i[0]+1,i[1]-1)):new Function(n,"return "+t.slice(i[0],i[1]))}function iO(e){return e.toString()}function oO(e){return Object.prototype.toString.call(e)==="[object Function]"}var sO=new tO("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:nO,construct:rO,predicate:oO,represent:iO}),rp=gi,Ta=rp.DEFAULT=new rp({include:[vo],explicit:[ZR,JR,sO]}),fn=St,RD=mo,aO=CM,OD=vo,uO=Ta,$n=Object.prototype.hasOwnProperty,Hs=1,ND=2,PD=3,Us=4,hu=1,lO=2,ip=3,cO=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,dO=/[\x85\u2028\u2029]/,fO=/[,\[\]\{\}]/,LD=/^(?:!|!!|![a-z\-]+!)$/i,BD=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function op(e){return Object.prototype.toString.call(e)}function Jt(e){return e===10||e===13}function tr(e){return e===9||e===32}function rt(e){return e===9||e===32||e===10||e===13}function jr(e){return e===44||e===91||e===93||e===123||e===125}function hO(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function pO(e){return e===120?2:e===117?4:e===85?8:0}function gO(e){return 48<=e&&e<=57?e-48:-1}function sp(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?` +`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function mO(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var jD=new Array(256),$D=new Array(256);for(var xr=0;xr<256;xr++)jD[xr]=sp(xr)?1:0,$D[xr]=sp(xr);function vO(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||uO,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function HD(e,t){return new RD(t,new aO(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function Z(e,t){throw HD(e,t)}function Vs(e,t){e.onWarning&&e.onWarning.call(null,HD(e,t))}var ap={YAML:function(t,r,n){var i,o,s;t.version!==null&&Z(t,"duplication of %YAML directive"),n.length!==1&&Z(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),i===null&&Z(t,"ill-formed argument of the YAML directive"),o=parseInt(i[1],10),s=parseInt(i[2],10),o!==1&&Z(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=s<2,s!==1&&s!==2&&Vs(t,"unsupported YAML version of the document")},TAG:function(t,r,n){var i,o;n.length!==2&&Z(t,"TAG directive accepts exactly two arguments"),i=n[0],o=n[1],LD.test(i)||Z(t,"ill-formed tag handle (first argument) of the TAG directive"),$n.call(t.tagMap,i)&&Z(t,'there is a previously declared suffix for "'+i+'" tag handle'),BD.test(o)||Z(t,"ill-formed tag prefix (second argument) of the TAG directive"),t.tagMap[i]=o}};function Pn(e,t,r,n){var i,o,s,a;if(t1&&(e.result+=fn.repeat(` +`,t-1))}function yO(e,t,r){var n,i,o,s,a,u,l,c,d=e.kind,h=e.result,f;if(f=e.input.charCodeAt(e.position),rt(f)||jr(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96||(f===63||f===45)&&(i=e.input.charCodeAt(e.position+1),rt(i)||r&&jr(i)))return!1;for(e.kind="scalar",e.result="",o=s=e.position,a=!1;f!==0;){if(f===58){if(i=e.input.charCodeAt(e.position+1),rt(i)||r&&jr(i))break}else if(f===35){if(n=e.input.charCodeAt(e.position-1),rt(n))break}else{if(e.position===e.lineStart&&Fa(e)||r&&jr(f))break;if(Jt(f))if(u=e.line,l=e.lineStart,c=e.lineIndent,Ie(e,!1,-1),e.lineIndent>=t){a=!0,f=e.input.charCodeAt(e.position);continue}else{e.position=s,e.line=u,e.lineStart=l,e.lineIndent=c;break}}a&&(Pn(e,o,s,!1),Ed(e,e.line-u),o=s=e.position,a=!1),tr(f)||(s=e.position+1),f=e.input.charCodeAt(++e.position)}return Pn(e,o,s,!1),e.result?!0:(e.kind=d,e.result=h,!1)}function DO(e,t){var r,n,i;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(Pn(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,i=e.position;else return!0;else Jt(r)?(Pn(e,n,i,!0),Ed(e,Ie(e,!1,t)),n=i=e.position):e.position===e.lineStart&&Fa(e)?Z(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);Z(e,"unexpected end of the stream within a single quoted scalar")}function EO(e,t){var r,n,i,o,s,a;if(a=e.input.charCodeAt(e.position),a!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(a=e.input.charCodeAt(e.position))!==0;){if(a===34)return Pn(e,r,e.position,!0),e.position++,!0;if(a===92){if(Pn(e,r,e.position,!0),a=e.input.charCodeAt(++e.position),Jt(a))Ie(e,!1,t);else if(a<256&&jD[a])e.result+=$D[a],e.position++;else if((s=pO(a))>0){for(i=s,o=0;i>0;i--)a=e.input.charCodeAt(++e.position),(s=hO(a))>=0?o=(o<<4)+s:Z(e,"expected hexadecimal character");e.result+=mO(o),e.position++}else Z(e,"unknown escape sequence");r=n=e.position}else Jt(a)?(Pn(e,r,n,!0),Ed(e,Ie(e,!1,t)),r=n=e.position):e.position===e.lineStart&&Fa(e)?Z(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}Z(e,"unexpected end of the stream within a double quoted scalar")}function CO(e,t){var r=!0,n,i=e.tag,o,s=e.anchor,a,u,l,c,d,h={},f,v,C,D;if(D=e.input.charCodeAt(e.position),D===91)u=93,d=!1,o=[];else if(D===123)u=125,d=!0,o={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=o),D=e.input.charCodeAt(++e.position);D!==0;){if(Ie(e,!0,t),D=e.input.charCodeAt(e.position),D===u)return e.position++,e.tag=i,e.anchor=s,e.kind=d?"mapping":"sequence",e.result=o,!0;r||Z(e,"missed comma between flow collection entries"),v=f=C=null,l=c=!1,D===63&&(a=e.input.charCodeAt(e.position+1),rt(a)&&(l=c=!0,e.position++,Ie(e,!0,t))),n=e.line,ii(e,t,Hs,!1,!0),v=e.tag,f=e.result,Ie(e,!0,t),D=e.input.charCodeAt(e.position),(c||e.line===n)&&D===58&&(l=!0,D=e.input.charCodeAt(++e.position),Ie(e,!0,t),ii(e,t,Hs,!1,!0),C=e.result),d?$r(e,o,h,v,f,C):l?o.push($r(e,null,h,v,f,C)):o.push(f),Ie(e,!0,t),D=e.input.charCodeAt(e.position),D===44?(r=!0,D=e.input.charCodeAt(++e.position)):r=!1}Z(e,"unexpected end of the stream within a flow collection")}function wO(e,t){var r,n,i=hu,o=!1,s=!1,a=t,u=0,l=!1,c,d;if(d=e.input.charCodeAt(e.position),d===124)n=!1;else if(d===62)n=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)hu===i?i=d===43?ip:lO:Z(e,"repeat of a chomping mode identifier");else if((c=gO(d))>=0)c===0?Z(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?Z(e,"repeat of an indentation width identifier"):(a=t+c-1,s=!0);else break;if(tr(d)){do d=e.input.charCodeAt(++e.position);while(tr(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!Jt(d)&&d!==0)}for(;d!==0;){for(Dd(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!s||e.lineIndenta&&(a=e.lineIndent),Jt(d)){u++;continue}if(e.lineIndentt)&&u!==0)q(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(ii(e,t,Us,!0,i)&&(v?h=e.result:f=e.result),v||($r(e,l,c,d,h,f,o,s),d=h=f=null),Ie(e,!0,-1),D=e.input.charCodeAt(e.position)),e.lineIndent>t&&D!==0)q(e,"bad indentation of a mapping entry");else if(e.lineIndentt?u=1:e.lineIndent===t?u=0:e.lineIndentt?u=1:e.lineIndent===t?u=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),d=0,h=e.implicitTypes.length;d tag; it should be "'+f.kind+'", not "'+e.kind+'"'),f.resolve(e.result)?(e.result=f.construct(e.result),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):q(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):q(e,"unknown tag !<"+e.tag+">");return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||c}function TO(e){var t=e.position,r,n,i,o=!1,s;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};(s=e.input.charCodeAt(e.position))!==0&&(Ie(e,!0,-1),s=e.input.charCodeAt(e.position),!(e.lineIndent>0||s!==37));){for(o=!0,s=e.input.charCodeAt(++e.position),r=e.position;s!==0&&!rt(s);)s=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),i=[],n.length<1&&q(e,"directive name must not be less than one character in length");s!==0;){for(;tr(s);)s=e.input.charCodeAt(++e.position);if(s===35){do s=e.input.charCodeAt(++e.position);while(s!==0&&!Jt(s));break}if(Jt(s))break;for(r=e.position;s!==0&&!rt(s);)s=e.input.charCodeAt(++e.position);i.push(e.input.slice(r,e.position))}s!==0&&Dd(e),$n.call(ap,n)?ap[n](e,n,i):Vs(e,'unknown document directive "'+n+'"')}if(Ie(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Ie(e,!0,-1)):o&&q(e,"directives end mark is expected"),ii(e,e.lineIndent-1,Us,!1,!0),Ie(e,!0,-1),e.checkLineBreaks&&cO.test(e.input.slice(t,e.position))&&Vs(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Fa(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Ie(e,!0,-1));return}if(e.position"u"&&(r=t,t=null);var n=UD(e,r);if(typeof t!="function")return n;for(var i=0,o=n.length;i"u"&&(r=t,t=null),VD(e,t,fn.extend({schema:OD},r))}function SO(e,t){return zD(e,fn.extend({schema:OD},t))}go.loadAll=VD;go.load=zD;go.safeLoadAll=FO;go.safeLoad=SO;var Cd={},yo=St,Do=mo,xO=Ta,IO=vo,GD=Object.prototype.toString,qD=Object.prototype.hasOwnProperty,kO=9,Yi=10,MO=13,RO=32,OO=33,NO=34,ZD=35,PO=37,LO=38,BO=39,jO=42,WD=44,$O=45,YD=58,HO=61,UO=62,VO=63,zO=64,KD=91,QD=93,GO=96,XD=123,qO=124,JD=125,Ye={};Ye[0]="\\0";Ye[7]="\\a";Ye[8]="\\b";Ye[9]="\\t";Ye[10]="\\n";Ye[11]="\\v";Ye[12]="\\f";Ye[13]="\\r";Ye[27]="\\e";Ye[34]='\\"';Ye[92]="\\\\";Ye[133]="\\N";Ye[160]="\\_";Ye[8232]="\\L";Ye[8233]="\\P";var ZO=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function WO(e,t){var r,n,i,o,s,a,u;if(t===null)return{};for(r={},n=Object.keys(t),i=0,o=n.length;it)&&u!==0)Z(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(ii(e,t,Us,!0,i)&&(v?h=e.result:f=e.result),v||($r(e,l,c,d,h,f,o,s),d=h=f=null),Ie(e,!0,-1),D=e.input.charCodeAt(e.position)),e.lineIndent>t&&D!==0)Z(e,"bad indentation of a mapping entry");else if(e.lineIndentt?u=1:e.lineIndent===t?u=0:e.lineIndentt?u=1:e.lineIndent===t?u=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),d=0,h=e.implicitTypes.length;d tag; it should be "'+f.kind+'", not "'+e.kind+'"'),f.resolve(e.result)?(e.result=f.construct(e.result),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Z(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):Z(e,"unknown tag !<"+e.tag+">");return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||c}function FO(e){var t=e.position,r,n,i,o=!1,s;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};(s=e.input.charCodeAt(e.position))!==0&&(Ie(e,!0,-1),s=e.input.charCodeAt(e.position),!(e.lineIndent>0||s!==37));){for(o=!0,s=e.input.charCodeAt(++e.position),r=e.position;s!==0&&!rt(s);)s=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),i=[],n.length<1&&Z(e,"directive name must not be less than one character in length");s!==0;){for(;tr(s);)s=e.input.charCodeAt(++e.position);if(s===35){do s=e.input.charCodeAt(++e.position);while(s!==0&&!Jt(s));break}if(Jt(s))break;for(r=e.position;s!==0&&!rt(s);)s=e.input.charCodeAt(++e.position);i.push(e.input.slice(r,e.position))}s!==0&&Dd(e),$n.call(ap,n)?ap[n](e,n,i):Vs(e,'unknown document directive "'+n+'"')}if(Ie(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Ie(e,!0,-1)):o&&Z(e,"directives end mark is expected"),ii(e,e.lineIndent-1,Us,!1,!0),Ie(e,!0,-1),e.checkLineBreaks&&dO.test(e.input.slice(t,e.position))&&Vs(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Fa(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Ie(e,!0,-1));return}if(e.position"u"&&(r=t,t=null);var n=UD(e,r);if(typeof t!="function")return n;for(var i=0,o=n.length;i"u"&&(r=t,t=null),VD(e,t,fn.extend({schema:OD},r))}function xO(e,t){return zD(e,fn.extend({schema:OD},t))}go.loadAll=VD;go.load=zD;go.safeLoadAll=SO;go.safeLoad=xO;var Cd={},yo=St,Do=mo,IO=Ta,kO=vo,GD=Object.prototype.toString,qD=Object.prototype.hasOwnProperty,MO=9,Yi=10,RO=13,OO=32,NO=33,PO=34,ZD=35,LO=37,BO=38,jO=39,$O=42,WD=44,HO=45,YD=58,UO=61,VO=62,zO=63,GO=64,KD=91,QD=93,qO=96,XD=123,ZO=124,JD=125,Ye={};Ye[0]="\\0";Ye[7]="\\a";Ye[8]="\\b";Ye[9]="\\t";Ye[10]="\\n";Ye[11]="\\v";Ye[12]="\\f";Ye[13]="\\r";Ye[27]="\\e";Ye[34]='\\"';Ye[92]="\\\\";Ye[133]="\\N";Ye[160]="\\_";Ye[8232]="\\L";Ye[8233]="\\P";var WO=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function YO(e,t){var r,n,i,o,s,a,u;if(t===null)return{};for(r={},n=Object.keys(t),i=0,o=n.length;i0?e.charCodeAt(o-1):null,h=h&&fp(s,a)}else{for(o=0;on&&e[d+1]!==" ",d=o);else if(!oi(s))return us;a=o>0?e.charCodeAt(o-1):null,h=h&&fp(s,a)}l=l||c&&o-d-1>n&&e[d+1]!==" "}return!u&&!l?h&&!i(e)?t0:n0:r>9&&e0(e)?us:l?i0:r0}function eN(e,t,r,n){e.dump=function(){if(t.length===0)return"''";if(!e.noCompatMode&&ZO.indexOf(t)!==-1)return"'"+t+"'";var i=e.indent*Math.max(1,r),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-i),s=n||e.flowLevel>-1&&r>=e.flowLevel;function a(u){return KO(e,u)}switch(JO(t,s,e.indent,o,a)){case t0:return t;case n0:return"'"+t.replace(/'/g,"''")+"'";case r0:return"|"+hp(t,e.indent)+pp(dp(t,i));case i0:return">"+hp(t,e.indent)+pp(dp(tN(t,o),i));case us:return'"'+nN(t)+'"';default:throw new Do("impossible error: invalid scalar style")}}()}function hp(e,t){var r=e0(e)?String(t):"",n=e[e.length-1]===` +`+yo.repeat(" ",e.indent*t)}function QO(e,t){var r,n,i;for(r=0,n=e.implicitTypes.length;r0?e.charCodeAt(o-1):null,h=h&&fp(s,a)}else{for(o=0;on&&e[d+1]!==" ",d=o);else if(!oi(s))return us;a=o>0?e.charCodeAt(o-1):null,h=h&&fp(s,a)}l=l||c&&o-d-1>n&&e[d+1]!==" "}return!u&&!l?h&&!i(e)?t0:n0:r>9&&e0(e)?us:l?i0:r0}function tN(e,t,r,n){e.dump=function(){if(t.length===0)return"''";if(!e.noCompatMode&&WO.indexOf(t)!==-1)return"'"+t+"'";var i=e.indent*Math.max(1,r),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-i),s=n||e.flowLevel>-1&&r>=e.flowLevel;function a(u){return QO(e,u)}switch(eN(t,s,e.indent,o,a)){case t0:return t;case n0:return"'"+t.replace(/'/g,"''")+"'";case r0:return"|"+hp(t,e.indent)+pp(dp(t,i));case i0:return">"+hp(t,e.indent)+pp(dp(nN(t,o),i));case us:return'"'+rN(t)+'"';default:throw new Do("impossible error: invalid scalar style")}}()}function hp(e,t){var r=e0(e)?String(t):"",n=e[e.length-1]===` `,i=n&&(e[e.length-2]===` `||e===` `),o=i?"+":n?"":"-";return r+o+` `}function pp(e){return e[e.length-1]===` -`?e.slice(0,-1):e}function tN(e,t){for(var r=/(\n+)([^\n]*)/g,n=function(){var l=e.indexOf(` +`?e.slice(0,-1):e}function nN(e,t){for(var r=/(\n+)([^\n]*)/g,n=function(){var l=e.indexOf(` `);return l=l!==-1?l:e.length,r.lastIndex=l,gp(e.slice(0,l),t)}(),i=e[0]===` `||e[0]===" ",o,s;s=r.exec(e);){var a=s[1],u=s[2];o=u[0]===" ",n+=a+(!i&&!o&&u!==""?` `:"")+gp(u,t),i=o}return n}function gp(e,t){if(e===""||e[0]===" ")return e;for(var r=/ [^ ]/g,n,i=0,o,s=0,a=0,u="";n=r.exec(e);)a=n.index,a-i>t&&(o=s>i?s:a,u+=` `+e.slice(i,o),i=o+1),s=a;return u+=` `,e.length-i>t&&s>i?u+=e.slice(i,s)+` -`+e.slice(s+1):u+=e.slice(i),u.slice(1)}function nN(e){for(var t="",r,n,i,o=0;o=55296&&r<=56319&&(n=e.charCodeAt(o+1),n>=56320&&n<=57343)){t+=cp((r-55296)*1024+n-56320+65536),o++;continue}i=Ye[r],t+=!i&&oi(r)?e[o]:i||cp(r)}return t}function rN(e,t,r){var n="",i=e.tag,o,s;for(o=0,s=r.length;o1024&&(c+="? "),c+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),pr(e,t,l,!1,!1)&&(c+=e.dump,n+=c));e.tag=i,e.dump="{"+n+"}"}function sN(e,t,r,n){var i="",o=e.tag,s=Object.keys(r),a,u,l,c,d,h;if(e.sortKeys===!0)s.sort();else if(typeof e.sortKeys=="function")s.sort(e.sortKeys);else if(e.sortKeys)throw new Do("sortKeys must be a boolean or a function");for(a=0,u=s.length;a1024,d&&(e.dump&&Yi===e.dump.charCodeAt(0)?h+="?":h+="? "),h+=e.dump,d&&(h+=El(e,t)),pr(e,t+1,c,!0,d)&&(e.dump&&Yi===e.dump.charCodeAt(0)?h+=":":h+=": ",h+=e.dump,i+=h));e.tag=o,e.dump=i||"{}"}function mp(e,t,r){var n,i,o,s,a,u;for(i=r?e.explicitTypes:e.implicitTypes,o=0,s=i.length;o tag resolver accepts not "'+u+'" style');e.dump=n}return!0}return!1}function pr(e,t,r,n,i,o){e.tag=null,e.dump=r,mp(e,r,!1)||mp(e,r,!0);var s=GD.call(e.dump);n&&(n=e.flowLevel<0||e.flowLevel>t);var a=s==="[object Object]"||s==="[object Array]",u,l;if(a&&(u=e.duplicates.indexOf(r),l=u!==-1),(e.tag!==null&&e.tag!=="?"||l||e.indent!==2&&t>0)&&(i=!1),l&&e.usedDuplicates[u])e.dump="*ref_"+u;else{if(a&&l&&!e.usedDuplicates[u]&&(e.usedDuplicates[u]=!0),s==="[object Object]")n&&Object.keys(e.dump).length!==0?(sN(e,t,e.dump,i),l&&(e.dump="&ref_"+u+e.dump)):(oN(e,t,e.dump),l&&(e.dump="&ref_"+u+" "+e.dump));else if(s==="[object Array]"){var c=e.noArrayIndent&&t>0?t-1:t;n&&e.dump.length!==0?(iN(e,c,e.dump,i),l&&(e.dump="&ref_"+u+e.dump)):(rN(e,c,e.dump),l&&(e.dump="&ref_"+u+" "+e.dump))}else if(s==="[object String]")e.tag!=="?"&&eN(e,e.dump,t,o);else{if(e.skipInvalid)return!1;throw new Do("unacceptable kind of an object to dump "+s)}e.tag!==null&&e.tag!=="?"&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function aN(e,t){var r=[],n=[],i,o;for(Cl(e,r,n),i=0,o=n.length;i=55296&&r<=56319&&(n=e.charCodeAt(o+1),n>=56320&&n<=57343)){t+=cp((r-55296)*1024+n-56320+65536),o++;continue}i=Ye[r],t+=!i&&oi(r)?e[o]:i||cp(r)}return t}function iN(e,t,r){var n="",i=e.tag,o,s;for(o=0,s=r.length;o1024&&(c+="? "),c+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),pr(e,t,l,!1,!1)&&(c+=e.dump,n+=c));e.tag=i,e.dump="{"+n+"}"}function aN(e,t,r,n){var i="",o=e.tag,s=Object.keys(r),a,u,l,c,d,h;if(e.sortKeys===!0)s.sort();else if(typeof e.sortKeys=="function")s.sort(e.sortKeys);else if(e.sortKeys)throw new Do("sortKeys must be a boolean or a function");for(a=0,u=s.length;a1024,d&&(e.dump&&Yi===e.dump.charCodeAt(0)?h+="?":h+="? "),h+=e.dump,d&&(h+=El(e,t)),pr(e,t+1,c,!0,d)&&(e.dump&&Yi===e.dump.charCodeAt(0)?h+=":":h+=": ",h+=e.dump,i+=h));e.tag=o,e.dump=i||"{}"}function mp(e,t,r){var n,i,o,s,a,u;for(i=r?e.explicitTypes:e.implicitTypes,o=0,s=i.length;o tag resolver accepts not "'+u+'" style');e.dump=n}return!0}return!1}function pr(e,t,r,n,i,o){e.tag=null,e.dump=r,mp(e,r,!1)||mp(e,r,!0);var s=GD.call(e.dump);n&&(n=e.flowLevel<0||e.flowLevel>t);var a=s==="[object Object]"||s==="[object Array]",u,l;if(a&&(u=e.duplicates.indexOf(r),l=u!==-1),(e.tag!==null&&e.tag!=="?"||l||e.indent!==2&&t>0)&&(i=!1),l&&e.usedDuplicates[u])e.dump="*ref_"+u;else{if(a&&l&&!e.usedDuplicates[u]&&(e.usedDuplicates[u]=!0),s==="[object Object]")n&&Object.keys(e.dump).length!==0?(aN(e,t,e.dump,i),l&&(e.dump="&ref_"+u+e.dump)):(sN(e,t,e.dump),l&&(e.dump="&ref_"+u+" "+e.dump));else if(s==="[object Array]"){var c=e.noArrayIndent&&t>0?t-1:t;n&&e.dump.length!==0?(oN(e,c,e.dump,i),l&&(e.dump="&ref_"+u+e.dump)):(iN(e,c,e.dump),l&&(e.dump="&ref_"+u+" "+e.dump))}else if(s==="[object String]")e.tag!=="?"&&tN(e,e.dump,t,o);else{if(e.skipInvalid)return!1;throw new Do("unacceptable kind of an object to dump "+s)}e.tag!==null&&e.tag!=="?"&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function uN(e,t){var r=[],n=[],i,o;for(Cl(e,r,n),i=0,o=n.length;i=i)return r;r++,n=t.indexOf(` -`,n+1)}return r}function mN(e,t){var r=a0.exec(e);if(!r)return{attributes:{},body:e,bodyBegin:1};var n=t?vp.load:vp.safeLoad,i=r[r.length-1].replace(/^\s+|\s+$/g,""),o=n(i)||{},s=e.replace(r[0],""),a=gN(r,e);return{attributes:o,body:s,bodyBegin:a,frontmatter:i}}function vN(e){return e=e||"",a0.test(e)}var yN=gd.exports;const DN=pM(yN),EN=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,CN=Object.hasOwnProperty;class u0{constructor(){this.occurrences,this.reset()}slug(t,r){const n=this;let i=wN(t,r===!0);const o=i;for(;CN.call(n.occurrences,i);)n.occurrences[o]++,i=o+"-"+n.occurrences[o];return n.occurrences[i]=0,i}reset(){this.occurrences=Object.create(null)}}function wN(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(EN,"").replace(/ /g,"-"))}let l0=new u0,_d=[];function _N({prefix:e="",globalSlugs:t=!1}={}){return{headerIds:!1,hooks:{preprocess(r){return t||AN(),r}},renderer:{heading(r,n,i){i=i.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"");const o=`${e}${l0.slug(i)}`,s={level:n,text:r,id:o};return _d.push(s),`${r} -`}}}}function bN(){return _d}function AN(){_d=[],l0=new u0}function bd(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let qn=bd();function c0(e){qn=e}const d0=/[&<>"']/,TN=new RegExp(d0.source,"g"),f0=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,FN=new RegExp(f0.source,"g"),SN={"&":"&","<":"<",">":">",'"':""","'":"'"},yp=e=>SN[e];function qe(e,t){if(t){if(d0.test(e))return e.replace(TN,yp)}else if(f0.test(e))return e.replace(FN,yp);return e}const xN=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h0(e){return e.replace(xN,(t,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)):""))}const IN=/(^|[^\[])\^/g;function ve(e,t){e=typeof e=="string"?e:e.source,t=t||"";const r={replace:(n,i)=>(i=i.source||i,i=i.replace(IN,"$1"),e=e.replace(n,i),r),getRegex:()=>new RegExp(e,t)};return r}const kN=/[^\w:]/g,MN=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Dp(e,t,r){if(e){let n;try{n=decodeURIComponent(h0(r)).replace(kN,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}t&&!MN.test(r)&&(r=PN(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}const Go={},RN=/^[^:]+:\/*[^/]*$/,ON=/^([^:]+:)[\s\S]*$/,NN=/^([^:]+:\/*[^/]*)[\s\S]*$/;function PN(e,t){Go[" "+e]||(RN.test(e)?Go[" "+e]=e+"/":Go[" "+e]=ls(e,"/",!0)),e=Go[" "+e];const r=e.indexOf(":")===-1;return t.substring(0,2)==="//"?r?t:e.replace(ON,"$1")+t:t.charAt(0)==="/"?r?t:e.replace(NN,"$1")+t:e+t}const zs={exec:function(){}};function Ep(e,t){const r=e.replace(/\|/g,(o,s,a)=>{let u=!1,l=s;for(;--l>=0&&a[l]==="\\";)u=!u;return u?"|":" |"}),n=r.split(/ \|/);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length/gi,"");const o=`${e}${l0.slug(i)}`,s={level:n,text:r,id:o};return _d.push(s),`${r} +`}}}}function AN(){return _d}function TN(){_d=[],l0=new u0}function bd(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let qn=bd();function c0(e){qn=e}const d0=/[&<>"']/,FN=new RegExp(d0.source,"g"),f0=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,SN=new RegExp(f0.source,"g"),xN={"&":"&","<":"<",">":">",'"':""","'":"'"},yp=e=>xN[e];function qe(e,t){if(t){if(d0.test(e))return e.replace(FN,yp)}else if(f0.test(e))return e.replace(SN,yp);return e}const IN=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h0(e){return e.replace(IN,(t,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)):""))}const kN=/(^|[^\[])\^/g;function ve(e,t){e=typeof e=="string"?e:e.source,t=t||"";const r={replace:(n,i)=>(i=i.source||i,i=i.replace(kN,"$1"),e=e.replace(n,i),r),getRegex:()=>new RegExp(e,t)};return r}const MN=/[^\w:]/g,RN=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Dp(e,t,r){if(e){let n;try{n=decodeURIComponent(h0(r)).replace(MN,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}t&&!RN.test(r)&&(r=LN(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}const Go={},ON=/^[^:]+:\/*[^/]*$/,NN=/^([^:]+:)[\s\S]*$/,PN=/^([^:]+:\/*[^/]*)[\s\S]*$/;function LN(e,t){Go[" "+e]||(ON.test(e)?Go[" "+e]=e+"/":Go[" "+e]=ls(e,"/",!0)),e=Go[" "+e];const r=e.indexOf(":")===-1;return t.substring(0,2)==="//"?r?t:e.replace(NN,"$1")+t:t.charAt(0)==="/"?r?t:e.replace(PN,"$1")+t:e+t}const zs={exec:function(){}};function Ep(e,t){const r=e.replace(/\|/g,(o,s,a)=>{let u=!1,l=s;for(;--l>=0&&a[l]==="\\";)u=!u;return u?"|":" |"}),n=r.split(/ \|/);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length{const o=i.match(/^\s+/);if(o===null)return i;const[s]=o;return s.length>=n.length?i.slice(n.length):i}).join(` `)}class Gs{constructor(t){this.options=t||qn}space(t){const r=this.rules.block.newline.exec(t);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(t){const r=this.rules.block.code.exec(t);if(r){const n=r[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?n:ls(n,` -`)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const n=r[0],i=jN(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(t){const r=this.rules.block.heading.exec(t);if(r){let n=r[2].trim();if(/#$/.test(n)){const i=ls(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(t){const r=this.rules.block.hr.exec(t);if(r)return{type:"hr",raw:r[0]}}blockquote(t){const r=this.rules.block.blockquote.exec(t);if(r){const n=r[0].replace(/^ *>[ \t]?/gm,""),i=this.lexer.state.top;this.lexer.state.top=!0;const o=this.lexer.blockTokens(n);return this.lexer.state.top=i,{type:"blockquote",raw:r[0],tokens:o,text:n}}}list(t){let r=this.rules.block.list.exec(t);if(r){let n,i,o,s,a,u,l,c,d,h,f,v,C=r[1].trim();const D=C.length>1,b={type:"list",raw:"",ordered:D,start:D?+C.slice(0,-1):"",loose:!1,items:[]};C=D?`\\d{1,9}\\${C.slice(-1)}`:`\\${C}`,this.options.pedantic&&(C=D?C:"[*+-]");const p=new RegExp(`^( {0,3}${C})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;t&&(v=!1,!(!(r=p.exec(t))||this.rules.block.hr.test(t)));){if(n=r[0],t=t.substring(n.length),c=r[2].split(` +`)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const n=r[0],i=$N(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(t){const r=this.rules.block.heading.exec(t);if(r){let n=r[2].trim();if(/#$/.test(n)){const i=ls(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(t){const r=this.rules.block.hr.exec(t);if(r)return{type:"hr",raw:r[0]}}blockquote(t){const r=this.rules.block.blockquote.exec(t);if(r){const n=r[0].replace(/^ *>[ \t]?/gm,""),i=this.lexer.state.top;this.lexer.state.top=!0;const o=this.lexer.blockTokens(n);return this.lexer.state.top=i,{type:"blockquote",raw:r[0],tokens:o,text:n}}}list(t){let r=this.rules.block.list.exec(t);if(r){let n,i,o,s,a,u,l,c,d,h,f,v,C=r[1].trim();const D=C.length>1,b={type:"list",raw:"",ordered:D,start:D?+C.slice(0,-1):"",loose:!1,items:[]};C=D?`\\d{1,9}\\${C.slice(-1)}`:`\\${C}`,this.options.pedantic&&(C=D?C:"[*+-]");const p=new RegExp(`^( {0,3}${C})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;t&&(v=!1,!(!(r=p.exec(t))||this.rules.block.hr.test(t)));){if(n=r[0],t=t.substring(n.length),c=r[2].split(` `,1)[0].replace(/^\t+/,y=>" ".repeat(3*y.length)),d=t.split(` `,1)[0],this.options.pedantic?(s=2,f=c.trimLeft()):(s=r[2].search(/[^ ]/),s=s>4?1:s,f=c.slice(s),s+=r[1].length),u=!1,!c&&/^ *$/.test(d)&&(n+=d+` `,t=t.substring(d.length+1),v=!0),!v){const y=new RegExp(`^ {0,${Math.min(3,s-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),w=new RegExp(`^ {0,${Math.min(3,s-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),_=new RegExp(`^ {0,${Math.min(3,s-1)}}(?:\`\`\`|~~~)`),S=new RegExp(`^ {0,${Math.min(3,s-1)}}#`);for(;t&&(h=t.split(` @@ -78,8 +78,8 @@ var w0=Object.defineProperty;var Ld=e=>{throw TypeError(e)};var _0=(e,t,r)=>t in `+d}!u&&!d.trim()&&(u=!0),n+=h+` `,t=t.substring(h.length+1),c=d.slice(s)}}b.loose||(l?b.loose=!0:/\n *\n *$/.test(n)&&(l=!0)),this.options.gfm&&(i=/^\[[ xX]\] /.exec(f),i&&(o=i[0]!=="[ ] ",f=f.replace(/^\[[ xX]\] +/,""))),b.items.push({type:"list_item",raw:n,task:!!i,checked:o,loose:!1,text:f}),b.raw+=n}b.items[b.items.length-1].raw=n.trimRight(),b.items[b.items.length-1].text=f.trimRight(),b.raw=b.raw.trimRight();const g=b.items.length;for(a=0;a_.type==="space"),w=y.length>0&&y.some(_=>/\n.*\n/.test(_.raw));b.loose=w}if(b.loose)for(a=0;a$/,"$1").replace(this.rules.inline._escapes,"$1"):"",o=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline._escapes,"$1"):r[3];return{type:"def",tag:n,raw:r[0],href:i,title:o}}}table(t){const r=this.rules.block.table.exec(t);if(r){const n={type:"table",header:Ep(r[1]).map(i=>({text:i})),align:r[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:r[3]&&r[3].trim()?r[3].replace(/\n[ \t]*$/,"").split(` `):[]};if(n.header.length===n.align.length){n.raw=r[0];let i=n.align.length,o,s,a,u;for(o=0;o({text:l}));for(i=n.header.length,s=0;s/i.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):qe(r[0]):r[0]}}link(t){const r=this.rules.inline.link.exec(t);if(r){const n=r[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;const s=ls(n.slice(0,-1),"\\");if((n.length-s.length)%2===0)return}else{const s=LN(r[2],"()");if(s>-1){const u=(r[0].indexOf("!")===0?5:4)+r[1].length+s;r[2]=r[2].substring(0,s),r[0]=r[0].substring(0,u).trim(),r[3]=""}}let i=r[2],o="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);s&&(i=s[1],o=s[3])}else o=r[3]?r[3].slice(1,-1):"";return i=i.trim(),/^$/.test(n)?i=i.slice(1):i=i.slice(1,-1)),Cp(r,{href:i&&i.replace(this.rules.inline._escapes,"$1"),title:o&&o.replace(this.rules.inline._escapes,"$1")},r[0],this.lexer)}}reflink(t,r){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let i=(n[2]||n[1]).replace(/\s+/g," ");if(i=r[i.toLowerCase()],!i){const o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return Cp(n,i,n[0],this.lexer)}}emStrong(t,r,n=""){let i=this.rules.inline.emStrong.lDelim.exec(t);if(!i||i[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const s=i[0].length-1;let a,u,l=s,c=0;const d=i[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(d.lastIndex=0,r=r.slice(-1*t.length+s);(i=d.exec(r))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(u=a.length,i[3]||i[4]){l+=u;continue}else if((i[5]||i[6])&&s%3&&!((s+u)%3)){c+=u;continue}if(l-=u,l>0)continue;u=Math.min(u,u+l+c);const h=t.slice(0,s+i.index+u+1);if(Math.min(s,u)%2){const v=h.slice(1,-1);return{type:"em",raw:h,text:v,tokens:this.lexer.inlineTokens(v)}}const f=h.slice(2,-2);return{type:"strong",raw:h,text:f,tokens:this.lexer.inlineTokens(f)}}}}codespan(t){const r=this.rules.inline.code.exec(t);if(r){let n=r[2].replace(/\n/g," ");const i=/[^ ]/.test(n),o=/^ /.test(n)&&/ $/.test(n);return i&&o&&(n=n.substring(1,n.length-1)),n=qe(n,!0),{type:"codespan",raw:r[0],text:n}}}br(t){const r=this.rules.inline.br.exec(t);if(r)return{type:"br",raw:r[0]}}del(t){const r=this.rules.inline.del.exec(t);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(t,r){const n=this.rules.inline.autolink.exec(t);if(n){let i,o;return n[2]==="@"?(i=qe(this.options.mangle?r(n[1]):n[1]),o="mailto:"+i):(i=qe(n[1]),o=i),{type:"link",raw:n[0],text:i,href:o,tokens:[{type:"text",raw:i,text:i}]}}}url(t,r){let n;if(n=this.rules.inline.url.exec(t)){let i,o;if(n[2]==="@")i=qe(this.options.mangle?r(n[0]):n[0]),o="mailto:"+i;else{let s;do s=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(s!==n[0]);i=qe(n[0]),n[1]==="www."?o="http://"+n[0]:o=n[0]}return{type:"link",raw:n[0],text:i,href:o,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(t,r){const n=this.rules.inline.text.exec(t);if(n){let i;return this.lexer.state.inRawBlock?i=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):qe(n[0]):n[0]:i=qe(this.options.smartypants?r(n[0]):n[0]),{type:"text",raw:n[0],text:i}}}}const H={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:zs,lheading:/^((?:(?!^bull ).|\n(?!\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};H._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;H._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;H.def=ve(H.def).replace("label",H._label).replace("title",H._title).getRegex();H.bullet=/(?:[*+-]|\d{1,9}[.)])/;H.listItemStart=ve(/^( *)(bull) */).replace("bull",H.bullet).getRegex();H.list=ve(H.list).replace(/bull/g,H.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+H.def.source+")").getRegex();H._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";H._comment=/|$)/;H.html=ve(H.html,"i").replace("comment",H._comment).replace("tag",H._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();H.lheading=ve(H.lheading).replace(/bull/g,H.bullet).getRegex();H.paragraph=ve(H._paragraph).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",H._tag).getRegex();H.blockquote=ve(H.blockquote).replace("paragraph",H.paragraph).getRegex();H.normal={...H};H.gfm={...H.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};H.gfm.table=ve(H.gfm.table).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",H._tag).getRegex();H.gfm.paragraph=ve(H._paragraph).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",H.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",H._tag).getRegex();H.pedantic={...H.normal,html:ve(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",H._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:zs,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ve(H.normal._paragraph).replace("hr",H.hr).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",H.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const O={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:zs,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:zs,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`^|~";O.punctuation=ve(O.punctuation,"u").replace(/punctuation/g,O._punctuation).getRegex();O.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g;O.anyPunctuation=/\\[punct]/g;O._escapes=/\\([punct])/g;O._comment=ve(H._comment).replace("(?:-->|$)","-->").getRegex();O.emStrong.lDelim=ve(O.emStrong.lDelim,"u").replace(/punct/g,O._punctuation).getRegex();O.emStrong.rDelimAst=ve(O.emStrong.rDelimAst,"gu").replace(/punct/g,O._punctuation).getRegex();O.emStrong.rDelimUnd=ve(O.emStrong.rDelimUnd,"gu").replace(/punct/g,O._punctuation).getRegex();O.anyPunctuation=ve(O.anyPunctuation,"gu").replace(/punct/g,O._punctuation).getRegex();O._escapes=ve(O._escapes,"gu").replace(/punct/g,O._punctuation).getRegex();O._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;O._email=/[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])?)+(?![-_])/;O.autolink=ve(O.autolink).replace("scheme",O._scheme).replace("email",O._email).getRegex();O._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;O.tag=ve(O.tag).replace("comment",O._comment).replace("attribute",O._attribute).getRegex();O._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;O._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;O._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;O.link=ve(O.link).replace("label",O._label).replace("href",O._href).replace("title",O._title).getRegex();O.reflink=ve(O.reflink).replace("label",O._label).replace("ref",H._label).getRegex();O.nolink=ve(O.nolink).replace("ref",H._label).getRegex();O.reflinkSearch=ve(O.reflinkSearch,"g").replace("reflink",O.reflink).replace("nolink",O.nolink).getRegex();O.normal={...O};O.pedantic={...O.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:ve(/^!?\[(label)\]\((.*?)\)/).replace("label",O._label).getRegex(),reflink:ve(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",O._label).getRegex()};O.gfm={...O.normal,escape:ve(O.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),t+="&#"+n+";";return t}class Kt{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||qn,this.options.tokenizer=this.options.tokenizer||new Gs,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const r={block:H.normal,inline:O.normal};this.options.pedantic?(r.block=H.pedantic,r.inline=O.pedantic):this.options.gfm&&(r.block=H.gfm,this.options.breaks?r.inline=O.breaks:r.inline=O.gfm),this.tokenizer.rules=r}static get rules(){return{block:H,inline:O}}static lex(t,r){return new Kt(r).lex(t)}static lexInline(t,r){return new Kt(r).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,` +`?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:n,tokens:this.lexer.inline(n)}}}text(t){const r=this.rules.block.text.exec(t);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(t){const r=this.rules.inline.escape.exec(t);if(r)return{type:"escape",raw:r[0],text:qe(r[1])}}tag(t){const r=this.rules.inline.tag.exec(t);if(r)return!this.lexer.state.inLink&&/^/i.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):qe(r[0]):r[0]}}link(t){const r=this.rules.inline.link.exec(t);if(r){const n=r[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;const s=ls(n.slice(0,-1),"\\");if((n.length-s.length)%2===0)return}else{const s=BN(r[2],"()");if(s>-1){const u=(r[0].indexOf("!")===0?5:4)+r[1].length+s;r[2]=r[2].substring(0,s),r[0]=r[0].substring(0,u).trim(),r[3]=""}}let i=r[2],o="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);s&&(i=s[1],o=s[3])}else o=r[3]?r[3].slice(1,-1):"";return i=i.trim(),/^$/.test(n)?i=i.slice(1):i=i.slice(1,-1)),Cp(r,{href:i&&i.replace(this.rules.inline._escapes,"$1"),title:o&&o.replace(this.rules.inline._escapes,"$1")},r[0],this.lexer)}}reflink(t,r){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let i=(n[2]||n[1]).replace(/\s+/g," ");if(i=r[i.toLowerCase()],!i){const o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return Cp(n,i,n[0],this.lexer)}}emStrong(t,r,n=""){let i=this.rules.inline.emStrong.lDelim.exec(t);if(!i||i[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const s=i[0].length-1;let a,u,l=s,c=0;const d=i[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(d.lastIndex=0,r=r.slice(-1*t.length+s);(i=d.exec(r))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(u=a.length,i[3]||i[4]){l+=u;continue}else if((i[5]||i[6])&&s%3&&!((s+u)%3)){c+=u;continue}if(l-=u,l>0)continue;u=Math.min(u,u+l+c);const h=t.slice(0,s+i.index+u+1);if(Math.min(s,u)%2){const v=h.slice(1,-1);return{type:"em",raw:h,text:v,tokens:this.lexer.inlineTokens(v)}}const f=h.slice(2,-2);return{type:"strong",raw:h,text:f,tokens:this.lexer.inlineTokens(f)}}}}codespan(t){const r=this.rules.inline.code.exec(t);if(r){let n=r[2].replace(/\n/g," ");const i=/[^ ]/.test(n),o=/^ /.test(n)&&/ $/.test(n);return i&&o&&(n=n.substring(1,n.length-1)),n=qe(n,!0),{type:"codespan",raw:r[0],text:n}}}br(t){const r=this.rules.inline.br.exec(t);if(r)return{type:"br",raw:r[0]}}del(t){const r=this.rules.inline.del.exec(t);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(t,r){const n=this.rules.inline.autolink.exec(t);if(n){let i,o;return n[2]==="@"?(i=qe(this.options.mangle?r(n[1]):n[1]),o="mailto:"+i):(i=qe(n[1]),o=i),{type:"link",raw:n[0],text:i,href:o,tokens:[{type:"text",raw:i,text:i}]}}}url(t,r){let n;if(n=this.rules.inline.url.exec(t)){let i,o;if(n[2]==="@")i=qe(this.options.mangle?r(n[0]):n[0]),o="mailto:"+i;else{let s;do s=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(s!==n[0]);i=qe(n[0]),n[1]==="www."?o="http://"+n[0]:o=n[0]}return{type:"link",raw:n[0],text:i,href:o,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(t,r){const n=this.rules.inline.text.exec(t);if(n){let i;return this.lexer.state.inRawBlock?i=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):qe(n[0]):n[0]:i=qe(this.options.smartypants?r(n[0]):n[0]),{type:"text",raw:n[0],text:i}}}}const H={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:zs,lheading:/^((?:(?!^bull ).|\n(?!\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};H._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;H._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;H.def=ve(H.def).replace("label",H._label).replace("title",H._title).getRegex();H.bullet=/(?:[*+-]|\d{1,9}[.)])/;H.listItemStart=ve(/^( *)(bull) */).replace("bull",H.bullet).getRegex();H.list=ve(H.list).replace(/bull/g,H.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+H.def.source+")").getRegex();H._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";H._comment=/|$)/;H.html=ve(H.html,"i").replace("comment",H._comment).replace("tag",H._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();H.lheading=ve(H.lheading).replace(/bull/g,H.bullet).getRegex();H.paragraph=ve(H._paragraph).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",H._tag).getRegex();H.blockquote=ve(H.blockquote).replace("paragraph",H.paragraph).getRegex();H.normal={...H};H.gfm={...H.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};H.gfm.table=ve(H.gfm.table).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",H._tag).getRegex();H.gfm.paragraph=ve(H._paragraph).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",H.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",H._tag).getRegex();H.pedantic={...H.normal,html:ve(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",H._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:zs,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ve(H.normal._paragraph).replace("hr",H.hr).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",H.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const O={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:zs,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:zs,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`^|~";O.punctuation=ve(O.punctuation,"u").replace(/punctuation/g,O._punctuation).getRegex();O.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g;O.anyPunctuation=/\\[punct]/g;O._escapes=/\\([punct])/g;O._comment=ve(H._comment).replace("(?:-->|$)","-->").getRegex();O.emStrong.lDelim=ve(O.emStrong.lDelim,"u").replace(/punct/g,O._punctuation).getRegex();O.emStrong.rDelimAst=ve(O.emStrong.rDelimAst,"gu").replace(/punct/g,O._punctuation).getRegex();O.emStrong.rDelimUnd=ve(O.emStrong.rDelimUnd,"gu").replace(/punct/g,O._punctuation).getRegex();O.anyPunctuation=ve(O.anyPunctuation,"gu").replace(/punct/g,O._punctuation).getRegex();O._escapes=ve(O._escapes,"gu").replace(/punct/g,O._punctuation).getRegex();O._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;O._email=/[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])?)+(?![-_])/;O.autolink=ve(O.autolink).replace("scheme",O._scheme).replace("email",O._email).getRegex();O._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;O.tag=ve(O.tag).replace("comment",O._comment).replace("attribute",O._attribute).getRegex();O._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;O._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;O._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;O.link=ve(O.link).replace("label",O._label).replace("href",O._href).replace("title",O._title).getRegex();O.reflink=ve(O.reflink).replace("label",O._label).replace("ref",H._label).getRegex();O.nolink=ve(O.nolink).replace("ref",H._label).getRegex();O.reflinkSearch=ve(O.reflinkSearch,"g").replace("reflink",O.reflink).replace("nolink",O.nolink).getRegex();O.normal={...O};O.pedantic={...O.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:ve(/^!?\[(label)\]\((.*?)\)/).replace("label",O._label).getRegex(),reflink:ve(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",O._label).getRegex()};O.gfm={...O.normal,escape:ve(O.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),t+="&#"+n+";";return t}class Kt{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||qn,this.options.tokenizer=this.options.tokenizer||new Gs,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const r={block:H.normal,inline:O.normal};this.options.pedantic?(r.block=H.pedantic,r.inline=O.pedantic):this.options.gfm&&(r.block=H.gfm,this.options.breaks?r.inline=O.breaks:r.inline=O.gfm),this.tokenizer.rules=r}static get rules(){return{block:H,inline:O}}static lex(t,r){return new Kt(r).lex(t)}static lexInline(t,r){return new Kt(r).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,` `),this.blockTokens(t,this.tokens);let r;for(;r=this.inlineQueue.shift();)this.inlineTokens(r.src,r.tokens);return this.tokens}blockTokens(t,r=[]){this.options.pedantic?t=t.replace(/\t/g," ").replace(/^ +$/gm,""):t=t.replace(/^( *)(\t+)/gm,(a,u,l)=>u+" ".repeat(l.length));let n,i,o,s;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(n=a.call({lexer:this},t,r))?(t=t.substring(n.raw.length),r.push(n),!0):!1))){if(n=this.tokenizer.space(t)){t=t.substring(n.raw.length),n.raw.length===1&&r.length>0?r[r.length-1].raw+=` `:r.push(n);continue}if(n=this.tokenizer.code(t)){t=t.substring(n.raw.length),i=r[r.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=` `+n.raw,i.text+=` @@ -89,7 +89,7 @@ var w0=Object.defineProperty;var Ld=e=>{throw TypeError(e)};var _0=(e,t,r)=>t in `+n.raw,i.text+=` `+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):r.push(n),s=o.length!==t.length,t=t.substring(n.raw.length);continue}if(n=this.tokenizer.text(t)){t=t.substring(n.raw.length),i=r[r.length-1],i&&i.type==="text"?(i.raw+=` `+n.raw,i.text+=` -`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):r.push(n);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){let n,i,o,s=t,a,u,l;if(this.tokens.links){const c=Object.keys(this.tokens.links);if(c.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)c.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,a.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(u||(l=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(c=>(n=c.call({lexer:this},t,r))?(t=t.substring(n.raw.length),r.push(n),!0):!1))){if(n=this.tokenizer.escape(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.tag(t)){t=t.substring(n.raw.length),i=r[r.length-1],i&&n.type==="text"&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):r.push(n);continue}if(n=this.tokenizer.link(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(n.raw.length),i=r[r.length-1],i&&n.type==="text"&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):r.push(n);continue}if(n=this.tokenizer.emStrong(t,s,l)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.codespan(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.br(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.del(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.autolink(t,wp)){t=t.substring(n.raw.length),r.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(t,wp))){t=t.substring(n.raw.length),r.push(n);continue}if(o=t,this.options.extensions&&this.options.extensions.startInline){let c=1/0;const d=t.slice(1);let h;this.options.extensions.startInline.forEach(function(f){h=f.call({lexer:this},d),typeof h=="number"&&h>=0&&(c=Math.min(c,h))}),c<1/0&&c>=0&&(o=t.substring(0,c+1))}if(n=this.tokenizer.inlineText(o,$N)){t=t.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(l=n.raw.slice(-1)),u=!0,i=r[r.length-1],i&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):r.push(n);continue}if(t){const c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return r}}class qs{constructor(t){this.options=t||qn}code(t,r,n){const i=(r||"").match(/\S*/)[0];if(this.options.highlight){const o=this.options.highlight(t,i);o!=null&&o!==t&&(n=!0,t=o)}return t=t.replace(/\n$/,"")+` +`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):r.push(n);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){let n,i,o,s=t,a,u,l;if(this.tokens.links){const c=Object.keys(this.tokens.links);if(c.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)c.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,a.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(u||(l=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(c=>(n=c.call({lexer:this},t,r))?(t=t.substring(n.raw.length),r.push(n),!0):!1))){if(n=this.tokenizer.escape(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.tag(t)){t=t.substring(n.raw.length),i=r[r.length-1],i&&n.type==="text"&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):r.push(n);continue}if(n=this.tokenizer.link(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(n.raw.length),i=r[r.length-1],i&&n.type==="text"&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):r.push(n);continue}if(n=this.tokenizer.emStrong(t,s,l)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.codespan(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.br(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.del(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.autolink(t,wp)){t=t.substring(n.raw.length),r.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(t,wp))){t=t.substring(n.raw.length),r.push(n);continue}if(o=t,this.options.extensions&&this.options.extensions.startInline){let c=1/0;const d=t.slice(1);let h;this.options.extensions.startInline.forEach(function(f){h=f.call({lexer:this},d),typeof h=="number"&&h>=0&&(c=Math.min(c,h))}),c<1/0&&c>=0&&(o=t.substring(0,c+1))}if(n=this.tokenizer.inlineText(o,HN)){t=t.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(l=n.raw.slice(-1)),u=!0,i=r[r.length-1],i&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):r.push(n);continue}if(t){const c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return r}}class qs{constructor(t){this.options=t||qn}code(t,r,n){const i=(r||"").match(/\S*/)[0];if(this.options.highlight){const o=this.options.highlight(t,i);o!=null&&o!==t&&(n=!0,t=o)}return t=t.replace(/\n$/,"")+` `,i?'
'+(n?t:qe(t,!0))+`
`:"
"+(n?t:qe(t,!0))+`
`}blockquote(t){return`
@@ -110,17 +110,17 @@ ${t}
${t} `}tablecell(t,r){const n=r.header?"th":"td";return(r.align?`<${n} align="${r.align}">`:`<${n}>`)+t+` `}strong(t){return`${t}`}em(t){return`${t}`}codespan(t){return`${t}`}br(){return this.options.xhtml?"
":"
"}del(t){return`${t}`}link(t,r,n){if(t=Dp(this.options.sanitize,this.options.baseUrl,t),t===null)return n;let i='
",i}image(t,r,n){if(t=Dp(this.options.sanitize,this.options.baseUrl,t),t===null)return n;let i=`${n}":">",i}text(t){return t}}class Ad{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,r,n){return""+n}image(t,r,n){return""+n}br(){return""}}class Td{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,r){let n=t,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[t];do i++,n=t+"-"+i;while(this.seen.hasOwnProperty(n))}return r||(this.seen[t]=i,this.seen[n]=0),n}slug(t,r={}){const n=this.serialize(t);return this.getNextSafeSlug(n,r.dryrun)}}class Qt{constructor(t){this.options=t||qn,this.options.renderer=this.options.renderer||new qs,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ad,this.slugger=new Td}static parse(t,r){return new Qt(r).parse(t)}static parseInline(t,r){return new Qt(r).parseInline(t)}parse(t,r=!0){let n="",i,o,s,a,u,l,c,d,h,f,v,C,D,b,p,g,y,w,_;const S=t.length;for(i=0;i0&&p.tokens[0].type==="paragraph"?(p.tokens[0].text=w+" "+p.tokens[0].text,p.tokens[0].tokens&&p.tokens[0].tokens.length>0&&p.tokens[0].tokens[0].type==="text"&&(p.tokens[0].tokens[0].text=w+" "+p.tokens[0].tokens[0].text)):p.tokens.unshift({type:"text",text:w}):b+=w),b+=this.parse(p.tokens,D),h+=this.renderer.listitem(b,y,g);n+=this.renderer.list(h,v,C);continue}case"html":{n+=this.renderer.html(f.text,f.block);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(f.tokens));continue}case"text":{for(h=f.tokens?this.parseInline(f.tokens):f.text;i+1{n=n.concat(this.walkTokens(i[o],r))}):i.tokens&&(n=n.concat(this.walkTokens(i.tokens,r)))}return n}use(...t){const r=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{const i={...n};if(i.async=this.defaults.async||i.async||!1,n.extensions&&(n.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if(o.renderer){const s=r.renderers[o.name];s?r.renderers[o.name]=function(...a){let u=o.renderer.apply(this,a);return u===!1&&(u=s.apply(this,a)),u}:r.renderers[o.name]=o.renderer}if(o.tokenizer){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");r[o.level]?r[o.level].unshift(o.tokenizer):r[o.level]=[o.tokenizer],o.start&&(o.level==="block"?r.startBlock?r.startBlock.push(o.start):r.startBlock=[o.start]:o.level==="inline"&&(r.startInline?r.startInline.push(o.start):r.startInline=[o.start]))}o.childTokens&&(r.childTokens[o.name]=o.childTokens)}),i.extensions=r),n.renderer){const o=this.defaults.renderer||new qs(this.defaults);for(const s in n.renderer){const a=o[s];o[s]=(...u)=>{let l=n.renderer[s].apply(o,u);return l===!1&&(l=a.apply(o,u)),l}}i.renderer=o}if(n.tokenizer){const o=this.defaults.tokenizer||new Gs(this.defaults);for(const s in n.tokenizer){const a=o[s];o[s]=(...u)=>{let l=n.tokenizer[s].apply(o,u);return l===!1&&(l=a.apply(o,u)),l}}i.tokenizer=o}if(n.hooks){const o=this.defaults.hooks||new Mi;for(const s in n.hooks){const a=o[s];Mi.passThroughHooks.has(s)?o[s]=u=>{if(this.defaults.async)return Promise.resolve(n.hooks[s].call(o,u)).then(c=>a.call(o,c));const l=n.hooks[s].call(o,u);return a.call(o,l)}:o[s]=(...u)=>{let l=n.hooks[s].apply(o,u);return l===!1&&(l=a.apply(o,u)),l}}i.hooks=o}if(n.walkTokens){const o=this.defaults.walkTokens;i.walkTokens=function(s){let a=[];return a.push(n.walkTokens.call(this,s)),o&&(a=a.concat(o.call(this,s))),a}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}}mr=new WeakSet,wl=function(t,r){return(n,i,o)=>{typeof i=="function"&&(o=i,i=null);const s={...i};i={...this.defaults,...s};const a=bo(this,mr,p0).call(this,i.silent,i.async,o);if(typeof n>"u"||n===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(BN(i,o),i.hooks&&(i.hooks.options=i),o){const u=i.highlight;let l;try{i.hooks&&(n=i.hooks.preprocess(n)),l=t(n,i)}catch(h){return a(h)}const c=h=>{let f;if(!h)try{i.walkTokens&&this.walkTokens(l,i.walkTokens),f=r(l,i),i.hooks&&(f=i.hooks.postprocess(f))}catch(v){h=v}return i.highlight=u,h?a(h):o(null,f)};if(!u||u.length<3||(delete i.highlight,!l.length))return c();let d=0;this.walkTokens(l,h=>{h.type==="code"&&(d++,setTimeout(()=>{u(h.text,h.lang,(f,v)=>{if(f)return c(f);v!=null&&v!==h.text&&(h.text=v,h.escaped=!0),d--,d===0&&c()})},0))}),d===0&&c();return}if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(n):n).then(u=>t(u,i)).then(u=>i.walkTokens?Promise.all(this.walkTokens(u,i.walkTokens)).then(()=>u):u).then(u=>r(u,i)).then(u=>i.hooks?i.hooks.postprocess(u):u).catch(a);try{i.hooks&&(n=i.hooks.preprocess(n));const u=t(n,i);i.walkTokens&&this.walkTokens(u,i.walkTokens);let l=r(u,i);return i.hooks&&(l=i.hooks.postprocess(l)),l}catch(u){return a(u)}}},p0=function(t,r,n){return i=>{if(i.message+=` -Please report this to https://github.com/markedjs/marked.`,t){const o="

An error occurred:

"+qe(i.message+"",!0)+"
";if(r)return Promise.resolve(o);if(n){n(null,o);return}return o}if(r)return Promise.reject(i);if(n){n(i);return}throw i}};const gr=new HN(qn);function fe(e,t,r){return gr.parse(e,t,r)}fe.options=fe.setOptions=function(e){return gr.setOptions(e),fe.defaults=gr.defaults,c0(fe.defaults),fe};fe.getDefaults=bd;fe.defaults=qn;fe.use=function(...e){return gr.use(...e),fe.defaults=gr.defaults,c0(fe.defaults),fe};fe.walkTokens=function(e,t){return gr.walkTokens(e,t)};fe.parseInline=gr.parseInline;fe.Parser=Qt;fe.parser=Qt.parse;fe.Renderer=qs;fe.TextRenderer=Ad;fe.Lexer=Kt;fe.lexer=Kt.lex;fe.Tokenizer=Gs;fe.Slugger=Td;fe.Hooks=Mi;fe.parse=fe;fe.options;fe.setOptions;fe.use;fe.walkTokens;fe.parseInline;Qt.parse;Kt.lex;function UN(){return{mangle:!1,walkTokens(e){if(e.type!=="link"||!e.href.startsWith("mailto:"))return;const t=e.href.substring(7),r=VN(t);e.href=`mailto:${r}`,!(e.tokens.length!==1||e.tokens[0].type!=="text"||e.tokens[0].text!==t)&&(e.text=r,e.tokens[0].text=r)}}}function VN(e){let t="",r,n;const i=e.length;for(r=0;r.5&&(n="x"+n.toString(16)),t+="&#"+n+";";return t}/** +`+(f.tokens?this.parseInline(f.tokens):f.text);n+=r?this.renderer.paragraph(h):h;continue}default:{const F='Token with "'+f.type+'" type was not found.';if(this.options.silent){console.error(F);return}else throw new Error(F)}}}return n}parseInline(t,r){r=r||this.renderer;let n="",i,o,s;const a=t.length;for(i=0;i{n=n.concat(this.walkTokens(i[o],r))}):i.tokens&&(n=n.concat(this.walkTokens(i.tokens,r)))}return n}use(...t){const r=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{const i={...n};if(i.async=this.defaults.async||i.async||!1,n.extensions&&(n.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if(o.renderer){const s=r.renderers[o.name];s?r.renderers[o.name]=function(...a){let u=o.renderer.apply(this,a);return u===!1&&(u=s.apply(this,a)),u}:r.renderers[o.name]=o.renderer}if(o.tokenizer){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");r[o.level]?r[o.level].unshift(o.tokenizer):r[o.level]=[o.tokenizer],o.start&&(o.level==="block"?r.startBlock?r.startBlock.push(o.start):r.startBlock=[o.start]:o.level==="inline"&&(r.startInline?r.startInline.push(o.start):r.startInline=[o.start]))}o.childTokens&&(r.childTokens[o.name]=o.childTokens)}),i.extensions=r),n.renderer){const o=this.defaults.renderer||new qs(this.defaults);for(const s in n.renderer){const a=o[s];o[s]=(...u)=>{let l=n.renderer[s].apply(o,u);return l===!1&&(l=a.apply(o,u)),l}}i.renderer=o}if(n.tokenizer){const o=this.defaults.tokenizer||new Gs(this.defaults);for(const s in n.tokenizer){const a=o[s];o[s]=(...u)=>{let l=n.tokenizer[s].apply(o,u);return l===!1&&(l=a.apply(o,u)),l}}i.tokenizer=o}if(n.hooks){const o=this.defaults.hooks||new Mi;for(const s in n.hooks){const a=o[s];Mi.passThroughHooks.has(s)?o[s]=u=>{if(this.defaults.async)return Promise.resolve(n.hooks[s].call(o,u)).then(c=>a.call(o,c));const l=n.hooks[s].call(o,u);return a.call(o,l)}:o[s]=(...u)=>{let l=n.hooks[s].apply(o,u);return l===!1&&(l=a.apply(o,u)),l}}i.hooks=o}if(n.walkTokens){const o=this.defaults.walkTokens;i.walkTokens=function(s){let a=[];return a.push(n.walkTokens.call(this,s)),o&&(a=a.concat(o.call(this,s))),a}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}}mr=new WeakSet,wl=function(t,r){return(n,i,o)=>{typeof i=="function"&&(o=i,i=null);const s={...i};i={...this.defaults,...s};const a=bo(this,mr,p0).call(this,i.silent,i.async,o);if(typeof n>"u"||n===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(jN(i,o),i.hooks&&(i.hooks.options=i),o){const u=i.highlight;let l;try{i.hooks&&(n=i.hooks.preprocess(n)),l=t(n,i)}catch(h){return a(h)}const c=h=>{let f;if(!h)try{i.walkTokens&&this.walkTokens(l,i.walkTokens),f=r(l,i),i.hooks&&(f=i.hooks.postprocess(f))}catch(v){h=v}return i.highlight=u,h?a(h):o(null,f)};if(!u||u.length<3||(delete i.highlight,!l.length))return c();let d=0;this.walkTokens(l,h=>{h.type==="code"&&(d++,setTimeout(()=>{u(h.text,h.lang,(f,v)=>{if(f)return c(f);v!=null&&v!==h.text&&(h.text=v,h.escaped=!0),d--,d===0&&c()})},0))}),d===0&&c();return}if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(n):n).then(u=>t(u,i)).then(u=>i.walkTokens?Promise.all(this.walkTokens(u,i.walkTokens)).then(()=>u):u).then(u=>r(u,i)).then(u=>i.hooks?i.hooks.postprocess(u):u).catch(a);try{i.hooks&&(n=i.hooks.preprocess(n));const u=t(n,i);i.walkTokens&&this.walkTokens(u,i.walkTokens);let l=r(u,i);return i.hooks&&(l=i.hooks.postprocess(l)),l}catch(u){return a(u)}}},p0=function(t,r,n){return i=>{if(i.message+=` +Please report this to https://github.com/markedjs/marked.`,t){const o="

An error occurred:

"+qe(i.message+"",!0)+"
";if(r)return Promise.resolve(o);if(n){n(null,o);return}return o}if(r)return Promise.reject(i);if(n){n(i);return}throw i}};const gr=new UN(qn);function fe(e,t,r){return gr.parse(e,t,r)}fe.options=fe.setOptions=function(e){return gr.setOptions(e),fe.defaults=gr.defaults,c0(fe.defaults),fe};fe.getDefaults=bd;fe.defaults=qn;fe.use=function(...e){return gr.use(...e),fe.defaults=gr.defaults,c0(fe.defaults),fe};fe.walkTokens=function(e,t){return gr.walkTokens(e,t)};fe.parseInline=gr.parseInline;fe.Parser=Qt;fe.parser=Qt.parse;fe.Renderer=qs;fe.TextRenderer=Ad;fe.Lexer=Kt;fe.lexer=Kt.lex;fe.Tokenizer=Gs;fe.Slugger=Td;fe.Hooks=Mi;fe.parse=fe;fe.options;fe.setOptions;fe.use;fe.walkTokens;fe.parseInline;Qt.parse;Kt.lex;function VN(){return{mangle:!1,walkTokens(e){if(e.type!=="link"||!e.href.startsWith("mailto:"))return;const t=e.href.substring(7),r=zN(t);e.href=`mailto:${r}`,!(e.tokens.length!==1||e.tokens[0].type!=="text"||e.tokens[0].text!==t)&&(e.text=r,e.tokens[0].text=r)}}}function zN(e){let t="",r,n;const i=e.length;for(r=0;r.5&&(n="x"+n.toString(16)),t+="&#"+n+";";return t}/** * @license Angular v18.2.8 * (c) 2010-2024 Google LLC. https://angular.io/ * License: MIT - */function g0(e){e||(YC(g0),e=A(oc));const t=new Se(r=>e.onDestroy(r.next.bind(r)));return r=>r.pipe(lg(t))}const zN=["container"];let Fd=(()=>{const t=class t{constructor(){this.document=A(it),this.location=A(lo),this.router=A(po)}handleNavigation(n){if(n instanceof HTMLAnchorElement&&ZN(n,this.document)&&qN(n)&&!GN(n)){const{pathname:i,search:o,hash:s}=n,a=this.location.normalize(`${i}${o}${s}`);return this.router.navigateByUrl(a),!1}return!0}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=ot({type:t,selectors:[["","analogAnchorNavigation",""]],hostBindings:function(i,o){i&1&&jc("click",function(a){return o.handleNavigation(a.target)})},standalone:!0});let e=t;return e})();function GN(e){return e.getAttribute("download")!==null}function qN(e){return!e.target||e.target==="_self"}function ZN(e,t){return e.host===t.location.host&&e.protocol===t.location.protocol}const WN=()=>({"/src/content/guide/features.md":Zk,"/src/content/guide/guide-get-started.md":Wk,"/src/content/guide/guide-huds-and-streaming.md":Yk,"/src/content/guide/guide-multi-sim.md":Kk,"/src/content/guide/guide-setup-hider.md":Qk,"/src/content/guide/guide-starting-race-element-minimized.md":Xk,"/src/content/guide/guide-using-hud-tab.md":Jk,"/src/content/guide/guide-using-liveries-tab.md":eM,"/src/content/guide/guide-using-setups-tab.md":tM,"/src/content/guide/guide-video-guides.md":nM,"/src/content/guide/sponsor.md":rM,"/src/content/guide/twitch-chat-bot-commands.md":iM,"/src/content/news/news-dualsense-active-triggers.md":oM,"/src/content/news/news-highspeed-rendering.md":sM,"/src/content/news/news-new-website.md":aM,"/src/content/news/news-nexusmods-listing.md":uM,"/src/content/news/news-posts-on-other-websites.md":lM,"/src/content/news/news-setuplink.md":cM,"/src/content/news/news-signpath.md":dM,"/src/content/news/pushing-too-hard.md":fM,"/src/content/news/version-2-released.md":hM}),YN=()=>({"/src/content/guide/features.md":()=>W(()=>import("./features-2eESu8X-.js"),[]).then(t=>t.default),"/src/content/guide/guide-get-started.md":()=>W(()=>import("./guide-get-started-Bfw9CXOs.js"),[]).then(t=>t.default),"/src/content/guide/guide-huds-and-streaming.md":()=>W(()=>import("./guide-huds-and-streaming-CVggPCzf.js"),[]).then(t=>t.default),"/src/content/guide/guide-multi-sim.md":()=>W(()=>import("./guide-multi-sim-Cv9XySxf.js"),[]).then(t=>t.default),"/src/content/guide/guide-setup-hider.md":()=>W(()=>import("./guide-setup-hider-D0h0Qg1t.js"),[]).then(t=>t.default),"/src/content/guide/guide-starting-race-element-minimized.md":()=>W(()=>import("./guide-starting-race-element-minimized-BiN8OpPW.js"),[]).then(t=>t.default),"/src/content/guide/guide-using-hud-tab.md":()=>W(()=>import("./guide-using-hud-tab-BXy0NJSQ.js"),[]).then(t=>t.default),"/src/content/guide/guide-using-liveries-tab.md":()=>W(()=>import("./guide-using-liveries-tab-c1f1oTmj.js"),[]).then(t=>t.default),"/src/content/guide/guide-using-setups-tab.md":()=>W(()=>import("./guide-using-setups-tab-Dqg454y0.js"),[]).then(t=>t.default),"/src/content/guide/guide-video-guides.md":()=>W(()=>import("./guide-video-guides-CQ1gOuBm.js"),[]).then(t=>t.default),"/src/content/guide/sponsor.md":()=>W(()=>import("./sponsor-CYsG9ocl.js"),[]).then(t=>t.default),"/src/content/guide/twitch-chat-bot-commands.md":()=>W(()=>import("./twitch-chat-bot-commands-Pj6oNTZH.js"),[]).then(t=>t.default),"/src/content/news/news-dualsense-active-triggers.md":()=>W(()=>import("./news-dualsense-active-triggers-DMEXXgsh.js"),[]).then(t=>t.default),"/src/content/news/news-highspeed-rendering.md":()=>W(()=>import("./news-highspeed-rendering-C18CQ4T4.js"),[]).then(t=>t.default),"/src/content/news/news-new-website.md":()=>W(()=>import("./news-new-website-FgVk1p9q.js"),[]).then(t=>t.default),"/src/content/news/news-nexusmods-listing.md":()=>W(()=>import("./news-nexusmods-listing-DJ43UAR9.js"),[]).then(t=>t.default),"/src/content/news/news-posts-on-other-websites.md":()=>W(()=>import("./news-posts-on-other-websites-ScHYMwVm.js"),[]).then(t=>t.default),"/src/content/news/news-setuplink.md":()=>W(()=>import("./news-setuplink-X-M47urO.js"),[]).then(t=>t.default),"/src/content/news/news-signpath.md":()=>W(()=>import("./news-signpath-hkCNUwSM.js"),[]).then(t=>t.default),"/src/content/news/pushing-too-hard.md":()=>W(()=>import("./pushing-too-hard-Bt8vBFol.js"),[]).then(t=>t.default),"/src/content/news/version-2-released.md":()=>W(()=>import("./version-2-released-0m1m9qbq.js"),[]).then(t=>t.default)}),KN=()=>({});function QN(e){const t=e.match(/^(\\|\/)(.+(\\|\/))*(.+)\.(.+)$/);return t?.length?t[4]:""}const m0=new z("@analogjs/content Content Files List",{providedIn:"root",factory(){const e=WN();return Object.keys(e).map(t=>{const r=e[t],n=r.slug;return{filename:t,attributes:r,slug:encodeURI(n||QN(t))}})}}),XN=new z("@analogjs/content Content Files",{providedIn:"root",factory(){const e=YN(),t=KN(),r={...e,...t},n=A(m0),i={};n.forEach(s=>{const a=s.filename.split("/"),u=a.slice(0,a.length-1).join("/"),l=a[a.length-1].split(".");i[s.filename]=`${u}/${s.slug}.${l[l.length-1]}`});const o={};return Object.entries(r).forEach(s=>{const a=s[0],u=s[1],l=i[a];if(l!==void 0){const c=l.replace(/^\/(.*?)\/content/,"/src/content");o[c]=u}}),o}});function v0(e){const{body:t,attributes:r}=DN(e);return{content:t,attributes:r}}let Zs=(()=>{var t;const r=class r{constructor(){_o(this,t,A(Er))}addRenderTask(){return wo(this,t).add()}clearRenderTask(i){wo(this,t).remove(i)}};t=new WeakMap,r.ɵfac=function(o){return new(o||r)},r.ɵprov=j({token:r,factory:r.ɵfac});let e=r;return e})();function _p(e,t,r,n,i){const o=`/src/content/${t}${r}`,s=e[`${o}.md`]??e[`${o}.agx`];return s?(i.addRenderTask(),new Se(a=>{s().then(l=>{a.next(l),a.complete()})}).pipe(le(a=>{if(typeof a=="string"){const{content:u,attributes:l}=v0(a);return{filename:o,slug:r,attributes:l,content:u}}return{filename:o,slug:r,attributes:a.metadata,content:a.default}}))):K({filename:o,attributes:{},slug:"",content:n})}function JN(e="slug",t="No Content Found"){const r=A(XN),n=A(Zs),i=n.addRenderTask();if(typeof e=="string"||"param"in e){const o=typeof e=="string"?"":`${e.subdirectory}/`,s=A(Gn),a=typeof e=="string"?e:e.param;return s.paramMap.pipe(le(u=>u.get(a)),Nt(u=>u?_p(r,o,u,t,n):K({filename:"",slug:"",attributes:{},content:t})),Le(()=>n.clearRenderTask(i)))}else return _p(r,"",e.customFilename,t,n).pipe(Le(()=>n.clearRenderTask(i)))}let Eo=(()=>{const t=class t{async render(n){return n}getContentHeadings(){return[]}enhance(){}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac});let e=t;return e})();class Sd{constructor(){this.transferState=A(fi),this.contentId=0}generateHash(t){let r=0;for(let n=0,i=t.length;n{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac});let e=t;return e})();function tP(e){return{provide:xd,...e}}let y0=(()=>{const t=class t{constructor(){this.highlighter=A(xd,{optional:!0});const n=new fe.Renderer;n.code=(o,s)=>s==="mermaid"?'
'+o+"
":s?this.highlighter?.augmentCodeBlock?this.highlighter?.augmentCodeBlock(o,s):`
${o}
`:"
"+o+"
";const i=[_N(),UN()];this.highlighter&&i.push(this.highlighter.getHighlightExtension()),fe.use(...i,{renderer:n,pedantic:!1,gfm:!0,breaks:!1}),this.marked=fe}getMarkedInstance(){return this.marked}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac});let e=t;return e})(),nP=(()=>{var t;const r=class r{constructor(){_o(this,t,A(y0,{self:!0}))}async render(i){return wo(this,t).getMarkedInstance().parse(i)}getContentHeadings(){return bN()}enhance(){}};t=new WeakMap,r.ɵfac=function(o){return new(o||r)},r.ɵprov=j({token:r,factory:r.ɵfac});let e=r;return e})();const rP=[{provide:Eo,useClass:Sd}];function D0(e){return[rP,e?.loadMermaid?[{provide:Id,useFactory:e.loadMermaid}]:[]]}function E0(...e){return[{provide:Zs,useClass:Zs},...e]}const Id=new z("mermaid_import");let iP=(()=>{const t=class t{constructor(){this.sanitizer=A(td),this.route=A(Gn),this.contentRenderer=A(Eo),this.content=this.sanitizer.bypassSecurityTrustHtml(this.route.snapshot.data.renderedAnalogContent),this.classes="analog-markdown-route"}ngAfterViewChecked(){this.contentRenderer.enhance()}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=eo({type:t,selectors:[["analog-markdown-route"]],inputs:{classes:"classes"},standalone:!0,features:[qv([Fd]),uo],decls:1,vars:3,consts:[[3,"innerHTML"]],template:function(i,o){i&1&&kn(0,"div",0),i&2&&(sy(o.classes),ma("innerHTML",o.content,Qm))},encapsulation:2});let e=t;return e})(),oP=(()=>{const t=class t{constructor(){this.sanitizer=A(td),this.route=A(Gn),this.zone=A(Ne),this.platformId=A(on),this.mermaidImport=A(Id,{optional:!0}),this.content$=this.getContentSource(),this.classes="analog-markdown",this.contentRenderer=A(Eo),ex(this.platformId)&&this.mermaidImport&&this.loadMermaid(this.mermaidImport)}ngOnInit(){this.updateContent()}ngOnChanges(){this.updateContent()}updateContent(){this.content&&typeof this.content!="string"?(this.container.clear(),this.container.createComponent(this.content).changeDetectorRef.detectChanges()):this.content$=this.getContentSource()}getContentSource(){return this.route.data.pipe(le(n=>this.content??n._analogContent),vn(n=>typeof n=="string"),Ze(n=>this.renderContent(n)),le(n=>this.sanitizer.bypassSecurityTrustHtml(n)),Xn(n=>K(`There was an error ${n}`)))}async renderContent(n){return this.contentRenderer.render(n)}ngAfterViewChecked(){this.contentRenderer.enhance(),this.zone.runOutsideAngular(()=>this.mermaid?.default.run())}loadMermaid(n){this.zone.runOutsideAngular(()=>We(n).pipe(g0()).subscribe(i=>{this.mermaid=i,this.mermaid.default.initialize({startOnLoad:!1}),this.mermaid?.default.run()}))}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=eo({type:t,selectors:[["analog-markdown"]],viewQuery:function(i,o){if(i&1&&rF(zN,7,Ft),i&2){let s;iF(s=oF())&&(o.container=s.first)}},inputs:{content:"content",classes:"classes"},standalone:!0,features:[qv([Fd]),ui,uo],decls:3,vars:5,consts:[["container",""],[3,"innerHTML"]],template:function(i,o){i&1&&(kn(0,"div",1,0),fF(2,"async")),i&2&&(sy(o.classes),ma("innerHTML",pF(2,3,o.content$),Qm))},dependencies:[Ju],encapsulation:2});let e=t;return e})();const sP=Object.freeze(Object.defineProperty({__proto__:null,AnchorNavigationDirective:Fd,ContentRenderer:Eo,MERMAID_IMPORT_TOKEN:Id,MarkdownComponent:oP,MarkdownContentRendererService:nP,MarkdownRouteComponent:iP,MarkedContentHighlighter:xd,MarkedSetupService:y0,NoopContentRenderer:Sd,injectContent:JN,injectContentFiles:eP,parseRawContentFile:v0,provideContent:E0,withHighlighter:tP,withMarkdownRenderer:D0},Symbol.toStringTag,{value:"Module"}));var aP={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** + */function g0(e){e||(YC(g0),e=A(oc));const t=new Se(r=>e.onDestroy(r.next.bind(r)));return r=>r.pipe(lg(t))}const GN=["container"];let Fd=(()=>{const t=class t{constructor(){this.document=A(it),this.location=A(lo),this.router=A(po)}handleNavigation(n){if(n instanceof HTMLAnchorElement&&WN(n,this.document)&&ZN(n)&&!qN(n)){const{pathname:i,search:o,hash:s}=n,a=this.location.normalize(`${i}${o}${s}`);return this.router.navigateByUrl(a),!1}return!0}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=ot({type:t,selectors:[["","analogAnchorNavigation",""]],hostBindings:function(i,o){i&1&&jc("click",function(a){return o.handleNavigation(a.target)})},standalone:!0});let e=t;return e})();function qN(e){return e.getAttribute("download")!==null}function ZN(e){return!e.target||e.target==="_self"}function WN(e,t){return e.host===t.location.host&&e.protocol===t.location.protocol}const YN=()=>({"/src/content/guide/features.md":Zk,"/src/content/guide/guide-get-started.md":Wk,"/src/content/guide/guide-huds-and-streaming.md":Yk,"/src/content/guide/guide-multi-sim.md":Kk,"/src/content/guide/guide-setup-hider.md":Qk,"/src/content/guide/guide-starting-race-element-minimized.md":Xk,"/src/content/guide/guide-using-hud-tab.md":Jk,"/src/content/guide/guide-using-liveries-tab.md":eM,"/src/content/guide/guide-using-setups-tab.md":tM,"/src/content/guide/guide-video-guides.md":nM,"/src/content/guide/sponsor.md":rM,"/src/content/guide/twitch-chat-bot-commands.md":iM,"/src/content/news/Assette-Corsa-EVO-and-Race-Element.md":oM,"/src/content/news/news-dualsense-active-triggers.md":sM,"/src/content/news/news-highspeed-rendering.md":aM,"/src/content/news/news-new-website.md":uM,"/src/content/news/news-nexusmods-listing.md":lM,"/src/content/news/news-posts-on-other-websites.md":cM,"/src/content/news/news-setuplink.md":dM,"/src/content/news/news-signpath.md":fM,"/src/content/news/pushing-too-hard.md":hM,"/src/content/news/version-2-released.md":pM}),KN=()=>({"/src/content/guide/features.md":()=>q(()=>import("./features-2eESu8X-.js"),[]).then(t=>t.default),"/src/content/guide/guide-get-started.md":()=>q(()=>import("./guide-get-started-Bfw9CXOs.js"),[]).then(t=>t.default),"/src/content/guide/guide-huds-and-streaming.md":()=>q(()=>import("./guide-huds-and-streaming-CVggPCzf.js"),[]).then(t=>t.default),"/src/content/guide/guide-multi-sim.md":()=>q(()=>import("./guide-multi-sim-Cv9XySxf.js"),[]).then(t=>t.default),"/src/content/guide/guide-setup-hider.md":()=>q(()=>import("./guide-setup-hider-D0h0Qg1t.js"),[]).then(t=>t.default),"/src/content/guide/guide-starting-race-element-minimized.md":()=>q(()=>import("./guide-starting-race-element-minimized-BiN8OpPW.js"),[]).then(t=>t.default),"/src/content/guide/guide-using-hud-tab.md":()=>q(()=>import("./guide-using-hud-tab-BXy0NJSQ.js"),[]).then(t=>t.default),"/src/content/guide/guide-using-liveries-tab.md":()=>q(()=>import("./guide-using-liveries-tab-c1f1oTmj.js"),[]).then(t=>t.default),"/src/content/guide/guide-using-setups-tab.md":()=>q(()=>import("./guide-using-setups-tab-Dqg454y0.js"),[]).then(t=>t.default),"/src/content/guide/guide-video-guides.md":()=>q(()=>import("./guide-video-guides-CQ1gOuBm.js"),[]).then(t=>t.default),"/src/content/guide/sponsor.md":()=>q(()=>import("./sponsor-CYsG9ocl.js"),[]).then(t=>t.default),"/src/content/guide/twitch-chat-bot-commands.md":()=>q(()=>import("./twitch-chat-bot-commands-Pj6oNTZH.js"),[]).then(t=>t.default),"/src/content/news/Assette-Corsa-EVO-and-Race-Element.md":()=>q(()=>import("./Assette-Corsa-EVO-and-Race-Element-UUptBRyv.js"),[]).then(t=>t.default),"/src/content/news/news-dualsense-active-triggers.md":()=>q(()=>import("./news-dualsense-active-triggers-DMEXXgsh.js"),[]).then(t=>t.default),"/src/content/news/news-highspeed-rendering.md":()=>q(()=>import("./news-highspeed-rendering-C18CQ4T4.js"),[]).then(t=>t.default),"/src/content/news/news-new-website.md":()=>q(()=>import("./news-new-website-FgVk1p9q.js"),[]).then(t=>t.default),"/src/content/news/news-nexusmods-listing.md":()=>q(()=>import("./news-nexusmods-listing-DJ43UAR9.js"),[]).then(t=>t.default),"/src/content/news/news-posts-on-other-websites.md":()=>q(()=>import("./news-posts-on-other-websites-ScHYMwVm.js"),[]).then(t=>t.default),"/src/content/news/news-setuplink.md":()=>q(()=>import("./news-setuplink-X-M47urO.js"),[]).then(t=>t.default),"/src/content/news/news-signpath.md":()=>q(()=>import("./news-signpath-hkCNUwSM.js"),[]).then(t=>t.default),"/src/content/news/pushing-too-hard.md":()=>q(()=>import("./pushing-too-hard-Bt8vBFol.js"),[]).then(t=>t.default),"/src/content/news/version-2-released.md":()=>q(()=>import("./version-2-released-0m1m9qbq.js"),[]).then(t=>t.default)}),QN=()=>({});function XN(e){const t=e.match(/^(\\|\/)(.+(\\|\/))*(.+)\.(.+)$/);return t?.length?t[4]:""}const m0=new z("@analogjs/content Content Files List",{providedIn:"root",factory(){const e=YN();return Object.keys(e).map(t=>{const r=e[t],n=r.slug;return{filename:t,attributes:r,slug:encodeURI(n||XN(t))}})}}),JN=new z("@analogjs/content Content Files",{providedIn:"root",factory(){const e=KN(),t=QN(),r={...e,...t},n=A(m0),i={};n.forEach(s=>{const a=s.filename.split("/"),u=a.slice(0,a.length-1).join("/"),l=a[a.length-1].split(".");i[s.filename]=`${u}/${s.slug}.${l[l.length-1]}`});const o={};return Object.entries(r).forEach(s=>{const a=s[0],u=s[1],l=i[a];if(l!==void 0){const c=l.replace(/^\/(.*?)\/content/,"/src/content");o[c]=u}}),o}});function v0(e){const{body:t,attributes:r}=EN(e);return{content:t,attributes:r}}let Zs=(()=>{var t;const r=class r{constructor(){_o(this,t,A(Er))}addRenderTask(){return wo(this,t).add()}clearRenderTask(i){wo(this,t).remove(i)}};t=new WeakMap,r.ɵfac=function(o){return new(o||r)},r.ɵprov=j({token:r,factory:r.ɵfac});let e=r;return e})();function _p(e,t,r,n,i){const o=`/src/content/${t}${r}`,s=e[`${o}.md`]??e[`${o}.agx`];return s?(i.addRenderTask(),new Se(a=>{s().then(l=>{a.next(l),a.complete()})}).pipe(le(a=>{if(typeof a=="string"){const{content:u,attributes:l}=v0(a);return{filename:o,slug:r,attributes:l,content:u}}return{filename:o,slug:r,attributes:a.metadata,content:a.default}}))):K({filename:o,attributes:{},slug:"",content:n})}function eP(e="slug",t="No Content Found"){const r=A(JN),n=A(Zs),i=n.addRenderTask();if(typeof e=="string"||"param"in e){const o=typeof e=="string"?"":`${e.subdirectory}/`,s=A(Gn),a=typeof e=="string"?e:e.param;return s.paramMap.pipe(le(u=>u.get(a)),Nt(u=>u?_p(r,o,u,t,n):K({filename:"",slug:"",attributes:{},content:t})),Le(()=>n.clearRenderTask(i)))}else return _p(r,"",e.customFilename,t,n).pipe(Le(()=>n.clearRenderTask(i)))}let Eo=(()=>{const t=class t{async render(n){return n}getContentHeadings(){return[]}enhance(){}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac});let e=t;return e})();class Sd{constructor(){this.transferState=A(fi),this.contentId=0}generateHash(t){let r=0;for(let n=0,i=t.length;n{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac});let e=t;return e})();function nP(e){return{provide:xd,...e}}let y0=(()=>{const t=class t{constructor(){this.highlighter=A(xd,{optional:!0});const n=new fe.Renderer;n.code=(o,s)=>s==="mermaid"?'
'+o+"
":s?this.highlighter?.augmentCodeBlock?this.highlighter?.augmentCodeBlock(o,s):`
${o}
`:"
"+o+"
";const i=[bN(),VN()];this.highlighter&&i.push(this.highlighter.getHighlightExtension()),fe.use(...i,{renderer:n,pedantic:!1,gfm:!0,breaks:!1}),this.marked=fe}getMarkedInstance(){return this.marked}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=j({token:t,factory:t.ɵfac});let e=t;return e})(),rP=(()=>{var t;const r=class r{constructor(){_o(this,t,A(y0,{self:!0}))}async render(i){return wo(this,t).getMarkedInstance().parse(i)}getContentHeadings(){return AN()}enhance(){}};t=new WeakMap,r.ɵfac=function(o){return new(o||r)},r.ɵprov=j({token:r,factory:r.ɵfac});let e=r;return e})();const iP=[{provide:Eo,useClass:Sd}];function D0(e){return[iP,e?.loadMermaid?[{provide:Id,useFactory:e.loadMermaid}]:[]]}function E0(...e){return[{provide:Zs,useClass:Zs},...e]}const Id=new z("mermaid_import");let oP=(()=>{const t=class t{constructor(){this.sanitizer=A(td),this.route=A(Gn),this.contentRenderer=A(Eo),this.content=this.sanitizer.bypassSecurityTrustHtml(this.route.snapshot.data.renderedAnalogContent),this.classes="analog-markdown-route"}ngAfterViewChecked(){this.contentRenderer.enhance()}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=eo({type:t,selectors:[["analog-markdown-route"]],inputs:{classes:"classes"},standalone:!0,features:[qv([Fd]),uo],decls:1,vars:3,consts:[[3,"innerHTML"]],template:function(i,o){i&1&&kn(0,"div",0),i&2&&(sy(o.classes),ma("innerHTML",o.content,Qm))},encapsulation:2});let e=t;return e})(),sP=(()=>{const t=class t{constructor(){this.sanitizer=A(td),this.route=A(Gn),this.zone=A(Ne),this.platformId=A(on),this.mermaidImport=A(Id,{optional:!0}),this.content$=this.getContentSource(),this.classes="analog-markdown",this.contentRenderer=A(Eo),ex(this.platformId)&&this.mermaidImport&&this.loadMermaid(this.mermaidImport)}ngOnInit(){this.updateContent()}ngOnChanges(){this.updateContent()}updateContent(){this.content&&typeof this.content!="string"?(this.container.clear(),this.container.createComponent(this.content).changeDetectorRef.detectChanges()):this.content$=this.getContentSource()}getContentSource(){return this.route.data.pipe(le(n=>this.content??n._analogContent),vn(n=>typeof n=="string"),Ze(n=>this.renderContent(n)),le(n=>this.sanitizer.bypassSecurityTrustHtml(n)),Xn(n=>K(`There was an error ${n}`)))}async renderContent(n){return this.contentRenderer.render(n)}ngAfterViewChecked(){this.contentRenderer.enhance(),this.zone.runOutsideAngular(()=>this.mermaid?.default.run())}loadMermaid(n){this.zone.runOutsideAngular(()=>We(n).pipe(g0()).subscribe(i=>{this.mermaid=i,this.mermaid.default.initialize({startOnLoad:!1}),this.mermaid?.default.run()}))}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=eo({type:t,selectors:[["analog-markdown"]],viewQuery:function(i,o){if(i&1&&rF(GN,7,Ft),i&2){let s;iF(s=oF())&&(o.container=s.first)}},inputs:{content:"content",classes:"classes"},standalone:!0,features:[qv([Fd]),ui,uo],decls:3,vars:5,consts:[["container",""],[3,"innerHTML"]],template:function(i,o){i&1&&(kn(0,"div",1,0),fF(2,"async")),i&2&&(sy(o.classes),ma("innerHTML",pF(2,3,o.content$),Qm))},dependencies:[Ju],encapsulation:2});let e=t;return e})();const aP=Object.freeze(Object.defineProperty({__proto__:null,AnchorNavigationDirective:Fd,ContentRenderer:Eo,MERMAID_IMPORT_TOKEN:Id,MarkdownComponent:sP,MarkdownContentRendererService:rP,MarkdownRouteComponent:oP,MarkedContentHighlighter:xd,MarkedSetupService:y0,NoopContentRenderer:Sd,injectContent:eP,injectContentFiles:tP,parseRawContentFile:v0,provideContent:E0,withHighlighter:nP,withMarkdownRenderer:D0},Symbol.toStringTag,{value:"Module"}));var uP={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var r=function(n){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,s={},a={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function p(g){return g instanceof u?new u(g.type,p(g.content),g.alias):Array.isArray(g)?g.map(p):g.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(w){var p=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(w.stack)||[])[1];if(p){var g=document.getElementsByTagName("script");for(var y in g)if(g[y].src==p)return g[y]}return null}},isActive:function(p,g,y){for(var w="no-"+g;p;){var _=p.classList;if(_.contains(g))return!0;if(_.contains(w))return!1;p=p.parentElement}return!!y}},languages:{plain:s,plaintext:s,text:s,txt:s,extend:function(p,g){var y=a.util.clone(a.languages[p]);for(var w in g)y[w]=g[w];return y},insertBefore:function(p,g,y,w){w=w||a.languages;var _=w[p],S={};for(var F in _)if(_.hasOwnProperty(F)){if(F==g)for(var M in y)y.hasOwnProperty(M)&&(S[M]=y[M]);y.hasOwnProperty(F)||(S[F]=_[F])}var P=w[p];return w[p]=S,a.languages.DFS(a.languages,function(L,B){B===P&&L!=p&&(this[L]=S)}),S},DFS:function p(g,y,w,_){_=_||{};var S=a.util.objId;for(var F in g)if(g.hasOwnProperty(F)){y.call(g,F,g[F],w||F);var M=g[F],P=a.util.type(M);P==="Object"&&!_[S(M)]?(_[S(M)]=!0,p(M,y,null,_)):P==="Array"&&!_[S(M)]&&(_[S(M)]=!0,p(M,y,F,_))}}},plugins:{},highlightAll:function(p,g){a.highlightAllUnder(document,p,g)},highlightAllUnder:function(p,g,y){var w={callback:y,container:p,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",w),w.elements=Array.prototype.slice.apply(w.container.querySelectorAll(w.selector)),a.hooks.run("before-all-elements-highlight",w);for(var _=0,S;S=w.elements[_++];)a.highlightElement(S,g===!0,w.callback)},highlightElement:function(p,g,y){var w=a.util.getLanguage(p),_=a.languages[w];a.util.setLanguage(p,w);var S=p.parentElement;S&&S.nodeName.toLowerCase()==="pre"&&a.util.setLanguage(S,w);var F=p.textContent,M={element:p,language:w,grammar:_,code:F};function P(B){M.highlightedCode=B,a.hooks.run("before-insert",M),M.element.innerHTML=M.highlightedCode,a.hooks.run("after-highlight",M),a.hooks.run("complete",M),y&&y.call(M.element)}if(a.hooks.run("before-sanity-check",M),S=M.element.parentElement,S&&S.nodeName.toLowerCase()==="pre"&&!S.hasAttribute("tabindex")&&S.setAttribute("tabindex","0"),!M.code){a.hooks.run("complete",M),y&&y.call(M.element);return}if(a.hooks.run("before-highlight",M),!M.grammar){P(a.util.encode(M.code));return}if(g&&n.Worker){var L=new Worker(a.filename);L.onmessage=function(B){P(B.data)},L.postMessage(JSON.stringify({language:M.language,code:M.code,immediateClose:!0}))}else P(a.highlight(M.code,M.grammar,M.language))},highlight:function(p,g,y){var w={code:p,grammar:g,language:y};if(a.hooks.run("before-tokenize",w),!w.grammar)throw new Error('The language "'+w.language+'" has no grammar.');return w.tokens=a.tokenize(w.code,w.grammar),a.hooks.run("after-tokenize",w),u.stringify(a.util.encode(w.tokens),w.language)},tokenize:function(p,g){var y=g.rest;if(y){for(var w in y)g[w]=y[w];delete g.rest}var _=new d;return h(_,_.head,p),c(p,_,g,_.head,0),v(_)},hooks:{all:{},add:function(p,g){var y=a.hooks.all;y[p]=y[p]||[],y[p].push(g)},run:function(p,g){var y=a.hooks.all[p];if(!(!y||!y.length))for(var w=0,_;_=y[w++];)_(g)}},Token:u};n.Prism=a;function u(p,g,y,w){this.type=p,this.content=g,this.alias=y,this.length=(w||"").length|0}u.stringify=function p(g,y){if(typeof g=="string")return g;if(Array.isArray(g)){var w="";return g.forEach(function(P){w+=p(P,y)}),w}var _={type:g.type,content:p(g.content,y),tag:"span",classes:["token",g.type],attributes:{},language:y},S=g.alias;S&&(Array.isArray(S)?Array.prototype.push.apply(_.classes,S):_.classes.push(S)),a.hooks.run("wrap",_);var F="";for(var M in _.attributes)F+=" "+M+'="'+(_.attributes[M]||"").replace(/"/g,""")+'"';return"<"+_.tag+' class="'+_.classes.join(" ")+'"'+F+">"+_.content+""};function l(p,g,y,w){p.lastIndex=g;var _=p.exec(y);if(_&&w&&_[1]){var S=_[1].length;_.index+=S,_[0]=_[0].slice(S)}return _}function c(p,g,y,w,_,S){for(var F in y)if(!(!y.hasOwnProperty(F)||!y[F])){var M=y[F];M=Array.isArray(M)?M:[M];for(var P=0;P=S.reach);m+=T.value.length,T=T.next){var R=T.value;if(g.length>p.length)return;if(!(R instanceof u)){var Y=1,G;if(Pe){if(G=l(N,m,p,J),!G||G.index>=p.length)break;var Ge=G.index,ee=G.index+G[0].length,ze=m;for(ze+=T.value.length;Ge>=ze;)T=T.next,ze+=T.value.length;if(ze-=T.value.length,m=ze,T.value instanceof u)continue;for(var Ke=T;Ke!==g.tail&&(zeS.reach&&(S.reach=E);var k=T.prev;I&&(k=h(g,k,I),m+=I.length),f(g,k,Y);var U=new u(F,B?a.tokenize(xt,B):xt,Ae,xt);if(T=h(g,k,U),x&&h(g,T,x),Y>1){var Z={cause:F+","+P,reach:E};c(p,g,y,T.prev,m,Z),S&&Z.reach>S.reach&&(S.reach=Z.reach)}}}}}}function d(){var p={value:null,prev:null,next:null},g={value:null,prev:p,next:null};p.next=g,this.head=p,this.tail=g,this.length=0}function h(p,g,y){var w=g.next,_={value:y,prev:g,next:w};return g.next=_,w.prev=_,p.length++,_}function f(p,g,y){for(var w=g.next,_=0;_/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(i,o){var s={};s["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:r.languages[o]},s.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:s}};a["language-"+o]={pattern:/[\s\S]+/,inside:r.languages[o]};var u={};u[i]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:a},r.languages.insertBefore("markup","cdata",u)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(n,i){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:r.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(n){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+i.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var o=n.languages.markup;o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(typeof r>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n="Loading…",i=function(C,D){return"✖ Error "+C+" while fetching file: "+D},o="✖ Error: File does not exist or is empty",s={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},a="data-src-status",u="loading",l="loaded",c="failed",d="pre[data-src]:not(["+a+'="'+l+'"]):not(['+a+'="'+u+'"])';function h(C,D,b){var p=new XMLHttpRequest;p.open("GET",C,!0),p.onreadystatechange=function(){p.readyState==4&&(p.status<400&&p.responseText?D(p.responseText):p.status>=400?b(i(p.status,p.statusText)):b(o))},p.send(null)}function f(C){var D=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(C||"");if(D){var b=Number(D[1]),p=D[2],g=D[3];return p?g?[b,Number(g)]:[b,void 0]:[b,b]}}r.hooks.add("before-highlightall",function(C){C.selector+=", "+d}),r.hooks.add("before-sanity-check",function(C){var D=C.element;if(D.matches(d)){C.code="",D.setAttribute(a,u);var b=D.appendChild(document.createElement("CODE"));b.textContent=n;var p=D.getAttribute("data-src"),g=C.language;if(g==="none"){var y=(/\.(\w+)$/.exec(p)||[,"none"])[1];g=s[y]||y}r.util.setLanguage(b,g),r.util.setLanguage(D,g);var w=r.plugins.autoloader;w&&w.loadLanguages(g),h(p,function(_){D.setAttribute(a,l);var S=f(D.getAttribute("data-range"));if(S){var F=_.split(/\r\n?|\n/g),M=S[0],P=S[1]==null?F.length:S[1];M<0&&(M+=F.length),M=Math.max(0,Math.min(M-1,F.length)),P<0&&(P+=F.length),P=Math.max(0,Math.min(P,F.length)),_=F.slice(M,P).join(` -`),D.hasAttribute("data-start")||D.setAttribute("data-start",String(M+1))}b.textContent=_,r.highlightElement(b)},function(_){D.setAttribute(a,c),b.textContent=_})}}),r.plugins.fileHighlight={highlight:function(D){for(var b=(D||document).querySelectorAll(d),p=0,g;g=b[p++];)r.highlightElement(g)}};var v=!1;r.fileHighlight=function(){v||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),v=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(aP);(function(){if(typeof Prism>"u"||typeof document>"u")return;var e=[],t={},r=function(){};Prism.plugins.toolbar={};var n=Prism.plugins.toolbar.registerButton=function(s,a){var u;if(typeof a=="function"?u=a:u=function(l){var c;return typeof a.onClick=="function"?(c=document.createElement("button"),c.type="button",c.addEventListener("click",function(){a.onClick.call(this,l)})):typeof a.url=="string"?(c=document.createElement("a"),c.href=a.url):c=document.createElement("span"),a.className&&c.classList.add(a.className),c.textContent=a.text,c},s in t){console.warn('There is a button with the key "'+s+'" registered already.');return}e.push(t[s]=u)};function i(s){for(;s;){var a=s.getAttribute("data-toolbar-order");if(a!=null)return a=a.trim(),a.length?a.split(/\s*,\s*/g):[];s=s.parentElement}}var o=Prism.plugins.toolbar.hook=function(s){var a=s.element.parentNode;if(!(!a||!/pre/i.test(a.nodeName))&&!a.parentNode.classList.contains("code-toolbar")){var u=document.createElement("div");u.classList.add("code-toolbar"),a.parentNode.insertBefore(u,a),u.appendChild(a);var l=document.createElement("div");l.classList.add("toolbar");var c=e,d=i(s.element);d&&(c=d.map(function(h){return t[h]||r})),c.forEach(function(h){var f=h(s);if(f){var v=document.createElement("div");v.classList.add("toolbar-item"),v.appendChild(f),l.appendChild(v)}}),u.appendChild(l)}};n("label",function(s){var a=s.element.parentNode;if(!(!a||!/pre/i.test(a.nodeName))&&a.hasAttribute("data-label")){var u,l,c=a.getAttribute("data-label");try{l=document.querySelector("template#"+c)}catch{}return l?u=l.content:(a.hasAttribute("data-url")?(u=document.createElement("a"),u.href=a.getAttribute("data-url")):u=document.createElement("span"),u.textContent=c),u}}),Prism.hooks.add("complete",o)})();(function(){if(typeof Prism>"u"||typeof document>"u")return;if(!Prism.plugins.toolbar){console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.");return}function e(o,s){o.addEventListener("click",function(){r(s)})}function t(o){var s=document.createElement("textarea");s.value=o.getText(),s.style.top="0",s.style.left="0",s.style.position="fixed",document.body.appendChild(s),s.focus(),s.select();try{var a=document.execCommand("copy");setTimeout(function(){a?o.success():o.error()},1)}catch(u){setTimeout(function(){o.error(u)},1)}document.body.removeChild(s)}function r(o){navigator.clipboard?navigator.clipboard.writeText(o.getText()).then(o.success,function(){t(o)}):t(o)}function n(o){window.getSelection().selectAllChildren(o)}function i(o){var s={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3},a="data-prismjs-";for(var u in s){for(var l=a+u,c=o;c&&!c.hasAttribute(l);)c=c.parentElement;c&&(s[u]=c.getAttribute(l))}return s}Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(o){var s=o.element,a=i(s),u=document.createElement("button");u.className="copy-to-clipboard-button",u.setAttribute("type","button");var l=document.createElement("span");return u.appendChild(l),d("copy"),e(u,{getText:function(){return s.textContent},success:function(){d("copy-success"),c()},error:function(){d("copy-error"),setTimeout(function(){n(s)},1),c()}}),u;function c(){setTimeout(function(){d("copy")},a["copy-timeout"])}function d(h){l.textContent=a[h],u.setAttribute("data-copy-state",h)}})})();(function(){typeof Prism>"u"||(Prism.languages.angular=Prism.languages.extend("markup",{keyword:/(?:@if|@for|@switch|@defer|@loading|@error|@placeholder|prefetch)\b/,operator:/\b(?:on|when)\b/,number:{pattern:/\b(minimum|after)\s+\d+(?:s|ms|)/gi,lookbehind:!0},builtin:{pattern:/\b(?:viewport|timer|minimum|after|hover|idle|immediate|interaction)/},function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/}),Prism.languages.ng=Prism.languages.angular)})();function uP(){return[{provide:Eo,useClass:Sd}]}const lP={providers:[TF({eventCoalescing:!0}),qk(),Ax(Tx()),uI(),E0(D0(),uP())]};Qx(vl,lP);export{Ju as A,vP as C,hh as D,iI as M,yP as R,eo as a,uo as b,cT as c,fF as d,hP as e,pF as f,oP as g,mP as h,JN as i,vt as j,Fn as k,yt as l,kn as m,Ec as n,va as o,ma as p,eP as q,HT as r,VT as s,pP as t,lF as u,gP as v,Gn as w,ae as ɵ}; + */var r=function(n){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,s={},a={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function p(g){return g instanceof u?new u(g.type,p(g.content),g.alias):Array.isArray(g)?g.map(p):g.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(w){var p=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(w.stack)||[])[1];if(p){var g=document.getElementsByTagName("script");for(var y in g)if(g[y].src==p)return g[y]}return null}},isActive:function(p,g,y){for(var w="no-"+g;p;){var _=p.classList;if(_.contains(g))return!0;if(_.contains(w))return!1;p=p.parentElement}return!!y}},languages:{plain:s,plaintext:s,text:s,txt:s,extend:function(p,g){var y=a.util.clone(a.languages[p]);for(var w in g)y[w]=g[w];return y},insertBefore:function(p,g,y,w){w=w||a.languages;var _=w[p],S={};for(var F in _)if(_.hasOwnProperty(F)){if(F==g)for(var M in y)y.hasOwnProperty(M)&&(S[M]=y[M]);y.hasOwnProperty(F)||(S[F]=_[F])}var P=w[p];return w[p]=S,a.languages.DFS(a.languages,function(L,B){B===P&&L!=p&&(this[L]=S)}),S},DFS:function p(g,y,w,_){_=_||{};var S=a.util.objId;for(var F in g)if(g.hasOwnProperty(F)){y.call(g,F,g[F],w||F);var M=g[F],P=a.util.type(M);P==="Object"&&!_[S(M)]?(_[S(M)]=!0,p(M,y,null,_)):P==="Array"&&!_[S(M)]&&(_[S(M)]=!0,p(M,y,F,_))}}},plugins:{},highlightAll:function(p,g){a.highlightAllUnder(document,p,g)},highlightAllUnder:function(p,g,y){var w={callback:y,container:p,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",w),w.elements=Array.prototype.slice.apply(w.container.querySelectorAll(w.selector)),a.hooks.run("before-all-elements-highlight",w);for(var _=0,S;S=w.elements[_++];)a.highlightElement(S,g===!0,w.callback)},highlightElement:function(p,g,y){var w=a.util.getLanguage(p),_=a.languages[w];a.util.setLanguage(p,w);var S=p.parentElement;S&&S.nodeName.toLowerCase()==="pre"&&a.util.setLanguage(S,w);var F=p.textContent,M={element:p,language:w,grammar:_,code:F};function P(B){M.highlightedCode=B,a.hooks.run("before-insert",M),M.element.innerHTML=M.highlightedCode,a.hooks.run("after-highlight",M),a.hooks.run("complete",M),y&&y.call(M.element)}if(a.hooks.run("before-sanity-check",M),S=M.element.parentElement,S&&S.nodeName.toLowerCase()==="pre"&&!S.hasAttribute("tabindex")&&S.setAttribute("tabindex","0"),!M.code){a.hooks.run("complete",M),y&&y.call(M.element);return}if(a.hooks.run("before-highlight",M),!M.grammar){P(a.util.encode(M.code));return}if(g&&n.Worker){var L=new Worker(a.filename);L.onmessage=function(B){P(B.data)},L.postMessage(JSON.stringify({language:M.language,code:M.code,immediateClose:!0}))}else P(a.highlight(M.code,M.grammar,M.language))},highlight:function(p,g,y){var w={code:p,grammar:g,language:y};if(a.hooks.run("before-tokenize",w),!w.grammar)throw new Error('The language "'+w.language+'" has no grammar.');return w.tokens=a.tokenize(w.code,w.grammar),a.hooks.run("after-tokenize",w),u.stringify(a.util.encode(w.tokens),w.language)},tokenize:function(p,g){var y=g.rest;if(y){for(var w in y)g[w]=y[w];delete g.rest}var _=new d;return h(_,_.head,p),c(p,_,g,_.head,0),v(_)},hooks:{all:{},add:function(p,g){var y=a.hooks.all;y[p]=y[p]||[],y[p].push(g)},run:function(p,g){var y=a.hooks.all[p];if(!(!y||!y.length))for(var w=0,_;_=y[w++];)_(g)}},Token:u};n.Prism=a;function u(p,g,y,w){this.type=p,this.content=g,this.alias=y,this.length=(w||"").length|0}u.stringify=function p(g,y){if(typeof g=="string")return g;if(Array.isArray(g)){var w="";return g.forEach(function(P){w+=p(P,y)}),w}var _={type:g.type,content:p(g.content,y),tag:"span",classes:["token",g.type],attributes:{},language:y},S=g.alias;S&&(Array.isArray(S)?Array.prototype.push.apply(_.classes,S):_.classes.push(S)),a.hooks.run("wrap",_);var F="";for(var M in _.attributes)F+=" "+M+'="'+(_.attributes[M]||"").replace(/"/g,""")+'"';return"<"+_.tag+' class="'+_.classes.join(" ")+'"'+F+">"+_.content+""};function l(p,g,y,w){p.lastIndex=g;var _=p.exec(y);if(_&&w&&_[1]){var S=_[1].length;_.index+=S,_[0]=_[0].slice(S)}return _}function c(p,g,y,w,_,S){for(var F in y)if(!(!y.hasOwnProperty(F)||!y[F])){var M=y[F];M=Array.isArray(M)?M:[M];for(var P=0;P=S.reach);m+=T.value.length,T=T.next){var R=T.value;if(g.length>p.length)return;if(!(R instanceof u)){var Y=1,G;if(Pe){if(G=l(N,m,p,J),!G||G.index>=p.length)break;var Ge=G.index,ee=G.index+G[0].length,ze=m;for(ze+=T.value.length;Ge>=ze;)T=T.next,ze+=T.value.length;if(ze-=T.value.length,m=ze,T.value instanceof u)continue;for(var Ke=T;Ke!==g.tail&&(zeS.reach&&(S.reach=E);var k=T.prev;I&&(k=h(g,k,I),m+=I.length),f(g,k,Y);var U=new u(F,B?a.tokenize(xt,B):xt,Ae,xt);if(T=h(g,k,U),x&&h(g,T,x),Y>1){var W={cause:F+","+P,reach:E};c(p,g,y,T.prev,m,W),S&&W.reach>S.reach&&(S.reach=W.reach)}}}}}}function d(){var p={value:null,prev:null,next:null},g={value:null,prev:p,next:null};p.next=g,this.head=p,this.tail=g,this.length=0}function h(p,g,y){var w=g.next,_={value:y,prev:g,next:w};return g.next=_,w.prev=_,p.length++,_}function f(p,g,y){for(var w=g.next,_=0;_/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(i,o){var s={};s["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:r.languages[o]},s.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:s}};a["language-"+o]={pattern:/[\s\S]+/,inside:r.languages[o]};var u={};u[i]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:a},r.languages.insertBefore("markup","cdata",u)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(n,i){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:r.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(n){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+i.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var o=n.languages.markup;o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(typeof r>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n="Loading…",i=function(C,D){return"✖ Error "+C+" while fetching file: "+D},o="✖ Error: File does not exist or is empty",s={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},a="data-src-status",u="loading",l="loaded",c="failed",d="pre[data-src]:not(["+a+'="'+l+'"]):not(['+a+'="'+u+'"])';function h(C,D,b){var p=new XMLHttpRequest;p.open("GET",C,!0),p.onreadystatechange=function(){p.readyState==4&&(p.status<400&&p.responseText?D(p.responseText):p.status>=400?b(i(p.status,p.statusText)):b(o))},p.send(null)}function f(C){var D=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(C||"");if(D){var b=Number(D[1]),p=D[2],g=D[3];return p?g?[b,Number(g)]:[b,void 0]:[b,b]}}r.hooks.add("before-highlightall",function(C){C.selector+=", "+d}),r.hooks.add("before-sanity-check",function(C){var D=C.element;if(D.matches(d)){C.code="",D.setAttribute(a,u);var b=D.appendChild(document.createElement("CODE"));b.textContent=n;var p=D.getAttribute("data-src"),g=C.language;if(g==="none"){var y=(/\.(\w+)$/.exec(p)||[,"none"])[1];g=s[y]||y}r.util.setLanguage(b,g),r.util.setLanguage(D,g);var w=r.plugins.autoloader;w&&w.loadLanguages(g),h(p,function(_){D.setAttribute(a,l);var S=f(D.getAttribute("data-range"));if(S){var F=_.split(/\r\n?|\n/g),M=S[0],P=S[1]==null?F.length:S[1];M<0&&(M+=F.length),M=Math.max(0,Math.min(M-1,F.length)),P<0&&(P+=F.length),P=Math.max(0,Math.min(P,F.length)),_=F.slice(M,P).join(` +`),D.hasAttribute("data-start")||D.setAttribute("data-start",String(M+1))}b.textContent=_,r.highlightElement(b)},function(_){D.setAttribute(a,c),b.textContent=_})}}),r.plugins.fileHighlight={highlight:function(D){for(var b=(D||document).querySelectorAll(d),p=0,g;g=b[p++];)r.highlightElement(g)}};var v=!1;r.fileHighlight=function(){v||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),v=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(uP);(function(){if(typeof Prism>"u"||typeof document>"u")return;var e=[],t={},r=function(){};Prism.plugins.toolbar={};var n=Prism.plugins.toolbar.registerButton=function(s,a){var u;if(typeof a=="function"?u=a:u=function(l){var c;return typeof a.onClick=="function"?(c=document.createElement("button"),c.type="button",c.addEventListener("click",function(){a.onClick.call(this,l)})):typeof a.url=="string"?(c=document.createElement("a"),c.href=a.url):c=document.createElement("span"),a.className&&c.classList.add(a.className),c.textContent=a.text,c},s in t){console.warn('There is a button with the key "'+s+'" registered already.');return}e.push(t[s]=u)};function i(s){for(;s;){var a=s.getAttribute("data-toolbar-order");if(a!=null)return a=a.trim(),a.length?a.split(/\s*,\s*/g):[];s=s.parentElement}}var o=Prism.plugins.toolbar.hook=function(s){var a=s.element.parentNode;if(!(!a||!/pre/i.test(a.nodeName))&&!a.parentNode.classList.contains("code-toolbar")){var u=document.createElement("div");u.classList.add("code-toolbar"),a.parentNode.insertBefore(u,a),u.appendChild(a);var l=document.createElement("div");l.classList.add("toolbar");var c=e,d=i(s.element);d&&(c=d.map(function(h){return t[h]||r})),c.forEach(function(h){var f=h(s);if(f){var v=document.createElement("div");v.classList.add("toolbar-item"),v.appendChild(f),l.appendChild(v)}}),u.appendChild(l)}};n("label",function(s){var a=s.element.parentNode;if(!(!a||!/pre/i.test(a.nodeName))&&a.hasAttribute("data-label")){var u,l,c=a.getAttribute("data-label");try{l=document.querySelector("template#"+c)}catch{}return l?u=l.content:(a.hasAttribute("data-url")?(u=document.createElement("a"),u.href=a.getAttribute("data-url")):u=document.createElement("span"),u.textContent=c),u}}),Prism.hooks.add("complete",o)})();(function(){if(typeof Prism>"u"||typeof document>"u")return;if(!Prism.plugins.toolbar){console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.");return}function e(o,s){o.addEventListener("click",function(){r(s)})}function t(o){var s=document.createElement("textarea");s.value=o.getText(),s.style.top="0",s.style.left="0",s.style.position="fixed",document.body.appendChild(s),s.focus(),s.select();try{var a=document.execCommand("copy");setTimeout(function(){a?o.success():o.error()},1)}catch(u){setTimeout(function(){o.error(u)},1)}document.body.removeChild(s)}function r(o){navigator.clipboard?navigator.clipboard.writeText(o.getText()).then(o.success,function(){t(o)}):t(o)}function n(o){window.getSelection().selectAllChildren(o)}function i(o){var s={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3},a="data-prismjs-";for(var u in s){for(var l=a+u,c=o;c&&!c.hasAttribute(l);)c=c.parentElement;c&&(s[u]=c.getAttribute(l))}return s}Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(o){var s=o.element,a=i(s),u=document.createElement("button");u.className="copy-to-clipboard-button",u.setAttribute("type","button");var l=document.createElement("span");return u.appendChild(l),d("copy"),e(u,{getText:function(){return s.textContent},success:function(){d("copy-success"),c()},error:function(){d("copy-error"),setTimeout(function(){n(s)},1),c()}}),u;function c(){setTimeout(function(){d("copy")},a["copy-timeout"])}function d(h){l.textContent=a[h],u.setAttribute("data-copy-state",h)}})})();(function(){typeof Prism>"u"||(Prism.languages.angular=Prism.languages.extend("markup",{keyword:/(?:@if|@for|@switch|@defer|@loading|@error|@placeholder|prefetch)\b/,operator:/\b(?:on|when)\b/,number:{pattern:/\b(minimum|after)\s+\d+(?:s|ms|)/gi,lookbehind:!0},builtin:{pattern:/\b(?:viewport|timer|minimum|after|hover|idle|immediate|interaction)/},function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/}),Prism.languages.ng=Prism.languages.angular)})();function lP(){return[{provide:Eo,useClass:Sd}]}const cP={providers:[TF({eventCoalescing:!0}),qk(),Ax(Tx()),uI(),E0(D0(),lP())]};Qx(vl,cP);export{Ju as A,yP as C,hh as D,iI as M,DP as R,eo as a,uo as b,cT as c,fF as d,pP as e,pF as f,sP as g,vP as h,eP as i,vt as j,Fn as k,yt as l,kn as m,Ec as n,va as o,ma as p,tP as q,HT as r,VT as s,gP as t,lF as u,mP as v,Gn as w,ae as ɵ}; diff --git a/assets/index.page-Cml7_63h.js b/assets/index.page-C3E9gRUf.js similarity index 96% rename from assets/index.page-Cml7_63h.js rename to assets/index.page-C3E9gRUf.js index 29b2bb5a..4eb2ca7d 100644 --- a/assets/index.page-Cml7_63h.js +++ b/assets/index.page-C3E9gRUf.js @@ -1 +1 @@ -import{q as u,a as c,b as x,j as r,k as o,l as s,r as m,n as i,s as _,R as b,C as f,D as g,d as h,p as w,t as v,o as C,u as p,v as y}from"./index-BnyMtTip.js";const D=(a,e)=>e.attributes.slug,I=a=>["/news/",a];function N(a,e){if(a&1&&(r(0,"a",3)(1,"div",4)(2,"div",5)(3,"h2",6),o(4),s(),r(5,"p",7),o(6),h(7,"date"),s()(),r(8,"div",8)(9,"p",9),o(10),s()()()()),a&2){const t=e.$implicit;w("routerLink",v(7,I,t.attributes.slug)),i(4),C("",t.attributes.title," "),i(2),p(y(7,4,t.attributes.date,"longDate")),i(4),p(t.attributes.description)}}const M={meta:[{property:"og:title",content:"Race Element - News"},{property:"twitter:title",content:"Race Element - News"}]},n=class n{constructor(){this.posts=u(e=>e.attributes.type==="news")}ngOnInit(){this.posts.sort((e,t)=>e.attributes.date===void 0||t.attributes.date===void 0?e.attributes.date!==void 0?-1:t.attributes.titlee.attributes.title?-1:0:e.attributes.datee.attributes.slug,I=a=>["/news/",a];function N(a,e){if(a&1&&(r(0,"a",3)(1,"div",4)(2,"div",5)(3,"h2",6),o(4),s(),r(5,"p",7),o(6),h(7,"date"),s()(),r(8,"div",8)(9,"p",9),o(10),s()()()()),a&2){const t=e.$implicit;w("routerLink",v(7,I,t.attributes.slug)),i(4),C("",t.attributes.title," "),i(2),p(y(7,4,t.attributes.date,"longDate")),i(4),p(t.attributes.description)}}const M={meta:[{property:"og:title",content:"Race Element - News"},{property:"twitter:title",content:"Race Element - News"}]},n=class n{constructor(){this.posts=u(e=>e.attributes.type==="news")}ngOnInit(){this.posts.sort((e,t)=>e.attributes.date===void 0||t.attributes.date===void 0?e.attributes.date!==void 0?-1:t.attributes.titlee.attributes.title?-1:0:e.attributes.datee.attributes.slug,y=n=>["/guide/",n];function w(n,e){if(n&1&&(a(0,"a",3)(1,"div",4)(2,"div",5)(3,"h2",6),o(4),s()(),a(5,"div",7)(6,"p",8),o(7),s()()()()),n&2){const t=e.$implicit;g("routerLink",f(3,y,t.attributes.slug)),i(4),h("",t.attributes.title," "),i(3),v(t.attributes.description)}}const F={meta:[{property:"og:title",content:"Race Element - Guides"},{property:"twitter:title",content:"Race Element - Guides"}]},r=class r{constructor(){this.posts=p(e=>e.attributes.type==="guide")}ngOnInit(){this.posts.sort((e,t)=>t.attributes.titlee.attributes.title?-1:0)}};r.ɵfac=function(t){return new(t||r)},r.ɵcmp=u({type:r,selectors:[["app-guides"]],standalone:!0,features:[c],decls:6,vars:0,consts:[[1,"mx-auto","rounded-lg","shadow-lg","select-none","container","max-w-4xl","px-3"],[1,"font-['Conthrax']","text-4xl","mb-2","md:mb-1","text-center"],[1,"container","mx-auto","flex-wrap"],[3,"routerLink"],[1,"container","bg-[rgba(0,0,0,0.7)]","mb-3","hover:bg-[#191919]","hover:border-[transparent]","hover:border-l-2","rounded-br-lg","rounded-tl-xl","max-w-4xl","mx-auto","text-pretty"],[1,"container","text-gray-300","bg-[#030303]","rounded-tl-xl","pl-2","pr-2","pt-1","pb-1","border-l-2","border-[red]"],[1,"font-['Conthrax']","text-xl","md:text-2xl","pl-1","text-white"],[1,"container","ml-3","pr-[1em]","pb-1","text-pretty"],[1,"text-sm","md:text-base","ml-1","mr-1","text-[rgba(255,255,255,0.78)]"]],template:function(t,d){t&1&&(a(0,"div",0)(1,"h1",1),o(2,"Guides"),s(),a(3,"div",2),m(4,w,8,5,"a",3,C),s()()),t&2&&(i(4),x(d.posts))},dependencies:[_,b]});let l=r;export{l as default,F as routeMeta}; +import{q as p,a as u,b as c,j as a,k as o,l as s,r as m,n as i,s as x,R as _,C as b,p as g,t as f,o as h,u as v}from"./index-DNsYUyOM.js";const C=(n,e)=>e.attributes.slug,y=n=>["/guide/",n];function w(n,e){if(n&1&&(a(0,"a",3)(1,"div",4)(2,"div",5)(3,"h2",6),o(4),s()(),a(5,"div",7)(6,"p",8),o(7),s()()()()),n&2){const t=e.$implicit;g("routerLink",f(3,y,t.attributes.slug)),i(4),h("",t.attributes.title," "),i(3),v(t.attributes.description)}}const F={meta:[{property:"og:title",content:"Race Element - Guides"},{property:"twitter:title",content:"Race Element - Guides"}]},r=class r{constructor(){this.posts=p(e=>e.attributes.type==="guide")}ngOnInit(){this.posts.sort((e,t)=>t.attributes.titlee.attributes.title?-1:0)}};r.ɵfac=function(t){return new(t||r)},r.ɵcmp=u({type:r,selectors:[["app-guides"]],standalone:!0,features:[c],decls:6,vars:0,consts:[[1,"mx-auto","rounded-lg","shadow-lg","select-none","container","max-w-4xl","px-3"],[1,"font-['Conthrax']","text-4xl","mb-2","md:mb-1","text-center"],[1,"container","mx-auto","flex-wrap"],[3,"routerLink"],[1,"container","bg-[rgba(0,0,0,0.7)]","mb-3","hover:bg-[#191919]","hover:border-[transparent]","hover:border-l-2","rounded-br-lg","rounded-tl-xl","max-w-4xl","mx-auto","text-pretty"],[1,"container","text-gray-300","bg-[#030303]","rounded-tl-xl","pl-2","pr-2","pt-1","pb-1","border-l-2","border-[red]"],[1,"font-['Conthrax']","text-xl","md:text-2xl","pl-1","text-white"],[1,"container","ml-3","pr-[1em]","pb-1","text-pretty"],[1,"text-sm","md:text-base","ml-1","mr-1","text-[rgba(255,255,255,0.78)]"]],template:function(t,d){t&1&&(a(0,"div",0)(1,"h1",1),o(2,"Guides"),s(),a(3,"div",2),m(4,w,8,5,"a",3,C),s()()),t&2&&(i(4),x(d.posts))},dependencies:[_,b]});let l=r;export{l as default,F as routeMeta}; diff --git a/assets/index.page-qvYn__Pm.js b/assets/index.page-vNyYtbSi.js similarity index 92% rename from assets/index.page-qvYn__Pm.js rename to assets/index.page-vNyYtbSi.js index 82d2e5e8..10ae909c 100644 --- a/assets/index.page-qvYn__Pm.js +++ b/assets/index.page-vNyYtbSi.js @@ -1 +1 @@ -import{ɵ as a,w as i,a as o,b as c,j as r,k as u,l}from"./index-BnyMtTip.js";const f={meta:[{property:"og:title",content:"Race Element - SetupLink"},{property:"twitter:title",content:"Race Element - SetupLink"}]},t=class t{constructor(n){this.route=n,this.setupLink=""}ngOnInit(){this.route.queryParams.subscribe(n=>{let e=n.link;e!==void 0&&(this.setupLink=e,console.log(this.setupLink),window.location.assign("RaceElement://setup="+this.setupLink))})}};t.ɵfac=function(e){return new(e||t)(a(i))},t.ɵcmp=o({type:t,selectors:[["ng-component"]],standalone:!0,features:[c],decls:3,vars:0,consts:[[1,"container","mx-auto","text-center","select-none"]],template:function(e,p){e&1&&(r(0,"div",0)(1,"h2"),u(2,"Trying to Open Race Element's Setup Importer"),l()())},encapsulation:2});let s=t;export{s as default,f as routeMeta}; +import{ɵ as a,w as i,a as o,b as c,j as r,k as u,l}from"./index-DNsYUyOM.js";const f={meta:[{property:"og:title",content:"Race Element - SetupLink"},{property:"twitter:title",content:"Race Element - SetupLink"}]},t=class t{constructor(n){this.route=n,this.setupLink=""}ngOnInit(){this.route.queryParams.subscribe(n=>{let e=n.link;e!==void 0&&(this.setupLink=e,console.log(this.setupLink),window.location.assign("RaceElement://setup="+this.setupLink))})}};t.ɵfac=function(e){return new(e||t)(a(i))},t.ɵcmp=o({type:t,selectors:[["ng-component"]],standalone:!0,features:[c],decls:3,vars:0,consts:[[1,"container","mx-auto","text-center","select-none"]],template:function(e,p){e&1&&(r(0,"div",0)(1,"h2"),u(2,"Trying to Open Race Element's Setup Importer"),l()())},encapsulation:2});let s=t;export{s as default,f as routeMeta}; diff --git a/guide/features/index.html b/guide/features/index.html index 7f9e806c..2f688b0d 100644 --- a/guide/features/index.html +++ b/guide/features/index.html @@ -21,7 +21,7 @@ - + @@ -79,7 +79,7 @@

Hardware

  • Automatic steering lock for certain wheelbases( sets max steering lock based on chosen car).
  • Adaptive trigger FFB for PS5 controller in combination with DSX.
  • -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/guide/how-to-get-started/index.html b/guide/how-to-get-started/index.html index f806fa2d..70f76cce 100644 --- a/guide/how-to-get-started/index.html +++ b/guide/how-to-get-started/index.html @@ -21,7 +21,7 @@ - + @@ -34,7 +34,7 @@

    Guides

    The app includes an about tab which contains a guide section, read this carefully since it includes instructions on how to use for example the HUDs.

    There are multiple guides posted on this web page which you can find here.

    -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/guide/how-to-use-huds/index.html b/guide/how-to-use-huds/index.html index dd6ff616..f9ede835 100644 --- a/guide/how-to-use-huds/index.html +++ b/guide/how-to-use-huds/index.html @@ -21,7 +21,7 @@ - + @@ -56,7 +56,7 @@

    Customization

    Aside from these default options there are HUD specific options like changes in shape, color or information.

    Adjusting a HUD

    -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/guide/how-to-use-liveries/index.html b/guide/how-to-use-liveries/index.html index f757da8a..c5172cc6 100644 --- a/guide/how-to-use-liveries/index.html +++ b/guide/how-to-use-liveries/index.html @@ -21,7 +21,7 @@ - + @@ -45,7 +45,7 @@

    Tagging Liveries

    Generating DDS(DirectDraw Surface) files

    The Liveries tool allows you to generate the DDS files which the game uses in the showroom and in the races. There is a button to generate them in bulk or when the selected skin contains for example a sponsors.png, but no sponsors_1.dds, a button will appear in the display panel to generate the files. This might take a while and takes use of your GPU.

    -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/guide/how-to-use-setups/index.html b/guide/how-to-use-setups/index.html index f29ef762..4ad3449c 100644 --- a/guide/how-to-use-setups/index.html +++ b/guide/how-to-use-setups/index.html @@ -21,7 +21,7 @@ - + @@ -63,7 +63,7 @@
  • Copy as SetupLink: Creates a SetupLink and copies that to the clipboard.
  • Copy As SetupLink for Discord: Does the same as a normal SetupLink but packages it in Markdown so it's nice and readable for discord sharing.
  • -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/guide/huds-and-streaming/index.html b/guide/huds-and-streaming/index.html index 1fa9edb6..493f36d4 100644 --- a/guide/huds-and-streaming/index.html +++ b/guide/huds-and-streaming/index.html @@ -21,7 +21,7 @@ - + @@ -37,7 +37,7 @@

    Recording a Single HUD

  • Stream Software: Set Window match priority to Window title must match
  • (optional) Race Element: If you don't want to see the hud and only use it for your stream, disable the always on top option for that HUD.
  • -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/guide/index.html b/guide/index.html index b9b319bb..fffa7d53 100644 --- a/guide/index.html +++ b/guide/index.html @@ -21,11 +21,11 @@ - + - + diff --git a/guide/multi-sim/index.html b/guide/multi-sim/index.html index f7b63e29..37485ba8 100644 --- a/guide/multi-sim/index.html +++ b/guide/multi-sim/index.html @@ -21,7 +21,7 @@ - + @@ -46,7 +46,7 @@

    Automobilista 2

  • Go to System Options
  • Enable Telemetry
  • -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/guide/setup-hider/index.html b/guide/setup-hider/index.html index e6658e57..9faf722a 100644 --- a/guide/setup-hider/index.html +++ b/guide/setup-hider/index.html @@ -21,7 +21,7 @@ - + @@ -46,7 +46,7 @@

    StreamLabs

  • Race Element: Set the Software to StreamLabs.
  • Race Element: Click Save and then at the bottom Enable the SetupHider.
  • -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/guide/sponsor/index.html b/guide/sponsor/index.html index 5e80eee9..d5259b38 100644 --- a/guide/sponsor/index.html +++ b/guide/sponsor/index.html @@ -21,7 +21,7 @@ - + @@ -38,7 +38,7 @@

    Income and Education

    This collaborative environment can lead to educational opportunities, where users can learn from the development process or even contribute back to the project, enhancing their skills in software development or racing simulation.

    Open-Source

    By supporting Race Element, sponsors are investing in the longevity and health of the open-source ecosystem. Open-source projects like Race Element rely on community support to thrive, and sponsorship helps ensure that such projects can continue to evolve without becoming commercialized or abandoned. This support can set a precedent for other open-source initiatives, encouraging more developers to create and maintain free, high-quality software. Additionally, for companies or individuals who benefit from the software, sponsorship is a way to give back to the community, ensuring that the tools they depend on continue to receive the necessary attention and resources. This not only aids in maintaining the software but also drives innovation in the racing simulation sector, potentially leading to breakthroughs that could benefit the wider community.

    -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/guide/start-the-app-minimized/index.html b/guide/start-the-app-minimized/index.html index 152f860c..2b08e98a 100644 --- a/guide/start-the-app-minimized/index.html +++ b/guide/start-the-app-minimized/index.html @@ -21,7 +21,7 @@ - + @@ -30,7 +30,7 @@

    Starting the app and ACC using one batch file.

    You could make a batch file that for example starts race element in minimized mode and launches Assetto Corsa Competizione through steam.

    START "Race Element" "PATH_TO_FOLDER_OF_RACE_ELEMENT\RaceElement.exe" /StartMinimized
    -START steam://rungameid/805550

    © 2022 - 2024 Reinier Klarenberg

    +START steam://rungameid/805550

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/guide/twitch-chat-bot-commands/index.html b/guide/twitch-chat-bot-commands/index.html index 2a93f2ee..eeb48ea2 100644 --- a/guide/twitch-chat-bot-commands/index.html +++ b/guide/twitch-chat-bot-commands/index.html @@ -21,7 +21,7 @@ - + @@ -43,7 +43,7 @@

    Available Commands

  • +angle Steering angle(lock-to-lock) for the current car.
  • +fuel Calculates fuel, parameters are [minutes] [liters/lap] [laptime], use like +fuel 60 3 2:10.
  • -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/guide/video-guides/index.html b/guide/video-guides/index.html index 30440487..abf2c3d4 100644 --- a/guide/video-guides/index.html +++ b/guide/video-guides/index.html @@ -21,7 +21,7 @@ - + @@ -30,7 +30,7 @@

    Portuguese / Português

    RACE ELEMENT | ESSE APP VAI SER O SEU MELHOR AMIGO NO ACC! IMAGE ALT TEXT

    COMO utilizar o Race Elements | Assetto Corsa Competizione IMAGE ALT TEXT

    -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/index.html b/index.html index fd9d74ed..54d9eb0e 100644 --- a/index.html +++ b/index.html @@ -21,12 +21,12 @@ - + - + - \ No newline at end of file + \ No newline at end of file diff --git a/news/2022-04-25-official-posts/index.html b/news/2022-04-25-official-posts/index.html index 6cc845bb..6451ebbc 100644 --- a/news/2022-04-25-official-posts/index.html +++ b/news/2022-04-25-official-posts/index.html @@ -21,7 +21,7 @@ - + @@ -34,7 +34,7 @@
  • Steam Guide: https://steamcommunity.com/sharedfiles/filedetails/?id=2811480721
  • NexusMods: https://www.nexusmods.com/assettocorsacompetizione/mods/1
  • -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/news/2023-04-29-signpath/index.html b/news/2023-04-29-signpath/index.html index d14e3f0a..ccf23d56 100644 --- a/news/2023-04-29-signpath/index.html +++ b/news/2023-04-29-signpath/index.html @@ -21,7 +21,7 @@ - + @@ -37,7 +37,7 @@

    SignPath Foundation

    Free code signing provided by SignPath.io, certificate by SignPath Foundation

    -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/news/2023-10-19-dualsense-active-triggers/index.html b/news/2023-10-19-dualsense-active-triggers/index.html index 6137f87e..23ea24c5 100644 --- a/news/2023-10-19-dualsense-active-triggers/index.html +++ b/news/2023-10-19-dualsense-active-triggers/index.html @@ -21,7 +21,7 @@ - + @@ -30,7 +30,7 @@ This app allowed me to send commands to the Playstation 5 controller so the triggers would actually react to braking force, traction control and abs.

    The functionality to send these commands has been added to Race Element 0.2.4.0

    Check out the guide in the discord how to get started and bring the experience with a Dual Sense to another level: https://discord.com/channels/962649775478558811/1164558784119705630

    -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/news/2024-06-06-setup-links/index.html b/news/2024-06-06-setup-links/index.html index 9390b346..a3914e3e 100644 --- a/news/2024-06-06-setup-links/index.html +++ b/news/2024-06-06-setup-links/index.html @@ -21,7 +21,7 @@ - + @@ -32,7 +32,7 @@

    For discord such a link would look like this: SetupLink: s1 Bentley Continental GT3 2018 - nurburgring

    -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/news/2024-06-12-new-website-2024/index.html b/news/2024-06-12-new-website-2024/index.html index d61504f1..35a65a49 100644 --- a/news/2024-06-12-new-website-2024/index.html +++ b/news/2024-06-12-new-website-2024/index.html @@ -21,7 +21,7 @@ - + @@ -35,7 +35,7 @@

    Changes

    SetupLinks have been changed, instead of https://race.elementfuture.com?setup= the base has now become https://race.elementfuture.com/setup?link= The app will be updated to handle this change. Unfortunately you will have to do this change manually for SetupLinks that you have already created or have received. The actual data system has not changed so by just adjusting the first part of the link your SetupLink will open Race Element again.

    -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/news/Assetto-Corsa-EVO-Race-Element-Future/index.html b/news/Assetto-Corsa-EVO-Race-Element-Future/index.html new file mode 100644 index 00000000..462b096c --- /dev/null +++ b/news/Assetto-Corsa-EVO-Race-Element-Future/index.html @@ -0,0 +1,38 @@ + + + Race Element + + + + + + + + + + + + + + + + + + + + +
    Race Element

    Solutions for Simulators

    News > Assetto Corsa EVO and Race Element

    January 15, 2025

    Assetto Corsa EVO

    +

    As soon as there is a 3rd party API available, we will immediately act and try to support this as soon as possible so you can use your minimalistic and highly customizable HUDs with your new favorite Racing Simulator!

    +

    Race Element already supports 7 driving simulators!

    +

    Over the past months contributors on github have been working hard on making it possible to write code only once for multiple simulators. This has translated over to for example the DSX support which now provides active triggers for both Assetto Corsa and RaceRoom using the DualSense controller. Race Element is ready to provide a good basic HUD integration system that is ready for the new Assetto Corsa EVO!

    +

    Low Performance Impact

    +

    The Custom Rendering Pipeline of Race Element allows it to be highly customizable whilst certainly effecient considering the HUDs refresh up to 240 Hz! This will translate over to Assetto Corsa EVO as it will support Ray Tracing and multiple other advances over the older series. The less random loads on your Graphics Card the better, Race Element prevents this by not using the graphics card for rendering.

    +

    © 2022 - 2025 Reinier Klarenberg

    + + + + \ No newline at end of file diff --git a/news/highspeed-rendering/index.html b/news/highspeed-rendering/index.html index 5d4b0bed..1d74ecb5 100644 --- a/news/highspeed-rendering/index.html +++ b/news/highspeed-rendering/index.html @@ -21,7 +21,7 @@ - + @@ -34,7 +34,7 @@

    Efficiency and Feedback

    What is next?

    After experiencing the shift from 60 Hz to 200 hz it is only a matter of time for other HUDs to gain quicker refresh rates. The new Shift Bar HUD serves as an example that Race Element's renderer is not only quick but that it's capable of doing so with minimal cpu usage.

    -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/news/index.html b/news/index.html index fd9d74ed..54d9eb0e 100644 --- a/news/index.html +++ b/news/index.html @@ -21,12 +21,12 @@ - + - + - \ No newline at end of file + \ No newline at end of file diff --git a/news/nexus-mods-listing/index.html b/news/nexus-mods-listing/index.html index 134c5509..26e10ddf 100644 --- a/news/nexus-mods-listing/index.html +++ b/news/nexus-mods-listing/index.html @@ -21,7 +21,7 @@ - + @@ -29,7 +29,7 @@

    NexusMods is a website that hosts and serves mods for various games, it has over 50 million registered users as of June 2024. It launched back in 2007 but has it roots back to 2001 as a Morrowind fansite. Race Element is the first Assetto Corsa Competizione Mod at NexusMods!

    Visit Race Element at NexusMods

    https://www.nexusmods.com/assettocorsacompetizione/mods/1

    -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/news/overdriving-the-car-simracing-arnout/index.html b/news/overdriving-the-car-simracing-arnout/index.html index 855aae6d..33dfa09f 100644 --- a/news/overdriving-the-car-simracing-arnout/index.html +++ b/news/overdriving-the-car-simracing-arnout/index.html @@ -21,7 +21,7 @@ - + @@ -36,7 +36,7 @@

    Who is Arnout?

    -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/news/race-element-2-released/index.html b/news/race-element-2-released/index.html index 3f50207d..6adaecf2 100644 --- a/news/race-element-2-released/index.html +++ b/news/race-element-2-released/index.html @@ -21,7 +21,7 @@ - + @@ -33,7 +33,7 @@

    Dynamic HUD Tab

    What's to come?

    There is more common data to be mapped for the existing simulators to provide a better experience for HUDs like standings and relatives. Additionally other simulators like rFactor 2 and perhaps automobilista will be added.

    -

    © 2022 - 2024 Reinier Klarenberg

    +

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/setup/index.html b/setup/index.html index 004bc17e..0b1e2cfc 100644 --- a/setup/index.html +++ b/setup/index.html @@ -21,11 +21,11 @@ - + -
    Race Element

    Solutions for Simulators

    Trying to Open Race Element's Setup Importer

    © 2022 - 2024 Reinier Klarenberg

    +
    Race Element

    Solutions for Simulators

    Trying to Open Race Element's Setup Importer

    © 2022 - 2025 Reinier Klarenberg

    diff --git a/sitemap.xml b/sitemap.xml index 650fed4d..be3a6d33 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -3,102 +3,106 @@ https://race.elementfuture.com/ - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/setup - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/news - 2024-12-25 + 2025-01-15 + + + https://race.elementfuture.com/news/Assetto-Corsa-EVO-Race-Element-Future + 2025-01-15 https://race.elementfuture.com/news/2023-10-19-dualsense-active-triggers - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/news/highspeed-rendering - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/news/2024-06-12-new-website-2024 - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/news/nexus-mods-listing - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/news/2022-04-25-official-posts - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/news/2024-06-06-setup-links - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/news/2023-04-29-signpath - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/news/overdriving-the-car-simracing-arnout - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/news/race-element-2-released - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/guide - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/guide/features - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/guide/how-to-get-started - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/guide/huds-and-streaming - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/guide/multi-sim - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/guide/setup-hider - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/guide/start-the-app-minimized - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/guide/how-to-use-huds - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/guide/how-to-use-liveries - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/guide/how-to-use-setups - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/guide/video-guides - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/guide/sponsor - 2024-12-25 + 2025-01-15 https://race.elementfuture.com/guide/twitch-chat-bot-commands - 2024-12-25 + 2025-01-15 \ No newline at end of file