From 770e1976cb340fb345c986774f5f5b0ab6584a5e Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 2 Jul 2024 04:37:52 +0000 Subject: [PATCH] Auto-generated commit Triggered by commit: https://github.com/chrispyles/amaze/commit/def32c9f2a41996cd417d7b68f845c0a9670b4f7 --- 404.html | 4 ++-- index.html | 4 ++-- main-FGHNIQQW.js => main-N3DV3GMJ.js | 11 ++++++----- styles-N6APHOZ6.css | 1 - styles-O6Q26DEB.css | 1 + 5 files changed, 11 insertions(+), 10 deletions(-) rename main-FGHNIQQW.js => main-N3DV3GMJ.js (54%) delete mode 100644 styles-N6APHOZ6.css create mode 100644 styles-O6Q26DEB.css diff --git a/404.html b/404.html index 1d62bf5..52bafb9 100644 --- a/404.html +++ b/404.html @@ -6,8 +6,8 @@ - + - + diff --git a/index.html b/index.html index 1d62bf5..52bafb9 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ - + - + diff --git a/main-FGHNIQQW.js b/main-N3DV3GMJ.js similarity index 54% rename from main-FGHNIQQW.js rename to main-N3DV3GMJ.js index f2f569d..dc906f6 100644 --- a/main-FGHNIQQW.js +++ b/main-N3DV3GMJ.js @@ -1,7 +1,8 @@ -var Bc=Object.create;var Kn=Object.defineProperty,Hc=Object.defineProperties,$c=Object.getOwnPropertyDescriptor,Uc=Object.getOwnPropertyDescriptors,zc=Object.getOwnPropertyNames,Oi=Object.getOwnPropertySymbols,Gc=Object.getPrototypeOf,ki=Object.prototype.hasOwnProperty,Wc=Object.prototype.propertyIsEnumerable;var Ri=(e,t,n)=>t in e?Kn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,W=(e,t)=>{for(var n in t||={})ki.call(t,n)&&Ri(e,n,t[n]);if(Oi)for(var n of Oi(t))Wc.call(t,n)&&Ri(e,n,t[n]);return e},K=(e,t)=>Hc(e,Uc(t));var qc=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Zc=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of zc(t))!ki.call(e,o)&&o!==n&&Kn(e,o,{get:()=>t[o],enumerable:!(r=$c(t,o))||r.enumerable});return e};var Pi=(e,t,n)=>(n=e!=null?Bc(Gc(e)):{},Zc(t||!e||!e.__esModule?Kn(n,"default",{value:e,enumerable:!0}):n,e));var Ni=qc(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});function Rg(e,t,n){var r=n.get;if(!r)throw new TypeError("Getter property descriptor expected");n.get=function(){var o=r.call(this);return Object.defineProperty(this,t,{configurable:n.configurable,enumerable:n.enumerable,writable:!1,value:o}),o}}xi.cache=Rg});function Fi(e,t){return Object.is(e,t)}var O=null,qt=!1,Zt=1,ge=Symbol("SIGNAL");function y(e){let t=O;return O=e,t}function Li(){return O}var wt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Qt(e){if(qt)throw new Error("");if(O===null)return;O.consumerOnSignalRead(e);let t=O.nextProducerIndex++;if(Xt(O),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function tr(e){Xt(e);for(let t=0;t0}function Xt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function $i(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ui(e){return e.producerNode!==void 0}function zi(e){let t=Object.create(Kc);t.computation=e;let n=()=>{if(ji(t),Qt(t),t.value===Yt)throw t.error;return t.value};return n[ge]=t,n}var Jn=Symbol("UNSET"),Xn=Symbol("COMPUTING"),Yt=Symbol("ERRORED"),Kc=K(W({},wt),{value:Jn,dirty:!0,error:null,equal:Fi,producerMustRecompute(e){return e.value===Jn||e.value===Xn},producerRecomputeValue(e){if(e.value===Xn)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Xn;let n=Kt(e),r;try{r=e.computation()}catch(o){r=Yt,e.error=o}finally{er(e,n)}if(t!==Jn&&t!==Yt&&r!==Yt&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Jc(){throw new Error}var Gi=Jc;function Wi(){Gi()}function qi(e){Gi=e}var Xc=null;function Zi(e){let t=Object.create(rr);t.value=e;let n=()=>(Qt(t),t.value);return n[ge]=t,n}function en(e,t){Bi()||Wi(),e.equal(e.value,t)||(e.value=t,el(e))}function Yi(e,t){Bi()||Wi(),en(e,t(e.value))}var rr=K(W({},wt),{equal:Fi,value:void 0});function el(e){e.version++,Yc(),Vi(e),Xc?.()}function H(e){return typeof e=="function"}function tn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var nn=tn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +var Bu=Object.create;var Xn=Object.defineProperty,Hu=Object.defineProperties,$u=Object.getOwnPropertyDescriptor,Uu=Object.getOwnPropertyDescriptors,zu=Object.getOwnPropertyNames,Oi=Object.getOwnPropertySymbols,Gu=Object.getPrototypeOf,ki=Object.prototype.hasOwnProperty,Wu=Object.prototype.propertyIsEnumerable;var Ri=(e,t,n)=>t in e?Xn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,W=(e,t)=>{for(var n in t||={})ki.call(t,n)&&Ri(e,n,t[n]);if(Oi)for(var n of Oi(t))Wu.call(t,n)&&Ri(e,n,t[n]);return e},K=(e,t)=>Hu(e,Uu(t));var qu=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Zu=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of zu(t))!ki.call(e,o)&&o!==n&&Xn(e,o,{get:()=>t[o],enumerable:!(r=$u(t,o))||r.enumerable});return e};var Pi=(e,t,n)=>(n=e!=null?Bu(Gu(e)):{},Zu(t||!e||!e.__esModule?Xn(n,"default",{value:e,enumerable:!0}):n,e));var Ni=qu(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});function Rg(e,t,n){var r=n.get;if(!r)throw new TypeError("Getter property descriptor expected");n.get=function(){var o=r.call(this);return Object.defineProperty(this,t,{configurable:n.configurable,enumerable:n.enumerable,writable:!1,value:o}),o}}xi.cache=Rg});function Fi(e,t){return Object.is(e,t)}var O=null,Kt=!1,Jt=1,ge=Symbol("SIGNAL");function y(e){let t=O;return O=e,t}function Li(){return O}var Et={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function en(e){if(Kt)throw new Error("");if(O===null)return;O.consumerOnSignalRead(e);let t=O.nextProducerIndex++;if(rn(O),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function rr(e){rn(e);for(let t=0;t0}function rn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function $i(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ui(e){return e.producerNode!==void 0}function zi(e){let t=Object.create(Ku);t.computation=e;let n=()=>{if(ji(t),en(t),t.value===Xt)throw t.error;return t.value};return n[ge]=t,n}var er=Symbol("UNSET"),tr=Symbol("COMPUTING"),Xt=Symbol("ERRORED"),Ku=K(W({},Et),{value:er,dirty:!0,error:null,equal:Fi,producerMustRecompute(e){return e.value===er||e.value===tr},producerRecomputeValue(e){if(e.value===tr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=tr;let n=tn(e),r;try{r=e.computation()}catch(o){r=Xt,e.error=o}finally{nr(e,n)}if(t!==er&&t!==Xt&&r!==Xt&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Ju(){throw new Error}var Gi=Ju;function Wi(){Gi()}function qi(e){Gi=e}var Xu=null;function Zi(e){let t=Object.create(ir);t.value=e;let n=()=>(en(t),t.value);return n[ge]=t,n}function on(e,t){Bi()||Wi(),e.equal(e.value,t)||(e.value=t,el(e))}function Yi(e,t){Bi()||Wi(),on(e,t(e.value))}var ir=K(W({},Et),{equal:Fi,value:void 0});function el(e){e.version++,Yu(),Vi(e),Xu?.()}function H(e){return typeof e=="function"}function sn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var an=sn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Et(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(H(r))try{r()}catch(i){t=i instanceof nn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Qi(i)}catch(s){t=t??[],s instanceof nn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new nn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Qi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Et(n,t)}remove(t){let{_finalizers:n}=this;n&&Et(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var or=j.EMPTY;function rn(e){return e instanceof j||e&&"closed"in e&&H(e.remove)&&H(e.add)&&H(e.unsubscribe)}function Qi(e){H(e)?e():e.unsubscribe()}var J={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Je={setTimeout(e,t,...n){let{delegate:r}=Je;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Je;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ki(e){Je.setTimeout(()=>{let{onUnhandledError:t}=J;if(t)t(e);else throw e})}function ir(){}var Ji=sr("C",void 0,void 0);function Xi(e){return sr("E",void 0,e)}function es(e){return sr("N",e,void 0)}function sr(e,t,n){return{kind:e,value:t,error:n}}var Ae=null;function Xe(e){if(J.useDeprecatedSynchronousErrorHandling){let t=!Ae;if(t&&(Ae={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ae;if(Ae=null,n)throw r}}else e()}function ts(e){J.useDeprecatedSynchronousErrorHandling&&Ae&&(Ae.errorThrown=!0,Ae.error=e)}var Oe=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,rn(t)&&t.add(this)):this.destination=rl}static create(t,n,r){return new et(t,n,r)}next(t){this.isStopped?ur(es(t),this):this._next(t)}error(t){this.isStopped?ur(Xi(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ur(Ji,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},tl=Function.prototype.bind;function ar(e,t){return tl.call(e,t)}var cr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){on(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){on(r)}else on(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){on(n)}}},et=class extends Oe{constructor(t,n,r){super();let o;if(H(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&J.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ar(t.next,i),error:t.error&&ar(t.error,i),complete:t.complete&&ar(t.complete,i)}):o=t}this.destination=new cr(o)}};function on(e){J.useDeprecatedSynchronousErrorHandling?ts(e):Ki(e)}function nl(e){throw e}function ur(e,t){let{onStoppedNotification:n}=J;n&&Je.setTimeout(()=>n(e,t))}var rl={closed:!0,next:ir,error:nl,complete:ir};var ns=typeof Symbol=="function"&&Symbol.observable||"@@observable";function rs(e){return e}function os(e){return e.length===0?rs:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var lr=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=il(n)?n:new et(n,r,o);return Xe(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=is(r),new r((o,i)=>{let s=new et({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ns](){return this}pipe(...n){return os(n)(this)}toPromise(n){return n=is(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function is(e){var t;return(t=e??J.Promise)!==null&&t!==void 0?t:Promise}function ol(e){return e&&H(e.next)&&H(e.error)&&H(e.complete)}function il(e){return e&&e instanceof Oe||ol(e)&&rn(e)}function sl(e){return H(e?.lift)}function ss(e){return t=>{if(sl(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function as(e,t,n,r,o){return new dr(e,t,n,r,o)}var dr=class extends Oe{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var us=tn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var be=(()=>{class e extends lr{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new sn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new us}next(n){Xe(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Xe(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Xe(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?or:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,Et(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new lr;return n.source=this,n}}return e.create=(t,n)=>new sn(t,n),e})(),sn=class extends be{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:or}};var It=class extends be{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function an(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function fr(e,t){return ss((n,r)=>{let o=0;n.subscribe(as(r,i=>{r.next(e.call(t,i,o++))}))})}var al="https://g.co/ng/security#xss",M=class extends Error{constructor(t,n){super(yo(t,n)),this.code=t}};function yo(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var qs=Symbol("InputSignalNode#UNSET"),ul=K(W({},rr),{transformFn:void 0,applyValueToInputSignal(e,t){en(e,t)}});function Zs(e,t){let n=Object.create(ul);n.value=e,n.transformFn=t?.transform;function r(){if(Qt(n),n.value===qs)throw new M(-950,!1);return n.value}return r[ge]=n,r}function cl(e){return{toString:e}.toString()}var Mr=globalThis;function T(e){for(let t in e)if(e[t]===T)return t;throw Error("Could not find renamed property on target object.")}function q(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(q).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function Sr(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var ll=T({__forward_ref__:T});function Ys(e){return e.__forward_ref__=Ys,e.toString=function(){return q(this())},e}function ee(e){return dl(e)?e():e}function dl(e){return typeof e=="function"&&e.hasOwnProperty(ll)&&e.__forward_ref__===Ys}function A(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Do(e){return cs(e,Qs)||cs(e,Ks)}function cs(e,t){return e.hasOwnProperty(t)?e[t]:null}function fl(e){let t=e&&(e[Qs]||e[Ks]);return t||null}function ls(e){return e&&(e.hasOwnProperty(ds)||e.hasOwnProperty(hl))?e[ds]:null}var Qs=T({\u0275prov:T}),ds=T({\u0275inj:T}),Ks=T({ngInjectableDef:T}),hl=T({ngInjectorDef:T}),S=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=A({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Js(e){return e&&!!e.\u0275providers}var pl=T({\u0275cmp:T}),gl=T({\u0275dir:T}),ml=T({\u0275pipe:T});var fs=T({\u0275fac:T}),Ct=T({__NG_ELEMENT_ID__:T}),hs=T({__NG_ENV_ID__:T});function wo(e){return typeof e=="string"?e:e==null?"":String(e)}function vl(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():wo(e)}function yl(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function Eo(e,t){throw new M(-201,!1)}var E=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}(E||{}),_r;function Xs(){return _r}function ie(e){let t=_r;return _r=e,t}function ea(e,t,n){let r=Do(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&E.Optional)return null;if(t!==void 0)return t;Eo(e,"Injector")}var Dl={},bt=Dl,wl="__NG_DI_FLAG__",pn="ngTempTokenPath",El="ngTokenPath",Il=/\n/gm,Cl="\u0275",ps="__source",it;function bl(){return it}function tt(e){let t=it;return it=e,t}function Ml(e,t=E.Default){if(it===void 0)throw new M(-203,!1);return it===null?ea(e,void 0,t):it.get(e,t&E.Optional?null:void 0,t)}function _(e,t=E.Default){return(Xs()||Ml)(ee(e),t)}function I(e,t=E.Default){return _(e,Tn(t))}function Tn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Tr(e){let t=[];for(let n=0;n{let e=new j;return e.closed=!0,e})();var sr=j.EMPTY;function cn(e){return e instanceof j||e&&"closed"in e&&H(e.remove)&&H(e.add)&&H(e.unsubscribe)}function Qi(e){H(e)?e():e.unsubscribe()}var J={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Je={setTimeout(e,t,...n){let{delegate:r}=Je;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Je;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ki(e){Je.setTimeout(()=>{let{onUnhandledError:t}=J;if(t)t(e);else throw e})}function ar(){}var Ji=cr("C",void 0,void 0);function Xi(e){return cr("E",void 0,e)}function es(e){return cr("N",e,void 0)}function cr(e,t,n){return{kind:e,value:t,error:n}}var Oe=null;function Xe(e){if(J.useDeprecatedSynchronousErrorHandling){let t=!Oe;if(t&&(Oe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Oe;if(Oe=null,n)throw r}}else e()}function ts(e){J.useDeprecatedSynchronousErrorHandling&&Oe&&(Oe.errorThrown=!0,Oe.error=e)}var Re=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,cn(t)&&t.add(this)):this.destination=rl}static create(t,n,r){return new et(t,n,r)}next(t){this.isStopped?lr(es(t),this):this._next(t)}error(t){this.isStopped?lr(Xi(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?lr(Ji,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},tl=Function.prototype.bind;function ur(e,t){return tl.call(e,t)}var dr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){un(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){un(r)}else un(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){un(n)}}},et=class extends Re{constructor(t,n,r){super();let o;if(H(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&J.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ur(t.next,i),error:t.error&&ur(t.error,i),complete:t.complete&&ur(t.complete,i)}):o=t}this.destination=new dr(o)}};function un(e){J.useDeprecatedSynchronousErrorHandling?ts(e):Ki(e)}function nl(e){throw e}function lr(e,t){let{onStoppedNotification:n}=J;n&&Je.setTimeout(()=>n(e,t))}var rl={closed:!0,next:ar,error:nl,complete:ar};var ns=typeof Symbol=="function"&&Symbol.observable||"@@observable";function rs(e){return e}function os(e){return e.length===0?rs:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var fr=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=il(n)?n:new et(n,r,o);return Xe(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=is(r),new r((o,i)=>{let s=new et({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ns](){return this}pipe(...n){return os(n)(this)}toPromise(n){return n=is(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function is(e){var t;return(t=e??J.Promise)!==null&&t!==void 0?t:Promise}function ol(e){return e&&H(e.next)&&H(e.error)&&H(e.complete)}function il(e){return e&&e instanceof Re||ol(e)&&cn(e)}function sl(e){return H(e?.lift)}function ss(e){return t=>{if(sl(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function as(e,t,n,r,o){return new hr(e,t,n,r,o)}var hr=class extends Re{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var cs=sn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var be=(()=>{class e extends fr{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new ln(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new cs}next(n){Xe(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Xe(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Xe(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?sr:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,It(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new fr;return n.source=this,n}}return e.create=(t,n)=>new ln(t,n),e})(),ln=class extends be{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:sr}};var Ct=class extends be{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function dn(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function pr(e,t){return ss((n,r)=>{let o=0;n.subscribe(as(r,i=>{r.next(e.call(t,i,o++))}))})}var al="https://g.co/ng/security#xss",M=class extends Error{constructor(t,n){super(wo(t,n)),this.code=t}};function wo(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var qs=Symbol("InputSignalNode#UNSET"),cl=K(W({},ir),{transformFn:void 0,applyValueToInputSignal(e,t){on(e,t)}});function Zs(e,t){let n=Object.create(cl);n.value=e,n.transformFn=t?.transform;function r(){if(en(n),n.value===qs)throw new M(-950,!1);return n.value}return r[ge]=n,r}function ul(e){return{toString:e}.toString()}var _r=globalThis;function T(e){for(let t in e)if(e[t]===T)return t;throw Error("Could not find renamed property on target object.")}function q(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(q).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function Tr(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var ll=T({__forward_ref__:T});function Ys(e){return e.__forward_ref__=Ys,e.toString=function(){return q(this())},e}function ee(e){return dl(e)?e():e}function dl(e){return typeof e=="function"&&e.hasOwnProperty(ll)&&e.__forward_ref__===Ys}function A(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Eo(e){return us(e,Qs)||us(e,Ks)}function us(e,t){return e.hasOwnProperty(t)?e[t]:null}function fl(e){let t=e&&(e[Qs]||e[Ks]);return t||null}function ls(e){return e&&(e.hasOwnProperty(ds)||e.hasOwnProperty(hl))?e[ds]:null}var Qs=T({\u0275prov:T}),ds=T({\u0275inj:T}),Ks=T({ngInjectableDef:T}),hl=T({ngInjectorDef:T}),S=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=A({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Js(e){return e&&!!e.\u0275providers}var pl=T({\u0275cmp:T}),gl=T({\u0275dir:T}),ml=T({\u0275pipe:T});var fs=T({\u0275fac:T}),bt=T({__NG_ELEMENT_ID__:T}),hs=T({__NG_ENV_ID__:T});function Io(e){return typeof e=="string"?e:e==null?"":String(e)}function vl(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Io(e)}function yl(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function Co(e,t){throw new M(-201,!1)}var E=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}(E||{}),xr;function Xs(){return xr}function ie(e){let t=xr;return xr=e,t}function ea(e,t,n){let r=Eo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&E.Optional)return null;if(t!==void 0)return t;Co(e,"Injector")}var Dl={},Mt=Dl,wl="__NG_DI_FLAG__",yn="ngTempTokenPath",El="ngTokenPath",Il=/\n/gm,Cl="\u0275",ps="__source",it;function bl(){return it}function tt(e){let t=it;return it=e,t}function Ml(e,t=E.Default){if(it===void 0)throw new M(-203,!1);return it===null?ea(e,void 0,t):it.get(e,t&E.Optional?null:void 0,t)}function _(e,t=E.Default){return(Xs()||Ml)(ee(e),t)}function I(e,t=E.Default){return _(e,On(t))}function On(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Nr(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):q(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Il,` - `)}`}function Mt(e,t){let n=e.hasOwnProperty(fs);return n?e[fs]:null}function Io(e,t){e.forEach(n=>Array.isArray(n)?Io(n,t):t(n))}function xl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ta(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nl(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function xn(e,t,n){let r=jt(e,t);return r>=0?e[r|1]=n:(r=~r,Nl(e,r,t,n)),r}function hr(e,t){let n=jt(e,t);if(n>=0)return e[n|1]}function jt(e,t){return Al(e,t,1)}function Al(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(X(r))return!1;s=!0}}}}return X(r)||s}function X(e){return(e&1)===0}function jl(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!X(s)&&(t+=ms(i,o),o=""),r=s,i=i||!X(r);n++}return o!==""&&(t+=ms(i,o)),t}function Ul(e){return e.map($l).join(",")}function zl(e){let t=[],n=[],r=1,o=2;for(;r{let t=Zl(e),n=K(W({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===oa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ue.Emulated,styles:e.styles||ve,_:null,schemas:e.schemas||null,tView:null,id:""});Yl(n);let r=e.dependencies;return n.directiveDefs=ys(r,!1),n.pipeDefs=ys(r,!0),n.id=Ql(n),n})}function Gl(e){return Nn(e)||sa(e)}function Wl(e){return e!==null}function vs(e,t){if(e==null)return St;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=at.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==at.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Nn(e){return e[pl]||null}function sa(e){return e[gl]||null}function aa(e){return e[ml]||null}function ql(e){let t=Nn(e)||sa(e)||aa(e);return t!==null?t.standalone:!1}function Zl(e){let 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||St,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||ve,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:vs(e.inputs,t),outputs:vs(e.outputs),debugInfo:null}}function Yl(e){e.features?.forEach(t=>t(e))}function ys(e,t){if(!e)return null;let n=t?aa:Gl;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Wl)}function Ql(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ua(e){return{\u0275providers:e}}function Kl(...e){return{\u0275providers:ca(!0,e),\u0275fromNgModule:!0}}function ca(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Io(t,s=>{let a=s;Nr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&la(o,i),n}function la(e,t){for(let n=0;n{t(i,r)})}}function Nr(e,t,n,r){if(e=ee(e),!e)return!1;let o=null,i=ls(e),s=!i&&Nn(e);if(!i&&!s){let u=e.ngModule;if(i=ls(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Nr(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Io(i.imports,l=>{Nr(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&la(c,t)}if(!a){let c=Mt(o)||(()=>new o);t({provide:o,useFactory:c,deps:ve},o),t({provide:ra,useValue:o,multi:!0},o),t({provide:_t,useValue:()=>_(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Mo(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Mo(e,t){for(let n of e)Js(n)&&(n=n.\u0275providers),Array.isArray(n)?Mo(n,t):t(n)}var Jl=T({provide:String,useValue:T});function da(e){return e!==null&&typeof e=="object"&&Jl in e}function Xl(e){return!!(e&&e.useExisting)}function ed(e){return!!(e&&e.useFactory)}function Ar(e){return typeof e=="function"}var An=new S(""),cn={},td={},pr;function So(){return pr===void 0&&(pr=new gn),pr}var Pe=class{},mn=class extends Pe{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Rr(t,s=>this.processProvider(s)),this.records.set(na,nt(void 0,this)),o.has("environment")&&this.records.set(Pe,nt(void 0,this));let i=this.records.get(An);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ra,ve,E.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=y(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),y(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=tt(this),r=ie(void 0),o;try{return t()}finally{tt(n),ie(r)}}get(t,n=bt,r=E.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(hs))return t[hs](this);r=Tn(r);let o,i=tt(this),s=ie(void 0);try{if(!(r&E.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=ad(t)&&Do(t);c&&this.injectableDefInScope(c)?u=nt(Or(t),cn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&E.Self?So():this.parent;return n=r&E.Optional&&n===bt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[pn]=a[pn]||[]).unshift(q(t)),i)throw a;return _l(a,t,"R3InjectorError",this.source)}else throw a}finally{ie(s),tt(i)}}resolveInjectorInitializers(){let t=y(null),n=tt(this),r=ie(void 0),o;try{let i=this.get(_t,ve,E.Self);for(let s of i)s()}finally{tt(n),ie(r),y(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(q(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(t){t=ee(t);let n=Ar(t)?t:ee(t&&t.provide),r=rd(t);if(!Ar(t)&&t.multi===!0){let o=this.records.get(n);o||(o=nt(void 0,cn,!0),o.factory=()=>Tr(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=y(null);try{return n.value===cn&&(n.value=td,n.value=n.factory()),typeof n.value=="object"&&n.value&&sd(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{y(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ee(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Or(e){let t=Do(e),n=t!==null?t.factory:Mt(e);if(n!==null)return n;if(e instanceof S)throw new M(204,!1);if(e instanceof Function)return nd(e);throw new M(204,!1)}function nd(e){if(e.length>0)throw new M(204,!1);let n=fl(e);return n!==null?()=>n.factory(e):()=>new e}function rd(e){if(da(e))return nt(void 0,e.useValue);{let t=od(e);return nt(t,cn)}}function od(e,t,n){let r;if(Ar(e)){let o=ee(e);return Mt(o)||Or(o)}else if(da(e))r=()=>ee(e.useValue);else if(ed(e))r=()=>e.useFactory(...Tr(e.deps||[]));else if(Xl(e))r=()=>_(ee(e.useExisting));else{let o=ee(e&&(e.useClass||e.provide));if(id(e))r=()=>new o(...Tr(e.deps));else return Mt(o)||Or(o)}return r}function nt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function id(e){return!!e.deps}function sd(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ad(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function Rr(e,t){for(let n of e)Array.isArray(n)?Rr(n,t):n&&Js(n)?Rr(n.\u0275providers,t):t(n)}function ud(){return Xs()!==void 0||bl()!=null}var Ee=0,D=1,m=2,Y=3,te=4,fe=5,Tt=6,vn=7,V=8,ut=9,ye=10,L=11,xt=12,Ds=13,mt=14,ce=15,ct=16,rt=17,lt=18,On=19,fa=20,Me=21,gr=22,Z=23,ne=25,ha=1;var Nt=7,cd=8,yn=9,$=10,Dn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Dn||{});function ke(e){return Array.isArray(e)&&typeof e[ha]=="object"}function Be(e){return Array.isArray(e)&&e[ha]===!0}function pa(e){return(e.flags&4)!==0}function _o(e){return e.componentOffset>-1}function To(e){return(e.flags&1)===1}function Vt(e){return!!e.template}function kr(e){return(e[m]&512)!==0}var Pr=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function ga(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function ld(){return ma}function ma(e){return e.type.prototype.ngOnChanges&&(e.setInput=fd),dd}ld.ngInherit=!0;function dd(){let e=ya(this),t=e?.current;if(t){let n=e.previous;if(n===St)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fd(e,t,n,r,o){let i=this.declaredInputs[r],s=ya(e)||hd(e,{previous:St,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Pr(c&&c.currentValue,n,u===St),ga(e,t,o,n)}var va="__ngSimpleChanges__";function ya(e){return e[va]||null}function hd(e,t){return e[va]=t}var ws=null;var se=function(e,t,n){ws?.(e,t,n)},Da="svg",pd="math";function De(e){for(;Array.isArray(e);)e=e[Ee];return e}function wa(e,t){return De(t[e])}function re(e,t){return De(t[e.index])}function xo(e,t){return e.data[t]}function vt(e,t){let n=t[e];return ke(n)?n:n[Ee]}function No(e){return(e[m]&128)===128}function dt(e,t){return t==null?null:e[t]}function Ea(e){e[rt]=0}function Ia(e){e[m]&1024||(e[m]|=1024,No(e)&&Rn(e))}function gd(e,t){for(;e>0;)t=t[mt],e--;return t}function At(e){return!!(e[m]&9216||e[Z]?.dirty)}function Fr(e){e[ye].changeDetectionScheduler?.notify(7),e[m]&64&&(e[m]|=1024),At(e)&&Rn(e)}function Rn(e){e[ye].changeDetectionScheduler?.notify(0);let t=Fe(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!No(t)));)t=Fe(t)}function Ca(e,t){if((e[m]&256)===256)throw new M(911,!1);e[Me]===null&&(e[Me]=[]),e[Me].push(t)}function md(e,t){if(e[Me]===null)return;let n=e[Me].indexOf(t);n!==-1&&e[Me].splice(n,1)}function Fe(e){let t=e[Y];return Be(t)?t[Y]:t}var C={lFrame:Ra(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ba=!1;function vd(){return C.lFrame.elementDepthCount}function yd(){C.lFrame.elementDepthCount++}function Dd(){C.lFrame.elementDepthCount--}function Ma(){return C.bindingsEnabled}function wd(){return C.skipHydrationRootTNode!==null}function Ed(e){return C.skipHydrationRootTNode===e}function Id(){C.skipHydrationRootTNode=null}function N(){return C.lFrame.lView}function oe(){return C.lFrame.tView}function Se(){let e=Sa();for(;e!==null&&e.type===64;)e=e.parent;return e}function Sa(){return C.lFrame.currentTNode}function Cd(){let e=C.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Bt(e,t){let n=C.lFrame;n.currentTNode=e,n.isParent=t}function _a(){return C.lFrame.isParent}function bd(){C.lFrame.isParent=!1}function Ta(){return ba}function Es(e){ba=e}function Md(e){return C.lFrame.bindingIndex=e}function Ht(){return C.lFrame.bindingIndex++}function xa(e){let t=C.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Sd(){return C.lFrame.inI18n}function _d(e,t){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=e,Lr(t)}function Td(){return C.lFrame.currentDirectiveIndex}function Lr(e){C.lFrame.currentDirectiveIndex=e}function xd(e){let t=C.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Na(e){C.lFrame.currentQueryIndex=e}function Nd(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[fe]:null}function Aa(e,t,n){if(n&E.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&E.Host);)if(o=Nd(i),o===null||(i=i[mt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=C.lFrame=Oa();return r.currentTNode=t,r.lView=e,!0}function Ao(e){let t=Oa(),n=e[D];C.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Oa(){let e=C.lFrame,t=e===null?null:e.child;return t===null?Ra(e):t}function Ra(e){let 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 ka(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Pa=ka;function Oo(){let e=ka();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 Ad(e){return(C.lFrame.contextLView=gd(e,C.lFrame.contextLView))[V]}function _e(){return C.lFrame.selectedIndex}function Le(e){C.lFrame.selectedIndex=e}function Fa(){let e=C.lFrame;return xo(e.tView,e.selectedIndex)}function kn(){C.lFrame.currentNamespace=Da}function Od(){return C.lFrame.currentNamespace}var La=!0;function Ro(){return La}function ko(e){La=e}function Rd(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ma(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Po(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[rt]+=65536),(a>14>16&&(e[m]&3)===t&&(e[m]+=16384,Is(a,i)):Is(a,i)}var st=-1,Ot=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Pd(e){return e instanceof Ot}function Fd(e){return(e.flags&8)!==0}function Ld(e){return(e.flags&16)!==0}var vr={},jr=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Tn(r);let o=this.injector.get(t,vr,r);return o!==vr||n===vr?o:this.parentInjector.get(t,n,r)}};function jd(e){return e!==st}function Vr(e){return e&32767}function Vd(e){return e>>16}function Br(e,t){let n=Vd(e),r=t;for(;n>0;)r=r[mt],n--;return r}var Hr=!0;function Cs(e){let t=Hr;return Hr=e,t}var Bd=256,Va=Bd-1,Ba=5,Hd=0,ae={};function $d(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ct)&&(r=n[Ct]),r==null&&(r=n[Ct]=Hd++);let o=r&Va,i=1<>Ba)]|=i}function Ha(e,t){let n=$a(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,yr(r.data,e),yr(t,null),yr(r.blueprint,null));let o=Ua(e,t),i=e.injectorIndex;if(jd(o)){let s=Vr(o),a=Br(o,t),u=a[D].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function yr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $a(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ua(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Za(o),r===null)return st;if(n++,o=o[mt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return st}function Ud(e,t,n){$d(e,t,n)}function za(e,t,n){if(n&E.Optional||e!==void 0)return e;Eo(t,"NodeInjector")}function Ga(e,t,n,r){if(n&E.Optional&&r===void 0&&(r=null),!(n&(E.Self|E.Host))){let o=e[ut],i=ie(void 0);try{return o?o.get(t,r,n&E.Optional):ea(t,r,n&E.Optional)}finally{ie(i)}}return za(r,t,n)}function Wa(e,t,n,r=E.Default,o){if(e!==null){if(t[m]&2048&&!(r&E.Self)){let s=Zd(e,t,n,r,ae);if(s!==ae)return s}let i=qa(e,t,n,r,ae);if(i!==ae)return i}return Ga(t,n,r,o)}function qa(e,t,n,r,o){let i=Wd(n);if(typeof i=="function"){if(!Aa(t,e,r))return r&E.Host?za(o,n,r):Ga(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&E.Optional))Eo(n);else return s}finally{Pa()}}else if(typeof i=="number"){let s=null,a=$a(e,t),u=st,c=r&E.Host?t[ce][fe]:null;for((a===-1||r&E.SkipSelf)&&(u=a===-1?Ua(e,t):t[a+8],u===st||!Ms(r,!1)?a=-1:(s=t[D],a=Vr(u),t=Br(u,t)));a!==-1;){let l=t[D];if(bs(i,a,l.data)){let d=zd(a,t,n,s,r,c);if(d!==ae)return d}u=t[a+8],u!==st&&Ms(r,t[D].data[a+8]===c)&&bs(i,a,t)?(s=l,a=Vr(u),t=Br(u,t)):a=-1}}return o}function zd(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],u=r==null?_o(a)&&Hr:r!=s&&(a.type&3)!==0,c=o&E.Host&&i===a,l=Gd(a,s,n,u,c);return l!==null?Rt(t,s,l,a):ae}function Gd(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,g=o?a+l:c;for(let f=d;f=u&&v.type===n)return f}if(o){let f=s[u];if(f&&Vt(f)&&f.type===n)return u}return null}function Rt(e,t,n,r){let o=e[n],i=t.data;if(Pd(o)){let s=o;s.resolving&&yl(vl(i[n]));let a=Cs(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ie(s.injectImpl):null,l=Aa(e,r,E.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Rd(n,i[n],t)}finally{c!==null&&ie(c),Cs(a),s.resolving=!1,Pa()}}return o}function Wd(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ct)?e[Ct]:void 0;return typeof t=="number"?t>=0?t&Va:qd:t}function bs(e,t,n){let r=1<>Ba)]&r)}function Ms(e,t){return!(e&E.Self)&&!(e&E.Host&&t)}var wn=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Wa(this._tNode,this._lView,t,Tn(r),n)}};function qd(){return new wn(Se(),N())}function Zd(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=qa(i,s,n,r|E.Self,ae);if(a!==ae)return a;let u=i.parent;if(!u){let c=s[fa];if(c){let l=c.get(n,ae,r);if(l!==ae)return l}u=Za(s),s=s[mt]}i=u}return o}function Za(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[fe]:null}function Ss(e,t=null,n=null,r){let o=Yd(e,t,n,r);return o.resolveInjectorInitializers(),o}function Yd(e,t=null,n=null,r,o=new Set){let i=[n||ve,Kl(e)];return r=r||(typeof e=="object"?void 0:q(e)),new mn(i,t||So(),r||null,o)}var Re=class Re{static create(t,n){if(Array.isArray(t))return Ss({name:""},n,t,"");{let r=t.name??"";return Ss({name:r},t.parent,t.providers,r)}}};Re.THROW_IF_NOT_FOUND=bt,Re.NULL=new gn,Re.\u0275prov=A({token:Re,providedIn:"any",factory:()=>_(na)}),Re.__NG_ELEMENT_ID__=-1;var kt=Re;var Qd=new S("");Qd.__NG_ELEMENT_ID__=e=>{let t=Se();if(t===null)throw new M(204,!1);if(t.type&2)return t.value;if(e&E.Optional)return null;throw new M(204,!1)};var Kd="ngOriginalError";function Dr(e){return e[Kd]}var le=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Dr(t);for(;n&&Dr(n);)n=Dr(n);return n||null}},Ya=new S("",{providedIn:"root",factory:()=>I(le).handleError.bind(void 0)}),Fo=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Jd,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),$r=class extends Fo{constructor(t){super(),this._lView=t}onDestroy(t){return Ca(this._lView,t),()=>md(this._lView,t)}};function Jd(){return new $r(N())}var Ur=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=I(le,{optional:!0}),this.destroyRef=I(Fo),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new M(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new M(953,!1);if(this.listeners===null)return;let n=y(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{y(n)}}};function Qa(e){return new Ur}function _s(e,t){return Zs(e,t)}function Xd(e){return Zs(qs,e)}var Te=(_s.required=Xd,_s);function ef(){return Ka(Se(),N())}function Ka(e,t){return new Pn(re(e,t))}var Pn=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=ef;let e=t;return e})();var Fn=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new It(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275prov=A({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var zr=class extends be{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,ud()&&(this.destroyRef=I(Fo,{optional:!0})??void 0,this.pendingTasks=I(Fn,{optional:!0})??void 0)}emit(t){let n=y(null);try{super.next(t)}finally{y(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof j&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},me=zr;function Ja(e){return(e.flags&128)===128}var Xa=new Map,tf=0;function nf(){return tf++}function rf(e){Xa.set(e[On],e)}function of(e){Xa.delete(e[On])}var Ts="__ngContext__";function je(e,t){ke(t)?(e[Ts]=t[On],rf(t)):e[Ts]=t}function eu(e){return nu(e[xt])}function tu(e){return nu(e[te])}function nu(e){for(;e!==null&&!Be(e);)e=e[te];return e}var Gr;function ru(e){Gr=e}function sf(){if(Gr!==void 0)return Gr;if(typeof document<"u")return document;throw new M(210,!1)}var Lo=new S("",{providedIn:"root",factory:()=>af}),af="ng",jo=new S(""),yt=new S("",{providedIn:"platform",factory:()=>"unknown"});var Vo=new S("",{providedIn:"root",factory:()=>sf().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var uf="h",cf="b";var lf=()=>null;function Bo(e,t,n=!1){return lf(e,t,n)}var ou=!1,df=new S("",{providedIn:"root",factory:()=>ou});var Wr=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${al})`}};function $t(e){return e instanceof Wr?e.changingThisBreaksApplicationSecurity:e}var we=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(we||{}),ff;function Ho(e,t){return ff(e,t)}function ot(e,t,n,r,o){if(r!=null){let i,s=!1;Be(r)?i=r:ke(r)&&(s=!0,r=r[Ee]);let a=De(r);e===0&&n!==null?o==null?uu(t,n,a):qr(t,n,a,o||null,!0):e===1&&n!==null?qr(t,n,a,o||null,!0):e===2?_f(t,a,s):e===3&&t.destroyNode(a),i!=null&&xf(t,e,i,n,o)}}function hf(e,t){return e.createText(t)}function pf(e,t,n){e.setValue(t,n)}function iu(e,t,n){return e.createElement(t,n)}function gf(e,t){su(e,t),t[Ee]=null,t[fe]=null}function mf(e,t,n,r,o,i){r[Ee]=o,r[fe]=t,Ln(e,r,n,1,o,i)}function su(e,t){t[ye].changeDetectionScheduler?.notify(8),Ln(e,t,t[L],2,null,null)}function vf(e){let t=e[xt];if(!t)return wr(e[D],e);for(;t;){let n=null;if(ke(t))n=t[xt];else{let r=t[$];r&&(n=r)}if(!n){for(;t&&!t[te]&&t!==e;)ke(t)&&wr(t[D],t),t=t[Y];t===null&&(t=e),ke(t)&&wr(t[D],t),n=t&&t[te]}t=n}}function yf(e,t,n,r){let o=$+r,i=n.length;r>0&&(n[o-1][te]=t),r0&&(e[n-1][te]=r[te]);let i=ta(e,$+t);gf(r[D],r);let s=i[lt];s!==null&&s.detachView(i[D]),r[Y]=null,r[te]=null,r[m]&=-129}return r}function zo(e,t){if(!(t[m]&256)){let n=t[L];n.destroyNode&&Ln(e,t,n,3,null,null),vf(t)}}function wr(e,t){if(t[m]&256)return;let n=y(null);try{t[m]&=-129,t[m]|=256,t[Z]&&nr(t[Z]),wf(e,t),Df(e,t),t[D].type===1&&t[L].destroy();let r=t[ct];if(r!==null&&Be(t[Y])){r!==t[Y]&&$o(r,t);let o=t[lt];o!==null&&o.detachView(e)}of(t)}finally{y(n)}}function Df(e,t){let n=e.cleanup,r=t[vn];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[vn]=null);let o=t[Me];if(o!==null){t[Me]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===ue.None||i===ue.Emulated)return null}return re(r,n)}}function qr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function uu(e,t,n){e.appendChild(t,n)}function xs(e,t,n,r,o){r!==null?qr(e,t,n,r,o):uu(e,t,n)}function Cf(e,t,n,r){e.removeChild(t,n,r)}function cu(e,t){return e.parentNode(t)}function bf(e,t,n){return Sf(e,t,n)}function Mf(e,t,n){return e.type&40?re(e,n):null}var Sf=Mf,Ns;function Go(e,t,n,r){let o=Ef(e,r,t),i=t[L],s=r.parent||t[fe],a=bf(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;une&&hu(e,t,ne,!1),se(s?2:0,o),n(r,o)}finally{Le(i),se(s?3:1,o)}}function vu(e,t,n){if(pa(t)){let r=y(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Vf(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return wd()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function As(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=at.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Os(r,n,c,a,u):Os(r,n,c,a)}return r}function Os(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Bf(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Wf(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;_o(n)&&Xf(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ha(n,t),je(r,t);let s=n.initialInputs;for(let a=o;a{Rn(e.lView)},consumerOnSignalRead(){this.lView[Z]=this}});function mh(e){let t=e[Z]??Object.create(vh);return t.lView=e,t}var vh=K(W({},wt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Fe(e.lView);for(;t&&!xu(t[D]);)t=Fe(t);t&&Ia(t)},consumerOnSignalRead(){this.lView[Z]=this}});function xu(e){return e.type!==2}var yh=100;function Nu(e,t=!0,n=0){let r=e[ye],o=r.rendererFactory,i=!1;i||o.begin?.();try{Dh(e,n)}catch(s){throw t&&Mu(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Dh(e,t){let n=Ta();try{Es(!0),Kr(e,t);let r=0;for(;At(e);){if(r===yh)throw new M(103,!1);r++,Kr(e,1)}}finally{Es(n)}}function wh(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1,s=!1;!i&&t[ye].inlineEffectRunner?.flush(),Ao(t);let a=!0,u=null,c=null;i||(xu(e)?(c=fh(t),u=Kt(c)):Li()===null?(a=!1,c=mh(t),u=Kt(c)):t[Z]&&(nr(t[Z]),t[Z]=null));try{Ea(t),Md(e.bindingStartIndex),n!==null&&mu(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&ln(t,f,null)}else{let f=e.preOrderHooks;f!==null&&dn(t,f,0,null),mr(t,0)}if(s||Eh(t),Au(t,0),e.contentQueries!==null&&bu(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&ln(t,f)}else{let f=e.contentHooks;f!==null&&dn(t,f,1),mr(t,1)}Rf(e,t);let d=e.components;d!==null&&Ru(t,d,0);let g=e.viewQuery;if(g!==null&&Qr(2,g,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&ln(t,f)}else{let f=e.viewHooks;f!==null&&dn(t,f,2),mr(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[gr]){for(let f of t[gr])f();t[gr]=null}i||(t[m]&=-73)}catch(l){throw i||Rn(t),l}finally{c!==null&&(er(c,u),a&&ph(c)),Oo()}}function Au(e,t){for(let n=eu(e);n!==null;n=tu(n))for(let r=$;r-1&&(Uo(t,r),ta(n,r))}this._attachedToViewContainer=!1}zo(this._lView[D],this._lView)}onDestroy(t){Ca(this._lView,t)}markForCheck(){ei(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[m]&=-129}reattach(){Fr(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,Nu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=kr(this._lView),n=this._lView[ct];n!==null&&!t&&$o(n,this._lView),su(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=kr(this._lView),r=this._lView[ct];r!==null&&!n&&au(r,this._lView),Fr(this._lView)}};var av=new RegExp(`^(\\d+)*(${cf}|${uf})*(.*)`);var Ch=()=>null;function ti(e,t){return Ch(e,t)}var Pt=class{},ni=new S("",{providedIn:"root",factory:()=>!1});var ku=new S(""),Xr=class{},In=class{};function bh(e){let t=Error(`No component factory found for ${q(e)}.`);return t[Mh]=e,t}var Mh="ngComponent";var eo=class{resolveComponentFactory(t){throw bh(t)}},pi=class pi{};pi.NULL=new eo;var Ft=pi,ft=class{};var Sh=(()=>{let t=class t{};t.\u0275prov=A({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();var Rs=new Set;function He(e){Rs.has(e)||(Rs.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Pu(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof Mr.requestAnimationFrame=="function"&&Mr.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function ks(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function Ps(...e){}var k=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new me(!1),this.onMicrotaskEmpty=new me(!1),this.onStable=new me(!1),this.onError=new me(!1),typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,xh(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,_h,Ps,Ps);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},_h={};function ri(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 Th(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Pu(()=>{e.callbackScheduled=!1,to(e),e.isCheckStableRunning=!0,ri(e),e.isCheckStableRunning=!1})}),to(e))}function xh(e){let t=()=>{Th(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Nh(a))return n.invokeTask(o,i,s,a);try{return Fs(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ls(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Fs(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ah(a)&&t(),Ls(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,to(e),ri(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function to(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Fs(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ls(e){e._nesting--,ri(e)}var no=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new me,this.onMicrotaskEmpty=new me,this.onStable=new me,this.onError=new me}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Nh(e){return Fu(e,"__ignore_ng_zone__")}function Ah(e){return Fu(e,"__scheduler_tick__")}function Fu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Lu=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=A({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function ro(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&du(e,n,i.join(" "))}}function jh(e,t,n){let r=e.projection=[];for(let o=0;o!1;function Hh(e,t,n){return Bh(e,t,n)}function oi(e,t){He("NgSignals");let n=Zi(e),r=n[ge];return t?.equal&&(r.equal=t.equal),n.set=o=>en(r,o),n.update=o=>Yi(r,o),n.asReadonly=$h.bind(n),n}function $h(){let e=this[ge];if(e.readonlyFn===void 0){let t=()=>this();t[ge]=e,e.readonlyFn=t}return e.readonlyFn}var ht=class{};var Cn=class extends ht{constructor(t){super(),this.componentFactoryResolver=new oo(this),this.instance=null;let n=new mn([...t.providers,{provide:ht,useValue:this},{provide:Ft,useValue:this.componentFactoryResolver}],t.parent||So(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Uh(e,t,n=null){return new Cn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function $e(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function zh(e){return(e.flags&32)===32}function Gh(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Vn(t,e,4,s||null,a||null);Eu(t,n,l,dt(c,u)),Po(t,l);let d=l.tView=qo(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function ao(e,t,n,r,o,i,s,a,u,c){let l=n+ne,d=t.firstCreatePass?Gh(l,t,e,r,o,i,s,a,u):t.data[l];Bt(d,!1);let g=Wh(t,e,d,n);Ro()&&Go(t,e,g,d),je(g,e);let f=oh(g,e,g,d);return e[l]=f,Zo(e,f),Hh(f,d,e),To(d)&&yu(t,e,d),u!=null&&Du(e,d,c),d}function ii(e,t,n,r,o,i,s,a){let u=N(),c=oe(),l=dt(c.consts,i);return ao(u,c,e,t,n,r,o,l,s,a),ii}var Wh=qh;function qh(e,t,n,r){return ko(!0),t[L].createComment("")}function p(e,t,n,r){let o=N(),i=Ht();if($e(o,i,t)){let s=oe(),a=Fa();eh(a,o,e,t,n,r)}return p}function Zh(e,t,n,r){return $e(e,Ht(),n)?t+wo(n)+r:Ie}function un(e,t){return e<<17|t<<2}function Ve(e){return e>>17&32767}function Yh(e){return(e&2)==2}function Qh(e,t){return e&131071|t<<17}function uo(e){return e|2}function pt(e){return(e&131068)>>2}function Er(e,t){return e&-131069|t<<2}function Kh(e){return(e&1)===1}function co(e){return e|1}function Jh(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ve(s),u=pt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||jt(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let g=Ve(e[a+1]);e[r+1]=un(g,a),g!==0&&(e[g+1]=Er(e[g+1],r)),e[a+1]=Qh(e[a+1],r)}else e[r+1]=un(a,0),a!==0&&(e[a+1]=Er(e[a+1],r)),a=r;else e[r+1]=un(u,0),a===0?a=r:e[u+1]=Er(e[u+1],r),u=r;c&&(e[r+1]=uo(e[r+1])),Vs(e,l,r,!0),Vs(e,l,r,!1),Xh(t,l,e,r,i),s=un(a,u),i?t.classBindings=s:t.styleBindings=s}function Xh(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&jt(i,t)>=0&&(n[r+1]=co(n[r+1]))}function Vs(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ve(o):pt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];ep(u,t)&&(a=!0,e[s+1]=r?co(c):uo(c)),s=r?Ve(c):pt(c)}a&&(e[n+1]=r?uo(o):co(o))}function ep(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?jt(e,t)>=0:!1}var R={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ju(e){return e.substring(R.key,R.keyEnd)}function tp(e){return e.substring(R.value,R.valueEnd)}function np(e){return Hu(e),Vu(e,gt(e,0,R.textEnd))}function Vu(e,t){let n=R.textEnd;return n===t?-1:(t=R.keyEnd=op(e,R.key=t,n),gt(e,t,n))}function rp(e){return Hu(e),Bu(e,gt(e,0,R.textEnd))}function Bu(e,t){let n=R.textEnd,r=R.key=gt(e,t,n);return n===r?-1:(r=R.keyEnd=ip(e,r,n),r=Bs(e,r,n,58),r=R.value=gt(e,r,n),r=R.valueEnd=sp(e,r,n),Bs(e,r,n,59))}function Hu(e){R.key=0,R.keyEnd=0,R.value=0,R.valueEnd=0,R.textEnd=e.length}function gt(e,t,n){for(;t32;)t++;return t}function ip(e,t,n){let r;for(;t=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Bs(e,t,n,r){return t=gt(e,t,n),t32&&(a=s),i=o,o=r,r=u&-33}return a}function Hs(e,t,n,r){let o=-1,i=n;for(;i=0;n=Bu(t,n))Zu(e,ju(t),tp(t))}function Uu(e){Gu(pp,up,e,!0)}function up(e,t){for(let n=np(t);n>=0;n=Vu(t,n))xn(e,ju(t),!0)}function zu(e,t,n,r){let o=N(),i=oe(),s=xa(2);if(i.firstUpdatePass&&qu(i,e,s,r),t!==Ie&&$e(o,s,t)){let a=i.data[_e()];Yu(i,a,o,o[L],e,o[s+1]=mp(t,n),r,s)}}function Gu(e,t,n,r){let o=oe(),i=xa(2);o.firstUpdatePass&&qu(o,null,i,r);let s=N();if(n!==Ie&&$e(s,i,n)){let a=o.data[_e()];if(Qu(a,r)&&!Wu(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=Sr(u,n||"")),lo(o,a,s,n,r)}else gp(o,a,s,s[L],s[i+1],s[i+1]=hp(e,t,n),r,i)}}function Wu(e,t){return t>=e.expandoStartIndex}function qu(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[_e()],s=Wu(e,n);Qu(i,r)&&t===null&&!s&&(t=!1),t=cp(o,i,t,r),Jh(o,i,t,n,s,r)}}function cp(e,t,n,r){let o=xd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ir(null,e,t,n,r),n=Lt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ir(o,e,t,n,r),i===null){let u=lp(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Ir(null,e,t,u[1],r),u=Lt(u,t.attrs,r),dp(e,t,r,u))}else i=fp(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function lp(e,t,n){let r=n?t.classBindings:t.styleBindings;if(pt(r)!==0)return e[Ve(r)]}function dp(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ve(o)]=r}function fp(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,g=n[o+1];g===Ie&&(g=d?ve:void 0);let f=d?hr(g,r):l===r?g:void 0;if(c&&!bn(f)&&(f=hr(u,r)),bn(f)&&(a=f,s))return a;let v=e[o+1];o=s?Ve(v):pt(v)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=hr(u,r))}return a}function bn(e){return e!==void 0}function mp(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=q($t(e)))),e}function Qu(e,t){return(e.flags&(t?8:16))!==0}var fo=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Cr(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function vp(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=Cr(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let g=e.at(s),f=t[u],v=Cr(s,g,u,f,n);if(v!==0){v<0&&e.updateValue(s,f),s--,u--;continue}let b=n(i,c),x=n(s,g),U=n(i,l);if(Object.is(U,x)){let z=n(u,f);Object.is(z,b)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Mn,o??=zs(e,i,s,n),ho(e,r,i,U))e.updateValue(i,l),i++,s++;else if(o.has(U))r.set(b,e.detach(i)),s--;else{let z=e.create(i,t[i]);e.attach(i,z),i++,s++}}for(;i<=u;)Us(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,g=Cr(i,l,i,d,n);if(g!==0)g<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new Mn,o??=zs(e,i,s,n);let f=n(i,d);if(ho(e,r,i,f))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let v=n(i,l);r.set(v,e.detach(i)),s--}}}for(;!c.done;)Us(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function ho(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Us(e,t,n,r,o){if(ho(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function zs(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Mn=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function Ku(e,t){He("NgControlFlow");let n=N(),r=Ht(),o=n[r]!==Ie?n[r]:-1,i=o!==-1?Sn(n,ne+o):void 0,s=0;if($e(n,r,e)){let a=y(null);try{if(i!==void 0&&_u(i,s),e!==-1){let u=ne+e,c=Sn(n,u),l=vo(n[D],u),d=ti(c,l.tView.ssrId),g=Ko(n,l,t,{dehydratedView:d});Xo(c,g,s,Jo(l,d))}}finally{y(a)}}else if(i!==void 0){let a=Su(i,s);a!==void 0&&(a[V]=t)}}var po=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-$}};function ui(e,t){return t}var go=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function ci(e,t,n,r,o,i,s,a,u,c,l,d,g){He("NgControlFlow");let f=N(),v=oe(),b=u!==void 0,x=N(),U=a?s.bind(x[ce][V]):s,z=new go(b,U);x[ne+e]=z,ao(f,v,e+1,t,n,r,o,dt(v.consts,i)),b&&ao(f,v,e+2,u,c,l,d,dt(v.consts,g))}var mo=class extends fo{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-$}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[Tt];this.needsIndexUpdate||=t!==this.length,Xo(this.lContainer,n,t,Jo(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,yp(this.lContainer,t)}create(t,n){let r=ti(this.lContainer,this.templateTNode.tView.ssrId),o=Ko(this.hostLView,this.templateTNode,new po(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){zo(t[D],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(ko(!0),iu(r,o,Od()));var _n="en-US";var Ip=_n;function Cp(e){typeof e=="string"&&(Ip=e.toLowerCase().replace(/_/g,"-"))}var bp=(e,t,n)=>{};function ze(e,t,n,r){let o=N(),i=oe(),s=Se();return Sp(i,o,o[L],s,e,t,r),ze}function Mp(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Sp(e,t,n,r,o,i,s){let a=To(r),c=e.firstCreatePass&&sh(e),l=t[V],d=ih(t),g=!0;if(r.type&3||s){let b=re(r,t),x=s?s(b):b,U=d.length,z=s?pe=>s(De(pe[r.index])):r.index,B=null;if(!s&&a&&(B=Mp(e,t,o,r.index)),B!==null){let pe=B.__ngLastListenerFn__||B;pe.__ngNextListenerFn__=i,B.__ngLastListenerFn__=i,g=!1}else{i=Ws(r,t,l,i),bp(b,o,i);let pe=n.listen(x,o,i);d.push(i,pe),c&&c.push(o,z,U,U+1)}}else i=Ws(r,t,l,i);let f=r.outputs,v;if(g&&f!==null&&(v=f[o])){let b=v.length;if(b)for(let x=0;x-1?vt(e.index,t):t;ei(s,5);let a=Gs(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=Gs(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function Ju(e=1){return Ad(e)}function Ge(e,t=""){let n=N(),r=oe(),o=e+ne,i=r.firstCreatePass?Vn(r,o,1,t,null):r.data[o],s=_p(r,n,i,t,e);n[o]=s,Ro()&&Go(r,n,s,i),Bt(i,!1)}var _p=(e,t,n,r,o)=>(ko(!0),hf(t[L],r));function di(e){return Bn("",e,""),di}function Bn(e,t,n){let r=N(),o=Zh(r,e,t,n);return o!==Ie&&ah(r,_e(),o),Bn}var Tp=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=ca(!1,r.type),i=o.length>0?Uh([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=A({token:t,providedIn:"environment",factory:()=>new t(_(Pe))});let e=t;return e})();function he(e){He("NgStandalone"),e.getStandaloneInjector=t=>t.get(Tp).getOrCreateStandaloneInjector(e)}var Xu=new S("");function fi(e){return!!e&&typeof e.then=="function"}function ec(e){return!!e&&typeof e.subscribe=="function"}var xp=new S(""),tc=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=I(xp,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(fi(s))r.push(s);else if(ec(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Np=new S("");function Ap(){qi(()=>{throw new M(600,!1)})}function Op(e){return e.isBoundToModule}var Rp=10;function kp(e,t,n){try{let r=n();return fi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Hn=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=I(Ya),this.afterRenderEffectManager=I(Lu),this.zonelessEnabled=I(ni),this.externalTestViews=new Set,this.beforeRender=new be,this.afterTick=new be,this.componentTypes=[],this.components=[],this.isStable=I(Fn).hasPendingTasks.pipe(fr(r=>!r)),this._injector=I(Pe)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof In;if(!this._injector.get(tc).done){let f=!i&&ql(r),v=!1;throw new M(405,v)}let a;i?a=r:a=this._injector.get(Ft).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Op(a)?void 0:this._injector.get(ht),c=o||a.selector,l=a.create(kt.NULL,[],c,u),d=l.location.nativeElement,g=l.injector.get(Xu,null);return g?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),br(this.components,l),g?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new M(101,!1);let o=y(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,y(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(ft,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;iAt(u))&&(s.execute(),!this.allViews.some(({_lView:u})=>At(u))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;br(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Np,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>br(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new M(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function br(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Pp(e,t,n,r){if(!n&&!At(e))return;Nu(e,t,n&&!r?0:1)}var Fp=(()=>{let t=class t{constructor(){this.zone=I(k),this.changeDetectionScheduler=I(Pt),this.applicationRef=I(Hn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Lp=new S("",{factory:()=>!1});function nc({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new k(oc()),[{provide:k,useFactory:e},{provide:_t,multi:!0,useFactory:()=>{let n=I(Fp,{optional:!0});return()=>n.initialize()}},{provide:_t,multi:!0,useFactory:()=>{let n=I(Vp);return()=>{n.initialize()}}},{provide:Ya,useFactory:jp},t===!0?{provide:ku,useValue:!0}:[]]}function jp(){let e=I(k),t=I(le);return n=>e.runOutsideAngular(()=>t.handleError(n))}function rc(e){let t=e?.ignoreChangesOutsideZone,n=nc({ngZoneFactory:()=>{let r=oc(e);return r.shouldCoalesceEventChangeDetection&&He("NgZone_CoalesceEvent"),new k(r)},ignoreChangesOutsideZone:t});return ua([{provide:Lp,useValue:!0},{provide:ni,useValue:!1},n])}function oc(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Vp=(()=>{let t=class t{constructor(){this.subscription=new j,this.initialized=!1,this.zone=I(k),this.pendingTasks=I(Fn)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{k.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Bp=(()=>{let t=class t{constructor(){this.appRef=I(Hn),this.taskService=I(Fn),this.ngZone=I(k),this.zonelessEnabled=I(ni),this.disableScheduling=I(ku,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new j,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,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.zonelessEnabled&&(this.ngZone instanceof no||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?ks:Pu;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&k.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ks(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Hp(){return typeof $localize<"u"&&$localize.locale||_n}var hi=new S("",{providedIn:"root",factory:()=>I(hi,E.Optional|E.SkipSelf)||Hp()});var ic=new S("");var hn=null;function $p(e=[],t){return kt.create({name:t,providers:[{provide:An,useValue:"platform"},{provide:ic,useValue:new Set([()=>hn=null])},...e]})}function Up(e=[]){if(hn)return hn;let t=$p(e);return hn=t,Ap(),zp(t),t}function zp(e){e.get(jo,null)?.forEach(n=>n())}function sc(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Up(r),i=[nc({}),{provide:Pt,useExisting:Bp},...n||[]],a=new Cn({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(k);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(le,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),g=o.get(ic);return g.add(d),a.onDestroy(()=>{l.unsubscribe(),g.delete(d)}),kp(c,u,()=>{let f=a.get(tc);return f.runInitializers(),f.donePromise.then(()=>{let v=a.get(hi,_n);Cp(v||_n);let b=a.get(Hn);return t!==void 0&&b.bootstrap(t),b})})})}catch(t){return Promise.reject(t)}}function We(e,t){He("NgSignals");let n=zi(e);return t?.equal&&(n[ge].equal=t.equal),n}var ac=null;function gi(){return ac}function uc(e){ac??=e}var $n=class{};var xe=new S("");var cc=new S("");function lc(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var dc="browser",Wp="server";function mi(e){return e===Wp}var Un=class{};var Di=class extends $n{constructor(){super(...arguments),this.supportsDOMEvents=!0}},wi=class e extends Di{static makeCurrent(){uc(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Zp();return n==null?null:Yp(n)}resetBaseElement(){Ut=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return lc(document.cookie,t)}},Ut=null;function Zp(){return Ut=Ut||document.querySelector("base"),Ut?Ut.getAttribute("href"):null}function Yp(e){return new URL(e,document.baseURI).pathname}var Qp=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac});let e=t;return e})(),Ei=new S(""),gc=(()=>{let t=class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new M(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(_(Ei),_(k))},t.\u0275prov=A({token:t,factory:t.\u0275fac});let e=t;return e})(),zn=class{constructor(t){this._doc=t}},vi="ng-app-id",mc=(()=>{let t=class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=mi(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${vi}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(vi),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(vi,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(_(xe),_(Lo),_(Vo,8),_(yt))},t.\u0275prov=A({token:t,factory:t.\u0275fac});let e=t;return e})(),yi={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ci=/%COMP%/g,vc="%COMP%",Kp=`_nghost-${vc}`,Jp=`_ngcontent-${vc}`,Xp=!0,eg=new S("",{providedIn:"root",factory:()=>Xp});function tg(e){return Jp.replace(Ci,e)}function ng(e){return Kp.replace(Ci,e)}function yc(e,t){return t.map(n=>n.replace(Ci,e))}var fc=(()=>{let t=class t{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=mi(u),this.defaultRenderer=new zt(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ue.ShadowDom&&(o=K(W({},o),{encapsulation:ue.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Gn?i.applyToHost(r):i instanceof Gt&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(o.encapsulation){case ue.Emulated:s=new Gn(c,l,o,this.appId,d,a,u,g);break;case ue.ShadowDom:return new Ii(c,l,r,o,a,u,this.nonce,g);default:s=new Gt(c,l,o,d,a,u,g);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(_(gc),_(mc),_(Lo),_(eg),_(xe),_(yt),_(k),_(Vo))},t.\u0275prov=A({token:t,factory:t.\u0275fac});let e=t;return e})(),zt=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(yi[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(hc(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(hc(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new M(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=yi[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=yi[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(we.DashCase|we.Important)?t.style.setProperty(n,r,o&we.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&we.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=gi().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function hc(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ii=class extends zt{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=yc(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Gt=class extends zt{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?yc(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Gn=class extends Gt{constructor(t,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(t,n,r,i,s,a,u,c),this.contentAttr=tg(c),this.hostAttr=ng(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},rg=(()=>{let t=class t extends zn{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(_(xe))},t.\u0275prov=A({token:t,factory:t.\u0275fac});let e=t;return e})(),pc=["alt","control","meta","shift"],og={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ig={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},sg=(()=>{let t=class t extends zn{constructor(r){super(r)}supports(r){return t.parseEventName(r)!=null}addEventListener(r,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>gi().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),pc.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=og[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),pc.forEach(a=>{if(a!==i){let u=ig[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};t.\u0275fac=function(o){return new(o||t)(_(xe))},t.\u0275prov=A({token:t,factory:t.\u0275fac});let e=t;return e})();function Dc(e,t){return sc(W({rootComponent:e},ag(t)))}function ag(e){return{appProviders:[...fg,...e?.providers??[]],platformProviders:dg}}function ug(){wi.makeCurrent()}function cg(){return new le}function lg(){return ru(document),document}var dg=[{provide:yt,useValue:dc},{provide:jo,useValue:ug,multi:!0},{provide:xe,useFactory:lg,deps:[]}];var fg=[{provide:An,useValue:"root"},{provide:le,useFactory:cg,deps:[]},{provide:Ei,useClass:rg,multi:!0,deps:[xe,k,yt]},{provide:Ei,useClass:sg,multi:!0,deps:[xe]},fc,mc,gc,{provide:ft,useExisting:fc},{provide:Un,useClass:Qp,deps:[]},[]];var wc={providers:[rc({eventCoalescing:!0}),{provide:cc,useValue:"/amaze"}]};var Ce=e=>{let t=n=>{if(typeof n=="symbol")return n.toString();if(typeof n>"u")return"undefined";if(typeof n=="string")return n;try{return JSON.stringify(n)}catch(r){if(r instanceof TypeError)return typeof n=="bigint"?`${n.toString()} (bigint)`:"circular object";throw r}};throw new TypeError(`Internal Error: encountered impossible value "${t(e)}"`)};function Ec(e,t,n){if(typeof n<"u"){let s=e,a=t;return Ec.tag(s,a,n)}let r=e,o=t;if(!Object.prototype.hasOwnProperty.call(o,r))return Object.prototype.hasOwnProperty.call(o,"_")?o._():Ce(r);let i=o[r];return i(r)}Ec.tag=(e,t,n)=>{let r=e[t];if(!Object.prototype.hasOwnProperty.call(n,r))return Object.prototype.hasOwnProperty.call(n,"_")?n._():Ce(e);let o=n[r];return o(e)};var hg=214013,pg=2531011,gg=4294967295,mg=(1<<31)-1,bi=function(e){return e*hg+pg&gg},Mi=function(e){return(e&mg)>>16},Ic=function(){function e(t){this.seed=t}return e.prototype.clone=function(){return new e(this.seed)},e.prototype.next=function(){var t=new e(this.seed),n=t.unsafeNext();return[n,t]},e.prototype.unsafeNext=function(){var t=bi(this.seed),n=Mi(t),r=bi(t),o=Mi(r);this.seed=bi(r);var i=Mi(this.seed),s=i+(o+(n<<15)<<15);return s|0},e.prototype.getState=function(){return[this.seed]},e}();function vg(e){var t=e.length===1;if(!t)throw new Error("The state must have been produced by a congruential32 RandomGenerator");return new Ic(e[0])}var yg=Object.assign(function(e){return new Ic(e)},{fromState:vg});var Dg=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},wg=function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r>>1^-(o&1)&e.A}for(var r=e.N-e.M;r!==e.N-1;++r){var i=(n[r]&e.MASK_UPPER)+(n[r+1]&e.MASK_LOWER);n[r]=n[r+e.M-e.N]^i>>>1^-(i&1)&e.A}var s=(n[e.N-1]&e.MASK_UPPER)+(n[0]&e.MASK_LOWER);return n[e.N-1]=n[e.M-1]^s>>>1^-(s&1)&e.A,n},e.seeded=function(t){var n=Array(e.N);n[0]=t;for(var r=1;r!==e.N;++r){var o=n[r-1]^n[r-1]>>>30;n[r]=Math.imul(e.F,o)+r|0}return n},e.from=function(t){return new e(e.twist(e.seeded(t)),0)},e.prototype.clone=function(){return new e(this.states,this.index)},e.prototype.next=function(){var t=new e(this.states,this.index),n=t.unsafeNext();return[n,t]},e.prototype.unsafeNext=function(){var t=this.states[this.index];return t^=this.states[this.index]>>>e.U,t^=t<>>e.L,++this.index>=e.N&&(this.states=e.twist(this.states),this.index=0),t},e.prototype.getState=function(){return wg([this.index],Dg(this.states),!1)},e.fromState=function(t){var n=t.length===e.N+1&&t[0]>=0&&t[0]>>9),r=t^this.s10^(t>>>18|n<<14)^(this.s10>>>5|this.s11<<27),o=n^this.s11^n>>>18^this.s11>>>5,i=this.s00+this.s10|0;return this.s01=this.s11,this.s00=this.s10,this.s11=o,this.s10=r,i},e.prototype.jump=function(){var t=new e(this.s01,this.s00,this.s11,this.s10);return t.unsafeJump(),t},e.prototype.unsafeJump=function(){for(var t=0,n=0,r=0,o=0,i=[1667051007,2321340297,1548169110,304075285],s=0;s!==4;++s)for(var a=1;a;a<<=1)i[s]&a&&(t^=this.s01,n^=this.s00,r^=this.s11,o^=this.s10),this.unsafeNext();this.s01=t,this.s00=n,this.s11=r,this.s10=o},e.prototype.getState=function(){return[this.s01,this.s00,this.s11,this.s10]},e}();function Cg(e){var t=e.length===4;if(!t)throw new Error("The state must have been produced by a xorshift128plus RandomGenerator");return new bc(e[0],e[1],e[2],e[3])}var bg=Object.assign(function(e){return new bc(-1,~e,e|0,0)},{fromState:Cg});var Mc=function(){function e(t,n,r,o){this.s01=t,this.s00=n,this.s11=r,this.s10=o}return e.prototype.clone=function(){return new e(this.s01,this.s00,this.s11,this.s10)},e.prototype.next=function(){var t=new e(this.s01,this.s00,this.s11,this.s10),n=t.unsafeNext();return[n,t]},e.prototype.unsafeNext=function(){var t=this.s00+this.s10|0,n=this.s10^this.s00,r=this.s11^this.s01,o=this.s00,i=this.s01;return this.s00=o<<24^i>>>8^n^n<<16,this.s01=i<<24^o>>>8^r^(r<<16|n>>>16),this.s10=r<<5^n>>>27,this.s11=n<<5^r>>>27,t},e.prototype.jump=function(){var t=new e(this.s01,this.s00,this.s11,this.s10);return t.unsafeJump(),t},e.prototype.unsafeJump=function(){for(var t=0,n=0,r=0,o=0,i=[3639956645,3750757012,1261568508,386426335],s=0;s!==4;++s)for(var a=1;a;a<<=1)i[s]&a&&(t^=this.s01,n^=this.s00,r^=this.s11,o^=this.s10),this.unsafeNext();this.s01=t,this.s00=n,this.s11=r,this.s10=o},e.prototype.getState=function(){return[this.s01,this.s00,this.s11,this.s10]},e}();function Mg(e){var t=e.length===4;if(!t)throw new Error("The state must have been produced by a xoroshiro128plus RandomGenerator");return new Mc(e[0],e[1],e[2],e[3])}var Si=Object.assign(function(e){return new Mc(-1,~e,e|0,0)},{fromState:Mg});function Wn(e,t){if(t<0){var n=-t;e.sign=-1,e.data[0]=~~(n/4294967296),e.data[1]=n>>>0}else e.sign=1,e.data[0]=~~(t/4294967296),e.data[1]=t>>>0;return e}function Sc(e,t,n){var r=t.data[1],o=t.data[0],i=t.sign,s=n.data[1],a=n.data[0],u=n.sign;if(e.sign=1,i===1&&u===-1){var c=r+s,l=o+a+(c>4294967295?1:0);return e.data[0]=l>>>0,e.data[1]=c>>>0,e}var d=r,g=o,f=s,v=a;i===-1&&(d=s,g=a,f=r,v=o);var b=0,x=d-f;return x<0&&(b=1,x=x>>>0),e.data[0]=g-v-b,e.data[1]=x,e}function qn(e,t){for(var n=e>2?~~(4294967296/e)*e:4294967296,r=t.unsafeNext()+2147483648;r>=n;)r=t.unsafeNext()+2147483648;return r%e}function _i(e,t,n){for(var r=t.length;;){for(var o=0;o!==r;++o){var i=o===0?t[0]+1:4294967296,s=qn(i,n);e[o]=s}for(var o=0;o!==r;++o){var a=e[o],u=t[o];if(au)break}}}var Tg=Number.MAX_SAFE_INTEGER,xg={sign:1,data:[0,0]},Ng={sign:1,data:[0,0]},_c={sign:1,data:[0,0]},Ti=[0,0];function Ag(e,t,n,r){var o=n<=Tg?Wn(_c,n):Sc(_c,Wn(xg,t),Wn(Ng,e));return o.data[1]===4294967295?(o.data[0]+=1,o.data[1]=0):o.data[1]+=1,_i(Ti,o.data,r),Ti[0]*4294967296+Ti[1]+e}function Zn(e,t,n){var r=t-e;if(r<=4294967295){var o=qn(r+1,n);return o+e}return Ag(e,t,r,n)}var Ze=class{constructor(t){this.seed=t,this.prng=Si(t)}choose(t){let n=Zn(0,t.length-1,this.prng);return t[n]}};var xc=Pi(Ni());var Tc=Pi(Ni());var w=function(e){return e[e.U=0]="U",e[e.R=1]="R",e[e.D=2]="D",e[e.L=3]="L",e}(w||{}),Ye=[w.U,w.R,w.D,w.L];var Ne=class e{constructor(t,n,r,o){this.i=t,this.j=n,this.size=r,this.chooser=o,this.neighbors=[]}static getKey(t,n){let r,o;if(typeof t=="number"&&typeof n=="number")r=t,o=n;else if(t instanceof Array)r=t[0],o=t[1];else throw new Error(`invalid arguments: ${t} ${n}`);return`${r}~${o}`}get key(){return e.getKey(this.i,this.j)}equals(t){return t instanceof e?this.i===t.i&&this.j===t.j:t instanceof Array?t.length===2&&this.i===t[0]&&this.j===t[1]:!1}getNeighborCoordinates(t){switch(t){case w.U:return[this.i-1,this.j];case w.R:return[this.i,this.j+1];case w.D:return[this.i+1,this.j];case w.L:return[this.i,this.j-1];default:Ce(t)}}chooseNeighbor(t){let n=[];for(let r of Ye){let o=this.getNeighborCoordinates(r);kg(o,this.size)&&!t.has(e.getKey(o))&&n.push(o)}if(n.length!==0)return new e(...this.chooser.choose(n),this.size,this.chooser)}hasNeighbor(t){let n=e.getKey(t);return this.neighbors.some(r=>r.key===n)}get walls(){let t=[];for(let n of Ye){let r=this.getNeighborCoordinates(n);t.push(!this.hasNeighbor(r))}return this.i===0&&(t[w.U]=!0),this.i===this.size-1&&(t[w.D]=!0),this.j===0&&(t[w.L]=!0),this.j===this.size-1&&(t[w.R]=!0),t}};an([Tc.cache],Ne.prototype,"walls",null);function kg([e,t],n){return e>=0&&e=0&&ti.nodes.set(s.key,s)),i.nodeArray=void 0,i.start=r,i.end=o,i}get indices(){return new Array(this.size).fill(0).map((t,n)=>n)}init(){let t=new Ne(this.chooser.choose(this.indices),this.chooser.choose(this.indices),this.size,this.chooser);this.nodes.set(t.key,t);let n=[];for(;this.nodes.size!n.has(o.key));if(r.length===0)return[];n.add(t.key);for(let o of r){let i=this.solveRecursive(o,n);if(i.length>0)return[t,...i]}return n.delete(t.key),[]}};an([xc.cache],Wt.prototype,"indices",null);var Pg=150,Yn=(()=>{let t=class t{constructor(){this.chooser=new Ze(Nc()),this.positionInternal=oi(new Ne(0,0,0,this.chooser)),this.pathInternal=oi([]),this.inAnimationInternal=!1,this.abortAnimation=!1,this.TEST_ONLY={getChooser:()=>this.chooser}}reset(r,o){o=o??Nc(),this.chooser=new Ze(o),this.mazeInternal=new Wt(r,this.chooser),this.positionInternal.set(this.maze.start),this.pathInternal.set([this.maze.start]),this.inAnimation&&(this.abortAnimation=!0)}get position(){return this.positionInternal}get path(){return this.pathInternal}get inAnimation(){return this.inAnimationInternal}getShareUrl(){return`${window.location.origin}${window.location.pathname}?seed=${this.chooser.seed}`}get maze(){return this.mazeInternal}move(r){if(!this.canMove(r))return;let o=this.positionInternal().getNeighborCoordinates(r),i=this.maze.getNode(o);this.pathInternal.set([...this.pathInternal(),i]),this.positionInternal.set(i)}canMove(r){return!this.positionInternal().walls[r]}solve(r){let o=this.maze.solve();if(!r){this.positionInternal.set(o.at(-1)),this.pathInternal.set(o);return}this.inAnimationInternal=!0;let i=0,s=()=>{if(this.abortAnimation){this.inAnimationInternal=!1,this.abortAnimation=!1;return}this.positionInternal.set(o[i]),this.pathInternal.set(o.slice(0,i+1)),i++{let t=class t{constructor(){this.gameStateService=I(Yn),this.node=Te.required(),this.endpoint=Te(void 0),this.inPath=We(()=>this.gameStateService.path().includes(this.node())),this.classes=We(()=>{let r=this.node(),o=[];for(let s of Ye)r.walls[s]&&o.push(Ac(s));let i=this.endpoint();if(i){let s=Ac(Oc(r));o=o.filter(a=>a!==s),o.push("endpoint",`endpoint-edge-${s}`,i)}return o.join(" ")}),this.icon=We(()=>{if(!this.endpoint())return"";let r=Oc(this.node()),o=this.endpoint()==="start";switch(r){case w.U:return o?"arrow_downward":"arrow_upward";case w.R:return o?"arrow_back":"arrow_forward";case w.D:return o?"arrow_upward":"arrow_downward";case w.L:return o?"arrow_forward":"arrow_back";default:Ce(r)}})}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=de({type:t,selectors:[["amaze-node"]],hostVars:4,hostBindings:function(o,i){o&2&&(Uu(i.classes()),ai("material-symbols",!0))},inputs:{node:[1,"node"],endpoint:[1,"endpoint"]},standalone:!0,features:[he],decls:4,vars:2,consts:[[1,"current-position"],[1,"historical-position"]],template:function(o,i){o&1&&(P(0,"span"),Ge(1),F(),ii(2,Fg,1,0,"span",0)(3,Lg,1,0,"span",1)),o&2&&(h(),di(i.icon()),h(),Ku(i.node().equals(i.gameStateService.position())?2:i.inPath()?3:-1))},styles:["[_nghost-%COMP%]{align-items:center;border:1px solid rgba(0,0,0,0);display:flex;height:2rem;justify-content:center;position:relative;text-align:center;text-transform:uppercase;width:2rem}.up[_nghost-%COMP%]{border-top:1px solid var(--border-color)}.right[_nghost-%COMP%]{border-right:1px solid var(--border-color)}.down[_nghost-%COMP%]{border-bottom:1px solid var(--border-color)}.left[_nghost-%COMP%]{border-left:1px solid var(--border-color)}[_nghost-%COMP%] span[_ngcontent-%COMP%]{position:absolute}.endpoint-edge-up[_nghost-%COMP%] span[_ngcontent-%COMP%]{top:-95%}.endpoint-edge-right[_nghost-%COMP%] span[_ngcontent-%COMP%]{right:-90%}.endpoint-edge-down[_nghost-%COMP%] span[_ngcontent-%COMP%]{bottom:-95%}.endpoint-edge-left[_nghost-%COMP%] span[_ngcontent-%COMP%]{left:-90%}[_nghost-%COMP%] span.current-position[_ngcontent-%COMP%], [_nghost-%COMP%] span.historical-position[_ngcontent-%COMP%]{background:var(--current-position-color);border-radius:50%;height:.6666666667rem;inset:.6666666667rem;width:.6666666667rem}[_nghost-%COMP%] span.historical-position[_ngcontent-%COMP%]{background:var(--path-color)}"],changeDetection:0});let e=t;return e})();function Ac(e){switch(e){case w.U:return"up";case w.R:return"right";case w.D:return"down";case w.L:return"left";default:Ce(e)}}function Oc(e){if(e.i===0)return w.U;if(e.j===e.size-1)return w.R;if(e.i===e.size-1)return w.D;if(e.j===0)return w.L;throw new Error(`node is not attached to maze edge: ${e}`)}function jg(e,t){if(e&1&&G(0,"amaze-node",1),e&2){let n=t.$implicit,r=Ju(2);Ue("node",n)("endpoint",r.getEndpoint(n))}}function Vg(e,t){if(e&1&&(P(0,"div",0),ci(1,jg,1,2,"amaze-node",1,ui),F()),e&2){let n=t.$implicit;h(),li(n)}}var kc=(()=>{let t=class t{constructor(){this.elementRef=I(Pn),this.maze=Te.required(),this.move=Qa()}ngAfterViewInit(){this.cleanupEventListener(),t.eventListener=r=>this.handleKeypress(r),document.body.addEventListener("keydown",t.eventListener)}ngOnDestroy(){this.cleanupEventListener()}cleanupEventListener(){t.eventListener&&document.body.removeEventListener("keydown",t.eventListener)}handleKeypress(r){let o=Bg(r.key);o!==void 0&&this.move.emit(o)}getEndpoint(r){if(this.maze().start.equals(r))return"start";if(this.maze().end.equals(r))return"end"}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=de({type:t,selectors:[["amaze-maze"]],hostVars:1,hostBindings:function(o,i){o&2&&p("tabindex",0)},inputs:{maze:[1,"maze"]},outputs:{move:"move"},standalone:!0,features:[he],decls:2,vars:0,consts:[[1,"row"],[3,"node","endpoint"]],template:function(o,i){o&1&&ci(0,Vg,3,0,"div",0,ui),o&2&&li(i.maze().toArray())},dependencies:[Rc],styles:["[_nghost-%COMP%]{border-collapse:collapse;display:block}[_nghost-%COMP%]:focus{outline:none}.row[_ngcontent-%COMP%]{display:flex}amaze-node[_ngcontent-%COMP%]{margin:-1px 0 0 -1px}"],changeDetection:0});let e=t;return e})();function Bg(e){switch(e){case"ArrowUp":case"W":case"w":return w.U;case"ArrowRight":case"D":case"d":return w.R;case"ArrowDown":case"S":case"s":return w.D;case"ArrowLeft":case"A":case"a":return w.L;default:return}}var Pc=(()=>{let t=class t{constructor(){this.color="black"}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=de({type:t,selectors:[["amaze-logo"]],hostVars:2,hostBindings:function(o,i){o&2&&si("height",i.sizePx+"px")},inputs:{sizePx:"sizePx",color:"color"},standalone:!0,features:[he],decls:65,vars:66,consts:[["viewBox","0 0 565 566","fill","none","xmlns","http://www.w3.org/2000/svg"],["x1","482","y1","3","x2","482","y2","83","stroke-width","6"],["x1","403","y1","3","x2","403","y2","83","stroke-width","6"],["x1","323","y1","3","x2","323","y2","83","stroke-width","6"],["d","M480 3L400 3","stroke-width","6"],["d","M320 3L240 3","stroke-width","6"],["d","M400 3L320 3","stroke-width","6"],["x1","3","y1","163","x2","3","y2","243","stroke-width","6"],["d","M240 163L160 163","stroke-width","6"],["d","M160 163L80 163","stroke-width","6"],["x1","83","y1","83","x2","83","y2","163","stroke-width","6"],["x1","3","y1","83","x2","3","y2","163","stroke-width","6"],["d","M245 83L165 83","stroke-width","6"],["x1","83","y1","3","x2","83","y2","83","stroke-width","6"],["x1","3","x2","3","y2","83","stroke-width","6"],["d","M240 3L160 3","stroke-width","6"],["d","M160 3L80 3","stroke-width","6"],["d","M485 403L404 403","stroke-width","6"],["x1","482","y1","403","x2","482","y2","483","stroke-width","6"],["x1","562","y1","83","x2","562","y2","163","stroke-width","6"],["d","M480 323L400 323","stroke-width","6"],["x1","562","y1","163","x2","562","y2","243","stroke-width","6"],["x1","562","y1","3","x2","562","y2","83","stroke-width","6"],["d","M565 3L480 3","stroke-width","6"],["x1","83","y1","403","x2","83","y2","483","stroke-width","6"],["x1","3","y1","403","x2","3","y2","483","stroke-width","6"],["d","M160 403L80 403","stroke-width","6"],["x1","3","y1","323","x2","3","y2","403","stroke-width","6"],["d","M160 323L80 323","stroke-width","6"],["x1","83","y1","243","x2","83","y2","323","stroke-width","6"],["x1","3","y1","243","x2","3","y2","323","stroke-width","6"],["d","M245 243L165 243","stroke-width","6"],["d","M165 243L80 243","stroke-width","6"],["d","M485 243L404 243","stroke-width","6"],["x1","323","y1","162","x2","323","y2","243","stroke-width","6"],["d","M485 163L404 163","stroke-width","6"],["d","M326 163L240 163","stroke-width","6"],["x1","482","y1","83","x2","482","y2","163","stroke-width","6"],["d","M326 83L245 83","stroke-width","6"],["x1","562","y1","243","x2","562","y2","323","stroke-width","6"],["d","M485 323L404 323","stroke-width","6"],["d","M400 323L320 323","stroke-width","6"],["x1","482","y1","243","x2","482","y2","323","stroke-width","6"],["x1","323","y1","243","x2","323","y2","323","stroke-width","6"],["x1","562","y1","323","x2","562","y2","403","stroke-width","6"],["d","M320 483L240 483","stroke-width","6"],["d","M400 483L320 483","stroke-width","6"],["x1","562","y1","483","x2","562","y2","566","stroke-width","6"],["d","M324 403L240 403","stroke-width","6"],["d","M404 403L324 403","stroke-width","6"],["x1","562","y1","403","x2","562","y2","483","stroke-width","6"],["x1","243","y1","243","x2","243","y2","323","stroke-width","6"],["x1","243","y1","323","x2","243","y2","403","stroke-width","6"],["d","M485 563L399 563","stroke-width","6"],["x1","482","y1","483","x2","482","y2","563","stroke-width","6"],["x1","163","y1","483","x2","163","y2","563","stroke-width","6"],["x1","83","y1","483","x2","83","y2","563","stroke-width","6"],["x1","3","y1","483","x2","3","y2","563","stroke-width","6"],["d","M320 563L240 563","stroke-width","6"],["d","M400 563L320 563","stroke-width","6"],["d","M240 563L160 563","stroke-width","6"],["d","M80 563L0 563","stroke-width","6"],["d","M160 563L80 563","stroke-width","6"],["x1","243","y1","483","x2","243","y2","563","stroke-width","6"]],template:function(o,i){o&1&&(kn(),P(0,"svg",0),G(1,"line",1)(2,"line",2)(3,"line",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"line",7)(8,"path",8)(9,"path",9)(10,"line",10)(11,"line",11)(12,"path",12)(13,"line",13)(14,"line",14)(15,"path",15)(16,"path",16)(17,"path",17)(18,"line",18)(19,"line",19)(20,"path",20)(21,"line",21)(22,"line",22)(23,"path",23)(24,"line",24)(25,"line",25)(26,"path",26)(27,"line",27)(28,"path",28)(29,"line",29)(30,"line",30)(31,"path",31)(32,"path",32)(33,"path",33)(34,"line",34)(35,"path",35)(36,"path",36)(37,"line",37)(38,"path",38)(39,"line",39)(40,"path",40)(41,"path",41)(42,"line",42)(43,"line",43)(44,"line",44)(45,"path",45)(46,"path",46)(47,"line",47)(48,"path",48)(49,"path",49)(50,"line",50)(51,"line",51)(52,"line",52)(53,"path",53)(54,"line",54)(55,"line",55)(56,"line",56)(57,"line",57)(58,"path",58)(59,"path",59)(60,"path",60)(61,"path",61)(62,"path",62)(63,"line",63)(64,"path",41),F()),o&2&&(p("width",i.sizePx)("height",i.sizePx),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color))},styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0});let e=t;return e})();var Fc=(()=>{let t=class t{constructor(){this.color=Te("black"),this.sizeRem=Te(1.25),this.size=We(()=>`${this.sizeRem()}rem`),this.pathStyle=We(()=>`transform: scale(${Hg(this.sizeRem())/98});`)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=de({type:t,selectors:[["github-logo"]],inputs:{color:[1,"color"],sizeRem:[1,"sizeRem"]},standalone:!0,features:[he],decls:2,vars:5,consts:[["xmlns","http://www.w3.org/2000/svg",2,"vertical-align","middle"],["fill-rule","evenodd","clip-rule","evenodd","d","M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"]],template:function(o,i){o&1&&(kn(),P(0,"svg",0),G(1,"path",1),F()),o&2&&(p("width",i.size())("height",i.size()),h(),$u(i.pathStyle()),p("fill",i.color()))},encapsulation:2});let e=t;return e})();function Hg(e){let t=parseInt(getComputedStyle(document.documentElement).fontSize);return e*t}var Ai="dark-mode",$g=new S("window",{factory:()=>window}),Lc=(()=>{let t=class t{constructor(){this.gameStateService=I(Yn),this.window=I($g),this.size=20}ngOnInit(){this.window.matchMedia&&this.window.matchMedia("(prefers-color-scheme: dark)").matches&&document.body.classList.add(Ai);let r=new URL(this.window.location.toString()),o;r.searchParams.has("seed")&&(o=Number(r.searchParams.get("seed")),this.window.history.pushState({},"",this.window.location.origin)),this.generateNewMaze(o)}get iconColor(){return this.darkModeEnabled?"white":"black"}get maze(){return this.gameStateService.maze}solveMaze(){this.gameStateService.inAnimation||this.gameStateService.solve(!0)}generateNewMaze(r){this.gameStateService.reset(this.size,r)}get darkModeEnabled(){return document.body.classList.contains(Ai)}get themeModeIcon(){return this.darkModeEnabled?"light_mode":"dark_mode"}toggleDarkMode(){document.body.classList.toggle(Ai)}shareMaze(){let r=this.gameStateService.getShareUrl();navigator.clipboard.writeText(r),alert("URL copied to clipboard")}handleMove(r){this.gameStateService.inAnimation||this.gameStateService.move(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=de({type:t,selectors:[["app-root"]],standalone:!0,features:[he],decls:14,vars:5,consts:[[3,"sizePx","color"],["title","Solve the maze","data-test-id","solve-maze-button",1,"material-symbols","icon-button",3,"click"],["title","Generate a new maze","data-test-id","generate-maze-button",1,"material-symbols","icon-button",3,"click"],["title","Toggle light/dark mode","data-test-id","toggle-dark-mode-button",1,"material-symbols","icon-button",3,"click"],["title","Share this maze","data-test-id","share-maze-button",1,"material-symbols","icon-button",3,"click"],["href","https://github.com/chrispyles/amaze","target","_blank","title","View on GitHub",1,"icon-button"],[3,"color"],[3,"move","maze"]],template:function(o,i){o&1&&(P(0,"header"),G(1,"amaze-logo",0),P(2,"div")(3,"button",1),ze("click",function(){return i.solveMaze()}),Ge(4," conversion_path "),F(),P(5,"button",2),ze("click",function(){return i.generateNewMaze()}),Ge(6," refresh "),F(),P(7,"button",3),ze("click",function(){return i.toggleDarkMode()}),Ge(8),F(),P(9,"button",4),ze("click",function(){return i.shareMaze()}),Ge(10," share "),F(),P(11,"a",5),G(12,"github-logo",6),F()()(),P(13,"amaze-maze",7),ze("move",function(a){return i.handleMove(a)}),F()),o&2&&(h(),Ue("sizePx",36)("color",i.iconColor),h(7),Bn(" ",i.themeModeIcon," "),h(4),Ue("color",i.iconColor),h(),Ue("maze",i.maze))},dependencies:[Fc,Pc,kc],styles:["[_nghost-%COMP%]{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}header[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:space-between;padding:1rem;position:absolute;top:0;width:calc(100% - 2rem)}header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex}"],changeDetection:0});let e=t;return e})();Dc(Lc,wc).catch(e=>console.error(e)); + `)}`}function St(e,t){let n=e.hasOwnProperty(fs);return n?e[fs]:null}function bo(e,t){e.forEach(n=>Array.isArray(n)?bo(n,t):t(n))}function xl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ta(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nl(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Rn(e,t,n){let r=Vt(e,t);return r>=0?e[r|1]=n:(r=~r,Nl(e,r,t,n)),r}function gr(e,t){let n=Vt(e,t);if(n>=0)return e[n|1]}function Vt(e,t){return Al(e,t,1)}function Al(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(X(r))return!1;s=!0}}}}return X(r)||s}function X(e){return(e&1)===0}function jl(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!X(s)&&(t+=ms(i,o),o=""),r=s,i=i||!X(r);n++}return o!==""&&(t+=ms(i,o)),t}function Ul(e){return e.map($l).join(",")}function zl(e){let t=[],n=[],r=1,o=2;for(;r{let t=Zl(e),n=K(W({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===oa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ce.Emulated,styles:e.styles||ve,_:null,schemas:e.schemas||null,tView:null,id:""});Yl(n);let r=e.dependencies;return n.directiveDefs=ys(r,!1),n.pipeDefs=ys(r,!0),n.id=Ql(n),n})}function Gl(e){return kn(e)||sa(e)}function Wl(e){return e!==null}function vs(e,t){if(e==null)return _t;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=at.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==at.None?[r,a]:r,t[i]=s):n[i]=r}return n}function kn(e){return e[pl]||null}function sa(e){return e[gl]||null}function aa(e){return e[ml]||null}function ql(e){let t=kn(e)||sa(e)||aa(e);return t!==null?t.standalone:!1}function Zl(e){let 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||_t,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||ve,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:vs(e.inputs,t),outputs:vs(e.outputs),debugInfo:null}}function Yl(e){e.features?.forEach(t=>t(e))}function ys(e,t){if(!e)return null;let n=t?aa:Gl;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Wl)}function Ql(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ca(e){return{\u0275providers:e}}function Kl(...e){return{\u0275providers:ua(!0,e),\u0275fromNgModule:!0}}function ua(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return bo(t,s=>{let a=s;Or(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&la(o,i),n}function la(e,t){for(let n=0;n{t(i,r)})}}function Or(e,t,n,r){if(e=ee(e),!e)return!1;let o=null,i=ls(e),s=!i&&kn(e);if(!i&&!s){let c=e.ngModule;if(i=ls(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Or(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{bo(i.imports,l=>{Or(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&la(u,t)}if(!a){let u=St(o)||(()=>new o);t({provide:o,useFactory:u,deps:ve},o),t({provide:ra,useValue:o,multi:!0},o),t({provide:Tt,useValue:()=>_(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;_o(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function _o(e,t){for(let n of e)Js(n)&&(n=n.\u0275providers),Array.isArray(n)?_o(n,t):t(n)}var Jl=T({provide:String,useValue:T});function da(e){return e!==null&&typeof e=="object"&&Jl in e}function Xl(e){return!!(e&&e.useExisting)}function ed(e){return!!(e&&e.useFactory)}function Rr(e){return typeof e=="function"}var Pn=new S(""),hn={},td={},mr;function To(){return mr===void 0&&(mr=new Dn),mr}var Fe=class{},wn=class extends Fe{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Pr(t,s=>this.processProvider(s)),this.records.set(na,nt(void 0,this)),o.has("environment")&&this.records.set(Fe,nt(void 0,this));let i=this.records.get(Pn);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ra,ve,E.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=y(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),y(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=tt(this),r=ie(void 0),o;try{return t()}finally{tt(n),ie(r)}}get(t,n=Mt,r=E.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(hs))return t[hs](this);r=On(r);let o,i=tt(this),s=ie(void 0);try{if(!(r&E.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=ad(t)&&Eo(t);u&&this.injectableDefInScope(u)?c=nt(kr(t),hn):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&E.Self?To():this.parent;return n=r&E.Optional&&n===Mt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[yn]=a[yn]||[]).unshift(q(t)),i)throw a;return _l(a,t,"R3InjectorError",this.source)}else throw a}finally{ie(s),tt(i)}}resolveInjectorInitializers(){let t=y(null),n=tt(this),r=ie(void 0),o;try{let i=this.get(Tt,ve,E.Self);for(let s of i)s()}finally{tt(n),ie(r),y(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(q(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(t){t=ee(t);let n=Rr(t)?t:ee(t&&t.provide),r=rd(t);if(!Rr(t)&&t.multi===!0){let o=this.records.get(n);o||(o=nt(void 0,hn,!0),o.factory=()=>Nr(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=y(null);try{return n.value===hn&&(n.value=td,n.value=n.factory()),typeof n.value=="object"&&n.value&&sd(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{y(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ee(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function kr(e){let t=Eo(e),n=t!==null?t.factory:St(e);if(n!==null)return n;if(e instanceof S)throw new M(204,!1);if(e instanceof Function)return nd(e);throw new M(204,!1)}function nd(e){if(e.length>0)throw new M(204,!1);let n=fl(e);return n!==null?()=>n.factory(e):()=>new e}function rd(e){if(da(e))return nt(void 0,e.useValue);{let t=od(e);return nt(t,hn)}}function od(e,t,n){let r;if(Rr(e)){let o=ee(e);return St(o)||kr(o)}else if(da(e))r=()=>ee(e.useValue);else if(ed(e))r=()=>e.useFactory(...Nr(e.deps||[]));else if(Xl(e))r=()=>_(ee(e.useExisting));else{let o=ee(e&&(e.useClass||e.provide));if(id(e))r=()=>new o(...Nr(e.deps));else return St(o)||kr(o)}return r}function nt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function id(e){return!!e.deps}function sd(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ad(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function Pr(e,t){for(let n of e)Array.isArray(n)?Pr(n,t):n&&Js(n)?Pr(n.\u0275providers,t):t(n)}function cd(){return Xs()!==void 0||bl()!=null}var Ee=0,D=1,m=2,Y=3,te=4,fe=5,xt=6,En=7,V=8,ct=9,ye=10,L=11,Nt=12,Ds=13,mt=14,ue=15,ut=16,rt=17,lt=18,Fn=19,fa=20,Me=21,vr=22,Z=23,ne=25,ha=1;var At=7,ud=8,In=9,$=10,Cn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Cn||{});function Pe(e){return Array.isArray(e)&&typeof e[ha]=="object"}function He(e){return Array.isArray(e)&&e[ha]===!0}function pa(e){return(e.flags&4)!==0}function xo(e){return e.componentOffset>-1}function No(e){return(e.flags&1)===1}function Bt(e){return!!e.template}function Fr(e){return(e[m]&512)!==0}var Lr=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function ga(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function ld(){return ma}function ma(e){return e.type.prototype.ngOnChanges&&(e.setInput=fd),dd}ld.ngInherit=!0;function dd(){let e=ya(this),t=e?.current;if(t){let n=e.previous;if(n===_t)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fd(e,t,n,r,o){let i=this.declaredInputs[r],s=ya(e)||hd(e,{previous:_t,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Lr(u&&u.currentValue,n,c===_t),ga(e,t,o,n)}var va="__ngSimpleChanges__";function ya(e){return e[va]||null}function hd(e,t){return e[va]=t}var ws=null;var se=function(e,t,n){ws?.(e,t,n)},Da="svg",pd="math";function De(e){for(;Array.isArray(e);)e=e[Ee];return e}function wa(e,t){return De(t[e])}function re(e,t){return De(t[e.index])}function Ao(e,t){return e.data[t]}function vt(e,t){let n=t[e];return Pe(n)?n:n[Ee]}function Oo(e){return(e[m]&128)===128}function dt(e,t){return t==null?null:e[t]}function Ea(e){e[rt]=0}function Ia(e){e[m]&1024||(e[m]|=1024,Oo(e)&&Ln(e))}function gd(e,t){for(;e>0;)t=t[mt],e--;return t}function Ot(e){return!!(e[m]&9216||e[Z]?.dirty)}function jr(e){e[ye].changeDetectionScheduler?.notify(7),e[m]&64&&(e[m]|=1024),Ot(e)&&Ln(e)}function Ln(e){e[ye].changeDetectionScheduler?.notify(0);let t=Le(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!Oo(t)));)t=Le(t)}function Ca(e,t){if((e[m]&256)===256)throw new M(911,!1);e[Me]===null&&(e[Me]=[]),e[Me].push(t)}function md(e,t){if(e[Me]===null)return;let n=e[Me].indexOf(t);n!==-1&&e[Me].splice(n,1)}function Le(e){let t=e[Y];return He(t)?t[Y]:t}var C={lFrame:Ra(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ba=!1;function vd(){return C.lFrame.elementDepthCount}function yd(){C.lFrame.elementDepthCount++}function Dd(){C.lFrame.elementDepthCount--}function Ma(){return C.bindingsEnabled}function wd(){return C.skipHydrationRootTNode!==null}function Ed(e){return C.skipHydrationRootTNode===e}function Id(){C.skipHydrationRootTNode=null}function N(){return C.lFrame.lView}function oe(){return C.lFrame.tView}function Se(){let e=Sa();for(;e!==null&&e.type===64;)e=e.parent;return e}function Sa(){return C.lFrame.currentTNode}function Cd(){let e=C.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ht(e,t){let n=C.lFrame;n.currentTNode=e,n.isParent=t}function _a(){return C.lFrame.isParent}function bd(){C.lFrame.isParent=!1}function Ta(){return ba}function Es(e){ba=e}function Md(e){return C.lFrame.bindingIndex=e}function $t(){return C.lFrame.bindingIndex++}function xa(e){let t=C.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Sd(){return C.lFrame.inI18n}function _d(e,t){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vr(t)}function Td(){return C.lFrame.currentDirectiveIndex}function Vr(e){C.lFrame.currentDirectiveIndex=e}function xd(e){let t=C.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Na(e){C.lFrame.currentQueryIndex=e}function Nd(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[fe]:null}function Aa(e,t,n){if(n&E.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&E.Host);)if(o=Nd(i),o===null||(i=i[mt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=C.lFrame=Oa();return r.currentTNode=t,r.lView=e,!0}function Ro(e){let t=Oa(),n=e[D];C.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Oa(){let e=C.lFrame,t=e===null?null:e.child;return t===null?Ra(e):t}function Ra(e){let 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 ka(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Pa=ka;function ko(){let e=ka();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 Ad(e){return(C.lFrame.contextLView=gd(e,C.lFrame.contextLView))[V]}function _e(){return C.lFrame.selectedIndex}function je(e){C.lFrame.selectedIndex=e}function Fa(){let e=C.lFrame;return Ao(e.tView,e.selectedIndex)}function jn(){C.lFrame.currentNamespace=Da}function Od(){return C.lFrame.currentNamespace}var La=!0;function Po(){return La}function Fo(e){La=e}function Rd(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ma(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Lo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[rt]+=65536),(a>14>16&&(e[m]&3)===t&&(e[m]+=16384,Is(a,i)):Is(a,i)}var st=-1,Rt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Pd(e){return e instanceof Rt}function Fd(e){return(e.flags&8)!==0}function Ld(e){return(e.flags&16)!==0}var Dr={},Br=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=On(r);let o=this.injector.get(t,Dr,r);return o!==Dr||n===Dr?o:this.parentInjector.get(t,n,r)}};function jd(e){return e!==st}function Hr(e){return e&32767}function Vd(e){return e>>16}function $r(e,t){let n=Vd(e),r=t;for(;n>0;)r=r[mt],n--;return r}var Ur=!0;function Cs(e){let t=Ur;return Ur=e,t}var Bd=256,Va=Bd-1,Ba=5,Hd=0,ae={};function $d(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(bt)&&(r=n[bt]),r==null&&(r=n[bt]=Hd++);let o=r&Va,i=1<>Ba)]|=i}function Ha(e,t){let n=$a(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,wr(r.data,e),wr(t,null),wr(r.blueprint,null));let o=Ua(e,t),i=e.injectorIndex;if(jd(o)){let s=Hr(o),a=$r(o,t),c=a[D].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function wr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $a(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ua(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Za(o),r===null)return st;if(n++,o=o[mt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return st}function Ud(e,t,n){$d(e,t,n)}function za(e,t,n){if(n&E.Optional||e!==void 0)return e;Co(t,"NodeInjector")}function Ga(e,t,n,r){if(n&E.Optional&&r===void 0&&(r=null),!(n&(E.Self|E.Host))){let o=e[ct],i=ie(void 0);try{return o?o.get(t,r,n&E.Optional):ea(t,r,n&E.Optional)}finally{ie(i)}}return za(r,t,n)}function Wa(e,t,n,r=E.Default,o){if(e!==null){if(t[m]&2048&&!(r&E.Self)){let s=Zd(e,t,n,r,ae);if(s!==ae)return s}let i=qa(e,t,n,r,ae);if(i!==ae)return i}return Ga(t,n,r,o)}function qa(e,t,n,r,o){let i=Wd(n);if(typeof i=="function"){if(!Aa(t,e,r))return r&E.Host?za(o,n,r):Ga(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&E.Optional))Co(n);else return s}finally{Pa()}}else if(typeof i=="number"){let s=null,a=$a(e,t),c=st,u=r&E.Host?t[ue][fe]:null;for((a===-1||r&E.SkipSelf)&&(c=a===-1?Ua(e,t):t[a+8],c===st||!Ms(r,!1)?a=-1:(s=t[D],a=Hr(c),t=$r(c,t)));a!==-1;){let l=t[D];if(bs(i,a,l.data)){let d=zd(a,t,n,s,r,u);if(d!==ae)return d}c=t[a+8],c!==st&&Ms(r,t[D].data[a+8]===u)&&bs(i,a,t)?(s=l,a=Hr(c),t=$r(c,t)):a=-1}}return o}function zd(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],c=r==null?xo(a)&&Ur:r!=s&&(a.type&3)!==0,u=o&E.Host&&i===a,l=Gd(a,s,n,c,u);return l!==null?kt(t,s,l,a):ae}function Gd(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,g=o?a+l:u;for(let f=d;f=c&&v.type===n)return f}if(o){let f=s[c];if(f&&Bt(f)&&f.type===n)return c}return null}function kt(e,t,n,r){let o=e[n],i=t.data;if(Pd(o)){let s=o;s.resolving&&yl(vl(i[n]));let a=Cs(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?ie(s.injectImpl):null,l=Aa(e,r,E.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Rd(n,i[n],t)}finally{u!==null&&ie(u),Cs(a),s.resolving=!1,Pa()}}return o}function Wd(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(bt)?e[bt]:void 0;return typeof t=="number"?t>=0?t&Va:qd:t}function bs(e,t,n){let r=1<>Ba)]&r)}function Ms(e,t){return!(e&E.Self)&&!(e&E.Host&&t)}var bn=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Wa(this._tNode,this._lView,t,On(r),n)}};function qd(){return new bn(Se(),N())}function Zd(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=qa(i,s,n,r|E.Self,ae);if(a!==ae)return a;let c=i.parent;if(!c){let u=s[fa];if(u){let l=u.get(n,ae,r);if(l!==ae)return l}c=Za(s),s=s[mt]}i=c}return o}function Za(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[fe]:null}function Ss(e,t=null,n=null,r){let o=Yd(e,t,n,r);return o.resolveInjectorInitializers(),o}function Yd(e,t=null,n=null,r,o=new Set){let i=[n||ve,Kl(e)];return r=r||(typeof e=="object"?void 0:q(e)),new wn(i,t||To(),r||null,o)}var ke=class ke{static create(t,n){if(Array.isArray(t))return Ss({name:""},n,t,"");{let r=t.name??"";return Ss({name:r},t.parent,t.providers,r)}}};ke.THROW_IF_NOT_FOUND=Mt,ke.NULL=new Dn,ke.\u0275prov=A({token:ke,providedIn:"any",factory:()=>_(na)}),ke.__NG_ELEMENT_ID__=-1;var Pt=ke;var Qd=new S("");Qd.__NG_ELEMENT_ID__=e=>{let t=Se();if(t===null)throw new M(204,!1);if(t.type&2)return t.value;if(e&E.Optional)return null;throw new M(204,!1)};var Kd="ngOriginalError";function Er(e){return e[Kd]}var le=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Er(t);for(;n&&Er(n);)n=Er(n);return n||null}},Ya=new S("",{providedIn:"root",factory:()=>I(le).handleError.bind(void 0)}),jo=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Jd,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),zr=class extends jo{constructor(t){super(),this._lView=t}onDestroy(t){return Ca(this._lView,t),()=>md(this._lView,t)}};function Jd(){return new zr(N())}var Gr=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=I(le,{optional:!0}),this.destroyRef=I(jo),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new M(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new M(953,!1);if(this.listeners===null)return;let n=y(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{y(n)}}};function Qa(e){return new Gr}function _s(e,t){return Zs(e,t)}function Xd(e){return Zs(qs,e)}var Te=(_s.required=Xd,_s);function ef(){return Ka(Se(),N())}function Ka(e,t){return new yt(re(e,t))}var yt=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=ef;let e=t;return e})();var Vn=(()=>{let 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);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275prov=A({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var Wr=class extends be{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,cd()&&(this.destroyRef=I(jo,{optional:!0})??void 0,this.pendingTasks=I(Vn,{optional:!0})??void 0)}emit(t){let n=y(null);try{super.next(t)}finally{y(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof j&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},me=Wr;function Ja(e){return(e.flags&128)===128}var Xa=new Map,tf=0;function nf(){return tf++}function rf(e){Xa.set(e[Fn],e)}function of(e){Xa.delete(e[Fn])}var Ts="__ngContext__";function Ve(e,t){Pe(t)?(e[Ts]=t[Fn],rf(t)):e[Ts]=t}function ec(e){return nc(e[Nt])}function tc(e){return nc(e[te])}function nc(e){for(;e!==null&&!He(e);)e=e[te];return e}var qr;function rc(e){qr=e}function sf(){if(qr!==void 0)return qr;if(typeof document<"u")return document;throw new M(210,!1)}var Vo=new S("",{providedIn:"root",factory:()=>af}),af="ng",Bo=new S(""),Dt=new S("",{providedIn:"platform",factory:()=>"unknown"});var Ho=new S("",{providedIn:"root",factory:()=>sf().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var cf="h",uf="b";var lf=()=>null;function $o(e,t,n=!1){return lf(e,t,n)}var oc=!1,df=new S("",{providedIn:"root",factory:()=>oc});var Zr=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${al})`}};function Ut(e){return e instanceof Zr?e.changingThisBreaksApplicationSecurity:e}var we=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(we||{}),ff;function Uo(e,t){return ff(e,t)}function ot(e,t,n,r,o){if(r!=null){let i,s=!1;He(r)?i=r:Pe(r)&&(s=!0,r=r[Ee]);let a=De(r);e===0&&n!==null?o==null?cc(t,n,a):Yr(t,n,a,o||null,!0):e===1&&n!==null?Yr(t,n,a,o||null,!0):e===2?_f(t,a,s):e===3&&t.destroyNode(a),i!=null&&xf(t,e,i,n,o)}}function hf(e,t){return e.createText(t)}function pf(e,t,n){e.setValue(t,n)}function ic(e,t,n){return e.createElement(t,n)}function gf(e,t){sc(e,t),t[Ee]=null,t[fe]=null}function mf(e,t,n,r,o,i){r[Ee]=o,r[fe]=t,Bn(e,r,n,1,o,i)}function sc(e,t){t[ye].changeDetectionScheduler?.notify(8),Bn(e,t,t[L],2,null,null)}function vf(e){let t=e[Nt];if(!t)return Ir(e[D],e);for(;t;){let n=null;if(Pe(t))n=t[Nt];else{let r=t[$];r&&(n=r)}if(!n){for(;t&&!t[te]&&t!==e;)Pe(t)&&Ir(t[D],t),t=t[Y];t===null&&(t=e),Pe(t)&&Ir(t[D],t),n=t&&t[te]}t=n}}function yf(e,t,n,r){let o=$+r,i=n.length;r>0&&(n[o-1][te]=t),r0&&(e[n-1][te]=r[te]);let i=ta(e,$+t);gf(r[D],r);let s=i[lt];s!==null&&s.detachView(i[D]),r[Y]=null,r[te]=null,r[m]&=-129}return r}function Wo(e,t){if(!(t[m]&256)){let n=t[L];n.destroyNode&&Bn(e,t,n,3,null,null),vf(t)}}function Ir(e,t){if(t[m]&256)return;let n=y(null);try{t[m]&=-129,t[m]|=256,t[Z]&&or(t[Z]),wf(e,t),Df(e,t),t[D].type===1&&t[L].destroy();let r=t[ut];if(r!==null&&He(t[Y])){r!==t[Y]&&zo(r,t);let o=t[lt];o!==null&&o.detachView(e)}of(t)}finally{y(n)}}function Df(e,t){let n=e.cleanup,r=t[En];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[En]=null);let o=t[Me];if(o!==null){t[Me]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===ce.None||i===ce.Emulated)return null}return re(r,n)}}function Yr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function cc(e,t,n){e.appendChild(t,n)}function xs(e,t,n,r,o){r!==null?Yr(e,t,n,r,o):cc(e,t,n)}function Cf(e,t,n,r){e.removeChild(t,n,r)}function uc(e,t){return e.parentNode(t)}function bf(e,t,n){return Sf(e,t,n)}function Mf(e,t,n){return e.type&40?re(e,n):null}var Sf=Mf,Ns;function qo(e,t,n,r){let o=Ef(e,r,t),i=t[L],s=r.parent||t[fe],a=bf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;cne&&hc(e,t,ne,!1),se(s?2:0,o),n(r,o)}finally{je(i),se(s?3:1,o)}}function vc(e,t,n){if(pa(t)){let r=y(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Vf(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return wd()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function As(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=at.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?Os(r,n,u,a,c):Os(r,n,u,a)}return r}function Os(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Bf(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Wf(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;xo(n)&&Xf(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ha(n,t),Ve(r,t);let s=n.initialInputs;for(let a=o;a{Ln(e.lView)},consumerOnSignalRead(){this.lView[Z]=this}});function mh(e){let t=e[Z]??Object.create(vh);return t.lView=e,t}var vh=K(W({},Et),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Le(e.lView);for(;t&&!xc(t[D]);)t=Le(t);t&&Ia(t)},consumerOnSignalRead(){this.lView[Z]=this}});function xc(e){return e.type!==2}var yh=100;function Nc(e,t=!0,n=0){let r=e[ye],o=r.rendererFactory,i=!1;i||o.begin?.();try{Dh(e,n)}catch(s){throw t&&Mc(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Dh(e,t){let n=Ta();try{Es(!0),Xr(e,t);let r=0;for(;Ot(e);){if(r===yh)throw new M(103,!1);r++,Xr(e,1)}}finally{Es(n)}}function wh(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1,s=!1;!i&&t[ye].inlineEffectRunner?.flush(),Ro(t);let a=!0,c=null,u=null;i||(xc(e)?(u=fh(t),c=tn(u)):Li()===null?(a=!1,u=mh(t),c=tn(u)):t[Z]&&(or(t[Z]),t[Z]=null));try{Ea(t),Md(e.bindingStartIndex),n!==null&&mc(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&pn(t,f,null)}else{let f=e.preOrderHooks;f!==null&&gn(t,f,0,null),yr(t,0)}if(s||Eh(t),Ac(t,0),e.contentQueries!==null&&bc(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&pn(t,f)}else{let f=e.contentHooks;f!==null&&gn(t,f,1),yr(t,1)}Rf(e,t);let d=e.components;d!==null&&Rc(t,d,0);let g=e.viewQuery;if(g!==null&&Jr(2,g,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&pn(t,f)}else{let f=e.viewHooks;f!==null&&gn(t,f,2),yr(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[vr]){for(let f of t[vr])f();t[vr]=null}i||(t[m]&=-73)}catch(l){throw i||Ln(t),l}finally{u!==null&&(nr(u,c),a&&ph(u)),ko()}}function Ac(e,t){for(let n=ec(e);n!==null;n=tc(n))for(let r=$;r-1&&(Go(t,r),ta(n,r))}this._attachedToViewContainer=!1}Wo(this._lView[D],this._lView)}onDestroy(t){Ca(this._lView,t)}markForCheck(){ni(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[m]&=-129}reattach(){jr(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,Nc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Fr(this._lView),n=this._lView[ut];n!==null&&!t&&zo(n,this._lView),sc(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=Fr(this._lView),r=this._lView[ut];r!==null&&!n&&ac(r,this._lView),jr(this._lView)}};var av=new RegExp(`^(\\d+)*(${uf}|${cf})*(.*)`);var Ch=()=>null;function ri(e,t){return Ch(e,t)}var Ft=class{},oi=new S("",{providedIn:"root",factory:()=>!1});var kc=new S(""),to=class{},Sn=class{};function bh(e){let t=Error(`No component factory found for ${q(e)}.`);return t[Mh]=e,t}var Mh="ngComponent";var no=class{resolveComponentFactory(t){throw bh(t)}},pi=class pi{};pi.NULL=new no;var Lt=pi,ft=class{};var Sh=(()=>{let t=class t{};t.\u0275prov=A({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();var Rs=new Set;function $e(e){Rs.has(e)||(Rs.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Pc(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof _r.requestAnimationFrame=="function"&&_r.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function ks(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function Ps(...e){}var k=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new me(!1),this.onMicrotaskEmpty=new me(!1),this.onStable=new me(!1),this.onError=new me(!1),typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,xh(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,_h,Ps,Ps);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},_h={};function ii(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 Th(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Pc(()=>{e.callbackScheduled=!1,ro(e),e.isCheckStableRunning=!0,ii(e),e.isCheckStableRunning=!1})}),ro(e))}function xh(e){let t=()=>{Th(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Nh(a))return n.invokeTask(o,i,s,a);try{return Fs(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ls(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return Fs(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ah(a)&&t(),Ls(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,ro(e),ii(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function ro(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Fs(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ls(e){e._nesting--,ii(e)}var oo=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new me,this.onMicrotaskEmpty=new me,this.onStable=new me,this.onError=new me}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Nh(e){return Fc(e,"__ignore_ng_zone__")}function Ah(e){return Fc(e,"__scheduler_tick__")}function Fc(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Lc=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=A({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function io(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&dc(e,n,i.join(" "))}}function jh(e,t,n){let r=e.projection=[];for(let o=0;o!1;function Hh(e,t,n){return Bh(e,t,n)}function zt(e,t){$e("NgSignals");let n=Zi(e),r=n[ge];return t?.equal&&(r.equal=t.equal),n.set=o=>on(r,o),n.update=o=>Yi(r,o),n.asReadonly=$h.bind(n),n}function $h(){let e=this[ge];if(e.readonlyFn===void 0){let t=()=>this();t[ge]=e,e.readonlyFn=t}return e.readonlyFn}var ht=class{};var _n=class extends ht{constructor(t){super(),this.componentFactoryResolver=new so(this),this.instance=null;let n=new wn([...t.providers,{provide:ht,useValue:this},{provide:Lt,useValue:this.componentFactoryResolver}],t.parent||To(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Uh(e,t,n=null){return new _n({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Ue(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function zh(e){return(e.flags&32)===32}function Gh(e,t,n,r,o,i,s,a,c){let u=t.consts,l=$n(t,e,4,s||null,a||null);Ec(t,n,l,dt(u,c)),Lo(t,l);let d=l.tView=Yo(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function uo(e,t,n,r,o,i,s,a,c,u){let l=n+ne,d=t.firstCreatePass?Gh(l,t,e,r,o,i,s,a,c):t.data[l];Ht(d,!1);let g=Wh(t,e,d,n);Po()&&qo(t,e,g,d),Ve(g,e);let f=oh(g,e,g,d);return e[l]=f,Qo(e,f),Hh(f,d,e),No(d)&&yc(t,e,d),c!=null&&Dc(e,d,u),d}function si(e,t,n,r,o,i,s,a){let c=N(),u=oe(),l=dt(u.consts,i);return uo(c,u,e,t,n,r,o,l,s,a),si}var Wh=qh;function qh(e,t,n,r){return Fo(!0),t[L].createComment("")}function p(e,t,n,r){let o=N(),i=$t();if(Ue(o,i,t)){let s=oe(),a=Fa();eh(a,o,e,t,n,r)}return p}function Zh(e,t,n,r){return Ue(e,$t(),n)?t+Io(n)+r:Ie}function fn(e,t){return e<<17|t<<2}function Be(e){return e>>17&32767}function Yh(e){return(e&2)==2}function Qh(e,t){return e&131071|t<<17}function lo(e){return e|2}function pt(e){return(e&131068)>>2}function Cr(e,t){return e&-131069|t<<2}function Kh(e){return(e&1)===1}function fo(e){return e|1}function Jh(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Be(s),c=pt(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Vt(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let g=Be(e[a+1]);e[r+1]=fn(g,a),g!==0&&(e[g+1]=Cr(e[g+1],r)),e[a+1]=Qh(e[a+1],r)}else e[r+1]=fn(a,0),a!==0&&(e[a+1]=Cr(e[a+1],r)),a=r;else e[r+1]=fn(c,0),a===0?a=r:e[c+1]=Cr(e[c+1],r),c=r;u&&(e[r+1]=lo(e[r+1])),Vs(e,l,r,!0),Vs(e,l,r,!1),Xh(t,l,e,r,i),s=fn(a,c),i?t.classBindings=s:t.styleBindings=s}function Xh(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Vt(i,t)>=0&&(n[r+1]=fo(n[r+1]))}function Vs(e,t,n,r){let o=e[n+1],i=t===null,s=r?Be(o):pt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];ep(c,t)&&(a=!0,e[s+1]=r?fo(u):lo(u)),s=r?Be(u):pt(u)}a&&(e[n+1]=r?lo(o):fo(o))}function ep(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Vt(e,t)>=0:!1}var R={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jc(e){return e.substring(R.key,R.keyEnd)}function tp(e){return e.substring(R.value,R.valueEnd)}function np(e){return Hc(e),Vc(e,gt(e,0,R.textEnd))}function Vc(e,t){let n=R.textEnd;return n===t?-1:(t=R.keyEnd=op(e,R.key=t,n),gt(e,t,n))}function rp(e){return Hc(e),Bc(e,gt(e,0,R.textEnd))}function Bc(e,t){let n=R.textEnd,r=R.key=gt(e,t,n);return n===r?-1:(r=R.keyEnd=ip(e,r,n),r=Bs(e,r,n,58),r=R.value=gt(e,r,n),r=R.valueEnd=sp(e,r,n),Bs(e,r,n,59))}function Hc(e){R.key=0,R.keyEnd=0,R.value=0,R.valueEnd=0,R.textEnd=e.length}function gt(e,t,n){for(;t32;)t++;return t}function ip(e,t,n){let r;for(;t=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Bs(e,t,n,r){return t=gt(e,t,n),t32&&(a=s),i=o,o=r,r=c&-33}return a}function Hs(e,t,n,r){let o=-1,i=n;for(;i=0;n=Bc(t,n))Zc(e,jc(t),tp(t))}function Uc(e){Gc(pp,cp,e,!0)}function cp(e,t){for(let n=np(t);n>=0;n=Vc(t,n))Rn(e,jc(t),!0)}function zc(e,t,n,r){let o=N(),i=oe(),s=xa(2);if(i.firstUpdatePass&&qc(i,e,s,r),t!==Ie&&Ue(o,s,t)){let a=i.data[_e()];Yc(i,a,o,o[L],e,o[s+1]=mp(t,n),r,s)}}function Gc(e,t,n,r){let o=oe(),i=xa(2);o.firstUpdatePass&&qc(o,null,i,r);let s=N();if(n!==Ie&&Ue(s,i,n)){let a=o.data[_e()];if(Qc(a,r)&&!Wc(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Tr(c,n||"")),ho(o,a,s,n,r)}else gp(o,a,s,s[L],s[i+1],s[i+1]=hp(e,t,n),r,i)}}function Wc(e,t){return t>=e.expandoStartIndex}function qc(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[_e()],s=Wc(e,n);Qc(i,r)&&t===null&&!s&&(t=!1),t=up(o,i,t,r),Jh(o,i,t,n,s,r)}}function up(e,t,n,r){let o=xd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=br(null,e,t,n,r),n=jt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=br(o,e,t,n,r),i===null){let c=lp(e,t,r);c!==void 0&&Array.isArray(c)&&(c=br(null,e,t,c[1],r),c=jt(c,t.attrs,r),dp(e,t,r,c))}else i=fp(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function lp(e,t,n){let r=n?t.classBindings:t.styleBindings;if(pt(r)!==0)return e[Be(r)]}function dp(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Be(o)]=r}function fp(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,g=n[o+1];g===Ie&&(g=d?ve:void 0);let f=d?gr(g,r):l===r?g:void 0;if(u&&!Tn(f)&&(f=gr(c,r)),Tn(f)&&(a=f,s))return a;let v=e[o+1];o=s?Be(v):pt(v)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=gr(c,r))}return a}function Tn(e){return e!==void 0}function mp(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=q(Ut(e)))),e}function Qc(e,t){return(e.flags&(t?8:16))!==0}var po=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Mr(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function vp(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=Mr(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let g=e.at(s),f=t[c],v=Mr(s,g,c,f,n);if(v!==0){v<0&&e.updateValue(s,f),s--,c--;continue}let b=n(i,u),x=n(s,g),U=n(i,l);if(Object.is(U,x)){let z=n(c,f);Object.is(z,b)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new xn,o??=zs(e,i,s,n),go(e,r,i,U))e.updateValue(i,l),i++,s++;else if(o.has(U))r.set(b,e.detach(i)),s--;else{let z=e.create(i,t[i]);e.attach(i,z),i++,s++}}for(;i<=c;)Us(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,g=Mr(i,l,i,d,n);if(g!==0)g<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new xn,o??=zs(e,i,s,n);let f=n(i,d);if(go(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let v=n(i,l);r.set(v,e.detach(i)),s--}}}for(;!u.done;)Us(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function go(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Us(e,t,n,r,o){if(go(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function zs(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var xn=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function Kc(e,t){$e("NgControlFlow");let n=N(),r=$t(),o=n[r]!==Ie?n[r]:-1,i=o!==-1?Nn(n,ne+o):void 0,s=0;if(Ue(n,r,e)){let a=y(null);try{if(i!==void 0&&_c(i,s),e!==-1){let c=ne+e,u=Nn(n,c),l=Do(n[D],c),d=ri(u,l.tView.ssrId),g=Xo(n,l,t,{dehydratedView:d});ti(u,g,s,ei(l,d))}}finally{y(a)}}else if(i!==void 0){let a=Sc(i,s);a!==void 0&&(a[V]=t)}}var mo=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-$}};function ci(e,t){return t}var vo=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function ui(e,t,n,r,o,i,s,a,c,u,l,d,g){$e("NgControlFlow");let f=N(),v=oe(),b=c!==void 0,x=N(),U=a?s.bind(x[ue][V]):s,z=new vo(b,U);x[ne+e]=z,uo(f,v,e+1,t,n,r,o,dt(v.consts,i)),b&&uo(f,v,e+2,c,u,l,d,dt(v.consts,g))}var yo=class extends po{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-$}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[xt];this.needsIndexUpdate||=t!==this.length,ti(this.lContainer,n,t,ei(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,yp(this.lContainer,t)}create(t,n){let r=ri(this.lContainer,this.templateTNode.tView.ssrId),o=Xo(this.hostLView,this.templateTNode,new mo(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Wo(t[D],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Fo(!0),ic(r,o,Od()));var An="en-US";var Ip=An;function Cp(e){typeof e=="string"&&(Ip=e.toLowerCase().replace(/_/g,"-"))}var bp=(e,t,n)=>{};function Ge(e,t,n,r){let o=N(),i=oe(),s=Se();return Sp(i,o,o[L],s,e,t,r),Ge}function Mp(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Sp(e,t,n,r,o,i,s){let a=No(r),u=e.firstCreatePass&&sh(e),l=t[V],d=ih(t),g=!0;if(r.type&3||s){let b=re(r,t),x=s?s(b):b,U=d.length,z=s?pe=>s(De(pe[r.index])):r.index,B=null;if(!s&&a&&(B=Mp(e,t,o,r.index)),B!==null){let pe=B.__ngLastListenerFn__||B;pe.__ngNextListenerFn__=i,B.__ngLastListenerFn__=i,g=!1}else{i=Ws(r,t,l,i),bp(b,o,i);let pe=n.listen(x,o,i);d.push(i,pe),u&&u.push(o,z,U,U+1)}}else i=Ws(r,t,l,i);let f=r.outputs,v;if(g&&f!==null&&(v=f[o])){let b=v.length;if(b)for(let x=0;x-1?vt(e.index,t):t;ni(s,5);let a=Gs(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Gs(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function Jc(e=1){return Ad(e)}function xe(e,t=""){let n=N(),r=oe(),o=e+ne,i=r.firstCreatePass?$n(r,o,1,t,null):r.data[o],s=_p(r,n,i,t,e);n[o]=s,Po()&&qo(r,n,s,i),Ht(i,!1)}var _p=(e,t,n,r,o)=>(Fo(!0),hf(t[L],r));function di(e){return Wt("",e,""),di}function Wt(e,t,n){let r=N(),o=Zh(r,e,t,n);return o!==Ie&&ah(r,_e(),o),Wt}var Tp=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=ua(!1,r.type),i=o.length>0?Uh([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=A({token:t,providedIn:"environment",factory:()=>new t(_(Fe))});let e=t;return e})();function he(e){$e("NgStandalone"),e.getStandaloneInjector=t=>t.get(Tp).getOrCreateStandaloneInjector(e)}var Xc=new S("");function fi(e){return!!e&&typeof e.then=="function"}function eu(e){return!!e&&typeof e.subscribe=="function"}var xp=new S(""),tu=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=I(xp,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(fi(s))r.push(s);else if(eu(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Np=new S("");function Ap(){qi(()=>{throw new M(600,!1)})}function Op(e){return e.isBoundToModule}var Rp=10;function kp(e,t,n){try{let r=n();return fi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Un=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=I(Ya),this.afterRenderEffectManager=I(Lc),this.zonelessEnabled=I(oi),this.externalTestViews=new Set,this.beforeRender=new be,this.afterTick=new be,this.componentTypes=[],this.components=[],this.isStable=I(Vn).hasPendingTasks.pipe(pr(r=>!r)),this._injector=I(Fe)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Sn;if(!this._injector.get(tu).done){let f=!i&&ql(r),v=!1;throw new M(405,v)}let a;i?a=r:a=this._injector.get(Lt).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=Op(a)?void 0:this._injector.get(ht),u=o||a.selector,l=a.create(Pt.NULL,[],u,c),d=l.location.nativeElement,g=l.injector.get(Xc,null);return g?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Sr(this.components,l),g?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new M(101,!1);let o=y(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,y(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(ft,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;iOt(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>Ot(c))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Sr(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Np,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Sr(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new M(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Sr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Pp(e,t,n,r){if(!n&&!Ot(e))return;Nc(e,t,n&&!r?0:1)}var Fp=(()=>{let t=class t{constructor(){this.zone=I(k),this.changeDetectionScheduler=I(Ft),this.applicationRef=I(Un)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Lp=new S("",{factory:()=>!1});function nu({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new k(ou()),[{provide:k,useFactory:e},{provide:Tt,multi:!0,useFactory:()=>{let n=I(Fp,{optional:!0});return()=>n.initialize()}},{provide:Tt,multi:!0,useFactory:()=>{let n=I(Vp);return()=>{n.initialize()}}},{provide:Ya,useFactory:jp},t===!0?{provide:kc,useValue:!0}:[]]}function jp(){let e=I(k),t=I(le);return n=>e.runOutsideAngular(()=>t.handleError(n))}function ru(e){let t=e?.ignoreChangesOutsideZone,n=nu({ngZoneFactory:()=>{let r=ou(e);return r.shouldCoalesceEventChangeDetection&&$e("NgZone_CoalesceEvent"),new k(r)},ignoreChangesOutsideZone:t});return ca([{provide:Lp,useValue:!0},{provide:oi,useValue:!1},n])}function ou(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Vp=(()=>{let t=class t{constructor(){this.subscription=new j,this.initialized=!1,this.zone=I(k),this.pendingTasks=I(Vn)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{k.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Bp=(()=>{let t=class t{constructor(){this.appRef=I(Un),this.taskService=I(Vn),this.ngZone=I(k),this.zonelessEnabled=I(oi),this.disableScheduling=I(kc,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new j,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,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.zonelessEnabled&&(this.ngZone instanceof oo||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?ks:Pc;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&k.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ks(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Hp(){return typeof $localize<"u"&&$localize.locale||An}var hi=new S("",{providedIn:"root",factory:()=>I(hi,E.Optional|E.SkipSelf)||Hp()});var iu=new S("");var vn=null;function $p(e=[],t){return Pt.create({name:t,providers:[{provide:Pn,useValue:"platform"},{provide:iu,useValue:new Set([()=>vn=null])},...e]})}function Up(e=[]){if(vn)return vn;let t=$p(e);return vn=t,Ap(),zp(t),t}function zp(e){e.get(Bo,null)?.forEach(n=>n())}function su(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Up(r),i=[nu({}),{provide:Ft,useExisting:Bp},...n||[]],a=new _n({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(k);return c.run(()=>{a.resolveInjectorInitializers();let u=a.get(le,null),l;c.runOutsideAngular(()=>{l=c.onError.subscribe({next:f=>{u.handleError(f)}})});let d=()=>a.destroy(),g=o.get(iu);return g.add(d),a.onDestroy(()=>{l.unsubscribe(),g.delete(d)}),kp(u,c,()=>{let f=a.get(tu);return f.runInitializers(),f.donePromise.then(()=>{let v=a.get(hi,An);Cp(v||An);let b=a.get(Un);return t!==void 0&&b.bootstrap(t),b})})})}catch(t){return Promise.reject(t)}}function We(e,t){$e("NgSignals");let n=zi(e);return t?.equal&&(n[ge].equal=t.equal),n}var au=null;function gi(){return au}function cu(e){au??=e}var zn=class{};var Ne=new S("");var uu=new S("");function lu(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var du="browser",Wp="server";function mi(e){return e===Wp}var Gn=class{};var Di=class extends zn{constructor(){super(...arguments),this.supportsDOMEvents=!0}},wi=class e extends Di{static makeCurrent(){cu(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Zp();return n==null?null:Yp(n)}resetBaseElement(){qt=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return lu(document.cookie,t)}},qt=null;function Zp(){return qt=qt||document.querySelector("base"),qt?qt.getAttribute("href"):null}function Yp(e){return new URL(e,document.baseURI).pathname}var Qp=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac});let e=t;return e})(),Ei=new S(""),gu=(()=>{let t=class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new M(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(_(Ei),_(k))},t.\u0275prov=A({token:t,factory:t.\u0275fac});let e=t;return e})(),Wn=class{constructor(t){this._doc=t}},vi="ng-app-id",mu=(()=>{let t=class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=mi(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${vi}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(vi),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(vi,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(_(Ne),_(Vo),_(Ho,8),_(Dt))},t.\u0275prov=A({token:t,factory:t.\u0275fac});let e=t;return e})(),yi={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ci=/%COMP%/g,vu="%COMP%",Kp=`_nghost-${vu}`,Jp=`_ngcontent-${vu}`,Xp=!0,eg=new S("",{providedIn:"root",factory:()=>Xp});function tg(e){return Jp.replace(Ci,e)}function ng(e){return Kp.replace(Ci,e)}function yu(e,t){return t.map(n=>n.replace(Ci,e))}var fu=(()=>{let t=class t{constructor(r,o,i,s,a,c,u,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=mi(c),this.defaultRenderer=new Zt(r,a,u,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ce.ShadowDom&&(o=K(W({},o),{encapsulation:ce.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof qn?i.applyToHost(r):i instanceof Yt&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(o.encapsulation){case ce.Emulated:s=new qn(u,l,o,this.appId,d,a,c,g);break;case ce.ShadowDom:return new Ii(u,l,r,o,a,c,this.nonce,g);default:s=new Yt(u,l,o,d,a,c,g);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(_(gu),_(mu),_(Vo),_(eg),_(Ne),_(Dt),_(k),_(Ho))},t.\u0275prov=A({token:t,factory:t.\u0275fac});let e=t;return e})(),Zt=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(yi[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(hu(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(hu(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new M(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=yi[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=yi[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(we.DashCase|we.Important)?t.style.setProperty(n,r,o&we.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&we.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=gi().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function hu(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ii=class extends Zt{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=yu(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Yt=class extends Zt{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?yu(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},qn=class extends Yt{constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=tg(u),this.hostAttr=ng(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},rg=(()=>{let t=class t extends Wn{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(_(Ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac});let e=t;return e})(),pu=["alt","control","meta","shift"],og={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ig={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},sg=(()=>{let t=class t extends Wn{constructor(r){super(r)}supports(r){return t.parseEventName(r)!=null}addEventListener(r,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>gi().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),pu.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(r,o){let i=og[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),pu.forEach(a=>{if(a!==i){let c=ig[a];c(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};t.\u0275fac=function(o){return new(o||t)(_(Ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac});let e=t;return e})();function Du(e,t){return su(W({rootComponent:e},ag(t)))}function ag(e){return{appProviders:[...fg,...e?.providers??[]],platformProviders:dg}}function cg(){wi.makeCurrent()}function ug(){return new le}function lg(){return rc(document),document}var dg=[{provide:Dt,useValue:du},{provide:Bo,useValue:cg,multi:!0},{provide:Ne,useFactory:lg,deps:[]}];var fg=[{provide:Pn,useValue:"root"},{provide:le,useFactory:ug,deps:[]},{provide:Ei,useClass:rg,multi:!0,deps:[Ne,k,Dt]},{provide:Ei,useClass:sg,multi:!0,deps:[Ne]},fu,mu,gu,{provide:ft,useExisting:fu},{provide:Gn,useClass:Qp,deps:[]},[]];var wu={providers:[ru({eventCoalescing:!0}),{provide:uu,useValue:"/amaze"}]};var Ce=e=>{let t=n=>{if(typeof n=="symbol")return n.toString();if(typeof n>"u")return"undefined";if(typeof n=="string")return n;try{return JSON.stringify(n)}catch(r){if(r instanceof TypeError)return typeof n=="bigint"?`${n.toString()} (bigint)`:"circular object";throw r}};throw new TypeError(`Internal Error: encountered impossible value "${t(e)}"`)};function Eu(e,t,n){if(typeof n<"u"){let s=e,a=t;return Eu.tag(s,a,n)}let r=e,o=t;if(!Object.prototype.hasOwnProperty.call(o,r))return Object.prototype.hasOwnProperty.call(o,"_")?o._():Ce(r);let i=o[r];return i(r)}Eu.tag=(e,t,n)=>{let r=e[t];if(!Object.prototype.hasOwnProperty.call(n,r))return Object.prototype.hasOwnProperty.call(n,"_")?n._():Ce(e);let o=n[r];return o(e)};var hg=214013,pg=2531011,gg=4294967295,mg=(1<<31)-1,bi=function(e){return e*hg+pg&gg},Mi=function(e){return(e&mg)>>16},Iu=function(){function e(t){this.seed=t}return e.prototype.clone=function(){return new e(this.seed)},e.prototype.next=function(){var t=new e(this.seed),n=t.unsafeNext();return[n,t]},e.prototype.unsafeNext=function(){var t=bi(this.seed),n=Mi(t),r=bi(t),o=Mi(r);this.seed=bi(r);var i=Mi(this.seed),s=i+(o+(n<<15)<<15);return s|0},e.prototype.getState=function(){return[this.seed]},e}();function vg(e){var t=e.length===1;if(!t)throw new Error("The state must have been produced by a congruential32 RandomGenerator");return new Iu(e[0])}var yg=Object.assign(function(e){return new Iu(e)},{fromState:vg});var Dg=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},wg=function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r>>1^-(o&1)&e.A}for(var r=e.N-e.M;r!==e.N-1;++r){var i=(n[r]&e.MASK_UPPER)+(n[r+1]&e.MASK_LOWER);n[r]=n[r+e.M-e.N]^i>>>1^-(i&1)&e.A}var s=(n[e.N-1]&e.MASK_UPPER)+(n[0]&e.MASK_LOWER);return n[e.N-1]=n[e.M-1]^s>>>1^-(s&1)&e.A,n},e.seeded=function(t){var n=Array(e.N);n[0]=t;for(var r=1;r!==e.N;++r){var o=n[r-1]^n[r-1]>>>30;n[r]=Math.imul(e.F,o)+r|0}return n},e.from=function(t){return new e(e.twist(e.seeded(t)),0)},e.prototype.clone=function(){return new e(this.states,this.index)},e.prototype.next=function(){var t=new e(this.states,this.index),n=t.unsafeNext();return[n,t]},e.prototype.unsafeNext=function(){var t=this.states[this.index];return t^=this.states[this.index]>>>e.U,t^=t<>>e.L,++this.index>=e.N&&(this.states=e.twist(this.states),this.index=0),t},e.prototype.getState=function(){return wg([this.index],Dg(this.states),!1)},e.fromState=function(t){var n=t.length===e.N+1&&t[0]>=0&&t[0]>>9),r=t^this.s10^(t>>>18|n<<14)^(this.s10>>>5|this.s11<<27),o=n^this.s11^n>>>18^this.s11>>>5,i=this.s00+this.s10|0;return this.s01=this.s11,this.s00=this.s10,this.s11=o,this.s10=r,i},e.prototype.jump=function(){var t=new e(this.s01,this.s00,this.s11,this.s10);return t.unsafeJump(),t},e.prototype.unsafeJump=function(){for(var t=0,n=0,r=0,o=0,i=[1667051007,2321340297,1548169110,304075285],s=0;s!==4;++s)for(var a=1;a;a<<=1)i[s]&a&&(t^=this.s01,n^=this.s00,r^=this.s11,o^=this.s10),this.unsafeNext();this.s01=t,this.s00=n,this.s11=r,this.s10=o},e.prototype.getState=function(){return[this.s01,this.s00,this.s11,this.s10]},e}();function Cg(e){var t=e.length===4;if(!t)throw new Error("The state must have been produced by a xorshift128plus RandomGenerator");return new bu(e[0],e[1],e[2],e[3])}var bg=Object.assign(function(e){return new bu(-1,~e,e|0,0)},{fromState:Cg});var Mu=function(){function e(t,n,r,o){this.s01=t,this.s00=n,this.s11=r,this.s10=o}return e.prototype.clone=function(){return new e(this.s01,this.s00,this.s11,this.s10)},e.prototype.next=function(){var t=new e(this.s01,this.s00,this.s11,this.s10),n=t.unsafeNext();return[n,t]},e.prototype.unsafeNext=function(){var t=this.s00+this.s10|0,n=this.s10^this.s00,r=this.s11^this.s01,o=this.s00,i=this.s01;return this.s00=o<<24^i>>>8^n^n<<16,this.s01=i<<24^o>>>8^r^(r<<16|n>>>16),this.s10=r<<5^n>>>27,this.s11=n<<5^r>>>27,t},e.prototype.jump=function(){var t=new e(this.s01,this.s00,this.s11,this.s10);return t.unsafeJump(),t},e.prototype.unsafeJump=function(){for(var t=0,n=0,r=0,o=0,i=[3639956645,3750757012,1261568508,386426335],s=0;s!==4;++s)for(var a=1;a;a<<=1)i[s]&a&&(t^=this.s01,n^=this.s00,r^=this.s11,o^=this.s10),this.unsafeNext();this.s01=t,this.s00=n,this.s11=r,this.s10=o},e.prototype.getState=function(){return[this.s01,this.s00,this.s11,this.s10]},e}();function Mg(e){var t=e.length===4;if(!t)throw new Error("The state must have been produced by a xoroshiro128plus RandomGenerator");return new Mu(e[0],e[1],e[2],e[3])}var Si=Object.assign(function(e){return new Mu(-1,~e,e|0,0)},{fromState:Mg});function Zn(e,t){if(t<0){var n=-t;e.sign=-1,e.data[0]=~~(n/4294967296),e.data[1]=n>>>0}else e.sign=1,e.data[0]=~~(t/4294967296),e.data[1]=t>>>0;return e}function Su(e,t,n){var r=t.data[1],o=t.data[0],i=t.sign,s=n.data[1],a=n.data[0],c=n.sign;if(e.sign=1,i===1&&c===-1){var u=r+s,l=o+a+(u>4294967295?1:0);return e.data[0]=l>>>0,e.data[1]=u>>>0,e}var d=r,g=o,f=s,v=a;i===-1&&(d=s,g=a,f=r,v=o);var b=0,x=d-f;return x<0&&(b=1,x=x>>>0),e.data[0]=g-v-b,e.data[1]=x,e}function Yn(e,t){for(var n=e>2?~~(4294967296/e)*e:4294967296,r=t.unsafeNext()+2147483648;r>=n;)r=t.unsafeNext()+2147483648;return r%e}function _i(e,t,n){for(var r=t.length;;){for(var o=0;o!==r;++o){var i=o===0?t[0]+1:4294967296,s=Yn(i,n);e[o]=s}for(var o=0;o!==r;++o){var a=e[o],c=t[o];if(ac)break}}}var Tg=Number.MAX_SAFE_INTEGER,xg={sign:1,data:[0,0]},Ng={sign:1,data:[0,0]},_u={sign:1,data:[0,0]},Ti=[0,0];function Ag(e,t,n,r){var o=n<=Tg?Zn(_u,n):Su(_u,Zn(xg,t),Zn(Ng,e));return o.data[1]===4294967295?(o.data[0]+=1,o.data[1]=0):o.data[1]+=1,_i(Ti,o.data,r),Ti[0]*4294967296+Ti[1]+e}function Qn(e,t,n){var r=t-e;if(r<=4294967295){var o=Yn(r+1,n);return o+e}return Ag(e,t,r,n)}var Ze=class{constructor(t){this.seed=t,this.prng=Si(t)}choose(t){let n=Qn(0,t.length-1,this.prng);return t[n]}};var xu=Pi(Ni());var Tu=Pi(Ni());var w=function(e){return e[e.U=0]="U",e[e.R=1]="R",e[e.D=2]="D",e[e.L=3]="L",e}(w||{}),Ye=[w.U,w.R,w.D,w.L];var Ae=class e{constructor(t,n,r,o){this.i=t,this.j=n,this.size=r,this.chooser=o,this.neighbors=[]}static getKey(t,n){let r,o;if(typeof t=="number"&&typeof n=="number")r=t,o=n;else if(t instanceof Array)r=t[0],o=t[1];else throw new Error(`invalid arguments: ${t} ${n}`);return`${r}~${o}`}get key(){return e.getKey(this.i,this.j)}equals(t){return t instanceof e?this.i===t.i&&this.j===t.j:t instanceof Array?t.length===2&&this.i===t[0]&&this.j===t[1]:!1}getNeighborCoordinates(t){switch(t){case w.U:return[this.i-1,this.j];case w.R:return[this.i,this.j+1];case w.D:return[this.i+1,this.j];case w.L:return[this.i,this.j-1];default:Ce(t)}}chooseNeighbor(t){let n=[];for(let r of Ye){let o=this.getNeighborCoordinates(r);kg(o,this.size)&&!t.has(e.getKey(o))&&n.push(o)}if(n.length!==0)return new e(...this.chooser.choose(n),this.size,this.chooser)}hasNeighbor(t){let n=e.getKey(t);return this.neighbors.some(r=>r.key===n)}get walls(){let t=[];for(let n of Ye){let r=this.getNeighborCoordinates(n);t.push(!this.hasNeighbor(r))}return this.i===0&&(t[w.U]=!0),this.i===this.size-1&&(t[w.D]=!0),this.j===0&&(t[w.L]=!0),this.j===this.size-1&&(t[w.R]=!0),t}};dn([Tu.cache],Ae.prototype,"walls",null);function kg([e,t],n){return e>=0&&e=0&&ti.nodes.set(s.key,s)),i.nodeArray=void 0,i.start=r,i.end=o,i}get indices(){return new Array(this.size).fill(0).map((t,n)=>n)}init(){let t=new Ae(this.chooser.choose(this.indices),this.chooser.choose(this.indices),this.size,this.chooser);this.nodes.set(t.key,t);let n=[];for(;this.nodes.size!n.has(o.key));if(r.length===0)return[];n.add(t.key);for(let o of r){let i=this.solveRecursive(o,n);if(i.length>0)return[t,...i]}return n.delete(t.key),[]}};dn([xu.cache],Qt.prototype,"indices",null);var Pg=150,Kn=(()=>{let t=class t{constructor(){this.chooser=new Ze(Nu()),this.positionInternal=zt(new Ae(0,0,0,this.chooser)),this.pathInternal=zt([]),this.inAnimationInternal=!1,this.abortAnimation=!1,this.TEST_ONLY={getChooser:()=>this.chooser}}reset(r,o){o=o??Nu(),this.chooser=new Ze(o),this.mazeInternal=new Qt(r,this.chooser),this.positionInternal.set(this.maze.start),this.pathInternal.set([this.maze.start]),this.inAnimation&&(this.abortAnimation=!0)}get position(){return this.positionInternal}get path(){return this.pathInternal}get inAnimation(){return this.inAnimationInternal}getShareUrl(){return`${window.location.origin}${window.location.pathname}?seed=${this.chooser.seed}`}get maze(){return this.mazeInternal}move(r){if(!this.canMove(r))return;let o=this.positionInternal().getNeighborCoordinates(r),i=this.maze.getNode(o);this.pathInternal.set([...this.pathInternal(),i]),this.positionInternal.set(i)}canMove(r){return!this.positionInternal().walls[r]}solve(r){let o=this.maze.solve();if(!r){this.positionInternal.set(o.at(-1)),this.pathInternal.set(o);return}this.inAnimationInternal=!0;let i=0,s=()=>{if(this.abortAnimation){this.inAnimationInternal=!1,this.abortAnimation=!1;return}this.positionInternal.set(o[i]),this.pathInternal.set(o.slice(0,i+1)),i++{let t=class t{constructor(){this.gameStateService=I(Kn),this.node=Te.required(),this.endpoint=Te(void 0),this.inPath=We(()=>this.gameStateService.path().includes(this.node())),this.classes=We(()=>{let r=this.node(),o=[];for(let s of Ye)r.walls[s]&&o.push(Au(s));let i=this.endpoint();if(i){let s=Au(Ou(r));o=o.filter(a=>a!==s),o.push("endpoint",`endpoint-edge-${s}`,i)}return o.join(" ")}),this.icon=We(()=>{if(!this.endpoint())return"";let r=Ou(this.node()),o=this.endpoint()==="start";switch(r){case w.U:return o?"arrow_downward":"arrow_upward";case w.R:return o?"arrow_back":"arrow_forward";case w.D:return o?"arrow_upward":"arrow_downward";case w.L:return o?"arrow_forward":"arrow_back";default:Ce(r)}})}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=de({type:t,selectors:[["amaze-node"]],hostVars:4,hostBindings:function(o,i){o&2&&(Uc(i.classes()),Gt("material-symbols",!0))},inputs:{node:[1,"node"],endpoint:[1,"endpoint"]},standalone:!0,features:[he],decls:4,vars:2,consts:[[1,"current-position"],[1,"historical-position"]],template:function(o,i){o&1&&(P(0,"span"),xe(1),F(),si(2,Fg,1,0,"span",0)(3,Lg,1,0,"span",1)),o&2&&(h(),di(i.icon()),h(),Kc(i.node().equals(i.gameStateService.position())?2:i.inPath()?3:-1))},styles:["[_nghost-%COMP%]{align-items:center;border:1px solid rgba(0,0,0,0);display:flex;height:2rem;justify-content:center;position:relative;text-align:center;text-transform:uppercase;width:2rem}.up[_nghost-%COMP%]{border-top:1px solid var(--border-color)}.right[_nghost-%COMP%]{border-right:1px solid var(--border-color)}.down[_nghost-%COMP%]{border-bottom:1px solid var(--border-color)}.left[_nghost-%COMP%]{border-left:1px solid var(--border-color)}[_nghost-%COMP%] span[_ngcontent-%COMP%]{position:absolute}.endpoint-edge-up[_nghost-%COMP%] span[_ngcontent-%COMP%]{top:-95%}.endpoint-edge-right[_nghost-%COMP%] span[_ngcontent-%COMP%]{right:-90%}.endpoint-edge-down[_nghost-%COMP%] span[_ngcontent-%COMP%]{bottom:-95%}.endpoint-edge-left[_nghost-%COMP%] span[_ngcontent-%COMP%]{left:-90%}[_nghost-%COMP%] span.current-position[_ngcontent-%COMP%], [_nghost-%COMP%] span.historical-position[_ngcontent-%COMP%]{background:var(--current-position-color);border-radius:50%;height:.6666666667rem;inset:.6666666667rem;width:.6666666667rem}[_nghost-%COMP%] span.historical-position[_ngcontent-%COMP%]{background:var(--path-color)}"],changeDetection:0});let e=t;return e})();function Au(e){switch(e){case w.U:return"up";case w.R:return"right";case w.D:return"down";case w.L:return"left";default:Ce(e)}}function Ou(e){if(e.i===0)return w.U;if(e.j===e.size-1)return w.R;if(e.i===e.size-1)return w.D;if(e.j===0)return w.L;throw new Error(`node is not attached to maze edge: ${e}`)}function jg(e,t){if(e&1&&G(0,"amaze-node",1),e&2){let n=t.$implicit,r=Jc(2);ze("node",n)("endpoint",r.getEndpoint(n))}}function Vg(e,t){if(e&1&&(P(0,"div",0),ui(1,jg,1,2,"amaze-node",1,ci),F()),e&2){let n=t.$implicit;h(),li(n)}}var ku=(()=>{let t=class t{constructor(){this.elementRef=I(yt),this.maze=Te.required(),this.move=Qa()}ngAfterViewInit(){this.cleanupEventListener(),t.eventListener=r=>this.handleKeypress(r),document.body.addEventListener("keydown",t.eventListener)}ngOnDestroy(){this.cleanupEventListener()}cleanupEventListener(){t.eventListener&&document.body.removeEventListener("keydown",t.eventListener)}handleKeypress(r){let o=Bg(r.key);o!==void 0&&this.move.emit(o)}getEndpoint(r){if(this.maze().start.equals(r))return"start";if(this.maze().end.equals(r))return"end"}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=de({type:t,selectors:[["amaze-maze"]],hostVars:1,hostBindings:function(o,i){o&2&&p("tabindex",0)},inputs:{maze:[1,"maze"]},outputs:{move:"move"},standalone:!0,features:[he],decls:2,vars:0,consts:[[1,"row"],[3,"node","endpoint"]],template:function(o,i){o&1&&ui(0,Vg,3,0,"div",0,ci),o&2&&li(i.maze().toArray())},dependencies:[Ru],styles:["[_nghost-%COMP%]{border-collapse:collapse;display:block}[_nghost-%COMP%]:focus{outline:none}.row[_ngcontent-%COMP%]{display:flex}amaze-node[_ngcontent-%COMP%]{margin:-1px 0 0 -1px}"],changeDetection:0});let e=t;return e})();function Bg(e){switch(e){case"ArrowUp":case"W":case"w":return w.U;case"ArrowRight":case"D":case"d":return w.R;case"ArrowDown":case"S":case"s":return w.D;case"ArrowLeft":case"A":case"a":return w.L;default:return}}var Pu=(()=>{let t=class t{constructor(){this.color="black"}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=de({type:t,selectors:[["amaze-logo"]],hostVars:2,hostBindings:function(o,i){o&2&&ai("height",i.sizePx+"px")},inputs:{sizePx:"sizePx",color:"color"},standalone:!0,features:[he],decls:65,vars:66,consts:[["viewBox","0 0 565 566","fill","none","xmlns","http://www.w3.org/2000/svg"],["x1","482","y1","3","x2","482","y2","83","stroke-width","6"],["x1","403","y1","3","x2","403","y2","83","stroke-width","6"],["x1","323","y1","3","x2","323","y2","83","stroke-width","6"],["d","M480 3L400 3","stroke-width","6"],["d","M320 3L240 3","stroke-width","6"],["d","M400 3L320 3","stroke-width","6"],["x1","3","y1","163","x2","3","y2","243","stroke-width","6"],["d","M240 163L160 163","stroke-width","6"],["d","M160 163L80 163","stroke-width","6"],["x1","83","y1","83","x2","83","y2","163","stroke-width","6"],["x1","3","y1","83","x2","3","y2","163","stroke-width","6"],["d","M245 83L165 83","stroke-width","6"],["x1","83","y1","3","x2","83","y2","83","stroke-width","6"],["x1","3","x2","3","y2","83","stroke-width","6"],["d","M240 3L160 3","stroke-width","6"],["d","M160 3L80 3","stroke-width","6"],["d","M485 403L404 403","stroke-width","6"],["x1","482","y1","403","x2","482","y2","483","stroke-width","6"],["x1","562","y1","83","x2","562","y2","163","stroke-width","6"],["d","M480 323L400 323","stroke-width","6"],["x1","562","y1","163","x2","562","y2","243","stroke-width","6"],["x1","562","y1","3","x2","562","y2","83","stroke-width","6"],["d","M565 3L480 3","stroke-width","6"],["x1","83","y1","403","x2","83","y2","483","stroke-width","6"],["x1","3","y1","403","x2","3","y2","483","stroke-width","6"],["d","M160 403L80 403","stroke-width","6"],["x1","3","y1","323","x2","3","y2","403","stroke-width","6"],["d","M160 323L80 323","stroke-width","6"],["x1","83","y1","243","x2","83","y2","323","stroke-width","6"],["x1","3","y1","243","x2","3","y2","323","stroke-width","6"],["d","M245 243L165 243","stroke-width","6"],["d","M165 243L80 243","stroke-width","6"],["d","M485 243L404 243","stroke-width","6"],["x1","323","y1","162","x2","323","y2","243","stroke-width","6"],["d","M485 163L404 163","stroke-width","6"],["d","M326 163L240 163","stroke-width","6"],["x1","482","y1","83","x2","482","y2","163","stroke-width","6"],["d","M326 83L245 83","stroke-width","6"],["x1","562","y1","243","x2","562","y2","323","stroke-width","6"],["d","M485 323L404 323","stroke-width","6"],["d","M400 323L320 323","stroke-width","6"],["x1","482","y1","243","x2","482","y2","323","stroke-width","6"],["x1","323","y1","243","x2","323","y2","323","stroke-width","6"],["x1","562","y1","323","x2","562","y2","403","stroke-width","6"],["d","M320 483L240 483","stroke-width","6"],["d","M400 483L320 483","stroke-width","6"],["x1","562","y1","483","x2","562","y2","566","stroke-width","6"],["d","M324 403L240 403","stroke-width","6"],["d","M404 403L324 403","stroke-width","6"],["x1","562","y1","403","x2","562","y2","483","stroke-width","6"],["x1","243","y1","243","x2","243","y2","323","stroke-width","6"],["x1","243","y1","323","x2","243","y2","403","stroke-width","6"],["d","M485 563L399 563","stroke-width","6"],["x1","482","y1","483","x2","482","y2","563","stroke-width","6"],["x1","163","y1","483","x2","163","y2","563","stroke-width","6"],["x1","83","y1","483","x2","83","y2","563","stroke-width","6"],["x1","3","y1","483","x2","3","y2","563","stroke-width","6"],["d","M320 563L240 563","stroke-width","6"],["d","M400 563L320 563","stroke-width","6"],["d","M240 563L160 563","stroke-width","6"],["d","M80 563L0 563","stroke-width","6"],["d","M160 563L80 563","stroke-width","6"],["x1","243","y1","483","x2","243","y2","563","stroke-width","6"]],template:function(o,i){o&1&&(jn(),P(0,"svg",0),G(1,"line",1)(2,"line",2)(3,"line",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"line",7)(8,"path",8)(9,"path",9)(10,"line",10)(11,"line",11)(12,"path",12)(13,"line",13)(14,"line",14)(15,"path",15)(16,"path",16)(17,"path",17)(18,"line",18)(19,"line",19)(20,"path",20)(21,"line",21)(22,"line",22)(23,"path",23)(24,"line",24)(25,"line",25)(26,"path",26)(27,"line",27)(28,"path",28)(29,"line",29)(30,"line",30)(31,"path",31)(32,"path",32)(33,"path",33)(34,"line",34)(35,"path",35)(36,"path",36)(37,"line",37)(38,"path",38)(39,"line",39)(40,"path",40)(41,"path",41)(42,"line",42)(43,"line",43)(44,"line",44)(45,"path",45)(46,"path",46)(47,"line",47)(48,"path",48)(49,"path",49)(50,"line",50)(51,"line",51)(52,"line",52)(53,"path",53)(54,"line",54)(55,"line",55)(56,"line",56)(57,"line",57)(58,"path",58)(59,"path",59)(60,"path",60)(61,"path",61)(62,"path",62)(63,"line",63)(64,"path",41),F()),o&2&&(p("width",i.sizePx)("height",i.sizePx),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color),h(),p("stroke",i.color))},styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0});let e=t;return e})();var Fu=(()=>{let t=class t{constructor(){this.color=Te("black"),this.sizeRem=Te(1.25),this.size=We(()=>`${this.sizeRem()}rem`),this.pathStyle=We(()=>`transform: scale(${Hg(this.sizeRem())/98});`)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=de({type:t,selectors:[["github-logo"]],inputs:{color:[1,"color"],sizeRem:[1,"sizeRem"]},standalone:!0,features:[he],decls:2,vars:5,consts:[["xmlns","http://www.w3.org/2000/svg",2,"vertical-align","middle"],["fill-rule","evenodd","clip-rule","evenodd","d","M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"]],template:function(o,i){o&1&&(jn(),P(0,"svg",0),G(1,"path",1),F()),o&2&&(p("width",i.size())("height",i.size()),h(),$c(i.pathStyle()),p("fill",i.color()))},encapsulation:2});let e=t;return e})();function Hg(e){let t=parseInt(getComputedStyle(document.documentElement).fontSize);return e*t}var Ai="dark-mode",$g=new S("window",{factory:()=>window}),Lu=(()=>{let t=class t{constructor(){this.elementRef=I(yt),this.gameStateService=I(Kn),this.window=I($g),this.size=20,this.snackBarText=zt(void 0)}ngOnInit(){this.window.matchMedia&&this.window.matchMedia("(prefers-color-scheme: dark)").matches&&document.body.classList.add(Ai);let r=new URL(this.window.location.toString()),o;r.searchParams.has("seed")&&(o=Number(r.searchParams.get("seed")),this.window.history.pushState({},"",this.window.location.origin)),this.generateNewMaze(o)}get iconColor(){return this.darkModeEnabled?"white":"black"}get maze(){return this.gameStateService.maze}solveMaze(){this.gameStateService.inAnimation||this.gameStateService.solve(!0)}generateNewMaze(r){this.gameStateService.reset(this.size,r)}get darkModeEnabled(){return document.body.classList.contains(Ai)}get themeModeIcon(){return this.darkModeEnabled?"light_mode":"dark_mode"}toggleDarkMode(){document.body.classList.toggle(Ai)}shareMaze(){let r=this.gameStateService.getShareUrl();navigator.clipboard.writeText(r),this.snackBarText.set("URL copied to clipboard"),setTimeout(()=>this.closeSnackBar(),2e3)}handleMove(r){this.gameStateService.inAnimation||this.gameStateService.move(r)}closeSnackBar(){this.elementRef.nativeElement.querySelector(".snack-bar").style.opacity="0",setTimeout(()=>{this.snackBarText.set(void 0),this.elementRef.nativeElement.querySelector(".snack-bar").style.opacity=""},1e3)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=de({type:t,selectors:[["app-root"]],standalone:!0,features:[he],decls:16,vars:8,consts:[[3,"sizePx","color"],["title","Solve the maze","data-test-id","solve-maze-button",1,"material-symbols","icon-button",3,"click"],["title","Generate a new maze","data-test-id","generate-maze-button",1,"material-symbols","icon-button",3,"click"],["title","Toggle light/dark mode","data-test-id","toggle-dark-mode-button",1,"material-symbols","icon-button",3,"click"],["title","Share this maze","data-test-id","share-maze-button",1,"material-symbols","icon-button",3,"click"],["href","https://github.com/chrispyles/amaze","target","_blank","title","View on GitHub",1,"icon-button"],[3,"color"],[3,"move","maze"],[1,"snack-bar"]],template:function(o,i){o&1&&(P(0,"header"),G(1,"amaze-logo",0),P(2,"div")(3,"button",1),Ge("click",function(){return i.solveMaze()}),xe(4," conversion_path "),F(),P(5,"button",2),Ge("click",function(){return i.generateNewMaze()}),xe(6," refresh "),F(),P(7,"button",3),Ge("click",function(){return i.toggleDarkMode()}),xe(8),F(),P(9,"button",4),Ge("click",function(){return i.shareMaze()}),xe(10," share "),F(),P(11,"a",5),G(12,"github-logo",6),F()()(),P(13,"amaze-maze",7),Ge("move",function(a){return i.handleMove(a)}),F(),P(14,"div",8),xe(15),F()),o&2&&(h(),ze("sizePx",36)("color",i.iconColor),h(7),Wt(" ",i.themeModeIcon," "),h(4),ze("color",i.iconColor),h(),ze("maze",i.maze),h(),Gt("visible",i.snackBarText()),h(),Wt(" ",i.snackBarText(),` +`))},dependencies:[Fu,Pu,ku],styles:["[_nghost-%COMP%]{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}header[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:space-between;padding:1rem;position:absolute;top:0;width:calc(100% - 2rem)}header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex}.snack-bar[_ngcontent-%COMP%]{background:#fff3;border-radius:.5rem;bottom:2rem;opacity:0;padding:1rem;position:absolute;transition:opacity .25s}.snack-bar.visible[_ngcontent-%COMP%]{opacity:1}"],changeDetection:0});let e=t;return e})();Du(Lu,wu).catch(e=>console.error(e)); diff --git a/styles-N6APHOZ6.css b/styles-N6APHOZ6.css deleted file mode 100644 index 0ad6b6b..0000000 --- a/styles-N6APHOZ6.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:100 700;src:url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v195/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2) format("woff2")}.material-symbols-outlined{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}*{margin:0}html,body{height:100%}body{--background-color: white;--border-color: black;--current-position-color: #204ed6;--hover-color: rgba(0, 0, 0, .2);--path-color: #87ceea;--text-color: black;background:var(--background-color);color:var(--text-color)}body.dark-mode{--background-color: #060606;--border-color: white;--current-position-color: #ff2b2b;--hover-color: rgba(255, 255, 255, .2);--path-color: #f08080;--text-color: white}button,a{background:none;border:none;border-radius:50%;color:var(--text-color);cursor:pointer;font-size:1.25rem;padding:.5rem}button:hover,a:hover{background:var(--hover-color)}button.icon-button,a.icon-button{align-items:center;display:flex;height:2.5rem;justify-content:center;padding:0;width:2.5rem}.material-symbols{font-family:Material Symbols Outlined} diff --git a/styles-O6Q26DEB.css b/styles-O6Q26DEB.css new file mode 100644 index 0000000..bc072d0 --- /dev/null +++ b/styles-O6Q26DEB.css @@ -0,0 +1 @@ +@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:100 700;src:url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v195/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2) format("woff2")}@font-face{font-family:Open Sans;font-style:italic;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtE6F15M.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Open Sans;font-style:italic;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWvU6F15M.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Open Sans;font-style:italic;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtU6F15M.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Open Sans;font-style:italic;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuk6F15M.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Open Sans;font-style:italic;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWu06F15M.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Open Sans;font-style:italic;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWxU6F15M.woff2) format("woff2");unicode-range:U+0302-0303,U+0305,U+0307-0308,U+0330,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2034-2037,U+2057,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2102,U+210A-210E,U+2110-2112,U+2115,U+2119-211D,U+2124,U+2128,U+212C-212D,U+212F-2131,U+2133-2138,U+213C-2140,U+2145-2149,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B6,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF}@font-face{font-family:Open Sans;font-style:italic;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqW106F15M.woff2) format("woff2");unicode-range:U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8B1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA88,U+1FA90-1FABD,U+1FABF-1FAC5,U+1FACE-1FADB,U+1FAE0-1FAE8,U+1FAF0-1FAF8,U+1FB00-1FBFF}@font-face{font-family:Open Sans;font-style:italic;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtk6F15M.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Open Sans;font-style:italic;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWt06F15M.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Open Sans;font-style:italic;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuU6F.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Open Sans;font-style:normal;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSKmu1aB.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Open Sans;font-style:normal;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSumu1aB.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSOmu1aB.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Open Sans;font-style:normal;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSymu1aB.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Open Sans;font-style:normal;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS2mu1aB.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Open Sans;font-style:normal;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTVOmu1aB.woff2) format("woff2");unicode-range:U+0302-0303,U+0305,U+0307-0308,U+0330,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2034-2037,U+2057,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2102,U+210A-210E,U+2110-2112,U+2115,U+2119-211D,U+2124,U+2128,U+212C-212D,U+212F-2131,U+2133-2138,U+213C-2140,U+2145-2149,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B6,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF}@font-face{font-family:Open Sans;font-style:normal;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTUGmu1aB.woff2) format("woff2");unicode-range:U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8B1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA88,U+1FA90-1FABD,U+1FABF-1FAC5,U+1FACE-1FADB,U+1FAE0-1FAE8,U+1FAF0-1FAF8,U+1FB00-1FBFF}@font-face{font-family:Open Sans;font-style:normal;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSCmu1aB.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Open Sans;font-style:normal;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSGmu1aB.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Open Sans;font-style:normal;font-weight:300 800;font-stretch:100%;src:url(https://fonts.gstatic.com/s/opensans/v40/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.material-symbols-outlined{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}*{margin:0}html,body{height:100%}body{--background-color: white;--border-color: black;--current-position-color: #204ed6;--hover-color: rgba(0, 0, 0, .2);--path-color: #87ceea;--text-color: black;background:var(--background-color);color:var(--text-color);font-family:Open Sans,Arial,Helvetica,sans-serif}body.dark-mode{--background-color: #060606;--border-color: white;--current-position-color: #ff2b2b;--hover-color: rgba(255, 255, 255, .2);--path-color: #f08080;--text-color: white}button,a{background:none;border:none;border-radius:50%;color:var(--text-color);cursor:pointer;font-size:1.25rem;padding:.5rem}button:hover,a:hover{background:var(--hover-color)}button.icon-button,a.icon-button{align-items:center;display:flex;height:2.5rem;justify-content:center;padding:0;width:2.5rem}.material-symbols{font-family:Material Symbols Outlined}