diff --git a/src/main/webapp/main-GQWRVEZL.js b/src/main/webapp/main-GQWRVEZL.js
new file mode 100644
index 0000000000000000000000000000000000000000..7c637eae9d8f191e09db166d7a8bed5dc3653eb3
--- /dev/null
+++ b/src/main/webapp/main-GQWRVEZL.js
@@ -0,0 +1,8 @@
+var Fv=Object.defineProperty,Pv=Object.defineProperties;var kv=Object.getOwnPropertyDescriptors;var Ed=Object.getOwnPropertySymbols;var Lv=Object.prototype.hasOwnProperty,Vv=Object.prototype.propertyIsEnumerable;var Id=(t,e,r)=>e in t?Fv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,w=(t,e)=>{for(var r in e||={})Lv.call(e,r)&&Id(t,r,e[r]);if(Ed)for(var r of Ed(e))Vv.call(e,r)&&Id(t,r,e[r]);return t},$=(t,e)=>Pv(t,kv(e));var ri=(t,e,r)=>new Promise((n,i)=>{var o=c=>{try{a(r.next(c))}catch(u){i(u)}},s=c=>{try{a(r.throw(c))}catch(u){i(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,s);a((r=r.apply(t,e)).next())});var $a=null;var Ba=1,Md=Symbol("SIGNAL");function U(t){let e=$a;return $a=t,e}function _d(){return $a}var Ha={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 jv(t){if(!(Za(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Ba)){if(!t.producerMustRecompute(t)&&!Ga(t)){t.dirty=!1,t.lastCleanEpoch=Ba;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Ba}}function za(t){return t&&(t.nextProducerIndex=0),U(t)}function Sd(t,e){if(U(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Za(t))for(let r=t.nextProducerIndex;r<t.producerNode.length;r++)Wa(t.producerNode[r],t.producerIndexOfThis[r]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ga(t){Ya(t);for(let e=0;e<t.producerNode.length;e++){let r=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==r.version||(jv(r),n!==r.version))return!0}return!1}function qa(t){if(Ya(t),Za(t))for(let e=0;e<t.producerNode.length;e++)Wa(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Wa(t,e){if(Uv(t),t.liveConsumerNode.length===1&&Bv(t))for(let n=0;n<t.producerNode.length;n++)Wa(t.producerNode[n],t.producerIndexOfThis[n]);let r=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[r],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[r],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],i=t.liveConsumerNode[e];Ya(i),i.producerIndexOfThis[n]=e}}function Za(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Ya(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Uv(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Bv(t){return t.producerNode!==void 0}function $v(){throw new Error}var Hv=$v;function xd(t){Hv=t}function A(t){return typeof t=="function"}function Kn(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var oo=Kn(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription:
+${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(`
+  `)}`:"",this.name="UnsubscriptionError",this.errors=r});function ii(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var le=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(A(n))try{n()}catch(o){e=o instanceof oo?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{Td(o)}catch(s){e=e??[],s instanceof oo?e=[...e,...s.errors]:e.push(s)}}if(e)throw new oo(e)}}add(e){var r;if(e&&e!==this)if(this.closed)Td(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&ii(r,e)}remove(e){let{_finalizers:r}=this;r&&ii(r,e),e instanceof t&&e._removeParent(this)}};le.EMPTY=(()=>{let t=new le;return t.closed=!0,t})();var Qa=le.EMPTY;function so(t){return t instanceof le||t&&"closed"in t&&A(t.remove)&&A(t.add)&&A(t.unsubscribe)}function Td(t){A(t)?t():t.unsubscribe()}var ut={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Jn={setTimeout(t,e,...r){let{delegate:n}=Jn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Jn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function ao(t){Jn.setTimeout(()=>{let{onUnhandledError:e}=ut;if(e)e(t);else throw t})}function oi(){}var Ad=Ka("C",void 0,void 0);function Nd(t){return Ka("E",void 0,t)}function Od(t){return Ka("N",t,void 0)}function Ka(t,e,r){return{kind:t,value:e,error:r}}var An=null;function Xn(t){if(ut.useDeprecatedSynchronousErrorHandling){let e=!An;if(e&&(An={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=An;if(An=null,r)throw n}}else t()}function Rd(t){ut.useDeprecatedSynchronousErrorHandling&&An&&(An.errorThrown=!0,An.error=t)}var Nn=class extends le{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,so(e)&&e.add(this)):this.destination=qv}static create(e,r,n){return new er(e,r,n)}next(e){this.isStopped?Xa(Od(e),this):this._next(e)}error(e){this.isStopped?Xa(Nd(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Xa(Ad,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},zv=Function.prototype.bind;function Ja(t,e){return zv.call(t,e)}var ec=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){co(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){co(n)}else co(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){co(r)}}},er=class extends Nn{constructor(e,r,n){super();let i;if(A(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&ut.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Ja(e.next,o),error:e.error&&Ja(e.error,o),complete:e.complete&&Ja(e.complete,o)}):i=e}this.destination=new ec(i)}};function co(t){ut.useDeprecatedSynchronousErrorHandling?Rd(t):ao(t)}function Gv(t){throw t}function Xa(t,e){let{onStoppedNotification:r}=ut;r&&Jn.setTimeout(()=>r(t,e))}var qv={closed:!0,next:oi,error:Gv,complete:oi};var tr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function $e(t){return t}function tc(...t){return nc(t)}function nc(t){return t.length===0?$e:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var L=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=Zv(r)?r:new er(r,n,i);return Xn(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Fd(n),new n((i,o)=>{let s=new er({next:a=>{try{r(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[tr](){return this}pipe(...r){return nc(r)(this)}toPromise(r){return r=Fd(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Fd(t){var e;return(e=t??ut.Promise)!==null&&e!==void 0?e:Promise}function Wv(t){return t&&A(t.next)&&A(t.error)&&A(t.complete)}function Zv(t){return t&&t instanceof Nn||Wv(t)&&so(t)}function rc(t){return A(t?.lift)}function V(t){return e=>{if(rc(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function k(t,e,r,n,i){return new ic(t,e,r,n,i)}var ic=class extends Nn{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function nr(){return V((t,e)=>{let r=null;t._refCount++;let n=k(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var rr=class extends L{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,rc(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new le;let r=this.getSubject();e.add(this.source.subscribe(k(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=le.EMPTY)}return e}refCount(){return nr()(this)}};var Pd=Kn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ye=(()=>{class t extends L{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new uo(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Pd}next(r){Xn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Xn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Xn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?Qa:(this.currentObservers=null,o.push(r),new le(()=>{this.currentObservers=null,ii(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new L;return r.source=this,r}}return t.create=(e,r)=>new uo(e,r),t})(),uo=class extends ye{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Qa}};var we=class extends ye{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var He=new L(t=>t.complete());function kd(t){return t&&A(t.schedule)}function Ld(t){return t[t.length-1]}function lo(t){return A(Ld(t))?t.pop():void 0}function Xt(t){return kd(Ld(t))?t.pop():void 0}function jd(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(l){try{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?o(l.value):i(l.value).then(a,c)}u((n=n.apply(t,e||[])).next())})}function Vd(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function On(t){return this instanceof On?(this.v=t,this):new On(t)}function Ud(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(f){return function(m){return Promise.resolve(m).then(f,d)}}function a(f,m){n[f]&&(i[f]=function(S){return new Promise(function(E,M){o.push([f,S,E,M])>1||c(f,S)})},m&&(i[f]=m(i[f])))}function c(f,m){try{u(n[f](m))}catch(S){h(o[0][3],S)}}function u(f){f.value instanceof On?Promise.resolve(f.value.v).then(l,d):h(o[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,m){f(m),o.shift(),o.length&&c(o[0][0],o[0][1])}}function Bd(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Vd=="function"?Vd(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,c){s=t[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(u){o({value:u,done:a})},s)}}var fo=t=>t&&typeof t.length=="number"&&typeof t!="function";function ho(t){return A(t?.then)}function po(t){return A(t[tr])}function go(t){return Symbol.asyncIterator&&A(t?.[Symbol.asyncIterator])}function mo(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Yv(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var vo=Yv();function yo(t){return A(t?.[vo])}function Do(t){return Ud(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield On(r.read());if(i)return yield On(void 0);yield yield On(n)}}finally{r.releaseLock()}})}function wo(t){return A(t?.getReader)}function de(t){if(t instanceof L)return t;if(t!=null){if(po(t))return Qv(t);if(fo(t))return Kv(t);if(ho(t))return Jv(t);if(go(t))return $d(t);if(yo(t))return Xv(t);if(wo(t))return ey(t)}throw mo(t)}function Qv(t){return new L(e=>{let r=t[tr]();if(A(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Kv(t){return new L(e=>{for(let r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function Jv(t){return new L(e=>{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,ao)})}function Xv(t){return new L(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function $d(t){return new L(e=>{ty(t,e).catch(r=>e.error(r))})}function ey(t){return $d(Do(t))}function ty(t,e){var r,n,i,o;return jd(this,void 0,void 0,function*(){try{for(r=Bd(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function Pe(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function Co(t,e=0){return V((r,n)=>{r.subscribe(k(n,i=>Pe(n,t,()=>n.next(i),e),()=>Pe(n,t,()=>n.complete(),e),i=>Pe(n,t,()=>n.error(i),e)))})}function bo(t,e=0){return V((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Hd(t,e){return de(t).pipe(bo(e),Co(e))}function zd(t,e){return de(t).pipe(bo(e),Co(e))}function Gd(t,e){return new L(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function qd(t,e){return new L(r=>{let n;return Pe(r,e,()=>{n=t[vo](),Pe(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>A(n?.return)&&n.return()})}function Eo(t,e){if(!t)throw new Error("Iterable cannot be null");return new L(r=>{Pe(r,e,()=>{let n=t[Symbol.asyncIterator]();Pe(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Wd(t,e){return Eo(Do(t),e)}function Zd(t,e){if(t!=null){if(po(t))return Hd(t,e);if(fo(t))return Gd(t,e);if(ho(t))return zd(t,e);if(go(t))return Eo(t,e);if(yo(t))return qd(t,e);if(wo(t))return Wd(t,e)}throw mo(t)}function re(t,e){return e?Zd(t,e):de(t)}function x(...t){let e=Xt(t);return re(t,e)}function ir(t,e){let r=A(t)?t:()=>t,n=i=>i.error(r());return new L(e?i=>e.schedule(n,0,i):n)}function oc(t){return!!t&&(t instanceof L||A(t.lift)&&A(t.subscribe))}var kt=Kn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function N(t,e){return V((r,n)=>{let i=0;r.subscribe(k(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:ny}=Array;function ry(t,e){return ny(e)?t(...e):t(e)}function Io(t){return N(e=>ry(t,e))}var{isArray:iy}=Array,{getPrototypeOf:oy,prototype:sy,keys:ay}=Object;function Mo(t){if(t.length===1){let e=t[0];if(iy(e))return{args:e,keys:null};if(cy(e)){let r=ay(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function cy(t){return t&&typeof t=="object"&&oy(t)===sy}function _o(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function si(...t){let e=Xt(t),r=lo(t),{args:n,keys:i}=Mo(t);if(n.length===0)return re([],e);let o=new L(uy(n,e,i?s=>_o(i,s):$e));return r?o.pipe(Io(r)):o}function uy(t,e,r=$e){return n=>{Yd(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c<i;c++)Yd(e,()=>{let u=re(t[c],e),l=!1;u.subscribe(k(n,d=>{o[c]=d,l||(l=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Yd(t,e,r){t?Pe(r,t,e):e()}function Qd(t,e,r,n,i,o,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&e.complete()},f=S=>u<n?m(S):c.push(S),m=S=>{o&&e.next(S),u++;let E=!1;de(r(S,l++)).subscribe(k(e,M=>{i?.(M),o?f(M):e.next(M)},()=>{E=!0},void 0,()=>{if(E)try{for(u--;c.length&&u<n;){let M=c.shift();s?Pe(e,s,()=>m(M)):m(M)}h()}catch(M){e.error(M)}}))};return t.subscribe(k(e,f,()=>{d=!0,h()})),()=>{a?.()}}function fe(t,e,r=1/0){return A(e)?fe((n,i)=>N((o,s)=>e(n,o,i,s))(de(t(n,i))),r):(typeof e=="number"&&(r=e),V((n,i)=>Qd(n,i,t,r)))}function or(t=1/0){return fe($e,t)}function Kd(){return or(1)}function sr(...t){return Kd()(re(t,Xt(t)))}function So(t){return new L(e=>{de(t()).subscribe(e)})}function sc(...t){let e=lo(t),{args:r,keys:n}=Mo(t),i=new L(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;de(r[l]).subscribe(k(o,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||o.next(n?_o(n,a):a),o.complete())}))}});return e?i.pipe(Io(e)):i}function ke(t,e){return V((r,n)=>{let i=0;r.subscribe(k(n,o=>t.call(e,o,i++)&&n.next(o)))})}function en(t){return V((e,r)=>{let n=null,i=!1,o;n=e.subscribe(k(r,void 0,void 0,s=>{o=de(t(s,en(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function Jd(t,e,r,n,i){return(o,s)=>{let a=r,c=e,u=0;o.subscribe(k(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function Lt(t,e){return A(e)?fe(t,e,1):fe(t,1)}function tn(t){return V((e,r)=>{let n=!1;e.subscribe(k(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function Vt(t){return t<=0?()=>He:V((e,r)=>{let n=0;e.subscribe(k(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function ac(t){return N(()=>t)}function xo(t=ly){return V((e,r)=>{let n=!1;e.subscribe(k(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function ly(){return new kt}function Rn(t){return V((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Dt(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ke((i,o)=>t(i,o,n)):$e,Vt(1),r?tn(e):xo(()=>new kt))}function ar(t){return t<=0?()=>He:V((e,r)=>{let n=[];e.subscribe(k(r,i=>{n.push(i),t<n.length&&n.shift()},()=>{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function cc(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ke((i,o)=>t(i,o,n)):$e,ar(1),r?tn(e):xo(()=>new kt))}function uc(t,e){return V(Jd(t,e,arguments.length>=2,!0))}function lc(...t){let e=Xt(t);return V((r,n)=>{(e?sr(t,r,e):sr(t,r)).subscribe(n)})}function Le(t,e){return V((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(k(n,c=>{i?.unsubscribe();let u=0,l=o++;de(t(c,l)).subscribe(i=k(n,d=>n.next(e?e(c,d,l,u++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function dc(t){return V((e,r)=>{de(t).subscribe(k(r,()=>r.complete(),oi)),!r.closed&&e.subscribe(r)})}function ae(t,e,r){let n=A(t)||e||r?{next:t,error:e,complete:r}:t;return n?V((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(k(o,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),o.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),o.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),o.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):$e}var Bf="https://g.co/ng/security#xss",_=class extends Error{constructor(e,r){super(ds(e,r)),this.code=e}};function ds(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function yi(t){return{toString:t}.toString()}var To="__parameters__";function dy(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function $f(t,e,r){return yi(()=>{let n=dy(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(To)?c[To]:Object.defineProperty(c,To,{value:[]})[To];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var Ce=globalThis;function J(t){for(let e in t)if(t[e]===J)return e;throw Error("Could not find renamed property on target object.")}function fy(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function xe(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(xe).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
+`);return r===-1?e:e.substring(0,r)}function Xd(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var hy=J({__forward_ref__:J});function Ut(t){return t.__forward_ref__=Ut,t.toString=function(){return xe(this())},t}function Se(t){return Hf(t)?t():t}function Hf(t){return typeof t=="function"&&t.hasOwnProperty(hy)&&t.__forward_ref__===Ut}function b(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ie(t){return{providers:t.providers||[],imports:t.imports||[]}}function fs(t){return ef(t,Gf)||ef(t,qf)}function zf(t){return fs(t)!==null}function ef(t,e){return t.hasOwnProperty(e)?t[e]:null}function py(t){let e=t&&(t[Gf]||t[qf]);return e||null}function tf(t){return t&&(t.hasOwnProperty(nf)||t.hasOwnProperty(gy))?t[nf]:null}var Gf=J({\u0275prov:J}),nf=J({\u0275inj:J}),qf=J({ngInjectableDef:J}),gy=J({ngInjectorDef:J}),I=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=b({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Wf(t){return t&&!!t.\u0275providers}var my=J({\u0275cmp:J}),vy=J({\u0275dir:J}),yy=J({\u0275pipe:J}),Dy=J({\u0275mod:J}),jo=J({\u0275fac:J}),ai=J({__NG_ELEMENT_ID__:J}),rf=J({__NG_ENV_ID__:J});function hr(t){return typeof t=="string"?t:t==null?"":String(t)}function wy(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():hr(t)}function Cy(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new _(-200,t)}function pu(t,e){throw new _(-201,!1)}var F=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(F||{}),Sc;function Zf(){return Sc}function Ve(t){let e=Sc;return Sc=t,e}function Yf(t,e,r){let n=fs(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&F.Optional)return null;if(e!==void 0)return e;pu(t,"Injector")}var by={},ui=by,xc="__NG_DI_FLAG__",Uo="ngTempTokenPath",Ey="ngTokenPath",Iy=/\n/gm,My="\u0275",of="__source",dr;function _y(){return dr}function nn(t){let e=dr;return dr=t,e}function Sy(t,e=F.Default){if(dr===void 0)throw new _(-203,!1);return dr===null?Yf(t,void 0,e):dr.get(t,e&F.Optional?null:void 0,e)}function C(t,e=F.Default){return(Zf()||Sy)(Se(t),e)}function v(t,e=F.Default){return C(t,hs(e))}function hs(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Tc(t){let e=[];for(let r=0;r<t.length;r++){let n=Se(t[r]);if(Array.isArray(n)){if(n.length===0)throw new _(900,!1);let i,o=F.Default;for(let s=0;s<n.length;s++){let a=n[s],c=xy(a);typeof c=="number"?c===-1?i=a.token:o|=c:i=a}e.push(C(i,o))}else e.push(C(n))}return e}function Qf(t,e){return t[xc]=e,t.prototype[xc]=e,t}function xy(t){return t[xc]}function Ty(t,e,r,n){let i=t[Uo];throw e[of]&&i.unshift(e[of]),t.message=Ay(`
+`+t.message,i,r,n),t[Ey]=i,t[Uo]=null,t}function Ay(t,e,r,n=null){t=t&&t.charAt(0)===`
+`&&t.charAt(1)==My?t.slice(2):t;let i=xe(e);if(Array.isArray(e))i=e.map(xe).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):xe(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(Iy,`
+  `)}`}var gu=Qf($f("Optional"),8);var Kf=Qf($f("SkipSelf"),4);function Ln(t,e){let r=t.hasOwnProperty(jo);return r?t[jo]:null}function mu(t,e){t.forEach(r=>Array.isArray(r)?mu(r,e):e(r))}function Jf(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Bo(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Ny(t,e,r,n){let i=t.length;if(i==e)t.push(r,n);else if(i===1)t.push(n,t[0]),t[0]=r;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function Oy(t,e,r){let n=Di(t,e);return n>=0?t[n|1]=r:(n=~n,Ny(t,n,e,r)),n}function fc(t,e){let r=Di(t,e);if(r>=0)return t[r|1]}function Di(t,e){return Ry(t,e,1)}function Ry(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<<r];if(e===s)return o<<r;s>e?i=o:n=o+1}return~(i<<r)}var pr={},et=[],gr=new I(""),Xf=new I("",-1),eh=new I(""),$o=class{get(e,r=ui){if(r===ui){let n=new Error(`NullInjectorError: No provider for ${xe(e)}!`);throw n.name="NullInjectorError",n}return r}},th=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(th||{}),bt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(bt||{}),mr=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(mr||{});function Fy(t,e,r){let n=t.length;for(;;){let i=t.indexOf(e,r);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===n||t.charCodeAt(i+o)<=32)return i}r=i+1}}function Ac(t,e,r){let n=0;for(;n<r.length;){let i=r[n];if(typeof i=="number"){if(i!==0)break;n++;let o=r[n++],s=r[n++],a=r[n++];t.setAttribute(e,s,a,o)}else{let o=i,s=r[++n];Py(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),n++}}return n}function nh(t){return t===3||t===4||t===6}function Py(t){return t.charCodeAt(0)===64}function li(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let r=-1;for(let n=0;n<e.length;n++){let i=e[n];typeof i=="number"?r=i:r===0||(r===-1||r===2?sf(t,r,i,null,e[++n]):sf(t,r,i,null,null))}}return t}function sf(t,e,r,n,i){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===r){if(n===null){i!==null&&(t[o+1]=i);return}else if(n===t[o+1]){t[o+2]=i;return}}o++,n!==null&&o++,i!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,r),n!==null&&t.splice(o++,0,n),i!==null&&t.splice(o++,0,i)}var rh="ng-template";function ky(t,e,r,n){let i=0;if(n){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&Fy(e[i+1].toLowerCase(),r,0)!==-1)return!0}else if(vu(t))return!1;if(i=e.indexOf(1,i),i>-1){let o;for(;++i<e.length&&typeof(o=e[i])=="string";)if(o.toLowerCase()===r)return!0}return!1}function vu(t){return t.type===4&&t.value!==rh}function Ly(t,e,r){let n=t.type===4&&!r?rh:t.value;return e===n}function Vy(t,e,r){let n=4,i=t.attrs,o=i!==null?By(i):0,s=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!s&&!lt(n)&&!lt(c))return!1;if(s&&lt(c))continue;s=!1,n=c|n&1;continue}if(!s)if(n&4){if(n=2|n&1,c!==""&&!Ly(t,c,r)||c===""&&e.length===1){if(lt(n))return!1;s=!0}}else if(n&8){if(i===null||!ky(t,i,c,r)){if(lt(n))return!1;s=!0}}else{let u=e[++a],l=jy(c,i,vu(t),r);if(l===-1){if(lt(n))return!1;s=!0;continue}if(u!==""){let d;if(l>o?d="":d=i[l+1].toLowerCase(),n&2&&u!==d){if(lt(n))return!1;s=!0}}}}return lt(n)||s}function lt(t){return(t&1)===0}function jy(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i<e.length;){let s=e[i];if(s===t)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++i];for(;typeof a=="string";)a=e[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return $y(e,t)}function Uy(t,e,r=!1){for(let n=0;n<e.length;n++)if(Vy(t,e[n],r))return!0;return!1}function By(t){for(let e=0;e<t.length;e++){let r=t[e];if(nh(r))return e}return t.length}function $y(t,e){let r=t.indexOf(4);if(r>-1)for(r++;r<t.length;){let n=t[r];if(typeof n=="number")return-1;if(n===e)return r;r++}return-1}function af(t,e){return t?":not("+e.trim()+")":e}function Hy(t){let e=t[0],r=1,n=2,i="",o=!1;for(;r<t.length;){let s=t[r];if(typeof s=="string")if(n&2){let a=t[++r];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!lt(s)&&(e+=af(o,i),i=""),n=s,o=o||!lt(n);r++}return i!==""&&(e+=af(o,i)),e}function zy(t){return t.map(Hy).join(",")}function Gy(t){let e=[],r=[],n=1,i=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")i===2?o!==""&&e.push(o,t[++n]):i===8&&r.push(o);else{if(!lt(i))break;i=o}n++}return{attrs:e,classes:r}}function se(t){return yi(()=>{let e=uh(t),r=$(w({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===th.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||bt.Emulated,styles:t.styles||et,_:null,schemas:t.schemas||null,tView:null,id:""});lh(r);let n=t.dependencies;return r.directiveDefs=uf(n,!1),r.pipeDefs=uf(n,!0),r.id=Zy(r),r})}function qy(t){return an(t)||oh(t)}function Wy(t){return t!==null}function Me(t){return yi(()=>({type:t.type,bootstrap:t.bootstrap||et,declarations:t.declarations||et,imports:t.imports||et,exports:t.exports||et,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function cf(t,e){if(t==null)return pr;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=mr.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==mr.None?[n,a]:n,e[o]=s):r[o]=n}return r}function me(t){return yi(()=>{let e=uh(t);return lh(e),e})}function ih(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function an(t){return t[my]||null}function oh(t){return t[vy]||null}function sh(t){return t[yy]||null}function ah(t){let e=an(t)||oh(t)||sh(t);return e!==null?e.standalone:!1}function ch(t,e){let r=t[Dy]||null;if(!r&&e===!0)throw new Error(`Type ${xe(t)} does not have '\u0275mod' property.`);return r}function uh(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||pr,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||et,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:cf(t.inputs,e),outputs:cf(t.outputs),debugInfo:null}}function lh(t){t.features?.forEach(e=>e(t))}function uf(t,e){if(!t)return null;let r=e?sh:qy;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Wy)}function Zy(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function ps(t){return{\u0275providers:t}}function Yy(...t){return{\u0275providers:dh(!0,t),\u0275fromNgModule:!0}}function dh(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return mu(e,s=>{let a=s;Nc(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&fh(i,o),r}function fh(t,e){for(let r=0;r<t.length;r++){let{ngModule:n,providers:i}=t[r];yu(i,o=>{e(o,n)})}}function Nc(t,e,r,n){if(t=Se(t),!t)return!1;let i=null,o=tf(t),s=!o&&an(t);if(!o&&!s){let c=t.ngModule;if(o=tf(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Nc(u,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let u;try{mu(o.imports,l=>{Nc(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&fh(u,e)}if(!a){let u=Ln(i)||(()=>new i);e({provide:i,useFactory:u,deps:et},i),e({provide:eh,useValue:i,multi:!0},i),e({provide:gr,useValue:()=>C(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let u=t;yu(c,l=>{e(l,u)})}}else return!1;return i!==t&&t.providers!==void 0}function yu(t,e){for(let r of t)Wf(r)&&(r=r.\u0275providers),Array.isArray(r)?yu(r,e):e(r)}var Qy=J({provide:String,useValue:J});function hh(t){return t!==null&&typeof t=="object"&&Qy in t}function Ky(t){return!!(t&&t.useExisting)}function Jy(t){return!!(t&&t.useFactory)}function vr(t){return typeof t=="function"}function Xy(t){return!!t.useClass}var gs=new I(""),Fo={},eD={},hc;function Du(){return hc===void 0&&(hc=new $o),hc}var Ee=class{},di=class extends Ee{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Rc(e,s=>this.processProvider(s)),this.records.set(Xf,cr(void 0,this)),i.has("environment")&&this.records.set(Ee,cr(void 0,this));let o=this.records.get(gs);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(eh,et,F.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=U(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),U(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=nn(this),n=Ve(void 0),i;try{return e()}finally{nn(r),Ve(n)}}get(e,r=ui,n=F.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(rf))return e[rf](this);n=hs(n);let i,o=nn(this),s=Ve(void 0);try{if(!(n&F.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=oD(e)&&fs(e);u&&this.injectableDefInScope(u)?c=cr(Oc(e),Fo):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&F.Self?Du():this.parent;return r=n&F.Optional&&r===ui?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Uo]=a[Uo]||[]).unshift(xe(e)),o)throw a;return Ty(a,e,"R3InjectorError",this.source)}else throw a}finally{Ve(s),nn(o)}}resolveInjectorInitializers(){let e=U(null),r=nn(this),n=Ve(void 0),i;try{let o=this.get(gr,et,F.Self);for(let s of o)s()}finally{nn(r),Ve(n),U(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(xe(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(e){e=Se(e);let r=vr(e)?e:Se(e&&e.provide),n=nD(e);if(!vr(e)&&e.multi===!0){let i=this.records.get(r);i||(i=cr(void 0,Fo,!0),i.factory=()=>Tc(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=U(null);try{return r.value===Fo&&(r.value=eD,r.value=r.factory()),typeof r.value=="object"&&r.value&&iD(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{U(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Se(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function Oc(t){let e=fs(t),r=e!==null?e.factory:Ln(t);if(r!==null)return r;if(t instanceof I)throw new _(204,!1);if(t instanceof Function)return tD(t);throw new _(204,!1)}function tD(t){if(t.length>0)throw new _(204,!1);let r=py(t);return r!==null?()=>r.factory(t):()=>new t}function nD(t){if(hh(t))return cr(void 0,t.useValue);{let e=ph(t);return cr(e,Fo)}}function ph(t,e,r){let n;if(vr(t)){let i=Se(t);return Ln(i)||Oc(i)}else if(hh(t))n=()=>Se(t.useValue);else if(Jy(t))n=()=>t.useFactory(...Tc(t.deps||[]));else if(Ky(t))n=()=>C(Se(t.useExisting));else{let i=Se(t&&(t.useClass||t.provide));if(rD(t))n=()=>new i(...Tc(t.deps));else return Ln(i)||Oc(i)}return n}function cr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function rD(t){return!!t.deps}function iD(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function oD(t){return typeof t=="function"||typeof t=="object"&&t instanceof I}function Rc(t,e){for(let r of t)Array.isArray(r)?Rc(r,e):r&&Wf(r)?Rc(r.\u0275providers,e):e(r)}function ze(t,e){t instanceof di&&t.assertNotDestroyed();let r,n=nn(t),i=Ve(void 0);try{return e()}finally{nn(n),Ve(i)}}function gh(){return Zf()!==void 0||_y()!=null}function sD(t){if(!gh())throw new _(-203,!1)}function aD(t){let e=Ce.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function cD(t){return typeof t=="function"}var Bt=0,R=1,T=2,Ne=3,dt=4,ht=5,fi=6,Ho=7,Te=8,yr=9,Et=10,be=11,hi=12,lf=13,xr=14,ft=15,Dr=16,ur=17,wr=18,ms=19,mh=20,on=21,pc=22,tt=23,nt=25,vh=1;var Vn=7,zo=8,Go=9,Ae=10,qo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(qo||{});function sn(t){return Array.isArray(t)&&typeof t[vh]=="object"}function $t(t){return Array.isArray(t)&&t[vh]===!0}function yh(t){return(t.flags&4)!==0}function vs(t){return t.componentOffset>-1}function wu(t){return(t.flags&1)===1}function cn(t){return!!t.template}function Fc(t){return(t[T]&512)!==0}var Pc=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Dh(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function dn(){return wh}function wh(t){return t.type.prototype.ngOnChanges&&(t.setInput=lD),uD}dn.ngInherit=!0;function uD(){let t=bh(this),e=t?.current;if(e){let r=t.previous;if(r===pr)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function lD(t,e,r,n,i){let o=this.declaredInputs[n],s=bh(t)||dD(t,{previous:pr,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[o];a[o]=new Pc(u&&u.currentValue,r,c===pr),Dh(t,e,i,r)}var Ch="__ngSimpleChanges__";function bh(t){return t[Ch]||null}function dD(t,e){return t[Ch]=e}var df=null;var wt=function(t,e,r){df?.(t,e,r)},fD="svg",hD="math";function It(t){for(;Array.isArray(t);)t=t[Bt];return t}function Eh(t,e){return It(e[t])}function rt(t,e){return It(e[t.index])}function Cu(t,e){return t.data[e]}function Ih(t,e){return t[e]}function fn(t,e){let r=e[t];return sn(r)?r:r[Bt]}function bu(t){return(t[T]&128)===128}function pD(t){return $t(t[Ne])}function Cr(t,e){return e==null?null:t[e]}function Mh(t){t[ur]=0}function _h(t){t[T]&1024||(t[T]|=1024,bu(t)&&ys(t))}function gD(t,e){for(;t>0;)e=e[xr],t--;return e}function pi(t){return!!(t[T]&9216||t[tt]?.dirty)}function kc(t){t[Et].changeDetectionScheduler?.notify(7),t[T]&64&&(t[T]|=1024),pi(t)&&ys(t)}function ys(t){t[Et].changeDetectionScheduler?.notify(0);let e=jn(t);for(;e!==null&&!(e[T]&8192||(e[T]|=8192,!bu(e)));)e=jn(e)}function Sh(t,e){if((t[T]&256)===256)throw new _(911,!1);t[on]===null&&(t[on]=[]),t[on].push(e)}function mD(t,e){if(t[on]===null)return;let r=t[on].indexOf(e);r!==-1&&t[on].splice(r,1)}function jn(t){let e=t[Ne];return $t(e)?e[Ne]:e}var P={lFrame:Vh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var xh=!1;function vD(){return P.lFrame.elementDepthCount}function yD(){P.lFrame.elementDepthCount++}function DD(){P.lFrame.elementDepthCount--}function Th(){return P.bindingsEnabled}function wD(){return P.skipHydrationRootTNode!==null}function CD(t){return P.skipHydrationRootTNode===t}function bD(){P.skipHydrationRootTNode=null}function q(){return P.lFrame.lView}function Ge(){return P.lFrame.tView}function Oe(t){return P.lFrame.contextLView=t,t[Te]}function Re(t){return P.lFrame.contextLView=null,t}function Ue(){let t=Ah();for(;t!==null&&t.type===64;)t=t.parent;return t}function Ah(){return P.lFrame.currentTNode}function ED(){let t=P.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function wi(t,e){let r=P.lFrame;r.currentTNode=t,r.isParent=e}function Nh(){return P.lFrame.isParent}function ID(){P.lFrame.isParent=!1}function MD(){return P.lFrame.contextLView}function Oh(){return xh}function ff(t){xh=t}function Rh(){let t=P.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function _D(){return P.lFrame.bindingIndex}function SD(t){return P.lFrame.bindingIndex=t}function Ds(){return P.lFrame.bindingIndex++}function Fh(t){let e=P.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function xD(){return P.lFrame.inI18n}function TD(t,e){let r=P.lFrame;r.bindingIndex=r.bindingRootIndex=t,Lc(e)}function AD(){return P.lFrame.currentDirectiveIndex}function Lc(t){P.lFrame.currentDirectiveIndex=t}function ND(t){let e=P.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Ph(t){P.lFrame.currentQueryIndex=t}function OD(t){let e=t[R];return e.type===2?e.declTNode:e.type===1?t[ht]:null}function kh(t,e,r){if(r&F.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&F.Host);)if(i=OD(o),i===null||(o=o[xr],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=P.lFrame=Lh();return n.currentTNode=e,n.lView=t,!0}function Eu(t){let e=Lh(),r=t[R];P.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Lh(){let t=P.lFrame,e=t===null?null:t.child;return e===null?Vh(t):e}function Vh(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function jh(){let t=P.lFrame;return P.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Uh=jh;function Iu(){let t=jh();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function RD(t){return(P.lFrame.contextLView=gD(t,P.lFrame.contextLView))[Te]}function hn(){return P.lFrame.selectedIndex}function Un(t){P.lFrame.selectedIndex=t}function Bh(){let t=P.lFrame;return Cu(t.tView,t.selectedIndex)}function FD(){return P.lFrame.currentNamespace}var $h=!0;function Mu(){return $h}function _u(t){$h=t}function PD(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=wh(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function Su(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r<n;r++){let o=t.data[r].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=o;s&&(t.contentHooks??=[]).push(-r,s),a&&((t.contentHooks??=[]).push(r,a),(t.contentCheckHooks??=[]).push(r,a)),c&&(t.viewHooks??=[]).push(-r,c),u&&((t.viewHooks??=[]).push(r,u),(t.viewCheckHooks??=[]).push(r,u)),l!=null&&(t.destroyHooks??=[]).push(r,l)}}function Po(t,e,r){Hh(t,e,3,r)}function ko(t,e,r,n){(t[T]&3)===r&&Hh(t,e,r,n)}function gc(t,e){let r=t[T];(r&3)===e&&(r&=16383,r+=1,t[T]=r)}function Hh(t,e,r,n){let i=n!==void 0?t[ur]&65535:0,o=n??-1,s=e.length-1,a=0;for(let c=i;c<s;c++)if(typeof e[c+1]=="number"){if(a=e[c],n!=null&&a>=n)break}else e[c]<0&&(t[ur]+=65536),(a<o||o==-1)&&(kD(t,r,e,c),t[ur]=(t[ur]&4294901760)+c+2),c++}function hf(t,e){wt(4,t,e);let r=U(null);try{e.call(t)}finally{U(r),wt(5,t,e)}}function kD(t,e,r,n){let i=r[n]<0,o=r[n+1],s=i?-r[n]:r[n],a=t[s];i?t[T]>>14<t[ur]>>16&&(t[T]&3)===e&&(t[T]+=16384,hf(a,o)):hf(a,o)}var fr=-1,Bn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function LD(t){return t instanceof Bn}function VD(t){return(t.flags&8)!==0}function jD(t){return(t.flags&16)!==0}var mc={},Vc=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=hs(n);let i=this.injector.get(e,mc,n);return i!==mc||r===mc?i:this.parentInjector.get(e,r,n)}};function zh(t){return t!==fr}function Wo(t){return t&32767}function UD(t){return t>>16}function Zo(t,e){let r=UD(t),n=e;for(;r>0;)n=n[xr],r--;return n}var jc=!0;function Yo(t){let e=jc;return jc=t,e}var BD=256,Gh=BD-1,qh=5,$D=0,Ct={};function HD(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(ai)&&(n=r[ai]),n==null&&(n=r[ai]=$D++);let i=n&Gh,o=1<<i;e.data[t+(i>>qh)]|=o}function Qo(t,e){let r=Wh(t,e);if(r!==-1)return r;let n=e[R];n.firstCreatePass&&(t.injectorIndex=e.length,vc(n.data,t),vc(e,null),vc(n.blueprint,null));let i=xu(t,e),o=t.injectorIndex;if(zh(i)){let s=Wo(i),a=Zo(i,e),c=a[R].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|c[s+u]}return e[o+8]=i,o}function vc(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Wh(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function xu(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Jh(i),n===null)return fr;if(r++,i=i[xr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return fr}function Uc(t,e,r){HD(t,e,r)}function zD(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i<n;){let o=r[i];if(nh(o))break;if(o===0)i=i+2;else if(typeof o=="number")for(i++;i<n&&typeof r[i]=="string";)i++;else{if(o===e)return r[i+1];i=i+2}}}return null}function Zh(t,e,r){if(r&F.Optional||t!==void 0)return t;pu(e,"NodeInjector")}function Yh(t,e,r,n){if(r&F.Optional&&n===void 0&&(n=null),!(r&(F.Self|F.Host))){let i=t[yr],o=Ve(void 0);try{return i?i.get(e,n,r&F.Optional):Yf(e,n,r&F.Optional)}finally{Ve(o)}}return Zh(n,e,r)}function Qh(t,e,r,n=F.Default,i){if(t!==null){if(e[T]&2048&&!(n&F.Self)){let s=YD(t,e,r,n,Ct);if(s!==Ct)return s}let o=Kh(t,e,r,n,Ct);if(o!==Ct)return o}return Yh(e,r,n,i)}function Kh(t,e,r,n,i){let o=WD(r);if(typeof o=="function"){if(!kh(e,t,n))return n&F.Host?Zh(i,r,n):Yh(e,r,n,i);try{let s;if(s=o(n),s==null&&!(n&F.Optional))pu(r);else return s}finally{Uh()}}else if(typeof o=="number"){let s=null,a=Wh(t,e),c=fr,u=n&F.Host?e[ft][ht]:null;for((a===-1||n&F.SkipSelf)&&(c=a===-1?xu(t,e):e[a+8],c===fr||!gf(n,!1)?a=-1:(s=e[R],a=Wo(c),e=Zo(c,e)));a!==-1;){let l=e[R];if(pf(o,a,l.data)){let d=GD(a,e,r,s,n,u);if(d!==Ct)return d}c=e[a+8],c!==fr&&gf(n,e[R].data[a+8]===u)&&pf(o,a,e)?(s=l,a=Wo(c),e=Zo(c,e)):a=-1}}return i}function GD(t,e,r,n,i,o){let s=e[R],a=s.data[t+8],c=n==null?vs(a)&&jc:n!=s&&(a.type&3)!==0,u=i&F.Host&&o===a,l=qD(a,s,r,c,u);return l!==null?br(e,s,l,a):Ct}function qD(t,e,r,n,i){let o=t.providerIndexes,s=e.data,a=o&1048575,c=t.directiveStart,u=t.directiveEnd,l=o>>20,d=n?a:a+l,h=i?a+l:u;for(let f=d;f<h;f++){let m=s[f];if(f<c&&r===m||f>=c&&m.type===r)return f}if(i){let f=s[c];if(f&&cn(f)&&f.type===r)return c}return null}function br(t,e,r,n){let i=t[r],o=e.data;if(LD(i)){let s=i;s.resolving&&Cy(wy(o[r]));let a=Yo(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?Ve(s.injectImpl):null,l=kh(t,n,F.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&PD(r,o[r],e)}finally{u!==null&&Ve(u),Yo(a),s.resolving=!1,Uh()}}return i}function WD(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(ai)?t[ai]:void 0;return typeof e=="number"?e>=0?e&Gh:ZD:e}function pf(t,e,r){let n=1<<t;return!!(r[e+(t>>qh)]&n)}function gf(t,e){return!(t&F.Self)&&!(t&F.Host&&e)}var kn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Qh(this._tNode,this._lView,e,hs(n),r)}};function ZD(){return new kn(Ue(),q())}function Gn(t){return yi(()=>{let e=t.prototype.constructor,r=e[jo]||Bc(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[jo]||Bc(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Bc(t){return Hf(t)?()=>{let e=Bc(Se(t));return e&&e()}:Ln(t)}function YD(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[T]&2048&&!(s[T]&512);){let a=Kh(o,s,r,n|F.Self,Ct);if(a!==Ct)return a;let c=o.parent;if(!c){let u=s[mh];if(u){let l=u.get(r,Ct,n);if(l!==Ct)return l}c=Jh(s),s=s[xr]}o=c}return i}function Jh(t){let e=t[R],r=e.type;return r===2?e.declTNode:r===1?t[ht]:null}function Tu(t){return zD(Ue(),t)}function mf(t,e=null,r=null,n){let i=Xh(t,e,r,n);return i.resolveInjectorInitializers(),i}function Xh(t,e=null,r=null,n,i=new Set){let o=[r||et,Yy(t)];return n=n||(typeof t=="object"?void 0:xe(t)),new di(o,e||Du(),n||null,i)}var Pn=class Pn{static create(e,r){if(Array.isArray(e))return mf({name:""},r,e,"");{let n=e.name??"";return mf({name:n},e.parent,e.providers,n)}}};Pn.THROW_IF_NOT_FOUND=ui,Pn.NULL=new $o,Pn.\u0275prov=b({token:Pn,providedIn:"any",factory:()=>C(Xf)}),Pn.__NG_ELEMENT_ID__=-1;var je=Pn;var QD=new I("");QD.__NG_ELEMENT_ID__=t=>{let e=Ue();if(e===null)throw new _(204,!1);if(e.type&2)return e.value;if(t&F.Optional)return null;throw new _(204,!1)};var KD="ngOriginalError";function yc(t){return t[KD]}var Mt=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&yc(e);for(;r&&yc(r);)r=yc(r);return r||null}},ep=new I("",{providedIn:"root",factory:()=>v(Mt).handleError.bind(void 0)}),Au=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=JD,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),$c=class extends Au{constructor(e){super(),this._lView=e}onDestroy(e){return Sh(this._lView,e),()=>mD(this._lView,e)}};function JD(){return new $c(q())}function XD(){return ws(Ue(),q())}function ws(t,e){return new pt(rt(t,e))}var pt=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=XD;let t=e;return t})();var pn=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new we(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var Hc=class extends ye{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,gh()&&(this.destroyRef=v(Au,{optional:!0})??void 0,this.pendingTasks=v(pn,{optional:!0})??void 0)}emit(e){let r=U(null);try{super.next(e)}finally{U(r)}}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof le&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},he=Hc;function tp(t){return(t.flags&128)===128}var np=new Map,ew=0;function tw(){return ew++}function nw(t){np.set(t[ms],t)}function rw(t){np.delete(t[ms])}var vf="__ngContext__";function $n(t,e){sn(e)?(t[vf]=e[ms],nw(e)):t[vf]=e}function rp(t){return op(t[hi])}function ip(t){return op(t[dt])}function op(t){for(;t!==null&&!$t(t);)t=t[dt];return t}var zc;function sp(t){zc=t}function iw(){if(zc!==void 0)return zc;if(typeof document<"u")return document;throw new _(210,!1)}var Cs=new I("",{providedIn:"root",factory:()=>ow}),ow="ng",Nu=new I(""),_t=new I("",{providedIn:"platform",factory:()=>"unknown"});var Ou=new I("",{providedIn:"root",factory:()=>iw().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var sw="h",aw="b";var cw=()=>null;function Ru(t,e,r=!1){return cw(t,e,r)}var ap=!1,uw=new I("",{providedIn:"root",factory:()=>ap});var Ao;function lw(){if(Ao===void 0&&(Ao=null,Ce.trustedTypes))try{Ao=Ce.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ao}function yf(t){return lw()?.createScriptURL(t)||t}var Ko=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Bf})`}};function Ci(t){return t instanceof Ko?t.changingThisBreaksApplicationSecurity:t}function Fu(t,e){let r=dw(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Bf})`)}return r===e}function dw(t){return t instanceof Ko&&t.getTypeName()||null}var fw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cp(t){return t=String(t),t.match(fw)?t:"unsafe:"+t}var bs=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(bs||{});function hw(t){let e=lp();return e?e.sanitize(bs.URL,t)||"":Fu(t,"URL")?Ci(t):cp(hr(t))}function pw(t){let e=lp();if(e)return yf(e.sanitize(bs.RESOURCE_URL,t)||"");if(Fu(t,"ResourceURL"))return yf(Ci(t));throw new _(904,!1)}function gw(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?pw:hw}function up(t,e,r){return gw(e,r)(t)}function lp(){let t=q();return t&&t[Et].sanitizer}function dp(t){return t instanceof Function?t():t}function mw(t){return(t??v(je)).get(_t)==="browser"}var jt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(jt||{}),vw;function Pu(t,e){return vw(t,e)}function lr(t,e,r,n,i){if(n!=null){let o,s=!1;$t(n)?o=n:sn(n)&&(s=!0,n=n[Bt]);let a=It(n);t===0&&r!==null?i==null?gp(e,r,a):Jo(e,r,a,i||null,!0):t===1&&r!==null?Jo(e,r,a,i||null,!0):t===2?Rw(e,a,s):t===3&&e.destroyNode(a),o!=null&&Pw(e,t,o,r,i)}}function yw(t,e){return t.createText(e)}function Dw(t,e,r){t.setValue(e,r)}function fp(t,e,r){return t.createElement(e,r)}function ww(t,e){hp(t,e),e[Bt]=null,e[ht]=null}function Cw(t,e,r,n,i,o){n[Bt]=i,n[ht]=e,Is(t,n,r,1,i,o)}function hp(t,e){e[Et].changeDetectionScheduler?.notify(8),Is(t,e,e[be],2,null,null)}function bw(t){let e=t[hi];if(!e)return Dc(t[R],t);for(;e;){let r=null;if(sn(e))r=e[hi];else{let n=e[Ae];n&&(r=n)}if(!r){for(;e&&!e[dt]&&e!==t;)sn(e)&&Dc(e[R],e),e=e[Ne];e===null&&(e=t),sn(e)&&Dc(e[R],e),r=e&&e[dt]}e=r}}function Ew(t,e,r,n){let i=Ae+n,o=r.length;n>0&&(r[i-1][dt]=e),n<o-Ae?(e[dt]=r[i],Jf(r,Ae+n,e)):(r.push(e),e[dt]=null),e[Ne]=r;let s=e[Dr];s!==null&&r!==s&&pp(s,e);let a=e[wr];a!==null&&a.insertView(t),kc(e),e[T]|=128}function pp(t,e){let r=t[Go],n=e[Ne];if(sn(n))t[T]|=qo.HasTransplantedViews;else{let i=n[Ne][ft];e[ft]!==i&&(t[T]|=qo.HasTransplantedViews)}r===null?t[Go]=[e]:r.push(e)}function ku(t,e){let r=t[Go],n=r.indexOf(e);r.splice(n,1)}function gi(t,e){if(t.length<=Ae)return;let r=Ae+e,n=t[r];if(n){let i=n[Dr];i!==null&&i!==t&&ku(i,n),e>0&&(t[r-1][dt]=n[dt]);let o=Bo(t,Ae+e);ww(n[R],n);let s=o[wr];s!==null&&s.detachView(o[R]),n[Ne]=null,n[dt]=null,n[T]&=-129}return n}function Es(t,e){if(!(e[T]&256)){let r=e[be];r.destroyNode&&Is(t,e,r,3,null,null),bw(e)}}function Dc(t,e){if(e[T]&256)return;let r=U(null);try{e[T]&=-129,e[T]|=256,e[tt]&&qa(e[tt]),Mw(t,e),Iw(t,e),e[R].type===1&&e[be].destroy();let n=e[Dr];if(n!==null&&$t(e[Ne])){n!==e[Ne]&&ku(n,e);let i=e[wr];i!==null&&i.detachView(t)}rw(e)}finally{U(r)}}function Iw(t,e){let r=t.cleanup,n=e[Ho];if(r!==null)for(let o=0;o<r.length-1;o+=2)if(typeof r[o]=="string"){let s=r[o+3];s>=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Ho]=null);let i=e[on];if(i!==null){e[on]=null;for(let o=0;o<i.length;o++){let s=i[o];s()}}}function Mw(t,e){let r;if(t!=null&&(r=t.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let i=e[r[n]];if(!(i instanceof Bn)){let o=r[n+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],c=o[s+1];wt(4,a,c);try{c.call(a)}finally{wt(5,a,c)}}else{wt(4,i,o);try{o.call(i)}finally{wt(5,i,o)}}}}}function _w(t,e,r){return Sw(t,e.parent,r)}function Sw(t,e,r){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return r[Bt];{let{componentOffset:i}=n;if(i>-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===bt.None||o===bt.Emulated)return null}return rt(n,r)}}function Jo(t,e,r,n,i){t.insertBefore(e,r,n,i)}function gp(t,e,r){t.appendChild(e,r)}function Df(t,e,r,n,i){n!==null?Jo(t,e,r,n,i):gp(t,e,r)}function xw(t,e,r,n){t.removeChild(e,r,n)}function Lu(t,e){return t.parentNode(e)}function Tw(t,e){return t.nextSibling(e)}function Aw(t,e,r){return Ow(t,e,r)}function Nw(t,e,r){return t.type&40?rt(t,r):null}var Ow=Nw,wf;function Vu(t,e,r,n){let i=_w(t,n,e),o=e[be],s=n.parent||e[ht],a=Aw(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;c<r.length;c++)Df(o,i,r[c],a,!1);else Df(o,i,r,a,!1);wf!==void 0&&wf(o,n,e,r,i)}function Lo(t,e){if(e!==null){let r=e.type;if(r&3)return rt(e,t);if(r&4)return Gc(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return Lo(t,n);{let i=t[e.index];return $t(i)?Gc(-1,i):It(i)}}else{if(r&32)return Pu(e,t)()||It(t[e.index]);{let n=mp(t,e);if(n!==null){if(Array.isArray(n))return n[0];let i=jn(t[ft]);return Lo(i,n)}else return Lo(t,e.next)}}}return null}function mp(t,e){if(e!==null){let n=t[ft][ht],i=e.projection;return n.projection[i]}return null}function Gc(t,e){let r=Ae+t+1;if(r<e.length){let n=e[r],i=n[R].firstChild;if(i!==null)return Lo(n,i)}return e[Vn]}function Rw(t,e,r){let n=Lu(t,e);n&&xw(t,n,e,r)}function ju(t,e,r,n,i,o,s){for(;r!=null;){let a=n[r.index],c=r.type;if(s&&e===0&&(a&&$n(It(a),n),r.flags|=2),(r.flags&32)!==32)if(c&8)ju(t,e,r.child,n,i,o,!1),lr(e,t,i,a,o);else if(c&32){let u=Pu(r,n),l;for(;l=u();)lr(e,t,i,l,o);lr(e,t,i,a,o)}else c&16?Fw(t,e,n,r,i,o):lr(e,t,i,a,o);r=s?r.projectionNext:r.next}}function Is(t,e,r,n,i,o){ju(r,n,t.firstChild,e,i,o,!1)}function Fw(t,e,r,n,i,o){let s=r[ft],c=s[ht].projection[n.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];lr(e,t,i,l,o)}else{let u=c,l=s[Ne];tp(n)&&(u.flags|=128),ju(t,e,u,l,i,o,!0)}}function Pw(t,e,r,n,i){let o=r[Vn],s=It(r);o!==s&&lr(e,t,n,o,i);for(let a=Ae;a<r.length;a++){let c=r[a];Is(c[R],c,t,e,n,o)}}function kw(t,e,r,n,i){if(e)i?t.addClass(r,n):t.removeClass(r,n);else{let o=n.indexOf("-")===-1?void 0:jt.DashCase;i==null?t.removeStyle(r,n,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=jt.Important),t.setStyle(r,n,i,o))}}function Lw(t,e,r){t.setAttribute(e,"style",r)}function vp(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function yp(t,e,r){let{mergedAttrs:n,classes:i,styles:o}=r;n!==null&&Ac(t,e,n),i!==null&&vp(t,e,i),o!==null&&Lw(t,e,o)}var Ht={};function B(t=1){Dp(Ge(),q(),hn()+t,!1)}function Dp(t,e,r,n){if(!n)if((e[T]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Po(e,o,r)}else{let o=t.preOrderHooks;o!==null&&ko(e,o,0,r)}Un(r)}function D(t,e=F.Default){let r=q();if(r===null)return C(t,e);let n=Ue();return Qh(n,r,Se(t),e)}function wp(){let t="invalid";throw new Error(t)}function Cp(t,e,r,n,i,o){let s=U(null);try{let a=null;i&mr.SignalBased&&(a=e[n][Md]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),i&mr.HasDecoratorInputTransform&&(o=t.inputTransforms[n].call(e,o)),t.setInput!==null?t.setInput(e,a,o,r,n):Dh(e,a,n,o)}finally{U(s)}}function Vw(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let i=r[n];if(i<0)Un(~i);else{let o=i,s=r[++n],a=r[++n];TD(s,o);let c=e[o];a(2,c)}}}finally{Un(-1)}}function Ms(t,e,r,n,i,o,s,a,c,u,l){let d=e.blueprint.slice();return d[Bt]=i,d[T]=n|4|128|8|64,(u!==null||t&&t[T]&2048)&&(d[T]|=2048),Mh(d),d[Ne]=d[xr]=t,d[Te]=r,d[Et]=s||t&&t[Et],d[be]=a||t&&t[be],d[yr]=c||t&&t[yr]||null,d[ht]=o,d[ms]=tw(),d[fi]=l,d[mh]=u,d[ft]=e.type==2?t[ft]:d,d}function _s(t,e,r,n,i){let o=t.data[e];if(o===null)o=jw(t,e,r,n,i),xD()&&(o.flags|=32);else if(o.type&64){o.type=r,o.value=n,o.attrs=i;let s=ED();o.injectorIndex=s===null?-1:s.injectorIndex}return wi(o,!0),o}function jw(t,e,r,n,i){let o=Ah(),s=Nh(),a=s?o:o&&o.parent,c=t.data[e]=zw(t,a,r,e,n,i);return t.firstChild===null&&(t.firstChild=c),o!==null&&(s?o.child==null&&c.parent!==null&&(o.child=c):o.next===null&&(o.next=c,c.prev=o)),c}function bp(t,e,r,n){if(r===0)return-1;let i=e.length;for(let o=0;o<r;o++)e.push(n),t.blueprint.push(n),t.data.push(null);return i}function Ep(t,e,r,n,i){let o=hn(),s=n&2;try{Un(-1),s&&e.length>nt&&Dp(t,e,nt,!1),wt(s?2:0,i),r(n,i)}finally{Un(o),wt(s?3:1,i)}}function Ip(t,e,r){if(yh(e)){let n=U(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;s<o;s++){let a=t.data[s];if(a.contentQueries){let c=r[s];a.contentQueries(1,c,s)}}}finally{U(n)}}}function Mp(t,e,r){Th()&&(Kw(t,e,r,rt(r,e)),(r.flags&64)===64&&Ap(t,e,r))}function _p(t,e,r=rt){let n=e.localNames;if(n!==null){let i=e.index+1;for(let o=0;o<n.length;o+=2){let s=n[o+1],a=s===-1?r(e,t):t[s];t[i++]=a}}}function Sp(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Uu(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Uu(t,e,r,n,i,o,s,a,c,u,l){let d=nt+n,h=d+i,f=Uw(d,h),m=typeof u=="function"?u():u;return f[R]={type:t,blueprint:f,template:r,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:l}}function Uw(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:Ht);return r}function Bw(t,e,r,n){let o=n.get(uw,ap)||r===bt.ShadowDom,s=t.selectRootElement(e,o);return $w(s),s}function $w(t){Hw(t)}var Hw=()=>null;function zw(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return wD()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Cf(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,c=mr.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=o;if(i!==null){if(!i.hasOwnProperty(o))continue;u=i[o]}t===0?bf(n,r,u,a,c):bf(n,r,u,a)}return n}function bf(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function Gw(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l<i;l++){let d=o[l],h=r?r.get(d):null,f=h?h.inputs:null,m=h?h.outputs:null;c=Cf(0,d.inputs,l,c,f),u=Cf(1,d.outputs,l,u,m);let S=c!==null&&s!==null&&!vu(e)?c0(c,l,s):null;a.push(S)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=u}function qw(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Ww(t,e,r,n,i,o,s,a){let c=rt(e,r),u=e.inputs,l;!a&&u!=null&&(l=u[n])?(Bu(t,r,l,n,i),vs(e)&&Zw(r,e.index)):e.type&3?(n=qw(n),i=s!=null?s(i,e.value||"",n):i,o.setProperty(c,n,i)):e.type&12}function Zw(t,e){let r=fn(e,t);r[T]&16||(r[T]|=64)}function xp(t,e,r,n){if(Th()){let i=n===null?null:{"":-1},o=Xw(t,r),s,a;o===null?s=a=null:[s,a]=o,s!==null&&Tp(t,e,r,s,i,a),i&&e0(r,n,i)}r.mergedAttrs=li(r.mergedAttrs,r.attrs)}function Tp(t,e,r,n,i,o){for(let u=0;u<n.length;u++)Uc(Qo(r,e),t,n[u].type);n0(r,t.data.length,n.length);for(let u=0;u<n.length;u++){let l=n[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=bp(t,e,n.length,null);for(let u=0;u<n.length;u++){let l=n[u];r.mergedAttrs=li(r.mergedAttrs,l.hostAttrs),r0(t,r,e,c,l),t0(c,l,i),l.contentQueries!==null&&(r.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(r.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks??=[]).push(r.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(r.index),a=!0),c++}Gw(t,r,o)}function Yw(t,e,r,n,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;Qw(s)!=a&&s.push(a),s.push(r,n,o)}}function Qw(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function Kw(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;vs(r)&&i0(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||Qo(r,e),$n(n,e);let s=r.initialInputs;for(let a=i;a<o;a++){let c=t.data[a],u=br(e,t,a,r);if($n(u,e),s!==null&&a0(e,a-i,u,c,r,s),cn(c)){let l=fn(r.index,e);l[Te]=br(e,t,a,r)}}}function Ap(t,e,r){let n=r.directiveStart,i=r.directiveEnd,o=r.index,s=AD();try{Un(o);for(let a=n;a<i;a++){let c=t.data[a],u=e[a];Lc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Jw(c,u)}}finally{Un(-1),Lc(s)}}function Jw(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function Xw(t,e){let r=t.directiveRegistry,n=null,i=null;if(r)for(let o=0;o<r.length;o++){let s=r[o];if(Uy(e,s.selectors,!1))if(n||(n=[]),cn(s))if(s.findHostDirectiveDefs!==null){let a=[];i=i||new Map,s.findHostDirectiveDefs(s,a,i),n.unshift(...a,s);let c=a.length;qc(t,e,c)}else n.unshift(s),qc(t,e,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,n,i),n.push(s)}return n===null?null:[n,i]}function qc(t,e,r){e.componentOffset=r,(t.components??=[]).push(e.index)}function e0(t,e,r){if(e){let n=t.localNames=[];for(let i=0;i<e.length;i+=2){let o=r[e[i+1]];if(o==null)throw new _(-301,!1);n.push(e[i],o)}}}function t0(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;cn(e)&&(r[""]=t)}}function n0(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function r0(t,e,r,n,i){t.data[n]=i;let o=i.factory||(i.factory=Ln(i.type,!0)),s=new Bn(o,cn(i),D);t.blueprint[n]=s,r[n]=s,Yw(t,e,n,bp(t,r,i.hostVars,Ht),i)}function i0(t,e,r){let n=rt(e,t),i=Sp(r),o=t[Et].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=Ss(t,Ms(t,i,null,s,n,e,null,o.createRenderer(n,r),null,null,null));t[e.index]=a}function o0(t,e,r,n,i,o){let s=rt(t,e);s0(e[be],s,o,t.value,r,n,i)}function s0(t,e,r,n,i,o,s){if(o==null)t.removeAttribute(e,i,r);else{let a=s==null?hr(o):s(o,n||"",i);t.setAttribute(e,i,a,r)}}function a0(t,e,r,n,i,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];Cp(n,r,c,u,l,d)}}function c0(t,e,r){let n=null,i=0;for(;i<r.length;){let o=r[i];if(o===0){i+=4;continue}else if(o===5){i+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){n===null&&(n=[]);let s=t[o];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(o,s[a+1],s[a+2],r[i+1]);break}}i+=2}return n}function Np(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function Op(t,e){let r=t.contentQueries;if(r!==null){let n=U(null);try{for(let i=0;i<r.length;i+=2){let o=r[i],s=r[i+1];if(s!==-1){let a=t.data[s];Ph(o),a.contentQueries(2,e[s],s)}}}finally{U(n)}}}function Ss(t,e){return t[hi]?t[lf][dt]=e:t[hi]=e,t[lf]=e,e}function Wc(t,e,r){Ph(0);let n=U(null);try{e(t,r)}finally{U(n)}}function u0(t){return t[Ho]??=[]}function l0(t){return t.cleanup??=[]}function Rp(t,e){let r=t[yr],n=r?r.get(Mt,null):null;n&&n.handleError(e)}function Bu(t,e,r,n,i){for(let o=0;o<r.length;){let s=r[o++],a=r[o++],c=r[o++],u=e[s],l=t.data[s];Cp(l,u,n,a,c,i)}}function Fp(t,e,r){let n=Eh(e,t);Dw(t[be],n,r)}function d0(t,e){let r=fn(e,t),n=r[R];f0(n,r);let i=r[Bt];i!==null&&r[fi]===null&&(r[fi]=Ru(i,r[yr])),$u(n,r,r[Te])}function f0(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function $u(t,e,r){Eu(e);try{let n=t.viewQuery;n!==null&&Wc(1,n,r);let i=t.template;i!==null&&Ep(t,e,i,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),e[wr]?.finishViewCreation(t),t.staticContentQueries&&Op(t,e),t.staticViewQueries&&Wc(2,t.viewQuery,r);let o=t.components;o!==null&&h0(e,o)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[T]&=-5,Iu()}}function h0(t,e){for(let r=0;r<e.length;r++)d0(t,e[r])}function Hu(t,e,r,n){let i=U(null);try{let o=e.tView,a=t[T]&4096?4096:16,c=Ms(t,o,r,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),u=t[e.index];c[Dr]=u;let l=t[wr];return l!==null&&(c[wr]=l.createEmbeddedView(o)),$u(o,c,r),c}finally{U(i)}}function p0(t,e){let r=Ae+e;if(r<t.length)return t[r]}function Xo(t,e){return!e||e.firstChild===null||tp(t)}function zu(t,e,r,n=!0){let i=e[R];if(Ew(i,e,t,r),n){let s=Gc(r,t),a=e[be],c=Lu(a,t[Vn]);c!==null&&Cw(i,t[ht],a,e,c,s)}let o=e[fi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function g0(t,e){let r=gi(t,e);return r!==void 0&&Es(r[R],r),r}function es(t,e,r,n,i=!1){for(;r!==null;){let o=e[r.index];o!==null&&n.push(It(o)),$t(o)&&m0(o,n);let s=r.type;if(s&8)es(t,e,r.child,n);else if(s&32){let a=Pu(r,e),c;for(;c=a();)n.push(c)}else if(s&16){let a=mp(e,r);if(Array.isArray(a))n.push(...a);else{let c=jn(e[ft]);es(c[R],c,a,n,!0)}}r=i?r.projectionNext:r.next}return n}function m0(t,e){for(let r=Ae;r<t.length;r++){let n=t[r],i=n[R].firstChild;i!==null&&es(n[R],n,i,e)}t[Vn]!==t[Bt]&&e.push(t[Vn])}var Pp=[];function v0(t){return t[tt]??y0(t)}function y0(t){let e=Pp.pop()??Object.create(w0);return e.lView=t,e}function D0(t){t.lView[tt]!==t&&(t.lView=null,Pp.push(t))}var w0=$(w({},Ha),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{ys(t.lView)},consumerOnSignalRead(){this.lView[tt]=this}});function C0(t){let e=t[tt]??Object.create(b0);return e.lView=t,e}var b0=$(w({},Ha),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=jn(t.lView);for(;e&&!kp(e[R]);)e=jn(e);e&&_h(e)},consumerOnSignalRead(){this.lView[tt]=this}});function kp(t){return t.type!==2}var E0=100;function Lp(t,e=!0,r=0){let n=t[Et],i=n.rendererFactory,o=!1;o||i.begin?.();try{I0(t,r)}catch(s){throw e&&Rp(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function I0(t,e){let r=Oh();try{ff(!0),Zc(t,e);let n=0;for(;pi(t);){if(n===E0)throw new _(103,!1);n++,Zc(t,1)}}finally{ff(r)}}function M0(t,e,r,n){let i=e[T];if((i&256)===256)return;let o=!1,s=!1;!o&&e[Et].inlineEffectRunner?.flush(),Eu(e);let a=!0,c=null,u=null;o||(kp(t)?(u=v0(e),c=za(u)):_d()===null?(a=!1,u=C0(e),c=za(u)):e[tt]&&(qa(e[tt]),e[tt]=null));try{Mh(e),SD(t.bindingStartIndex),r!==null&&Ep(t,e,r,2,n);let l=(i&3)===3;if(!o)if(l){let f=t.preOrderCheckHooks;f!==null&&Po(e,f,null)}else{let f=t.preOrderHooks;f!==null&&ko(e,f,0,null),gc(e,0)}if(s||_0(e),Vp(e,0),t.contentQueries!==null&&Op(t,e),!o)if(l){let f=t.contentCheckHooks;f!==null&&Po(e,f)}else{let f=t.contentHooks;f!==null&&ko(e,f,1),gc(e,1)}Vw(t,e);let d=t.components;d!==null&&Up(e,d,0);let h=t.viewQuery;if(h!==null&&Wc(2,h,n),!o)if(l){let f=t.viewCheckHooks;f!==null&&Po(e,f)}else{let f=t.viewHooks;f!==null&&ko(e,f,2),gc(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[pc]){for(let f of e[pc])f();e[pc]=null}o||(e[T]&=-73)}catch(l){throw o||ys(e),l}finally{u!==null&&(Sd(u,c),a&&D0(u)),Iu()}}function Vp(t,e){for(let r=rp(t);r!==null;r=ip(r))for(let n=Ae;n<r.length;n++){let i=r[n];jp(i,e)}}function _0(t){for(let e=rp(t);e!==null;e=ip(e)){if(!(e[T]&qo.HasTransplantedViews))continue;let r=e[Go];for(let n=0;n<r.length;n++){let i=r[n];_h(i)}}}function S0(t,e,r){let n=fn(e,t);jp(n,r)}function jp(t,e){bu(t)&&Zc(t,e)}function Zc(t,e){let n=t[R],i=t[T],o=t[tt],s=!!(e===0&&i&16);if(s||=!!(i&64&&e===0),s||=!!(i&1024),s||=!!(o?.dirty&&Ga(o)),s||=!1,o&&(o.dirty=!1),t[T]&=-9217,s)M0(n,t,n.template,t[Te]);else if(i&8192){Vp(t,1);let a=n.components;a!==null&&Up(t,a,1)}}function Up(t,e,r){for(let n=0;n<e.length;n++)S0(t,e[n],r)}function Gu(t,e){let r=Oh()?64:1088;for(t[Et].changeDetectionScheduler?.notify(e);t;){t[T]|=r;let n=jn(t);if(Fc(t)&&!n)return t;t=n}return null}var Hn=class{get rootNodes(){let e=this._lView,r=e[R];return es(r,e,r.firstChild,[])}constructor(e,r,n=!0){this._lView=e,this._cdRefInjectingView=r,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Te]}set context(e){this._lView[Te]=e}get destroyed(){return(this._lView[T]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Ne];if($t(e)){let r=e[zo],n=r?r.indexOf(this):-1;n>-1&&(gi(e,n),Bo(r,n))}this._attachedToViewContainer=!1}Es(this._lView[R],this._lView)}onDestroy(e){Sh(this._lView,e)}markForCheck(){Gu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[T]&=-129}reattach(){kc(this._lView),this._lView[T]|=128}detectChanges(){this._lView[T]|=1024,Lp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Fc(this._lView),r=this._lView[Dr];r!==null&&!e&&ku(r,this._lView),hp(this._lView[R],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=e;let r=Fc(this._lView),n=this._lView[Dr];n!==null&&!r&&pp(n,this._lView),kc(this._lView)}},qu=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=A0;let t=e;return t})(),x0=qu,T0=class extends x0{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=Hu(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Hn(i)}};function A0(){return Bp(Ue(),q())}function Bp(t,e){return t.type&4?new T0(e,t,ws(t,e)):null}var ZO=new RegExp(`^(\\d+)*(${aw}|${sw})*(.*)`);var N0=()=>null;function ts(t,e){return N0(t,e)}var Er=class{},$p=new I("",{providedIn:"root",factory:()=>!1});var Hp=new I(""),Yc=class{},ns=class{};function O0(t){let e=Error(`No component factory found for ${xe(t)}.`);return e[R0]=t,e}var R0="ngComponent";var Qc=class{resolveComponentFactory(e){throw O0(e)}},el=class el{};el.NULL=new Qc;var Ir=el,Mr=class{},St=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>F0();let t=e;return t})();function F0(){let t=q(),e=Ue(),r=fn(e.index,t);return(sn(r)?r:t)[be]}var P0=(()=>{let e=class e{};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();var Ef=new Set;function bi(t){Ef.has(t)||(Ef.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function zp(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof Ce.requestAnimationFrame=="function"&&Ce.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function If(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function Mf(...t){}var Y=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new he(!1),this.onMicrotaskEmpty=new he(!1),this.onStable=new he(!1),this.onError=new he(!1),typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.callbackScheduled=!1,V0(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new _(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,k0,Mf,Mf);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},k0={};function Wu(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function L0(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{zp(()=>{t.callbackScheduled=!1,Kc(t),t.isCheckStableRunning=!0,Wu(t),t.isCheckStableRunning=!1})}),Kc(t))}function V0(t){let e=()=>{L0(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if(j0(a))return r.invokeTask(i,o,s,a);try{return _f(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Sf(t)}},onInvoke:(r,n,i,o,s,a,c)=>{try{return _f(t),r.invoke(i,o,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!U0(a)&&e(),Sf(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Kc(t),Wu(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Kc(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function _f(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Sf(t){t._nesting--,Wu(t)}var rs=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new he,this.onMicrotaskEmpty=new he,this.onStable=new he,this.onError=new he}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}};function j0(t){return Gp(t,"__ignore_ng_zone__")}function U0(t){return Gp(t,"__scheduler_tick__")}function Gp(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}function B0(t="zone.js",e){return t==="noop"?new rs:t==="zone.js"?new Y(e):t}var rn=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(rn||{}),$0={destroy(){}};function xs(t,e){!e&&sD(xs);let r=e?.injector??v(je);if(!mw(r))return $0;bi("NgAfterNextRender");let n=r.get(Zu),i=n.handler??=new Xc,o=e?.phase??rn.MixedReadWrite,s=()=>{i.unregister(c),a()},a=r.get(Au).onDestroy(s),c=ze(r,()=>new Jc(o,()=>{s(),t()}));return i.register(c),{destroy:s}}var Jc=class{constructor(e,r){this.phase=e,this.callbackFn=r,this.zone=v(Y),this.errorHandler=v(Mt,{optional:!0}),v(Er,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Xc=class{constructor(){this.executingCallbacks=!1,this.buckets={[rn.EarlyRead]:new Set,[rn.Write]:new Set,[rn.MixedReadWrite]:new Set,[rn.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Zu=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function eu(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)i=Xd(i,a);else if(o==2){let c=a,u=e[++s];n=Xd(n,c+": "+u+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=i:t.classesWithoutHost=i}var is=class extends Ir{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=an(e);return new _r(r,this.ngModule)}};function xf(t){let e=[];for(let r in t){if(!t.hasOwnProperty(r))continue;let n=t[r];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:r})}return e}function H0(t){let e=t.toLowerCase();return e==="svg"?fD:e==="math"?hD:null}var _r=class extends ns{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=xf(e.inputs);if(r!==null)for(let i of n)r.hasOwnProperty(i.propName)&&(i.transform=r[i.propName]);return n}get outputs(){return xf(this.componentDef.outputs)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=zy(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,i){let o=U(null);try{i=i||this.ngModule;let s=i instanceof Ee?i:i?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Vc(e,s):e,c=a.get(Mr,null);if(c===null)throw new _(407,!1);let u=a.get(P0,null),l=a.get(Zu,null),d=a.get(Er,null),h={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:l,changeDetectionScheduler:d},f=c.createRenderer(null,this.componentDef),m=this.componentDef.selectors[0][0]||"div",S=n?Bw(f,n,this.componentDef.encapsulation,a):fp(f,m,H0(m)),E=512;this.componentDef.signals?E|=4096:this.componentDef.onPush||(E|=16);let M=null;S!==null&&(M=Ru(S,a,!0));let ee=Uu(0,null,null,1,0,null,null,null,null,null,null),te=Ms(null,ee,null,E,null,null,h,f,a,null,M);Eu(te);let K,Je;try{let ge=this.componentDef,Xe,Qn=null;ge.findHostDirectiveDefs?(Xe=[],Qn=new Map,ge.findHostDirectiveDefs(ge,Xe,Qn),Xe.push(ge)):Xe=[ge];let Ov=z0(te,S),Rv=G0(Ov,S,ge,Xe,te,h,f);Je=Cu(ee,nt),S&&Z0(f,ge,S,n),r!==void 0&&Y0(Je,this.ngContentSelectors,r),K=W0(Rv,ge,Xe,Qn,te,[Q0]),$u(ee,te,null)}finally{Iu()}return new tu(this.componentType,K,ws(Je,te),te,Je)}finally{U(o)}}},tu=class extends Yc{constructor(e,r,n,i,o){super(),this.location=n,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new Hn(i,void 0,!1),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,i;if(n!==null&&(i=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let o=this._rootLView;Bu(o[R],o,i,e,r),this.previousInputValues.set(e,r);let s=fn(this._tNode.index,o);Gu(s,1)}}get injector(){return new kn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function z0(t,e){let r=t[R],n=nt;return t[n]=e,_s(r,n,2,"#host",null)}function G0(t,e,r,n,i,o,s){let a=i[R];q0(n,t,e,s);let c=null;e!==null&&(c=Ru(e,i[yr]));let u=o.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=Ms(i,Sp(r),null,l,i[t.index],t,o,u,null,null,c);return a.firstCreatePass&&qc(a,t,n.length-1),Ss(i,d),i[t.index]=d}function q0(t,e,r,n){for(let i of t)e.mergedAttrs=li(e.mergedAttrs,i.hostAttrs);e.mergedAttrs!==null&&(eu(e,e.mergedAttrs,!0),r!==null&&yp(n,r,e))}function W0(t,e,r,n,i,o){let s=Ue(),a=i[R],c=rt(s,i);Tp(a,i,s,r,null,n);for(let l=0;l<r.length;l++){let d=s.directiveStart+l,h=br(i,a,d,s);$n(h,i)}Ap(a,i,s),c&&$n(c,i);let u=br(i,a,s.directiveStart+s.componentOffset,s);if(t[Te]=i[Te]=u,o!==null)for(let l of o)l(u,e);return Ip(a,s,i),u}function Z0(t,e,r,n){if(n)Ac(t,r,["ng-version","18.0.4"]);else{let{attrs:i,classes:o}=Gy(e.selectors[0]);i&&Ac(t,r,i),o&&o.length>0&&vp(t,r,o.join(" "))}}function Y0(t,e,r){let n=t.projection=[];for(let i=0;i<e.length;i++){let o=r[i];n.push(o!=null?Array.from(o):null)}}function Q0(){let t=Ue();Su(q()[R],t)}var Ei=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=K0;let t=e;return t})();function K0(){let t=Ue();return X0(t,q())}var J0=Ei,qp=class extends J0{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return ws(this._hostTNode,this._hostLView)}get injector(){return new kn(this._hostTNode,this._hostLView)}get parentInjector(){let e=xu(this._hostTNode,this._hostLView);if(zh(e)){let r=Zo(e,this._hostLView),n=Wo(e),i=r[R].data[n+8];return new kn(i,r)}else return new kn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Tf(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ae}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=ts(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Xo(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!cD(e),a;if(s)a=r;else{let m=r||{};a=m.index,n=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let c=s?e:new _r(an(e)),u=n||this.parentInjector;if(!o&&c.ngModule==null){let S=(s?u:this.parentInjector).get(Ee,null);S&&(o=S)}let l=an(c.componentType??{}),d=ts(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,i,h,o);return this.insertImpl(f.hostView,a,Xo(this._hostTNode,d)),f}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(pD(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[Ne],u=new qp(c,c[ht],c[Ne]);u.detach(u.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return zu(s,i,o,n),e.attachToViewContainerRef(),Jf(wc(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Tf(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=gi(this._lContainer,r);n&&(Bo(wc(this._lContainer),r),Es(n[R],n))}detach(e){let r=this._adjustIndex(e,-1),n=gi(this._lContainer,r);return n&&Bo(wc(this._lContainer),r)!=null?new Hn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Tf(t){return t[zo]}function wc(t){return t[zo]||(t[zo]=[])}function X0(t,e){let r,n=e[t.index];return $t(n)?r=n:(r=Np(n,e,null,t),e[t.index]=r,Ss(e,r)),tC(r,e,t,n),new qp(r,t,e)}function eC(t,e){let r=t[be],n=r.createComment(""),i=rt(e,t),o=Lu(r,i);return Jo(r,o,n,Tw(r,i),!1),n}var tC=iC,nC=()=>!1;function rC(t,e,r){return nC(t,e,r)}function iC(t,e,r,n){if(t[Vn])return;let i;r.type&8?i=It(n):i=eC(e,r),t[Vn]=i}function oC(t){let e=[],r=new Map;function n(i){let o=r.get(i);if(!o){let s=t(i);r.set(i,o=s.then(uC))}return o}return os.forEach((i,o)=>{let s=[];i.templateUrl&&s.push(n(i.templateUrl).then(u=>{i.template=u}));let a=typeof i.styles=="string"?[i.styles]:i.styles||[];if(i.styles=a,i.styleUrl&&i.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(i.styleUrls?.length){let u=i.styles.length,l=i.styleUrls;i.styleUrls.forEach((d,h)=>{a.push(""),s.push(n(d).then(f=>{a[u+h]=f,l.splice(l.indexOf(d),1),l.length==0&&(i.styleUrls=void 0)}))})}else i.styleUrl&&s.push(n(i.styleUrl).then(u=>{a.push(u),i.styleUrl=void 0}));let c=Promise.all(s).then(()=>lC(o));e.push(c)}),aC(),Promise.all(e).then(()=>{})}var os=new Map,sC=new Set;function aC(){let t=os;return os=new Map,t}function cC(){return os.size===0}function uC(t){return typeof t=="string"?t:t.text()}function lC(t){sC.delete(t)}function dC(t){return Object.getPrototypeOf(t.prototype).constructor}function gt(t){let e=dC(t.type),r=!0,n=[t];for(;e;){let i;if(cn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new _(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=No(t.inputs),s.inputTransforms=No(t.inputTransforms),s.declaredInputs=No(t.declaredInputs),s.outputs=No(t.outputs);let a=i.hostBindings;a&&mC(t,a);let c=i.viewQuery,u=i.contentQueries;if(c&&pC(t,c),u&&gC(t,u),fC(t,i),fy(t.outputs,i.outputs),cn(i)&&i.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===gt&&(r=!1)}}e=Object.getPrototypeOf(e)}hC(n)}function fC(t,e){for(let r in e.inputs){if(!e.inputs.hasOwnProperty(r)||t.inputs.hasOwnProperty(r))continue;let n=e.inputs[r];if(n!==void 0&&(t.inputs[r]=n,t.declaredInputs[r]=e.declaredInputs[r],e.inputTransforms!==null)){let i=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(i))continue;t.inputTransforms??={},t.inputTransforms[i]=e.inputTransforms[i]}}}function hC(t){let e=0,r=null;for(let n=t.length-1;n>=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=li(i.hostAttrs,r=li(r,i.hostAttrs))}}function No(t){return t===pr?{}:t===et?[]:t}function pC(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function gC(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function mC(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function Yu(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];Array.isArray(i)&&i[3]&&(r[n]=i[3])}t.inputTransforms=r}var un=class{},mi=class{};var ss=class extends un{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new is(this);let i=ch(e);this._bootstrapComponents=dp(i.bootstrap),this._r3Injector=Xh(e,r,[{provide:un,useValue:this},{provide:Ir,useValue:this.componentFactoryResolver},...n],xe(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},as=class extends mi{constructor(e){super(),this.moduleType=e}create(e){return new ss(this.moduleType,e,[])}};function vC(t,e,r){return new ss(t,e,r)}var nu=class extends un{constructor(e){super(),this.componentFactoryResolver=new is(this),this.instance=null;let r=new di([...e.providers,{provide:un,useValue:this},{provide:Ir,useValue:this.componentFactoryResolver}],e.parent||Du(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Ts(t,e,r=null){return new nu({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function yC(t,e,r){return t[e]=r}function ln(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function DC(t,e,r,n){let i=ln(t,e,r);return ln(t,e+1,n)||i}function wC(t){return(t.flags&32)===32}function CC(t,e,r,n,i,o,s,a,c){let u=e.consts,l=_s(e,t,4,s||null,a||null);xp(e,r,l,Cr(u,c)),Su(e,l);let d=l.tView=Uu(2,l,n,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function ru(t,e,r,n,i,o,s,a,c,u){let l=r+nt,d=e.firstCreatePass?CC(l,e,t,n,i,o,s,a,c):e.data[l];wi(d,!1);let h=bC(e,t,d,r);Mu()&&Vu(e,t,h,d),$n(h,t);let f=Np(h,t,h,d);return t[l]=f,Ss(t,f),rC(f,d,t),wu(d)&&Mp(e,t,d),c!=null&&_p(t,d,u),d}function xt(t,e,r,n,i,o,s,a){let c=q(),u=Ge(),l=Cr(u.consts,o);return ru(c,u,t,e,r,n,i,l,s,a),xt}var bC=EC;function EC(t,e,r,n){return _u(!0),e[be].createComment("")}function As(t,e,r,n){let i=q(),o=Ds();if(ln(i,o,e)){let s=Ge(),a=Bh();o0(a,i,t,e,r,n)}return As}function IC(t,e,r,n){return ln(t,Ds(),r)?e+hr(r)+n:Ht}function MC(t,e,r,n,i,o){let s=_D(),a=DC(t,s,r,i);return Fh(2),a?e+hr(r)+n+hr(i)+o:Ht}function Oo(t,e){return t<<17|e<<2}function zn(t){return t>>17&32767}function _C(t){return(t&2)==2}function SC(t,e){return t&131071|e<<17}function iu(t){return t|2}function Sr(t){return(t&131068)>>2}function Cc(t,e){return t&-131069|e<<2}function xC(t){return(t&1)===1}function ou(t){return t|1}function TC(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=zn(s),c=Sr(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||Di(d,l)>0)&&(u=!0)}else l=r;if(i)if(c!==0){let h=zn(t[a+1]);t[n+1]=Oo(h,a),h!==0&&(t[h+1]=Cc(t[h+1],n)),t[a+1]=SC(t[a+1],n)}else t[n+1]=Oo(a,0),a!==0&&(t[a+1]=Cc(t[a+1],n)),a=n;else t[n+1]=Oo(c,0),a===0?a=n:t[c+1]=Cc(t[c+1],n),c=n;u&&(t[n+1]=iu(t[n+1])),Af(t,l,n,!0),Af(t,l,n,!1),AC(e,l,t,n,o),s=Oo(a,c),o?e.classBindings=s:e.styleBindings=s}function AC(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Di(o,e)>=0&&(r[n+1]=ou(r[n+1]))}function Af(t,e,r,n){let i=t[r+1],o=e===null,s=n?zn(i):Sr(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],u=t[s+1];NC(c,e)&&(a=!0,t[s+1]=n?ou(u):iu(u)),s=n?zn(u):Sr(u)}a&&(t[r+1]=n?iu(i):ou(i))}function NC(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Di(t,e)>=0:!1}function ie(t,e,r){let n=q(),i=Ds();if(ln(n,i,e)){let o=Ge(),s=Bh();Ww(o,s,n,t,e,n[be],r,!1)}return ie}function Nf(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";Bu(t,r,o[s],s,n)}function Ns(t,e){return OC(t,e,null,!0),Ns}function OC(t,e,r,n){let i=q(),o=Ge(),s=Fh(2);if(o.firstUpdatePass&&FC(o,t,s,n),e!==Ht&&ln(i,s,e)){let a=o.data[hn()];jC(o,a,i,i[be],t,i[s+1]=UC(e,r),n,s)}}function RC(t,e){return e>=t.expandoStartIndex}function FC(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[hn()],s=RC(t,r);BC(o,n)&&e===null&&!s&&(e=!1),e=PC(i,o,e,n),TC(i,o,e,r,s,n)}}function PC(t,e,r,n){let i=ND(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=bc(null,t,e,r,n),r=vi(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=bc(i,t,e,r,n),o===null){let c=kC(t,e,n);c!==void 0&&Array.isArray(c)&&(c=bc(null,t,e,c[1],n),c=vi(c,e.attrs,n),LC(t,e,n,c))}else o=VC(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function kC(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Sr(n)!==0)return t[zn(n)]}function LC(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[zn(i)]=n}function VC(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;n=vi(n,s,r)}return vi(n,e.attrs,r)}function bc(t,e,r,n,i){let o=null,s=r.directiveEnd,a=r.directiveStylingLast;for(a===-1?a=r.directiveStart:a++;a<s&&(o=e[a],n=vi(n,o.hostAttrs,i),o!==t);)a++;return t!==null&&(r.directiveStylingLast=a),n}function vi(t,e,r){let n=r?1:2,i=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?i=s:i===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Oy(t,s,r?!0:e[++o]))}return t===void 0?null:t}function jC(t,e,r,n,i,o,s,a){if(!(e.type&3))return;let c=t.data,u=c[a+1],l=xC(u)?Of(c,e,r,i,Sr(u),s):void 0;if(!cs(l)){cs(o)||_C(u)&&(o=Of(c,null,r,i,a,s));let d=Eh(hn(),r);kw(n,s,d,i,o)}}function Of(t,e,r,n,i,o){let s=e===null,a;for(;i>0;){let c=t[i],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=r[i+1];h===Ht&&(h=d?et:void 0);let f=d?fc(h,n):l===n?h:void 0;if(u&&!cs(f)&&(f=fc(c,n)),cs(f)&&(a=f,s))return a;let m=t[i+1];i=s?zn(m):Sr(m)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=fc(c,n))}return a}function cs(t){return t!==void 0}function UC(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=xe(Ci(t)))),t}function BC(t,e){return(t.flags&(e?8:16))!==0}var su=class{destroy(e){}updateValue(e,r){}swap(e,r){let n=Math.min(e,r),i=Math.max(e,r),o=this.detach(i);if(i-n>1){let s=this.detach(n);this.attach(n,o),this.attach(i,s)}else this.attach(n,o)}move(e,r){this.attach(r,this.detach(e))}};function Ec(t,e,r,n,i){return t===r&&Object.is(e,n)?1:Object.is(i(t,e),i(r,n))?-1:0}function $C(t,e,r){let n,i,o=0,s=t.length-1,a=void 0;if(Array.isArray(e)){let c=e.length-1;for(;o<=s&&o<=c;){let u=t.at(o),l=e[o],d=Ec(o,u,o,l,r);if(d!==0){d<0&&t.updateValue(o,l),o++;continue}let h=t.at(s),f=e[c],m=Ec(s,h,c,f,r);if(m!==0){m<0&&t.updateValue(s,f),s--,c--;continue}let S=r(o,u),E=r(s,h),M=r(o,l);if(Object.is(M,E)){let ee=r(c,f);Object.is(ee,S)?(t.swap(o,s),t.updateValue(s,f),c--,s--):t.move(s,o),t.updateValue(o,l),o++;continue}if(n??=new us,i??=Ff(t,o,s,r),au(t,n,o,M))t.updateValue(o,l),o++,s++;else if(i.has(M))n.set(S,t.detach(o)),s--;else{let ee=t.create(o,e[o]);t.attach(o,ee),o++,s++}}for(;o<=c;)Rf(t,n,r,o,e[o]),o++}else if(e!=null){let c=e[Symbol.iterator](),u=c.next();for(;!u.done&&o<=s;){let l=t.at(o),d=u.value,h=Ec(o,l,o,d,r);if(h!==0)h<0&&t.updateValue(o,d),o++,u=c.next();else{n??=new us,i??=Ff(t,o,s,r);let f=r(o,d);if(au(t,n,o,f))t.updateValue(o,d),o++,s++,u=c.next();else if(!i.has(f))t.attach(o,t.create(o,d)),o++,s++,u=c.next();else{let m=r(o,l);n.set(m,t.detach(o)),s--}}}for(;!u.done;)Rf(t,n,r,t.length,u.value),u=c.next()}for(;o<=s;)t.destroy(t.detach(s--));n?.forEach(c=>{t.destroy(c)})}function au(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function Rf(t,e,r,n,i){if(au(t,e,n,r(n,i)))t.updateValue(n,i);else{let o=t.create(n,i);t.attach(n,o)}}function Ff(t,e,r,n){let i=new Set;for(let o=e;o<=r;o++)i.add(n(o,t.at(o)));return i}var us=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,n]of this.kvMap)if(e(n,r),this._vMap!==void 0){let i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,r)}}};var cu=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-Ae}};function Tr(t,e){return e}var uu=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function Ar(t,e,r,n,i,o,s,a,c,u,l,d,h){bi("NgControlFlow");let f=q(),m=Ge(),S=c!==void 0,E=q(),M=a?s.bind(E[ft][Te]):s,ee=new uu(S,M);E[nt+t]=ee,ru(f,m,t+1,e,r,n,i,Cr(m.consts,o)),S&&ru(f,m,t+2,c,u,l,d,Cr(m.consts,h))}var lu=class extends su{constructor(e,r,n){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=n,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ae}at(e){return this.getLView(e)[Te].$implicit}attach(e,r){let n=r[fi];this.needsIndexUpdate||=e!==this.length,zu(this.lContainer,r,e,Xo(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,HC(this.lContainer,e)}create(e,r){let n=ts(this.lContainer,this.templateTNode.tView.ssrId),i=Hu(this.hostLView,this.templateTNode,new cu(this.lContainer,r,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),i}destroy(e){Es(e[R],e),this.operationsCounter?.recordDestroy()}updateValue(e,r){this.getLView(e)[Te].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[Te].$index=e}getLView(e){return zC(this.lContainer,e)}};function Nr(t){let e=U(null),r=hn();try{let n=q(),i=n[R],o=n[r],s=r+1,a=Pf(n,s);if(o.liveCollection===void 0){let u=kf(i,s);o.liveCollection=new lu(a,n,u)}else o.liveCollection.reset();let c=o.liveCollection;if($C(c,t,o.trackByFn),c.updateIndexes(),o.hasEmptyBlock){let u=Ds(),l=c.length===0;if(ln(n,u,l)){let d=r+2,h=Pf(n,d);if(l){let f=kf(i,d),m=ts(h,f.tView.ssrId),S=Hu(n,f,void 0,{dehydratedView:m});zu(h,S,0,Xo(f,m))}else g0(h,0)}}}finally{U(e)}}function Pf(t,e){return t[e]}function HC(t,e){return gi(t,e)}function zC(t,e){return p0(t,e)}function kf(t,e){return Cu(t,e)}function GC(t,e,r,n,i,o){let s=e.consts,a=Cr(s,i),c=_s(e,t,2,n,a);return xp(e,r,c,Cr(s,o)),c.attrs!==null&&eu(c,c.attrs,!1),c.mergedAttrs!==null&&eu(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function g(t,e,r,n){let i=q(),o=Ge(),s=nt+t,a=i[be],c=o.firstCreatePass?GC(s,o,i,e,r,n):o.data[s],u=qC(o,i,c,a,e,t);i[s]=u;let l=wu(c);return wi(c,!0),yp(a,u,c),!wC(c)&&Mu()&&Vu(o,i,u,c),vD()===0&&$n(u,i),yD(),l&&(Mp(o,i,c),Ip(o,c,i)),n!==null&&_p(i,c),g}function p(){let t=Ue();Nh()?ID():(t=t.parent,wi(t,!1));let e=t;CD(e)&&bD(),DD();let r=Ge();return r.firstCreatePass&&(Su(r,t),yh(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&VD(e)&&Nf(r,e,q(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&jD(e)&&Nf(r,e,q(),e.stylesWithoutHost,!1),p}function Z(t,e,r,n){return g(t,e,r,n),p(),Z}var qC=(t,e,r,n,i,o)=>(_u(!0),fp(n,i,FD()));function zt(){return q()}var Fn=void 0;function WC(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var ZC=["en",[["a","p"],["AM","PM"],Fn],[["AM","PM"],Fn,Fn],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Fn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Fn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Fn,"{1} 'at' {0}",Fn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",WC],Ic={};function it(t){let e=YC(t),r=Lf(e);if(r)return r;let n=e.split("-")[0];if(r=Lf(n),r)return r;if(n==="en")return ZC;throw new _(701,!1)}function Lf(t){return t in Ic||(Ic[t]=Ce.ng&&Ce.ng.common&&Ce.ng.common.locales&&Ce.ng.common.locales[t]),Ic[t]}var ce=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(ce||{});function YC(t){return t.toLowerCase().replace(/_/g,"-")}var ls="en-US";var QC=ls;function KC(t){typeof t=="string"&&(QC=t.toLowerCase().replace(/_/g,"-"))}var JC=(t,e,r)=>{};function j(t,e,r,n){let i=q(),o=Ge(),s=Ue();return eb(o,i,i[be],s,t,e,n),j}function XC(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===r&&i[o+1]===n){let a=e[Ho],c=i[o+2];return a.length>c?a[c]:null}typeof s=="string"&&(o+=2)}return null}function eb(t,e,r,n,i,o,s){let a=wu(n),u=t.firstCreatePass&&l0(t),l=e[Te],d=u0(e),h=!0;if(n.type&3||s){let S=rt(n,e),E=s?s(S):S,M=d.length,ee=s?K=>s(It(K[n.index])):n.index,te=null;if(!s&&a&&(te=XC(t,e,i,n.index)),te!==null){let K=te.__ngLastListenerFn__||te;K.__ngNextListenerFn__=o,te.__ngLastListenerFn__=o,h=!1}else{o=jf(n,e,l,o),JC(S,i,o);let K=r.listen(E,i,o);d.push(o,K),u&&u.push(i,ee,M,M+1)}}else o=jf(n,e,l,o);let f=n.outputs,m;if(h&&f!==null&&(m=f[i])){let S=m.length;if(S)for(let E=0;E<S;E+=2){let M=m[E],ee=m[E+1],Je=e[M][ee].subscribe(o),ge=d.length;d.push(o,Je),u&&u.push(i,n.index,ge,-(ge+1))}}}function Vf(t,e,r,n){let i=U(null);try{return wt(6,e,r),r(n)!==!1}catch(o){return Rp(t,o),!1}finally{wt(7,e,r),U(i)}}function jf(t,e,r,n){return function i(o){if(o===Function)return n;let s=t.componentOffset>-1?fn(t.index,e):e;Gu(s,5);let a=Vf(e,r,n,o),c=i.__ngNextListenerFn__;for(;c;)a=Vf(e,r,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function ot(t=1){return RD(t)}function tb(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function Gt(t){let e=MD();return Ih(e,nt+t)}function y(t,e=""){let r=q(),n=Ge(),i=t+nt,o=n.firstCreatePass?_s(n,i,1,e,null):n.data[i],s=nb(n,r,o,e,t);r[i]=s,Mu()&&Vu(n,r,s,o),wi(o,!1)}var nb=(t,e,r,n,i)=>(_u(!0),yw(e[be],n));function st(t){return Wp("",t,""),st}function Wp(t,e,r){let n=q(),i=IC(n,t,e,r);return i!==Ht&&Fp(n,hn(),i),Wp}function Qu(t,e,r,n,i){let o=q(),s=MC(o,t,e,r,n,i);return s!==Ht&&Fp(o,hn(),s),Qu}function rb(t,e,r){let n=Ge();if(n.firstCreatePass){let i=cn(t);du(r,n.data,n.blueprint,i,!0),du(e,n.data,n.blueprint,i,!1)}}function du(t,e,r,n,i){if(t=Se(t),Array.isArray(t))for(let o=0;o<t.length;o++)du(t[o],e,r,n,i);else{let o=Ge(),s=q(),a=Ue(),c=vr(t)?t:Se(t.provide),u=ph(t),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(vr(t)||!t.multi){let f=new Bn(u,i,D),m=_c(c,e,i?l:l+h,d);m===-1?(Uc(Qo(a,s),o,c),Mc(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(f),s.push(f)):(r[m]=f,s[m]=f)}else{let f=_c(c,e,l+h,d),m=_c(c,e,l,l+h),S=f>=0&&r[f],E=m>=0&&r[m];if(i&&!E||!i&&!S){Uc(Qo(a,s),o,c);let M=sb(i?ob:ib,r.length,i,n,u);!i&&E&&(r[m].providerFactory=M),Mc(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(M),s.push(M)}else{let M=Zp(r[i?m:f],u,!i&&n);Mc(o,t,f>-1?f:m,M)}!i&&n&&E&&r[m].componentProviders++}}}function Mc(t,e,r,n){let i=vr(e),o=Xy(e);if(i||o){let c=(o?Se(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function Zp(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function _c(t,e,r,n){for(let i=r;i<n;i++)if(e[i]===t)return i;return-1}function ib(t,e,r,n){return fu(this.multi,[])}function ob(t,e,r,n){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=br(r,r[R],this.providerFactory.index,n);o=a.slice(0,s),fu(i,o);for(let c=s;c<a.length;c++)o.push(a[c])}else o=[],fu(i,o);return o}function fu(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function sb(t,e,r,n,i){let o=new Bn(t,r,D);return o.multi=[],o.index=e,o.componentProviders=0,Zp(o,i,n&&!r),o}function qn(t,e=[]){return r=>{r.providersResolver=(n,i)=>rb(n,i?i(t):t,e)}}var ab=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=dh(!1,n.type),o=i.length>0?Ts([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=b({token:e,providedIn:"environment",factory:()=>new e(C(Ee))});let t=e;return t})();function Yp(t){bi("NgStandalone"),t.getStandaloneInjector=e=>e.get(ab).getOrCreateStandaloneInjector(t)}function Or(t,e,r,n){return Qp(q(),Rh(),t,e,r,n)}function cb(t,e){let r=t[e];return r===Ht?void 0:r}function Qp(t,e,r,n,i,o){let s=e+r;return ln(t,s,i)?yC(t,s+1,o?n.call(o,i):n(i)):cb(t,s+1)}function Kp(t,e){let r=Ge(),n,i=t+nt;r.firstCreatePass?(n=ub(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=Ln(n.type,!0)),s,a=Ve(D);try{let c=Yo(!1),u=o();return Yo(c),tb(r,q(),i,u),u}finally{Ve(a)}}function ub(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function Jp(t,e,r){let n=t+nt,i=q(),o=Ih(i,n);return lb(i,n)?Qp(i,Rh(),e,o.transform,r,o):o.transform(r)}function lb(t,e){return t[R].data[e].pure}function Xp(t,e){return Bp(t,e)}var Ro=null;function db(t){Ro!==null&&(t.defaultEncapsulation!==Ro.defaultEncapsulation||t.preserveWhitespaces!==Ro.preserveWhitespaces)||(Ro=t)}var Os=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var Ku=new I(""),Ii=new I(""),Rs=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Ju||(fb(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(C(Y),C(Fs),C(Ii))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Fs=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Ju?.findTestabilityInTree(this,n,i)??null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function fb(t){Ju=t}var Ju;function Wn(t){return!!t&&typeof t.then=="function"}function eg(t){return!!t&&typeof t.subscribe=="function"}var Ps=new I(""),tg=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=v(Ps,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Wn(s))n.push(s);else if(eg(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ks=new I("");function hb(){xd(()=>{throw new _(600,!1)})}function pb(t){return t.isBoundToModule}var gb=10;function mb(t,e,r){try{let n=r();return Wn(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function ng(t,e){return Array.isArray(e)?e.reduce(ng,t):w(w({},t),e)}var gn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=v(ep),this.afterRenderEffectManager=v(Zu),this.zonelessEnabled=v($p),this.externalTestViews=new Set,this.beforeRender=new ye,this.afterTick=new ye,this.componentTypes=[],this.components=[],this.isStable=v(pn).hasPendingTasks.pipe(N(n=>!n)),this._injector=v(Ee)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof ns;if(!this._injector.get(tg).done){let f=!o&&ah(n),m=!1;throw new _(405,m)}let a;o?a=n:a=this._injector.get(Ir).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=pb(a)?void 0:this._injector.get(un),u=i||a.selector,l=a.create(je.NULL,[],u,c),d=l.location.nativeElement,h=l.injector.get(Ku,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Vo(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new _(101,!1);let i=U(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,U(i),this.afterTick.next()}}detectChangesInAttachedViews(n){let i=null;this._injector.destroyed||(i=this._injector.get(Mr,null,{optional:!0}));let o=0,s=this.afterRenderEffectManager;for(;o<gb;){let a=o===0;if(n||!a){this.beforeRender.next(a);for(let{_lView:c,notifyErrorHandler:u}of this._views)vb(c,u,a,this.zonelessEnabled)}else i?.begin?.(),i?.end?.();if(o++,s.executeInternalCallbacks(),!this.allViews.some(({_lView:c})=>pi(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>pi(c))))break}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;Vo(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(ks,[]);[...this._bootstrapListeners,...i].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Vo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Vo(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function vb(t,e,r,n){if(!r&&!pi(t))return;Lp(t,e,r&&!n?0:1)}var hu=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Ls=(()=>{let e=class e{compileModuleSync(n){return new as(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=ch(n),s=dp(o.declarations).reduce((a,c)=>{let u=an(c);return u&&a.push(new _r(u)),a},[]);return new hu(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),yb=new I("");function Db(t,e,r){let n=new as(r);return Promise.resolve(n)}function Uf(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var wb=(()=>{let e=class e{constructor(){this.zone=v(Y),this.changeDetectionScheduler=v(Er),this.applicationRef=v(gn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Cb({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new Y(rg()),[{provide:Y,useFactory:t},{provide:gr,multi:!0,useFactory:()=>{let r=v(wb,{optional:!0});return()=>r.initialize()}},{provide:gr,multi:!0,useFactory:()=>{let r=v(Eb);return()=>{r.initialize()}}},{provide:ep,useFactory:bb},e===!0?{provide:Hp,useValue:!0}:[]]}function bb(){let t=v(Y),e=v(Mt);return r=>t.runOutsideAngular(()=>e.handleError(r))}function rg(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Eb=(()=>{let e=class e{constructor(){this.subscription=new le,this.initialized=!1,this.zone=v(Y),this.pendingTasks=v(pn)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Y.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ib=(()=>{let e=class e{constructor(){this.appRef=v(gn),this.taskService=v(pn),this.ngZone=v(Y),this.zonelessEnabled=v($p),this.disableScheduling=v(Hp,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new le,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 rs||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){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 i=this.useMicrotaskScheduler?If:zp;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Y.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,If(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Mb(){return typeof $localize<"u"&&$localize.locale||ls}var Vs=new I("",{providedIn:"root",factory:()=>v(Vs,F.Optional|F.SkipSelf)||Mb()});var ig=new I(""),og=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){let o=B0(i?.ngZone,rg({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{let s=i?.ignoreChangesOutsideZone,a=vC(n.moduleType,this.injector,[...Cb({ngZoneFactory:()=>o,ignoreChangesOutsideZone:s}),{provide:Er,useExisting:Ib}]),c=a.injector.get(Mt,null);return o.runOutsideAngular(()=>{let u=o.onError.subscribe({next:l=>{c.handleError(l)}});a.onDestroy(()=>{Vo(this._modules,a),u.unsubscribe()})}),mb(c,o,()=>{let u=a.injector.get(tg);return u.runInitializers(),u.donePromise.then(()=>{let l=a.injector.get(Vs,ls);return KC(l||ls),this._moduleDoBootstrap(a),a})})})}bootstrapModule(n,i=[]){let o=ng({},i);return Db(this.injector,o,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){let i=n.injector.get(gn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(i);else throw new _(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let n=this._injector.get(ig,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(i){return new(i||e)(C(je))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),ci=null,sg=new I("");function _b(t){if(ci&&!ci.get(sg,!1))throw new _(400,!1);hb(),ci=t;let e=t.get(og);return Tb(t),e}function Xu(t,e,r=[]){let n=`Platform: ${e}`,i=new I(n);return(o=[])=>{let s=ag();if(!s||s.injector.get(sg,!1)){let a=[...r,...o,{provide:i,useValue:!0}];t?t(a):_b(Sb(a,n))}return xb(i)}}function Sb(t=[],e){return je.create({name:e,providers:[{provide:gs,useValue:"platform"},{provide:ig,useValue:new Set([()=>ci=null])},...t]})}function xb(t){let e=ag();if(!e)throw new _(401,!1);return e}function ag(){return ci?.get(og)??null}function Tb(t){t.get(Nu,null)?.forEach(r=>r())}var Tt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Ab;let t=e;return t})();function Ab(t){return Nb(Ue(),q(),(t&16)===16)}function Nb(t,e,r){if(vs(t)&&!r){let n=fn(t.index,e);return new Hn(n,n)}else if(t.type&47){let n=e[ft];return new Hn(n,e)}return null}var cg=Xu(null,"core",[]),ug=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(C(gn))},e.\u0275mod=Me({type:e}),e.\u0275inj=Ie({});let t=e;return t})();function Rr(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function lg(t){let e=an(t);if(!e)return null;let r=new _r(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var gg=null;function At(){return gg}function mg(t){gg??=t}var Ws=class{};var _e=new I(""),cl=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>v(Ob),providedIn:"platform"});let t=e;return t})(),vg=new I(""),Ob=(()=>{let e=class e extends cl{constructor(){super(),this._doc=v(_e),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return At().getBaseHref(this._doc)}onPopState(n){let i=At().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=At().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function ul(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function dg(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function Wt(t){return t&&t[0]!=="?"?"?"+t:t}var Yt=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>v(ll),providedIn:"root"});let t=e;return t})(),yg=new I(""),ll=(()=>{let e=class e extends Yt{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??v(_e).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return ul(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+Wt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Wt(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Wt(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(C(cl),C(yg,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Dg=(()=>{let e=class e extends Yt{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=ul(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Wt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Wt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(C(cl),C(yg,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Pr=(()=>{let e=class e{constructor(n){this._subject=new he,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=Pb(dg(fg(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+Wt(i))}normalize(n){return e.stripTrailingSlash(Fb(this._basePath,fg(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Wt(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Wt(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=Wt,e.joinWithSlash=ul,e.stripTrailingSlash=dg,e.\u0275fac=function(i){return new(i||e)(C(Yt))},e.\u0275prov=b({token:e,factory:()=>Rb(),providedIn:"root"});let t=e;return t})();function Rb(){return new Pr(C(Yt))}function Fb(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function fg(t){return t.replace(/\/index.html$/,"")}function Pb(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var Fe=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Fe||{}),X=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(X||{}),qe=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(qe||{}),mn={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function kb(t){return it(t)[ce.LocaleId]}function Lb(t,e,r){let n=it(t),i=[n[ce.DayPeriodsFormat],n[ce.DayPeriodsStandalone]],o=at(i,e);return at(o,r)}function Vb(t,e,r){let n=it(t),i=[n[ce.DaysFormat],n[ce.DaysStandalone]],o=at(i,e);return at(o,r)}function jb(t,e,r){let n=it(t),i=[n[ce.MonthsFormat],n[ce.MonthsStandalone]],o=at(i,e);return at(o,r)}function Ub(t,e){let n=it(t)[ce.Eras];return at(n,e)}function js(t,e){let r=it(t);return at(r[ce.DateFormat],e)}function Us(t,e){let r=it(t);return at(r[ce.TimeFormat],e)}function Bs(t,e){let n=it(t)[ce.DateTimeFormat];return at(n,e)}function Ys(t,e){let r=it(t),n=r[ce.NumberSymbols][e];if(typeof n>"u"){if(e===mn.CurrencyDecimal)return r[ce.NumberSymbols][mn.Decimal];if(e===mn.CurrencyGroup)return r[ce.NumberSymbols][mn.Group]}return n}function wg(t){if(!t[ce.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[ce.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Bb(t){let e=it(t);return wg(e),(e[ce.ExtraData][2]||[]).map(n=>typeof n=="string"?tl(n):[tl(n[0]),tl(n[1])])}function $b(t,e,r){let n=it(t);wg(n);let i=[n[ce.ExtraData][0],n[ce.ExtraData][1]],o=at(i,e)||[];return at(o,r)||[]}function at(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function tl(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var Hb=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,$s={},zb=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Zt=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(Zt||{}),G=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(G||{}),z=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(z||{});function Gb(t,e,r,n){let i=eE(t);e=qt(r,e)||e;let s=[],a;for(;e;)if(a=zb.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let c=i.getTimezoneOffset();n&&(c=bg(n,c),i=Xb(i,n,!0));let u="";return s.forEach(l=>{let d=Kb(l);u+=d?d(i,r,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Zs(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function qt(t,e){let r=kb(t);if($s[r]??={},$s[r][e])return $s[r][e];let n="";switch(e){case"shortDate":n=js(t,qe.Short);break;case"mediumDate":n=js(t,qe.Medium);break;case"longDate":n=js(t,qe.Long);break;case"fullDate":n=js(t,qe.Full);break;case"shortTime":n=Us(t,qe.Short);break;case"mediumTime":n=Us(t,qe.Medium);break;case"longTime":n=Us(t,qe.Long);break;case"fullTime":n=Us(t,qe.Full);break;case"short":let i=qt(t,"shortTime"),o=qt(t,"shortDate");n=Hs(Bs(t,qe.Short),[i,o]);break;case"medium":let s=qt(t,"mediumTime"),a=qt(t,"mediumDate");n=Hs(Bs(t,qe.Medium),[s,a]);break;case"long":let c=qt(t,"longTime"),u=qt(t,"longDate");n=Hs(Bs(t,qe.Long),[c,u]);break;case"full":let l=qt(t,"fullTime"),d=qt(t,"fullDate");n=Hs(Bs(t,qe.Full),[l,d]);break}return n&&($s[r][e]=n),n}function Hs(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function mt(t,e,r="-",n,i){let o="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=r));let s=String(t);for(;s.length<e;)s="0"+s;return n&&(s=s.slice(s.length-e)),o+s}function qb(t,e){return mt(t,3).substring(0,e)}function pe(t,e,r=0,n=!1,i=!1){return function(o,s){let a=Wb(t,o);if((r>0||a>-r)&&(a+=r),t===G.Hours)a===0&&r===-12&&(a=12);else if(t===G.FractionalSeconds)return qb(a,e);let c=Ys(s,mn.MinusSign);return mt(a,e,c,n,i)}}function Wb(t,e){switch(t){case G.FullYear:return e.getFullYear();case G.Month:return e.getMonth();case G.Date:return e.getDate();case G.Hours:return e.getHours();case G.Minutes:return e.getMinutes();case G.Seconds:return e.getSeconds();case G.FractionalSeconds:return e.getMilliseconds();case G.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function ne(t,e,r=Fe.Format,n=!1){return function(i,o){return Zb(i,o,t,e,r,n)}}function Zb(t,e,r,n,i,o){switch(r){case z.Months:return jb(e,i,n)[t.getMonth()];case z.Days:return Vb(e,i,n)[t.getDay()];case z.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(o){let u=Bb(e),l=$b(e,i,n),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,m]=h,S=s>=f.hours&&a>=f.minutes,E=s<m.hours||s===m.hours&&a<m.minutes;if(f.hours<m.hours){if(S&&E)return!0}else if(S||E)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Lb(e,i,n)[s<12?0:1];case z.Eras:return Ub(e,n)[t.getFullYear()<=0?0:1];default:let c=r;throw new Error(`unexpected translation type ${c}`)}}function zs(t){return function(e,r,n){let i=-1*n,o=Ys(r,mn.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case Zt.Short:return(i>=0?"+":"")+mt(s,2,o)+mt(Math.abs(i%60),2,o);case Zt.ShortGMT:return"GMT"+(i>=0?"+":"")+mt(s,1,o);case Zt.Long:return"GMT"+(i>=0?"+":"")+mt(s,2,o)+":"+mt(Math.abs(i%60),2,o);case Zt.Extended:return n===0?"Z":(i>=0?"+":"")+mt(s,2,o)+":"+mt(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}var Yb=0,qs=4;function Qb(t){let e=Zs(t,Yb,1).getDay();return Zs(t,0,1+(e<=qs?qs:qs+7)-e)}function Cg(t){let e=t.getDay(),r=e===0?-3:qs-e;return Zs(t.getFullYear(),t.getMonth(),t.getDate()+r)}function nl(t,e=!1){return function(r,n){let i;if(e){let o=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();i=1+Math.floor((s+o)/7)}else{let o=Cg(r),s=Qb(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return mt(i,t,Ys(n,mn.MinusSign))}}function Gs(t,e=!1){return function(r,n){let o=Cg(r).getFullYear();return mt(o,t,Ys(n,mn.MinusSign),e)}}var rl={};function Kb(t){if(rl[t])return rl[t];let e;switch(t){case"G":case"GG":case"GGG":e=ne(z.Eras,X.Abbreviated);break;case"GGGG":e=ne(z.Eras,X.Wide);break;case"GGGGG":e=ne(z.Eras,X.Narrow);break;case"y":e=pe(G.FullYear,1,0,!1,!0);break;case"yy":e=pe(G.FullYear,2,0,!0,!0);break;case"yyy":e=pe(G.FullYear,3,0,!1,!0);break;case"yyyy":e=pe(G.FullYear,4,0,!1,!0);break;case"Y":e=Gs(1);break;case"YY":e=Gs(2,!0);break;case"YYY":e=Gs(3);break;case"YYYY":e=Gs(4);break;case"M":case"L":e=pe(G.Month,1,1);break;case"MM":case"LL":e=pe(G.Month,2,1);break;case"MMM":e=ne(z.Months,X.Abbreviated);break;case"MMMM":e=ne(z.Months,X.Wide);break;case"MMMMM":e=ne(z.Months,X.Narrow);break;case"LLL":e=ne(z.Months,X.Abbreviated,Fe.Standalone);break;case"LLLL":e=ne(z.Months,X.Wide,Fe.Standalone);break;case"LLLLL":e=ne(z.Months,X.Narrow,Fe.Standalone);break;case"w":e=nl(1);break;case"ww":e=nl(2);break;case"W":e=nl(1,!0);break;case"d":e=pe(G.Date,1);break;case"dd":e=pe(G.Date,2);break;case"c":case"cc":e=pe(G.Day,1);break;case"ccc":e=ne(z.Days,X.Abbreviated,Fe.Standalone);break;case"cccc":e=ne(z.Days,X.Wide,Fe.Standalone);break;case"ccccc":e=ne(z.Days,X.Narrow,Fe.Standalone);break;case"cccccc":e=ne(z.Days,X.Short,Fe.Standalone);break;case"E":case"EE":case"EEE":e=ne(z.Days,X.Abbreviated);break;case"EEEE":e=ne(z.Days,X.Wide);break;case"EEEEE":e=ne(z.Days,X.Narrow);break;case"EEEEEE":e=ne(z.Days,X.Short);break;case"a":case"aa":case"aaa":e=ne(z.DayPeriods,X.Abbreviated);break;case"aaaa":e=ne(z.DayPeriods,X.Wide);break;case"aaaaa":e=ne(z.DayPeriods,X.Narrow);break;case"b":case"bb":case"bbb":e=ne(z.DayPeriods,X.Abbreviated,Fe.Standalone,!0);break;case"bbbb":e=ne(z.DayPeriods,X.Wide,Fe.Standalone,!0);break;case"bbbbb":e=ne(z.DayPeriods,X.Narrow,Fe.Standalone,!0);break;case"B":case"BB":case"BBB":e=ne(z.DayPeriods,X.Abbreviated,Fe.Format,!0);break;case"BBBB":e=ne(z.DayPeriods,X.Wide,Fe.Format,!0);break;case"BBBBB":e=ne(z.DayPeriods,X.Narrow,Fe.Format,!0);break;case"h":e=pe(G.Hours,1,-12);break;case"hh":e=pe(G.Hours,2,-12);break;case"H":e=pe(G.Hours,1);break;case"HH":e=pe(G.Hours,2);break;case"m":e=pe(G.Minutes,1);break;case"mm":e=pe(G.Minutes,2);break;case"s":e=pe(G.Seconds,1);break;case"ss":e=pe(G.Seconds,2);break;case"S":e=pe(G.FractionalSeconds,1);break;case"SS":e=pe(G.FractionalSeconds,2);break;case"SSS":e=pe(G.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=zs(Zt.Short);break;case"ZZZZZ":e=zs(Zt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=zs(Zt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=zs(Zt.Long);break;default:return null}return rl[t]=e,e}function bg(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function Jb(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function Xb(t,e,r){let n=r?-1:1,i=t.getTimezoneOffset(),o=bg(e,i);return Jb(t,n*(o-i))}function eE(t){if(hg(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[i,o=1,s=1]=t.split("-").map(a=>+a);return Zs(i,o-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(Hb))return tE(n)}let e=new Date(t);if(!hg(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function tE(t){let e=new Date(0),r=0,n=0,i=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(e,s,a,c,u),e}function hg(t){return t instanceof Date&&!isNaN(t.valueOf())}function Qs(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var vn=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new il,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){pg("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){pg("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(D(Ei),D(qu))},e.\u0275dir=me({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),il=class{constructor(){this.$implicit=null,this.ngIf=null}};function pg(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${xe(e)}'.`)}function nE(t,e){return new _(2100,!1)}var rE="mediumDate",iE=new I(""),oE=new I(""),Eg=(()=>{let e=class e{constructor(n,i,o){this.locale=n,this.defaultTimezone=i,this.defaultOptions=o}transform(n,i,o,s){if(n==null||n===""||n!==n)return null;try{let a=i??this.defaultOptions?.dateFormat??rE,c=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Gb(n,a,s||this.locale,c)}catch(a){throw nE(e,a.message)}}};e.\u0275fac=function(i){return new(i||e)(D(Vs,16),D(iE,24),D(oE,24))},e.\u0275pipe=ih({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var Ks=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=Ie({});let t=e;return t})(),dl="browser",sE="server";function aE(t){return t===dl}function Js(t){return t===sE}var Ig=(()=>{let e=class e{};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>aE(v(_t))?new ol(v(_e),window):new sl});let t=e;return t})(),ol=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=cE(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function cE(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var sl=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Fr=class{};var _i=class{},ea=class{},ue=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
+`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var hl=class{encodeKey(e){return Mg(e)}encodeValue(e){return Mg(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function uE(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var lE=/%(\d[a-f0-9])/gi,dE={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Mg(t){return encodeURIComponent(t).replace(lE,(e,r)=>dE[r]??e)}function Xs(t){return`${t}`}var Dn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new hl,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=uE(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(Xs):[Xs(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Xs(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(Xs(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var pl=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function fE(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function _g(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Sg(t){return typeof Blob<"u"&&t instanceof Blob}function xg(t){return typeof FormData<"u"&&t instanceof FormData}function hE(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Mi=class t{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(fE(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new ue,this.context??=new pl,!this.params)this.params=new Dn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":a<r.length-1?"&":"";this.urlWithParams=r+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||_g(this.body)||Sg(this.body)||xg(this.body)||hE(this.body)?this.body:this.body instanceof Dn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||xg(this.body)?null:Sg(this.body)?this.body.type||null:_g(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Dn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let r=e.method||this.method,n=e.url||this.url,i=e.responseType||this.responseType,o=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,c=e.reportProgress??this.reportProgress,u=e.headers||this.headers,l=e.params||this.params,d=e.context??this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((h,f)=>h.set(f,e.setHeaders[f]),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((h,f)=>h.set(f,e.setParams[f]),l)),new t(r,n,s,{params:l,headers:u,context:d,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},wn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(wn||{}),Si=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new ue,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},ta=class t extends Si{constructor(e={}){super(e),this.type=wn.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},xi=class t extends Si{constructor(e={}){super(e),this.type=wn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},yn=class extends Si{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Og=200,pE=204;function fl(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var We=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof Mi)s=n;else{let u;o.headers instanceof ue?u=o.headers:u=new ue(o.headers);let l;o.params&&(o.params instanceof Dn?l=o.params:l=new Dn({fromObject:o.params})),s=new Mi(n,i,o.body!==void 0?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=x(s).pipe(Lt(u=>this.handler.handle(u)));if(n instanceof Mi||o.observe==="events")return a;let c=a.pipe(ke(u=>u instanceof xi));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(N(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(N(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(N(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(N(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new Dn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,fl(o,i))}post(n,i,o={}){return this.request("POST",n,fl(o,i))}put(n,i,o={}){return this.request("PUT",n,fl(o,i))}};e.\u0275fac=function(i){return new(i||e)(C(_i))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),gE=/^\)\]\}',?\n/,mE="X-Request-URL";function Tg(t){if(t.url)return t.url;let e=mE.toLocaleLowerCase();return t.headers.get(e)}var vE=(()=>{let e=class e{constructor(){this.fetchImpl=v(gl,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=v(Y)}handle(n){return new L(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then(ml,s=>i.error(new yn({error:s}))),()=>o.abort()})}doRequest(n,i,o){return ri(this,null,function*(){let s=this.createRequestInit(n),a;try{let m=this.fetchImpl(n.urlWithParams,w({signal:i},s));yE(m),o.next({type:wn.Sent}),a=yield m}catch(m){o.error(new yn({error:m,status:m.status??0,statusText:m.statusText,url:n.urlWithParams,headers:m.headers}));return}let c=new ue(a.headers),u=a.statusText,l=Tg(a)??n.urlWithParams,d=a.status,h=null;if(n.reportProgress&&o.next(new ta({headers:c,status:d,statusText:u,url:l})),a.body){let m=a.headers.get("content-length"),S=[],E=a.body.getReader(),M=0,ee,te,K=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>ri(this,null,function*(){for(;;){let{done:ge,value:Xe}=yield E.read();if(ge)break;if(S.push(Xe),M+=Xe.length,n.reportProgress){te=n.responseType==="text"?(te??"")+(ee??=new TextDecoder).decode(Xe,{stream:!0}):void 0;let Qn=()=>o.next({type:wn.DownloadProgress,total:m?+m:void 0,loaded:M,partialText:te});K?K.run(Qn):Qn()}}}));let Je=this.concatChunks(S,M);try{let ge=a.headers.get("Content-Type")??"";h=this.parseBody(n,Je,ge)}catch(ge){o.error(new yn({error:ge,headers:new ue(a.headers),status:a.status,statusText:a.statusText,url:Tg(a)??n.urlWithParams}));return}}d===0&&(d=h?Og:0),d>=200&&d<300?(o.next(new xi({body:h,headers:c,status:d,statusText:u,url:l})),o.complete()):o.error(new yn({error:h,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(gE,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(n){let i={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>i[s]=a.join(",")),i.Accept??="application/json, text/plain, */*",!i["Content-Type"]){let s=n.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:i,credentials:o}}concatChunks(n,i){let o=new Uint8Array(i),s=0;for(let a of n)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),gl=class{};function ml(){}function yE(t){t.then(ml,ml)}function DE(t,e){return e(t)}function wE(t,e,r){return(n,i)=>ze(r,()=>e(n,o=>t(o,i)))}var Rg=new I(""),CE=new I(""),bE=new I("",{providedIn:"root",factory:()=>!0});var Ag=(()=>{let e=class e extends _i{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=v(pn),this.contributeToStability=v(bE)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Rg),...this.injector.get(CE,[])]));this.chain=i.reduceRight((o,s)=>wE(o,s,this.injector),DE)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Rn(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(C(ea),C(Ee))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();var EE=/^\)\]\}',?\n/;function IE(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Ng=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new _(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?re(i.\u0275loadImpl()):x(null)).pipe(Le(()=>new L(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((E,M)=>a.setRequestHeader(E,M.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let E=n.detectContentTypeHeader();E!==null&&a.setRequestHeader("Content-Type",E)}if(n.responseType){let E=n.responseType.toLowerCase();a.responseType=E!=="json"?E:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let E=a.statusText||"OK",M=new ue(a.getAllResponseHeaders()),ee=IE(a)||n.url;return u=new ta({headers:M,status:a.status,statusText:E,url:ee}),u},d=()=>{let{headers:E,status:M,statusText:ee,url:te}=l(),K=null;M!==pE&&(K=typeof a.response>"u"?a.responseText:a.response),M===0&&(M=K?Og:0);let Je=M>=200&&M<300;if(n.responseType==="json"&&typeof K=="string"){let ge=K;K=K.replace(EE,"");try{K=K!==""?JSON.parse(K):null}catch(Xe){K=ge,Je&&(Je=!1,K={error:Xe,text:K})}}Je?(s.next(new xi({body:K,headers:E,status:M,statusText:ee,url:te||void 0})),s.complete()):s.error(new yn({error:K,headers:E,status:M,statusText:ee,url:te||void 0}))},h=E=>{let{url:M}=l(),ee=new yn({error:E,status:a.status||0,statusText:a.statusText||"Unknown Error",url:M||void 0});s.error(ee)},f=!1,m=E=>{f||(s.next(l()),f=!0);let M={type:wn.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(M.total=E.total),n.responseType==="text"&&a.responseText&&(M.partialText=a.responseText),s.next(M)},S=E=>{let M={type:wn.UploadProgress,loaded:E.loaded};E.lengthComputable&&(M.total=E.total),s.next(M)};return a.addEventListener("load",d),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),n.reportProgress&&(a.addEventListener("progress",m),c!==null&&a.upload&&a.upload.addEventListener("progress",S)),a.send(c),s.next({type:wn.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",d),a.removeEventListener("timeout",h),n.reportProgress&&(a.removeEventListener("progress",m),c!==null&&a.upload&&a.upload.removeEventListener("progress",S)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(C(Fr))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Fg=new I(""),ME="XSRF-TOKEN",_E=new I("",{providedIn:"root",factory:()=>ME}),SE="X-XSRF-TOKEN",xE=new I("",{providedIn:"root",factory:()=>SE}),na=class{},TE=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Qs(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(C(_e),C(_t),C(_E))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();function AE(t,e){let r=t.url.toLowerCase();if(!v(Fg)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=v(na).getToken(),i=v(xE);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}function Pg(...t){let e=[We,Ng,Ag,{provide:_i,useExisting:Ag},{provide:ea,useFactory:()=>v(vE,{optional:!0})??v(Ng)},{provide:Rg,useValue:AE,multi:!0},{provide:Fg,useValue:!0},{provide:na,useClass:TE}];for(let r of t)e.push(...r.\u0275providers);return ps(e)}var Dl=class extends Ws{constructor(){super(...arguments),this.supportsDOMEvents=!0}},wl=class t extends Dl{static makeCurrent(){mg(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=NE();return r==null?null:OE(r)}resetBaseElement(){Ti=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Qs(document.cookie,e)}},Ti=null;function NE(){return Ti=Ti||document.querySelector("base"),Ti?Ti.getAttribute("href"):null}function OE(t){return new URL(t,document.baseURI).pathname}var Cl=class{addToWindow(e){Ce.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new _(5103,!1);return o},Ce.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ce.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=Ce.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};Ce.frameworkStabilizers||(Ce.frameworkStabilizers=[]),Ce.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?At().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},RE=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),bl=new I(""),jg=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new _(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(C(bl),C(Y))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),ra=class{constructor(e){this._doc=e}},vl="ng-app-id",Ug=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Js(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${vl}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(vl),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(vl,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(C(_e),C(Cs),C(Ou,8),C(_t))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),yl={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"},Il=/%COMP%/g,Bg="%COMP%",FE=`_nghost-${Bg}`,PE=`_ngcontent-${Bg}`,kE=!0,LE=new I("",{providedIn:"root",factory:()=>kE});function VE(t){return PE.replace(Il,t)}function jE(t){return FE.replace(Il,t)}function $g(t,e){return e.map(r=>r.replace(Il,t))}var kg=(()=>{let e=class e{constructor(n,i,o,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Js(c),this.defaultRenderer=new Ai(n,a,u,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===bt.ShadowDom&&(i=$(w({},i),{encapsulation:bt.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof ia?o.applyToHost(n):o instanceof Ni&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case bt.Emulated:s=new ia(u,l,i,this.appId,d,a,c,h);break;case bt.ShadowDom:return new El(u,l,n,i,a,c,this.nonce,h);default:s=new Ni(u,l,i,d,a,c,h);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(C(jg),C(Ug),C(Cs),C(LE),C(_e),C(_t),C(Y),C(Ou))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Ai=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(yl[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Lg(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Lg(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new _(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=yl[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=yl[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(jt.DashCase|jt.Important)?e.style.setProperty(r,n,i&jt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&jt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=At().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Lg(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var El=class extends Ai{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=$g(i.id,i.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ni=class extends Ai{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?$g(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ia=class extends Ni{constructor(e,r,n,i,o,s,a,c){let u=i+"-"+n.id;super(e,r,n,o,s,a,c,u),this.contentAttr=VE(u),this.hostAttr=jE(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},UE=(()=>{let e=class e extends ra{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(C(_e))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Vg=["alt","control","meta","shift"],BE={"\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"},$E={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},HE=(()=>{let e=class e extends ra{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>At().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),Vg.forEach(l=>{let d=i.indexOf(l);d>-1&&(i.splice(d,1),a+=l+".")}),a+=s,i.length!=0||s.length===0)return null;let u={};return u.domEventName=o,u.fullKey=a,u}static matchEventFullKeyCode(n,i){let o=BE[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Vg.forEach(a=>{if(a!==o){let c=$E[a];c(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(C(_e))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();function zE(){wl.makeCurrent()}function GE(){return new Mt}function qE(){return sp(document),document}var WE=[{provide:_t,useValue:dl},{provide:Nu,useValue:zE,multi:!0},{provide:_e,useFactory:qE,deps:[]}],Hg=Xu(cg,"browser",WE),ZE=new I(""),YE=[{provide:Ii,useClass:Cl,deps:[]},{provide:Ku,useClass:Rs,deps:[Y,Fs,Ii]},{provide:Rs,useClass:Rs,deps:[Y,Fs,Ii]}],QE=[{provide:gs,useValue:"root"},{provide:Mt,useFactory:GE,deps:[]},{provide:bl,useClass:UE,multi:!0,deps:[_e,Y,_t]},{provide:bl,useClass:HE,multi:!0,deps:[_e]},kg,Ug,jg,{provide:Mr,useExisting:kg},{provide:Fr,useClass:RE,deps:[]},[]],zg=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Cs,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(C(ZE,12))},e.\u0275mod=Me({type:e}),e.\u0275inj=Ie({providers:[...QE,...YE],imports:[Ks,ug]});let t=e;return t})();var Gg=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(C(_e))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var nm=(()=>{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(D(St),D(pt))},e.\u0275dir=me({type:e});let t=e;return t})(),fa=(()=>{let e=class e extends nm{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gn(e)))(o||e)}})(),e.\u0275dir=me({type:e,features:[gt]});let t=e;return t})(),ki=new I("");var KE={provide:ki,useExisting:Ut(()=>Ot),multi:!0};function JE(){let t=At()?At().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var XE=new I(""),Ot=(()=>{let e=class e extends nm{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!JE())}writeValue(n){let i=n??"";this.setProperty("value",i)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(i){return new(i||e)(D(St),D(pt),D(XE,8))},e.\u0275dir=me({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&j("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[qn([KE]),gt]});let t=e;return t})();function Cn(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function rm(t){return t!=null&&typeof t.length=="number"}var im=new I(""),om=new I(""),eI=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,H=class{static min(e){return tI(e)}static max(e){return nI(e)}static required(e){return rI(e)}static requiredTrue(e){return iI(e)}static email(e){return oI(e)}static minLength(e){return sI(e)}static maxLength(e){return aI(e)}static pattern(e){return cI(e)}static nullValidator(e){return sm(e)}static compose(e){return fm(e)}static composeAsync(e){return pm(e)}};function tI(t){return e=>{if(Cn(e.value)||Cn(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r<t?{min:{min:t,actual:e.value}}:null}}function nI(t){return e=>{if(Cn(e.value)||Cn(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>t?{max:{max:t,actual:e.value}}:null}}function rI(t){return Cn(t.value)?{required:!0}:null}function iI(t){return t.value===!0?null:{required:!0}}function oI(t){return Cn(t.value)||eI.test(t.value)?null:{email:!0}}function sI(t){return e=>Cn(e.value)||!rm(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function aI(t){return e=>rm(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function cI(t){if(!t)return sm;let e,r;return typeof t=="string"?(r="",t.charAt(0)!=="^"&&(r+="^"),r+=t,t.charAt(t.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=t.toString(),e=t),n=>{if(Cn(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function sm(t){return null}function am(t){return t!=null}function cm(t){return Wn(t)?re(t):t}function um(t){let e={};return t.forEach(r=>{e=r!=null?w(w({},e),r):e}),Object.keys(e).length===0?null:e}function lm(t,e){return e.map(r=>r(t))}function uI(t){return!t.validate}function dm(t){return t.map(e=>uI(e)?e:r=>e.validate(r))}function fm(t){if(!t)return null;let e=t.filter(am);return e.length==0?null:function(r){return um(lm(r,e))}}function hm(t){return t!=null?fm(dm(t)):null}function pm(t){if(!t)return null;let e=t.filter(am);return e.length==0?null:function(r){let n=lm(r,e).map(cm);return sc(n).pipe(N(um))}}function gm(t){return t!=null?pm(dm(t)):null}function Wg(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function mm(t){return t._rawValidators}function vm(t){return t._rawAsyncValidators}function Ml(t){return t?Array.isArray(t)?t:[t]:[]}function sa(t,e){return Array.isArray(t)?t.includes(e):t===e}function Zg(t,e){let r=Ml(e);return Ml(t).forEach(i=>{sa(r,i)||r.push(i)}),r}function Yg(t,e){return Ml(e).filter(r=>!sa(t,r))}var aa=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=hm(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=gm(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Ur=class extends aa{get formDirective(){return null}get path(){return null}},Br=class extends aa{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ca=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},lI={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},p1=$(w({},lI),{"[class.ng-submitted]":"isSubmitted"}),En=(()=>{let e=class e extends ca{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(D(Br,2))},e.\u0275dir=me({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Ns("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[gt]});let t=e;return t})(),In=(()=>{let e=class e extends ca{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(D(Ur,10))},e.\u0275dir=me({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&Ns("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[gt]});let t=e;return t})();var Oi="VALID",oa="INVALID",Vr="PENDING",Ri="DISABLED",bn=class{},ua=class extends bn{constructor(e,r){super(),this.value=e,this.source=r}},Fi=class extends bn{constructor(e,r){super(),this.pristine=e,this.source=r}},Pi=class extends bn{constructor(e,r){super(),this.touched=e,this.source=r}},jr=class extends bn{constructor(e,r){super(),this.status=e,this.source=r}},_l=class extends bn{constructor(e){super(),this.source=e}},Sl=class extends bn{constructor(e){super(),this.source=e}};function Al(t){return(ha(t)?t.validators:t)||null}function dI(t){return Array.isArray(t)?hm(t):t||null}function Nl(t,e){return(ha(e)?e.asyncValidators:t)||null}function fI(t){return Array.isArray(t)?gm(t):t||null}function ha(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function ym(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new _(1e3,"");if(!n[r])throw new _(1001,"")}function Dm(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new _(1002,"")})}var $r=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new ye,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Oi}get invalid(){return this.status===oa}get pending(){return this.status==Vr}get disabled(){return this.status===Ri}get enabled(){return this.status!==Ri}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Zg(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Zg(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Yg(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Yg(e,this._rawAsyncValidators))}hasValidator(e){return sa(this._rawValidators,e)}hasAsyncValidator(e){return sa(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched($(w({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Pi(!0,n))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),r&&e.emitEvent!==!1&&this._events.next(new Pi(!1,n))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty($(w({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Fi(!1,n))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),r&&e.emitEvent!==!1&&this._events.next(new Fi(!0,n))}markAsPending(e={}){this.status=Vr;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new jr(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending($(w({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Ri,this.errors=null,this._forEachChild(i=>{i.disable($(w({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ua(this.value,n)),this._events.next(new jr(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors($(w({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Oi,this._forEachChild(n=>{n.enable($(w({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors($(w({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Oi||this.status===Vr)&&this._runAsyncValidator(n,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ua(this.value,r)),this._events.next(new jr(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity($(w({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ri:Oi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=Vr,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=cm(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new jr(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?Ri:this.errors?oa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Vr)?Vr:this._anyControlsHaveStatus(oa)?oa:Oi}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let n=!this._anyControlsDirty(),i=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),i&&this._events.next(new Fi(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new Pi(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ha(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=dI(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=fI(this._rawAsyncValidators)}},Nt=class extends $r{constructor(e,r,n){super(Al(r),Nl(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){Dm(this,!0,e),Object.keys(e).forEach(n=>{ym(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,i)=>((n.enabled||this.disabled)&&(r[i]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((i,o)=>{n=r(n,i,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var xl=class extends Nt{};var pa=new I("CallSetDisabledState",{providedIn:"root",factory:()=>Li}),Li="always";function hI(t,e){return[...e.path,t]}function Qg(t,e,r=Li){Ol(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),gI(t,e),vI(t,e),mI(t,e),pI(t,e)}function Kg(t,e,r=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),da(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function la(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function pI(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function Ol(t,e){let r=mm(t);e.validator!==null?t.setValidators(Wg(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=vm(t);e.asyncValidator!==null?t.setAsyncValidators(Wg(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();la(e._rawValidators,i),la(e._rawAsyncValidators,i)}function da(t,e){let r=!1;if(t!==null){if(e.validator!==null){let i=mm(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(r=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=vm(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(r=!0,t.setAsyncValidators(o))}}}let n=()=>{};return la(e._rawValidators,n),la(e._rawAsyncValidators,n),r}function gI(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&wm(t,e)})}function mI(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&wm(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function wm(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function vI(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function yI(t,e){t==null,Ol(t,e)}function DI(t,e){return da(t,e)}function wI(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function CI(t){return Object.getPrototypeOf(t.constructor)===fa}function bI(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function EI(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===Ot?r=o:CI(o)?n=o:i=o}),i||n||r||null}function II(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Jg(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Xg(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var ve=class extends $r{constructor(e=null,r,n){super(Al(r),Nl(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ha(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Xg(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Jg(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Jg(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Xg(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var MI=t=>t instanceof ve;var Mn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=me({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var _I={provide:ki,useExisting:Ut(()=>Rl),multi:!0};var SI=(()=>{let e=class e{constructor(){this._accessors=[]}add(n,i){this._accessors.push([n,i])}remove(n){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===n){this._accessors.splice(i,1);return}}select(n){this._accessors.forEach(i=>{this._isSameGroup(i,n)&&i[1]!==n&&i[1].fireUncheck(n.value)})}_isSameGroup(n,i){return n[0].control?n[0]._parent===i._control._parent&&n[1].name===i.name:!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Rl=(()=>{let e=class e extends fa{constructor(n,i,o,s){super(n,i),this._registry=o,this._injector=s,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=v(pa,{optional:!0})??Li}ngOnInit(){this._control=this._injector.get(Br),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}setDisabledState(n){(this.setDisabledStateFired||n||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",n),this.setDisabledStateFired=!0}fireUncheck(n){this.writeValue(n)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}};e.\u0275fac=function(i){return new(i||e)(D(St),D(pt),D(SI),D(je))},e.\u0275dir=me({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,o){i&1&&j("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[qn([_I]),gt]});let t=e;return t})();var Cm=new I("");var xI={provide:Ur,useExisting:Ut(()=>Qt)},Qt=(()=>{let e=class e extends Ur{constructor(n,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new he,this._setValidators(n),this._setAsyncValidators(i)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(da(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let i=this.form.get(n.path);return Qg(i,n,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),i}getControl(n){return this.form.get(n.path)}removeControl(n){Kg(n.control||null,n,!1),II(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,i){this.form.get(n.path).setValue(i)}onSubmit(n){return this.submitted=!0,bI(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new _l(this.control)),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1,this.form._events.next(new Sl(this.form))}_updateDomValue(){this.directives.forEach(n=>{let i=n.control,o=this.form.get(n.path);i!==o&&(Kg(i||null,n),MI(o)&&(Qg(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let i=this.form.get(n.path);yI(i,n),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let i=this.form.get(n.path);i&&DI(i,n)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ol(this.form,this),this._oldForm&&da(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(D(im,10),D(om,10),D(pa,8))},e.\u0275dir=me({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&j("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[qn([xI]),gt,dn]});let t=e;return t})();var TI={provide:Br,useExisting:Ut(()=>Kt)},Kt=(()=>{let e=class e extends Br{set isDisabled(n){}constructor(n,i,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new he,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=EI(this,s)}ngOnChanges(n){this._added||this._setUpControl(),wI(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return hI(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(D(Ur,13),D(im,10),D(om,10),D(ki,10),D(Cm,8))},e.\u0275dir=me({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[qn([TI]),gt,dn]});let t=e;return t})(),AI={provide:ki,useExisting:Ut(()=>ga),multi:!0};function bm(t,e){return t==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function NI(t){return t.split(":")[0]}var ga=(()=>{let e=class e extends fa{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let i=this._getOptionId(n),o=bm(i,n);this.setProperty("value",o)}registerOnChange(n){this.onChange=i=>{this.value=this._getOptionValue(i),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),n))return i;return null}_getOptionValue(n){let i=NI(n);return this._optionMap.has(i)?this._optionMap.get(i):n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gn(e)))(o||e)}})(),e.\u0275dir=me({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,o){i&1&&j("change",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[qn([AI]),gt]});let t=e;return t})(),Em=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){this._select!=null&&(this._select._optionMap.set(this.id,n),this._setElementValue(bm(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(D(pt),D(St),D(ga,9))},e.\u0275dir=me({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})(),OI={provide:ki,useExisting:Ut(()=>Im),multi:!0};function em(t,e){return t==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function RI(t){return t.split(":")[0]}var Im=(()=>{let e=class e extends fa{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let i;if(Array.isArray(n)){let o=n.map(s=>this._getOptionId(s));i=(s,a)=>{s._setSelected(o.indexOf(a.toString())>-1)}}else i=(o,s)=>{o._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(n){this.onChange=i=>{let o=[],s=i.selectedOptions;if(s!==void 0){let a=s;for(let c=0;c<a.length;c++){let u=a[c],l=this._getOptionValue(u.value);o.push(l)}}else{let a=i.options;for(let c=0;c<a.length;c++){let u=a[c];if(u.selected){let l=this._getOptionValue(u.value);o.push(l)}}}this.value=o,n(o)}}_registerOption(n){let i=(this._idCounter++).toString();return this._optionMap.set(i,n),i}_getOptionId(n){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,n))return i;return null}_getOptionValue(n){let i=RI(n);return this._optionMap.has(i)?this._optionMap.get(i)._value:n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gn(e)))(o||e)}})(),e.\u0275dir=me({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,o){i&1&&j("change",function(a){return o.onChange(a.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[qn([OI]),gt]});let t=e;return t})(),Mm=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){this._select!=null&&(this._value=n,this._setElementValue(em(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(em(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(D(pt),D(St),D(Im,9))},e.\u0275dir=me({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})();var _m=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=Ie({});let t=e;return t})(),Tl=class extends $r{constructor(e,r,n){super(Al(r),Nl(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,r={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}insert(e,r,n={}){this.controls.splice(e,0,r),this._registerControl(r),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,r={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:r.emitEvent})}setControl(e,r,n={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),r&&(this.controls.splice(i,0,r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,r={}){Dm(this,!1,e),e.forEach((n,i)=>{ym(this,!1,i),this.at(i).setValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(e.forEach((n,i)=>{this.at(i)&&this.at(i).patchValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e=[],r={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(r=>r._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((r,n)=>n._syncPendingControls()?!0:r,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((r,n)=>{e(r,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(r=>r.enabled&&e(r))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function tm(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var _n=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let n=new e;return n.useNonNullable=!0,n}group(n,i=null){let o=this._reduceControls(n),s={};return tm(i)?s=i:i!==null&&(s.validators=i.validator,s.asyncValidators=i.asyncValidator),new Nt(o,s)}record(n,i=null){let o=this._reduceControls(n);return new xl(o,i)}control(n,i,o){let s={};return this.useNonNullable?(tm(i)?s=i:(s.validators=i,s.asyncValidators=o),new ve(n,$(w({},s),{nonNullable:!0}))):new ve(n,i,o)}array(n,i,o){let s=n.map(a=>this._createControl(a));return new Tl(s,i,o)}_reduceControls(n){let i={};return Object.keys(n).forEach(o=>{i[o]=this._createControl(n[o])}),i}_createControl(n){if(n instanceof ve)return n;if(n instanceof $r)return n;if(Array.isArray(n)){let i=n[0],o=n.length>1?n[1]:null,s=n.length>2?n[2]:null;return this.control(i,o,s)}else return this.control(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Sm=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:pa,useValue:n.callSetDisabledState??Li}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=Ie({imports:[_m]});let t=e;return t})(),xm=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Cm,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:pa,useValue:n.callSetDisabledState??Li}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=Ie({imports:[_m]});let t=e;return t})();var O="primary",Ji=Symbol("RouteTitle"),Vl=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Zr(t){return new Vl(t)}function FI(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let i={};for(let o=0;o<n.length;o++){let s=n[o],a=t[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function PI(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!Rt(t[r],e[r]))return!1;return!0}function Rt(t,e){let r=t?jl(t):void 0,n=e?jl(e):void 0;if(!r||!n||r.length!=n.length)return!1;let i;for(let o=0;o<r.length;o++)if(i=r[o],!jm(t[i],e[i]))return!1;return!0}function jl(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function jm(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let r=[...t].sort(),n=[...e].sort();return r.every((i,o)=>n[o]===i)}else return t===e}function Um(t){return t.length>0?t[t.length-1]:null}function Tn(t){return oc(t)?t:Wn(t)?re(Promise.resolve(t)):x(t)}var kI={exact:$m,subset:Hm},Bm={exact:LI,subset:VI,ignored:()=>!0};function Tm(t,e,r){return kI[r.paths](t.root,e.root,r.matrixParams)&&Bm[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function LI(t,e){return Rt(t,e)}function $m(t,e,r){if(!Yn(t.segments,e.segments)||!Da(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!$m(t.children[n],e.children[n],r))return!1;return!0}function VI(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>jm(t[r],e[r]))}function Hm(t,e,r){return zm(t,e,e.segments,r)}function zm(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Yn(i,r)||e.hasChildren()||!Da(i,r,n))}else if(t.segments.length===r.length){if(!Yn(t.segments,r)||!Da(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!Hm(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!Yn(t.segments,i)||!Da(t.segments,i,n)||!t.children[O]?!1:zm(t.children[O],e,o,n)}}function Da(t,e,r){return e.every((n,i)=>Bm[r](t[i].parameters,n.parameters))}var Sn=class{constructor(e=new W([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Zr(this.queryParams),this._queryParamMap}toString(){return BI.serialize(this)}},W=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return wa(this)}},Zn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Zr(this.parameters),this._parameterMap}toString(){return qm(this)}};function jI(t,e){return Yn(t,e)&&t.every((r,n)=>Rt(r.parameters,e[n].parameters))}function Yn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function UI(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===O&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==O&&(r=r.concat(e(i,n)))}),r}var Xi=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>new Yr,providedIn:"root"});let t=e;return t})(),Yr=class{parse(e){let r=new Bl(e);return new Sn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Vi(e.root,!0)}`,n=zI(e.queryParams),i=typeof e.fragment=="string"?`#${$I(e.fragment)}`:"";return`${r}${n}${i}`}},BI=new Yr;function wa(t){return t.segments.map(e=>qm(e)).join("/")}function Vi(t,e){if(!t.hasChildren())return wa(t);if(e){let r=t.children[O]?Vi(t.children[O],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==O&&n.push(`${i}:${Vi(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=UI(t,(n,i)=>i===O?[Vi(t.children[O],!1)]:[`${i}:${Vi(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[O]!=null?`${wa(t)}/${r[0]}`:`${wa(t)}/(${r.join("//")})`}}function Gm(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function va(t){return Gm(t).replace(/%3B/gi,";")}function $I(t){return encodeURI(t)}function Ul(t){return Gm(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ca(t){return decodeURIComponent(t)}function Am(t){return Ca(t.replace(/\+/g,"%20"))}function qm(t){return`${Ul(t.path)}${HI(t.parameters)}`}function HI(t){return Object.entries(t).map(([e,r])=>`;${Ul(e)}=${Ul(r)}`).join("")}function zI(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${va(r)}=${va(i)}`).join("&"):`${va(r)}=${va(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var GI=/^[^\/()?;#]+/;function Fl(t){let e=t.match(GI);return e?e[0]:""}var qI=/^[^\/()?;=#]+/;function WI(t){let e=t.match(qI);return e?e[0]:""}var ZI=/^[^=?&#]+/;function YI(t){let e=t.match(ZI);return e?e[0]:""}var QI=/^[^&#]+/;function KI(t){let e=t.match(QI);return e?e[0]:""}var Bl=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new W([],{}):new W([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[O]=new W(e,r)),n}parseSegment(){let e=Fl(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new _(4009,!1);return this.capture(e),new Zn(Ca(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=WI(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Fl(this.remaining);i&&(n=i,this.capture(n))}e[Ca(r)]=Ca(n)}parseQueryParam(e){let r=YI(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=KI(this.remaining);s&&(n=s,this.capture(n))}let i=Am(r),o=Am(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Fl(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new _(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=O);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[O]:new W([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new _(4011,!1)}};function Wm(t){return t.segments.length>0?new W([],{[O]:t}):t}function Zm(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=Zm(i);if(n===O&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new W(t.segments,e);return JI(r)}function JI(t){if(t.numberOfChildren===1&&t.children[O]){let e=t.children[O];return new W(t.segments.concat(e.segments),e.children)}return t}function zi(t){return t instanceof Sn}function XI(t,e,r=null,n=null){let i=Ym(t);return Qm(i,e,r,n)}function Ym(t){let e;function r(o){let s={};for(let c of o.children){let u=r(c);s[c.outlet]=u}let a=new W(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Wm(n);return e??i}function Qm(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Pl(i,i,i,r,n);let o=eM(e);if(o.toRoot())return Pl(i,i,new W([],{}),r,n);let s=tM(o,i,t),a=s.processChildren?Bi(s.segmentGroup,s.index,o.commands):Jm(s.segmentGroup,s.index,o.commands);return Pl(i,s.segmentGroup,a,r,n)}function ba(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Gi(t){return typeof t=="object"&&t!=null&&t.outlets}function Pl(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,u])=>{o[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=Km(t,e,r);let a=Wm(Zm(s));return new Sn(a,o,i)}function Km(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=Km(o,e,r)}),new W(t.segments,n)}var Ea=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&ba(n[0]))throw new _(4003,!1);let i=n.find(Gi);if(i&&i!==Um(n))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function eM(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ea(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ea(r,e,n)}var Gr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function tM(t,e,r){if(t.isAbsolute)return new Gr(e,!0,0);if(!r)return new Gr(e,!1,NaN);if(r.parent===null)return new Gr(r,!0,0);let n=ba(t.commands[0])?0:1,i=r.segments.length-1+n;return nM(r,i,t.numberOfDoubleDots)}function nM(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new _(4005,!1);i=n.segments.length}return new Gr(n,!1,i-o)}function rM(t){return Gi(t[0])?t[0].outlets:{[O]:t}}function Jm(t,e,r){if(t??=new W([],{}),t.segments.length===0&&t.hasChildren())return Bi(t,e,r);let n=iM(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new W(t.segments.slice(0,n.pathIndex),{});return o.children[O]=new W(t.segments.slice(n.pathIndex),t.children),Bi(o,0,i)}else return n.match&&i.length===0?new W(t.segments,{}):n.match&&!t.hasChildren()?$l(t,e,r):n.match?Bi(t,0,i):$l(t,e,r)}function Bi(t,e,r){if(r.length===0)return new W(t.segments,{});{let n=rM(r),i={};if(Object.keys(n).some(o=>o!==O)&&t.children[O]&&t.numberOfChildren===1&&t.children[O].segments.length===0){let o=Bi(t.children[O],e,r);return new W(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Jm(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new W(t.segments,i)}}function iM(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=r.length)return o;let s=t.segments[i],a=r[n];if(Gi(a))break;let c=`${a}`,u=n<r.length-1?r[n+1]:null;if(i>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Om(c,u,s))return o;n+=2}else{if(!Om(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function $l(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i<r.length;){let o=r[i];if(Gi(o)){let c=oM(o.outlets);return new W(n,c)}if(i===0&&ba(r[0])){let c=t.segments[e];n.push(new Zn(c.path,Nm(r[0]))),i++;continue}let s=Gi(o)?o.outlets[O]:`${o}`,a=i<r.length-1?r[i+1]:null;s&&a&&ba(a)?(n.push(new Zn(s,Nm(a))),i+=2):(n.push(new Zn(s,{})),i++)}return new W(n,{})}function oM(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=$l(new W([],{}),0,n))}),e}function Nm(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Om(t,e,r){return t==r.path&&Rt(e,r.parameters)}var $i="imperative",De=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(De||{}),ct=class{constructor(e,r){this.id=e,this.url=r}},Qr=class extends ct{constructor(e,r,n="imperative",i=null){super(e,r),this.type=De.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ft=class extends ct{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=De.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ye=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Ye||{}),Ia=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Ia||{}),Jt=class extends ct{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=De.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},xn=class extends ct{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=De.NavigationSkipped}},qi=class extends ct{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=De.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ma=class extends ct{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=De.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hl=class extends ct{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=De.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zl=class extends ct{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=De.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Gl=class extends ct{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=De.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ql=class extends ct{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=De.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wl=class{constructor(e){this.route=e,this.type=De.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Zl=class{constructor(e){this.route=e,this.type=De.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Yl=class{constructor(e){this.snapshot=e,this.type=De.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ql=class{constructor(e){this.snapshot=e,this.type=De.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Kl=class{constructor(e){this.snapshot=e,this.type=De.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jl=class{constructor(e){this.snapshot=e,this.type=De.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_a=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=De.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Wi=class{},Kr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var Xl=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new eo(this.injector),this.attachRef=null}},eo=(()=>{let e=class e{constructor(n){this.parentInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Xl(this.parentInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(C(Ee))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Sa=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=ed(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=ed(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=td(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return td(e,this._root).map(r=>r.value)}};function ed(t,e){if(t===e.value)return e;for(let r of e.children){let n=ed(t,r);if(n)return n}return null}function td(t,e){if(t===e.value)return[e];for(let r of e.children){let n=td(t,r);if(n.length)return n.unshift(e),n}return[]}var Ze=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function zr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var xa=class extends Sa{constructor(e,r){super(e),this.snapshot=r,ld(this,e)}toString(){return this.snapshot.toString()}};function Xm(t){let e=sM(t),r=new we([new Zn("",{})]),n=new we({}),i=new we({}),o=new we({}),s=new we(""),a=new Qe(r,n,o,s,i,O,t,e.root);return a.snapshot=e.root,new xa(new Ze(a,[]),e)}function sM(t){let e={},r={},n={},i="",o=new qr([],e,n,i,r,O,t,null,{});return new Aa("",new Ze(o,[]))}var Qe=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(N(u=>u[Ji]))??x(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(N(e=>Zr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(N(e=>Zr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ta(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:w(w({},e.params),t.params),data:w(w({},e.data),t.data),resolve:w(w(w(w({},t.data),e.data),i?.data),t._resolvedData)}:n={params:w({},t.params),data:w({},t.data),resolve:w(w({},t.data),t._resolvedData??{})},i&&tv(i)&&(n.resolve[Ji]=i.title),n}var qr=class{get title(){return this.data?.[Ji]}constructor(e,r,n,i,o,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Zr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Zr(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Aa=class extends Sa{constructor(e,r){super(r),this.url=e,ld(this,r)}toString(){return ev(this._root)}};function ld(t,e){e.value._routerState=t,e.children.forEach(r=>ld(t,r))}function ev(t){let e=t.children.length>0?` { ${t.children.map(ev).join(", ")} } `:"";return`${t.value}${e}`}function kl(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Rt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Rt(e.params,r.params)||t.paramsSubject.next(r.params),PI(e.url,r.url)||t.urlSubject.next(r.url),Rt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function nd(t,e){let r=Rt(t.params,e.params)&&jI(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||nd(t.parent,e.parent))}function tv(t){return typeof t.title=="string"||t.title===null}var dd=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=O,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.parentContexts=v(eo),this.location=v(Ei),this.changeDetector=v(Tt),this.inputBinder=v(Pa,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new _(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new rd(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:u,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=me({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[dn]});let t=e;return t})(),rd=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Qe?this.route:e===eo?this.childContexts:this.parent.get(e,r)}},Pa=new I(""),Rm=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=si([i.queryParams,i.params,i.data]).pipe(Le(([s,a,c],u)=>(c=w(w(w({},s),a),c),u===0?x(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=lg(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();function aM(t,e,r){let n=Zi(t,e._root,r?r._root:void 0);return new xa(n,e)}function Zi(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=cM(t,e,r);return new Ze(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Zi(t,a)),s}}let n=uM(e.value),i=e.children.map(o=>Zi(t,o));return new Ze(n,i)}}function cM(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Zi(t,n,i);return Zi(t,n)})}function uM(t){return new Qe(new we(t.url),new we(t.params),new we(t.queryParams),new we(t.fragment),new we(t.data),t.outlet,t.component,t)}var Yi=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},nv="ngNavigationCancelingError";function Na(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=zi(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=rv(!1,Ye.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function rv(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[nv]=!0,r.cancellationCode=e,r}function lM(t){return iv(t)&&zi(t.url)}function iv(t){return!!t&&t[nv]}var dM=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=se({type:e,selectors:[["ng-component"]],standalone:!0,features:[Yp],decls:1,vars:0,template:function(i,o){i&1&&Z(0,"router-outlet")},dependencies:[dd],encapsulation:2});let t=e;return t})();function fM(t,e){return t.providers&&!t._injector&&(t._injector=Ts(t.providers,e,`Route: ${t.path}`)),t._injector??e}function fd(t){let e=t.children&&t.children.map(fd),r=e?$(w({},t),{children:e}):w({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==O&&(r.component=dM),r}function vt(t){return t.outlet||O}function hM(t,e){let r=t.filter(n=>vt(n)===e);return r.push(...t.filter(n=>vt(n)!==e)),r}function to(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var pM=(t,e,r,n)=>N(i=>(new id(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),id=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),kl(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=zr(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=zr(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=zr(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=zr(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Jl(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Ql(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(kl(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),kl(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=to(i.snapshot);s.attachRef=null,s.route=i,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},Oa=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Wr=class{constructor(e,r){this.component=e,this.route=r}};function gM(t,e,r){let n=t._root,i=e?e._root:null;return ji(n,i,r,[n.value])}function mM(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Xr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!zf(t)?t:e.get(t):n}function ji(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=zr(e);return t.children.forEach(s=>{vM(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Hi(a,r.getContext(s),i)),i}function vM(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=yM(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Oa(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ji(t,e,a?a.children:null,n,i):ji(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Wr(a.outlet.component,s))}else s&&Hi(e,a,i),i.canActivateChecks.push(new Oa(n)),o.component?ji(t,null,a?a.children:null,n,i):ji(t,null,r,n,i);return i}function yM(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Yn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Yn(t.url,e.url)||!Rt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nd(t,e)||!Rt(t.queryParams,e.queryParams);case"paramsChange":default:return!nd(t,e)}}function Hi(t,e,r){let n=zr(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Hi(s,e.children.getContext(o),r):Hi(s,null,r):Hi(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Wr(e.outlet.component,i)):r.canDeactivateChecks.push(new Wr(null,i)):r.canDeactivateChecks.push(new Wr(null,i))}function no(t){return typeof t=="function"}function DM(t){return typeof t=="boolean"}function wM(t){return t&&no(t.canLoad)}function CM(t){return t&&no(t.canActivate)}function bM(t){return t&&no(t.canActivateChild)}function EM(t){return t&&no(t.canDeactivate)}function IM(t){return t&&no(t.canMatch)}function ov(t){return t instanceof kt||t?.name==="EmptyError"}var ya=Symbol("INITIAL_VALUE");function Jr(){return Le(t=>si(t.map(e=>e.pipe(Vt(1),lc(ya)))).pipe(N(e=>{for(let r of e)if(r!==!0){if(r===ya)return ya;if(r===!1||MM(r))return r}return!0}),ke(e=>e!==ya),Vt(1)))}function MM(t){return zi(t)||t instanceof Yi}function _M(t,e){return fe(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?x($(w({},r),{guardsResult:!0})):SM(s,n,i,t).pipe(fe(a=>a&&DM(a)?xM(n,o,t,e):x(a)),N(a=>$(w({},r),{guardsResult:a})))})}function SM(t,e,r,n){return re(t).pipe(fe(i=>RM(i.component,i.route,r,e,n)),Dt(i=>i!==!0,!0))}function xM(t,e,r,n){return re(e).pipe(Lt(i=>sr(AM(i.route.parent,n),TM(i.route,n),OM(t,i.path,r),NM(t,i.route,r))),Dt(i=>i!==!0,!0))}function TM(t,e){return t!==null&&e&&e(new Kl(t)),x(!0)}function AM(t,e){return t!==null&&e&&e(new Yl(t)),x(!0)}function NM(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return x(!0);let i=n.map(o=>So(()=>{let s=to(e)??r,a=Xr(o,s),c=CM(a)?a.canActivate(e,t):ze(s,()=>a(e,t));return Tn(c).pipe(Dt())}));return x(i).pipe(Jr())}function OM(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>mM(s)).filter(s=>s!==null).map(s=>So(()=>{let a=s.guards.map(c=>{let u=to(s.node)??r,l=Xr(c,u),d=bM(l)?l.canActivateChild(n,t):ze(u,()=>l(n,t));return Tn(d).pipe(Dt())});return x(a).pipe(Jr())}));return x(o).pipe(Jr())}function RM(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return x(!0);let s=o.map(a=>{let c=to(e)??i,u=Xr(a,c),l=EM(u)?u.canDeactivate(t,e,r,n):ze(c,()=>u(t,e,r,n));return Tn(l).pipe(Dt())});return x(s).pipe(Jr())}function FM(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return x(!0);let o=i.map(s=>{let a=Xr(s,t),c=wM(a)?a.canLoad(e,r):ze(t,()=>a(e,r));return Tn(c)});return x(o).pipe(Jr(),sv(n))}function sv(t){return tc(ae(e=>{if(typeof e!="boolean")throw Na(t,e)}),N(e=>e===!0))}function PM(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return x(!0);let o=i.map(s=>{let a=Xr(s,t),c=IM(a)?a.canMatch(e,r):ze(t,()=>a(e,r));return Tn(c)});return x(o).pipe(Jr(),sv(n))}var Qi=class{constructor(e){this.segmentGroup=e||null}},Ki=class extends Error{constructor(e){super(),this.urlTree=e}};function Hr(t){return ir(new Qi(t))}function kM(t){return ir(new _(4e3,!1))}function LM(t){return ir(rv(!1,Ye.GuardRejected))}var od=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return x(n);if(i.numberOfChildren>1||!i.children[O])return kM(`${e.redirectTo}`);i=i.children[O]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:m,title:S}=i,E=ze(o,()=>a({params:f,data:m,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:S}));if(E instanceof Sn)throw new Ki(E);r=E}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Ki(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new Sn(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new W(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new _(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},sd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function VM(t,e,r,n,i){let o=hd(t,e,r);return o.matched?(n=fM(e,n),PM(n,e,r,i).pipe(N(s=>s===!0?o:w({},sd)))):x(o)}function hd(t,e,r){if(e.path==="**")return jM(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?w({},sd):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||FI)(r,t,e);if(!i)return w({},sd);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?w(w({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function jM(t){return{matched:!0,parameters:t.length>0?Um(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Fm(t,e,r,n){return r.length>0&&$M(t,r,n)?{segmentGroup:new W(e,BM(n,new W(r,t.children))),slicedSegments:[]}:r.length===0&&HM(t,r,n)?{segmentGroup:new W(t.segments,UM(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new W(t.segments,t.children),slicedSegments:r}}function UM(t,e,r,n){let i={};for(let o of r)if(ka(t,e,o)&&!n[vt(o)]){let s=new W([],{});i[vt(o)]=s}return w(w({},n),i)}function BM(t,e){let r={};r[O]=e;for(let n of t)if(n.path===""&&vt(n)!==O){let i=new W([],{});r[vt(n)]=i}return r}function $M(t,e,r){return r.some(n=>ka(t,e,n)&&vt(n)!==O)}function HM(t,e,r){return r.some(n=>ka(t,e,n))}function ka(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function zM(t,e,r,n){return vt(t)!==n&&(n===O||!ka(e,r,t))?!1:hd(e,t,r).matched}function GM(t,e,r){return e.length===0&&!t.children[r]}var ad=class{};function qM(t,e,r,n,i,o,s="emptyOnly"){return new cd(t,e,r,n,i,s,o).recognize()}var WM=31,cd=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new od(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new _(4002,`'${e.segmentGroup}'`)}recognize(){let e=Fm(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(N(({children:r,rootSnapshot:n})=>{let i=new Ze(n,r),o=new Aa("",i),s=XI(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new qr([],Object.freeze({}),Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),O,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,O,r).pipe(N(n=>({children:n,rootSnapshot:r})),en(n=>{if(n instanceof Ki)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Qi?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,o):this.processSegment(e,r,n,n.segments,i,!0,o).pipe(N(s=>s instanceof Ze?[s]:[]))}processChildren(e,r,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return re(o).pipe(Lt(s=>{let a=n.children[s],c=hM(r,s);return this.processSegmentGroup(e,c,a,s,i)}),uc((s,a)=>(s.push(...a),s)),tn(null),cc(),fe(s=>{if(s===null)return Hr(n);let a=av(s);return ZM(a),x(a)}))}processSegment(e,r,n,i,o,s,a){return re(r).pipe(Lt(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,i,o,s,a).pipe(en(u=>{if(u instanceof Qi)return x(null);throw u}))),Dt(c=>!!c),en(c=>{if(ov(c))return GM(n,i,o)?x(new ad):Hr(n);throw c}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,c){return zM(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,c):Hr(i):Hr(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=hd(r,i,o);if(!c)return Hr(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>WM&&(this.allowRedirects=!1));let f=new qr(o,u,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Pm(i),vt(i),i.component??i._loadedComponent??null,i,km(i)),m=Ta(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(m.params),f.data=Object.freeze(m.data);let S=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,d,f,e);return this.applyRedirects.lineralizeSegments(i,S).pipe(fe(E=>this.processSegment(e,n,r,E.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=VM(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Le(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Le(({routes:u})=>{let l=n._loadedInjector??e,{parameters:d,consumedSegments:h,remainingSegments:f}=c,m=new qr(h,d,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Pm(n),vt(n),n.component??n._loadedComponent??null,n,km(n)),S=Ta(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(S.params),m.data=Object.freeze(S.data);let{segmentGroup:E,slicedSegments:M}=Fm(r,h,f,u);if(M.length===0&&E.hasChildren())return this.processChildren(l,u,E,m).pipe(N(te=>new Ze(m,te)));if(u.length===0&&M.length===0)return x(new Ze(m,[]));let ee=vt(n)===o;return this.processSegment(l,u,E,M,ee?O:o,!0,m).pipe(N(te=>new Ze(m,te instanceof Ze?[te]:[])))}))):Hr(r)))}getChildConfig(e,r,n){return r.children?x({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?x({routes:r._loadedRoutes,injector:r._loadedInjector}):FM(e,r,n,this.urlSerializer).pipe(fe(i=>i?this.configLoader.loadChildren(e,r).pipe(ae(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):LM(r))):x({routes:[],injector:e})}};function ZM(t){t.sort((e,r)=>e.value.outlet===O?-1:r.value.outlet===O?1:e.value.outlet.localeCompare(r.value.outlet))}function YM(t){let e=t.value.routeConfig;return e&&e.path===""}function av(t){let e=[],r=new Set;for(let n of t){if(!YM(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=av(n.children);e.push(new Ze(n.value,i))}return e.filter(n=>!r.has(n))}function Pm(t){return t.data||{}}function km(t){return t.resolve||{}}function QM(t,e,r,n,i,o){return fe(s=>qM(t,e,r,n,s.extractedUrl,i,o).pipe(N(({state:a,tree:c})=>$(w({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function KM(t,e){return fe(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return x(r);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let u of cv(c))s.add(u);let a=0;return re(s).pipe(Lt(c=>o.has(c)?JM(c,n,t,e):(c.data=Ta(c,c.parent,t).resolve,x(void 0))),ae(()=>a++),ar(1),fe(c=>a===s.size?x(r):He))})}function cv(t){let e=t.children.map(r=>cv(r)).flat();return[t,...e]}function JM(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!tv(i)&&(o[Ji]=i.title),XM(o,t,e,n).pipe(N(s=>(t._resolvedData=s,t.data=Ta(t,t.parent,r).resolve,null)))}function XM(t,e,r,n){let i=jl(t);if(i.length===0)return x({});let o={};return re(i).pipe(fe(s=>e_(t[s],e,r,n).pipe(Dt(),ae(a=>{if(a instanceof Yi)throw Na(new Yr,a);o[s]=a}))),ar(1),ac(o),en(s=>ov(s)?He:ir(s)))}function e_(t,e,r,n){let i=to(e)??n,o=Xr(t,i),s=o.resolve?o.resolve(e,r):ze(i,()=>o(e,r));return Tn(s)}function Ll(t){return Le(e=>{let r=t(e);return r?re(r).pipe(N(()=>e)):x(e)})}var uv=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===O);return i}getResolvedTitleForRoute(n){return n.data[Ji]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>v(t_),providedIn:"root"});let t=e;return t})(),t_=(()=>{let e=class e extends uv{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(C(Gg))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ro=new I("",{providedIn:"root",factory:()=>({})}),Ra=new I(""),pd=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=v(Ls)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return x(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Tn(n.loadComponent()).pipe(N(lv),ae(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Rn(()=>{this.componentLoaders.delete(n)})),o=new rr(i,()=>new ye).pipe(nr());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return x({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=n_(i,this.compiler,n,this.onLoadEndListener).pipe(Rn(()=>{this.childrenLoaders.delete(i)})),a=new rr(s,()=>new ye).pipe(nr());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function n_(t,e,r,n){return Tn(t.loadChildren()).pipe(N(lv),fe(i=>i instanceof mi||Array.isArray(i)?x(i):re(e.compileModuleAsync(i))),N(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(Ra,[],{optional:!0,self:!0}).flat()),{routes:s.map(fd),injector:o}}))}function r_(t){return t&&typeof t=="object"&&"default"in t}function lv(t){return r_(t)?t.default:t}var gd=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>v(i_),providedIn:"root"});let t=e;return t})(),i_=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),dv=new I(""),fv=new I("");function o_(t,e,r){let n=t.get(fv),i=t.get(_e);return t.get(Y).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u}),a=i.startViewTransition(()=>(o(),s_(t))),{onViewTransitionCreated:c}=n;return c&&ze(t,()=>c({transition:a,from:e,to:r})),s})}function s_(t){return new Promise(e=>{xs(()=>setTimeout(e),{injector:t,phase:rn.Read})})}var a_=new I(""),md=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ye,this.transitionAbortSubject=new ye,this.configLoader=v(pd),this.environmentInjector=v(Ee),this.urlSerializer=v(Xi),this.rootContexts=v(eo),this.location=v(Pr),this.inputBindingEnabled=v(Pa,{optional:!0})!==null,this.titleStrategy=v(uv),this.options=v(ro,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=v(gd),this.createViewTransition=v(dv,{optional:!0}),this.navigationErrorHandler=v(a_,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Wl(o)),i=o=>this.events.next(new Zl(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next($(w(w({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new we({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:$i,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ke(s=>s.id!==0),N(s=>$(w({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Le(s=>{let a=!1,c=!1;return x(s).pipe(Le(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Ye.SupersededByNewNavigation),He;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?$(w({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let h="";return this.events.next(new xn(u.id,this.urlSerializer.serialize(u.rawUrl),h,Ia.IgnoredSameUrlNavigation)),u.resolve(!1),He}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return x(u).pipe(Le(h=>{let f=this.transitions?.getValue();return this.events.next(new Qr(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?He:Promise.resolve(h)}),QM(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ae(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=$(w({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let f=new Ma(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:h,extractedUrl:f,source:m,restoredState:S,extras:E}=u,M=new Qr(h,this.urlSerializer.serialize(f),m,S);this.events.next(M);let ee=Xm(this.rootComponentType).snapshot;return this.currentTransition=s=$(w({},u),{targetSnapshot:ee,urlAfterRedirects:f,extras:$(w({},E),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,x(s)}else{let h="";return this.events.next(new xn(u.id,this.urlSerializer.serialize(u.extractedUrl),h,Ia.IgnoredByUrlHandlingStrategy)),u.resolve(!1),He}}),ae(u=>{let l=new Hl(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),N(u=>(this.currentTransition=s=$(w({},u),{guards:gM(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),_M(this.environmentInjector,u=>this.events.next(u)),ae(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw Na(this.urlSerializer,u.guardsResult);let l=new zl(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),ke(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",Ye.GuardRejected),!1)),Ll(u=>{if(u.guards.canActivateChecks.length)return x(u).pipe(ae(l=>{let d=new Gl(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),Le(l=>{let d=!1;return x(l).pipe(KM(this.paramsInheritanceStrategy,this.environmentInjector),ae({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",Ye.NoDataFromResolver)}}))}),ae(l=>{let d=new ql(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),Ll(u=>{let l=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(ae(f=>{d.component=f}),N(()=>{})));for(let f of d.children)h.push(...l(f));return h};return si(l(u.targetSnapshot.root)).pipe(tn(null),Vt(1))}),Ll(()=>this.afterPreactivation()),Le(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?re(d).pipe(N(()=>s)):x(s)}),N(u=>{let l=aM(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=$(w({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),ae(()=>{this.events.next(new Wi)}),pM(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Vt(1),ae({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ft(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),dc(this.transitionAbortSubject.pipe(ae(u=>{throw u}))),Rn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",Ye.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),en(u=>{if(c=!0,iv(u))this.events.next(new Jt(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),lM(u)?this.events.next(new Kr(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new qi(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=ze(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Yi){let{message:h,cancellationCode:f}=Na(this.urlSerializer,d);this.events.next(new Jt(s.id,this.urlSerializer.serialize(s.extractedUrl),h,f)),this.events.next(new Kr(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let h=n.errorHandler(u);s.resolve(!!h)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return He}))}))}cancelNavigationTransition(n,i,o){let s=new Jt(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function c_(t){return t!==$i}var u_=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>v(l_),providedIn:"root"});let t=e;return t})(),ud=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},l_=(()=>{let e=class e extends ud{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gn(e)))(o||e)}})(),e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),hv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>v(d_),providedIn:"root"});let t=e;return t})(),d_=(()=>{let e=class e extends hv{constructor(){super(...arguments),this.location=v(Pr),this.urlSerializer=v(Xi),this.options=v(ro,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=v(gd),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Sn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Xm(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Qr)this.stateMemento=this.createStateMemento();else if(n instanceof xn)this.rawUrlTree=i.initialUrl;else if(n instanceof Ma){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof Wi?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof Jt&&(n.code===Ye.GuardRejected||n.code===Ye.NoDataFromResolver)?this.restoreHistory(i):n instanceof qi?this.restoreHistory(i,!0):n instanceof Ft&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=w(w({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=w(w({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gn(e)))(o||e)}})(),e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ui=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ui||{});function pv(t,e){t.events.pipe(ke(r=>r instanceof Ft||r instanceof Jt||r instanceof qi||r instanceof xn),N(r=>r instanceof Ft||r instanceof xn?Ui.COMPLETE:(r instanceof Jt?r.code===Ye.Redirect||r.code===Ye.SupersededByNewNavigation:!1)?Ui.REDIRECTING:Ui.FAILED),ke(r=>r!==Ui.REDIRECTING),Vt(1)).subscribe(()=>{e()})}function f_(t){throw t}var h_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},p_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Q=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=v(Os),this.stateManager=v(hv),this.options=v(ro,{optional:!0})||{},this.pendingTasks=v(pn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=v(md),this.urlSerializer=v(Xi),this.location=v(Pr),this.urlHandlingStrategy=v(gd),this._events=new ye,this.errorHandler=this.options.errorHandler||f_,this.navigated=!1,this.routeReuseStrategy=v(u_),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=v(Ra,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!v(Pa,{optional:!0}),this.eventsSubscription=new le,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof Jt&&i.code!==Ye.Redirect&&i.code!==Ye.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ft)this.navigated=!0;else if(i instanceof Kr){let a=i.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),u=w({info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||c_(o.source)},a);this.scheduleNavigation(c,$i,null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}m_(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),$i,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let u=w({},o);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(fd),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=i,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=w(w({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let f=o?o.snapshot:this.routerState.snapshot.root;h=Ym(f)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),h=this.currentUrlTree.root}return Qm(h,n,d,l??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=zi(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,$i,null,i)}navigate(n,i={skipLocationChange:!1}){return g_(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=w({},h_):i===!1?o=w({},p_):o=i,zi(n))return Tm(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Tm(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((h,f)=>{c=h,u=f});let d=this.pendingTasks.add();return pv(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(h=>Promise.reject(h))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function g_(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new _(4008,!1)}function m_(t){return!(t instanceof Wi)&&!(t instanceof Kr)}var Be=(()=>{let e=class e{constructor(n,i,o,s,a,c){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new ye,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof Ft&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:up(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(D(Q),D(Qe),Tu("tabindex"),D(St),D(pt),D(Yt))},e.\u0275dir=me({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&j("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&As("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Rr],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Rr],replaceUrl:[2,"replaceUrl","replaceUrl",Rr],routerLink:"routerLink"},standalone:!0,features:[Yu,dn]});let t=e;return t})();var Fa=class{};var v_=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(ke(n=>n instanceof Ft),Lt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Ts(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return re(o).pipe(or())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=x(null);let s=o.pipe(fe(a=>a===null?x(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return re([s,a]).pipe(or())}else return s})}};e.\u0275fac=function(i){return new(i||e)(C(Q),C(Ls),C(Ee),C(Fa),C(pd))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),gv=new I(""),y_=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=v(Ee),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Qr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ft?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof xn&&n.code===Ia.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof _a&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>ri(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),xs(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new _a(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){wp()},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();function D_(t){return t.routerState.root}function io(t,e){return{\u0275kind:t,\u0275providers:e}}function w_(){let t=v(je);return e=>{let r=t.get(gn);if(e!==r.components[0])return;let n=t.get(Q),i=t.get(mv);t.get(vd)===1&&n.initialNavigation(),t.get(vv,null,F.Optional)?.setUpPreloading(),t.get(gv,null,F.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var mv=new I("",{factory:()=>new ye}),vd=new I("",{providedIn:"root",factory:()=>1});function C_(){return io(2,[{provide:vd,useValue:0},{provide:Ps,multi:!0,deps:[je],useFactory:e=>{let r=e.get(vg,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Q),o=e.get(mv);pv(i,()=>{n(!0)}),e.get(md).afterPreactivation=()=>(n(!0),o.closed?x(void 0):o),i.initialNavigation()}))}}])}function b_(){return io(3,[{provide:Ps,multi:!0,useFactory:()=>{let e=v(Q);return()=>{e.setUpLocationChangeListener()}}},{provide:vd,useValue:2}])}var vv=new I("");function E_(t){return io(0,[{provide:vv,useExisting:v_},{provide:Fa,useExisting:t}])}function I_(){return io(8,[Rm,{provide:Pa,useExisting:Rm}])}function M_(t){let e=[{provide:dv,useValue:o_},{provide:fv,useValue:w({skipNextTransition:!!t?.skipInitialTransition},t)}];return io(9,e)}var Lm=new I("ROUTER_FORROOT_GUARD"),__=[Pr,{provide:Xi,useClass:Yr},Q,eo,{provide:Qe,useFactory:D_,deps:[Q]},pd,[]],yd=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[__,[],{provide:Ra,multi:!0,useValue:n},{provide:Lm,useFactory:A_,deps:[[Q,new gu,new Kf]]},{provide:ro,useValue:i||{}},i?.useHash?x_():T_(),S_(),i?.preloadingStrategy?E_(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?N_(i):[],i?.bindToComponentInputs?I_().\u0275providers:[],i?.enableViewTransitions?M_().\u0275providers:[],O_()]}}static forChild(n){return{ngModule:e,providers:[{provide:Ra,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(C(Lm,8))},e.\u0275mod=Me({type:e}),e.\u0275inj=Ie({});let t=e;return t})();function S_(){return{provide:gv,useFactory:()=>{let t=v(Ig),e=v(Y),r=v(ro),n=v(md),i=v(Xi);return r.scrollOffset&&t.setOffset(r.scrollOffset),new y_(i,n,t,e,r)}}}function x_(){return{provide:Yt,useClass:Dg}}function T_(){return{provide:Yt,useClass:ll}}function A_(t){return"guarded"}function N_(t){return[t.initialNavigation==="disabled"?b_().\u0275providers:[],t.initialNavigation==="enabledBlocking"?C_().\u0275providers:[]]}var Vm=new I("");function O_(){return[{provide:Vm,useFactory:w_},{provide:ks,multi:!0,useExisting:Vm}]}var Pt=(()=>{let e=class e{constructor(n){this.http=n,this.token="authToken",this.authUrl="https://grupo3.java2024.linti.unlp.edu.ar/rest/auth",this.httpOptions={headers:new ue({"Content-Type":"application/json"})}}login(n,i){return this.http.post(this.authUrl,{usuario:n,contrase\u00F1a:i}).pipe(ae(o=>{o.token&&this.setToken(o.token)}))}logout(){this.clearToken(),console.log("Logout exitoso"),console.log("Token borrado: ",this.getToken())}setToken(n){localStorage.setItem(this.token,n),console.log(n)}getToken(){return localStorage.getItem(this.token)}clearToken(){localStorage.removeItem(this.token)}isAuthenticated(){return this.getToken()!==null}};e.\u0275fac=function(i){return new(i||e)(C(We))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function R_(t,e){t&1&&(g(0,"div",9),y(1,"Usuario o contrase\xF1a inv\xE1lidos"),p())}var yv=(()=>{let e=class e{constructor(n,i,o){this.fb=n,this.authService=i,this.router=o,this.loginFailed=!1,this.loginForm=this.fb.group({user:["",[H.required]],passwd:["",[H.required]]})}onSubmit(){if(this.loginForm.valid){let n=this.loginForm.get(["user"])?.value,i=this.loginForm.get(["passwd"])?.value;console.log("Usuario: ",n,", ","Contrase\xF1a: ",i),this.authService.login(n,i).subscribe(()=>{this.loginFailed=!1,this.router.navigate(["/dashboard"])},o=>{this.loginFailed=!0,console.error("Datos incorrectos",o)})}}};e.\u0275fac=function(i){return new(i||e)(D(_n),D(Pt),D(Q))},e.\u0275cmp=se({type:e,selectors:[["app-login"]],decls:13,vars:3,consts:[[1,"layout-login"],[1,"layout-login-content",3,"ngSubmit","formGroup"],[1,"mb-4","input"],["for","userId"],["id","userId","formControlName","user",1,"form-control"],["for","passwdId"],["id","passwdId","formControlName","passwd","type","password",1,"form-control"],["style","color: rgb(226, 8, 8); width: 80%; text-align: center;",4,"ngIf"],["type","submit",1,"btn","btn-primary","btn-lg","btn-success","sombra-hover","enviar",2,"cursor","pointer",3,"disabled"],[2,"color","rgb(226, 8, 8)","width","80%","text-align","center"]],template:function(i,o){i&1&&(g(0,"div",0)(1,"form",1),j("ngSubmit",function(){return o.onSubmit()}),g(2,"div",2)(3,"label",3),y(4,"Usuario:"),p(),Z(5,"input",4),p(),g(6,"div",2)(7,"label",5),y(8,"Contrase\xF1a:"),p(),Z(9,"input",6),p(),xt(10,R_,2,0,"div",7),g(11,"button",8),y(12,"Ingresar"),p()()()),i&2&&(B(),ie("formGroup",o.loginForm),B(9),ie("ngIf",o.loginFailed),B(),ie("disabled",o.loginForm.invalid))},dependencies:[vn,Mn,Ot,En,In,Qt,Kt],styles:[".layout-login[_ngcontent-%COMP%]{height:100%;position:fixed;left:0;right:0;z-index:1;box-shadow:0 3px 5px #0000001a;background-color:green}.layout-login-content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;width:60%;padding:20px;margin:auto}.input[_ngcontent-%COMP%]{width:60%;margin:auto}.enviar[_ngcontent-%COMP%]{align-self:flex-end;flex-basis:50%}.sombra-hover[_ngcontent-%COMP%]:hover{box-shadow:1px 3px 5px #000;z-index:5}"]});let t=e;return t})();var ei=(()=>{let e=class e{constructor(n){this.http=n,this.storageKey="usuarios",this.usuarios=[],this.usuarioUrl="https://grupo3.java2024.linti.unlp.edu.ar/rest/usuario",this.httpOptions={headers:new ue({"Content-Type":"application/json"})}}ngOnInit(){}setUsuarios(n){this.usuarios=n}getUsuarios(){return this.http.get(this.usuarioUrl)}getUsuario(n){let i=this.usuarioUrl+"/"+n;return this.http.get(i)}updateUsuario(n){return this.http.put(this.usuarioUrl,n,this.httpOptions)}addUsuario(n){return this.http.post(this.usuarioUrl,n,this.httpOptions)}deleteUsuario(n){let i=this.usuarioUrl+"/"+n;return this.http.delete(i,this.httpOptions)}setListaUsuarios(n){localStorage.setItem("listaUsuarios",n)}getListaUsuarios(){return localStorage.getItem("listaUsuarios")}clearListaUsuarios(){localStorage.removeItem("listaUsuarios")}obtenerTodos(){return this.usuarios}obtenerPorId(n){return this.usuarios.find(i=>i.id==n)}obtenerLongitud(){return this.usuarios.length}agregar(n){this.usuarios.push(n)}modificar(n){let i=this.usuarios.findIndex(o=>o.id==n.id);this.usuarios[i]=n}eliminar(n){n.valid=!1}};e.\u0275fac=function(i){return new(i||e)(C(We))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var F_=t=>["/usuario",t];function P_(t,e){if(t&1){let r=zt();g(0,"tr")(1,"td"),y(2),p(),g(3,"td")(4,"a",14),y(5),p()(),g(6,"td"),y(7),p(),g(8,"td"),y(9),Kp(10,"date"),p(),g(11,"td")(12,"button",15),j("click",function(){Oe(r);let i=ot().$implicit,o=ot();return Re(o.confirmacion(i))}),y(13,"Eliminar"),p()()()}if(t&2){let r=ot().$implicit;B(2),st(r.dni),B(2),ie("routerLink",Or(8,F_,r.id)),B(),Qu("",r.nombre," ",r.apellido,""),B(2),st(r.mail),B(2),st(Jp(10,6,r.incorp))}}function k_(t,e){if(t&1&&xt(0,P_,14,10,"tr",13),t&2){let r=e.$implicit;ie("ngIf",r.valid)}}function L_(t,e){t&1&&(g(0,"h5",12),y(1,"Cargando usuarios"),p())}function V_(t,e){t&1&&y(0,"Cargando elementos...")}var wv=(()=>{let e=class e{constructor(n,i,o){this.userService=n,this.router=i,this.change=o,this.usuarios=[],this.usuariosFiltrado=[]}ngOnInit(){this.obtenerUsuarios(),this.usuariosFiltrado=this.usuarios,this.sortBy("dni")}obtenerUsuarios(){this.userService.getUsuarios().subscribe(n=>{this.usuarios=n,this.userService.setUsuarios(n),this.usuariosFiltrado=this.usuarios,this.sortBy("dni"),console.log("usuariosFiltrados",this.usuariosFiltrado),this.change.detectChanges()})}sortBy(n){switch(n){case"dni":this.usuariosFiltrado.sort((i,o)=>i.dni-o.dni);break;case"nombre":this.usuariosFiltrado.sort((i,o)=>{let s=i.nombre.localeCompare(o.nombre);return s!==0?s:i.apellido.localeCompare(o.apellido)});break;case"incorp":this.usuariosFiltrado.sort((i,o)=>new Date(o.incorp).getTime()-new Date(i.incorp).getTime());break;default:break}}search(n){if(!n){this.usuariosFiltrado=this.usuarios;return}this.usuariosFiltrado=this.usuarios.filter(i=>(i.nombre+" "+i.apellido).toLowerCase().includes(n.toLowerCase()))}create(){this.router.navigate(["/usuario/new"])}confirmacion(n){confirm("\xBFBorrar este usuario?")&&this.delete(n)}delete(n){n.valid=!1,this.userService.updateUsuario(n).subscribe(i=>console.log("Enviado por PUT en subscribe",i))}};e.\u0275fac=function(i){return new(i||e)(D(ei),D(Q),D(Tt))},e.\u0275cmp=se({type:e,selectors:[["app-usuarios"]],decls:33,vars:1,consts:[["filtro",""],["listaVacia",""],[1,"layout-lista"],[1,"barra-opciones"],["routerLink","/dashboard"],[1,"btn","btn-primary","btn-lg","btn-success","sombra-hover"],["for","filtro"],["type","text","id","filtroId","placeholder","Buscar por nombre",3,"keydown.enter"],[1,"btn","btn-primary","btn-lg","btn-success","sombra-hover",3,"click"],[1,"lista"],[1,"table","table-success","table-striped","table-hover"],["scope","col"],[2,"text-align","center"],[4,"ngIf"],[3,"routerLink"],[1,"btn","btn-transparent",3,"click"]],template:function(i,o){if(i&1){let s=zt();g(0,"div",2)(1,"div",3)(2,"a",4)(3,"button",5),y(4,"Volver"),p()(),g(5,"label",6),y(6,"Buscar por nombre: "),p(),g(7,"input",7,0),j("keydown.enter",function(){Oe(s);let c=Gt(8);return Re(o.search(c.value))}),p(),g(9,"button",8),j("click",function(){Oe(s);let c=Gt(8);return Re(o.search(c.value))}),y(10,"Buscar"),p(),g(11,"button",8),j("click",function(){return Oe(s),Re(o.create())}),y(12,"Agregar usuario"),p()(),g(13,"div",9)(14,"table",10)(15,"thead")(16,"tr")(17,"th",11),y(18,"DNI"),p(),g(19,"th",11),y(20,"Nombre"),p(),g(21,"th",11),y(22,"Mail"),p(),g(23,"th",11),y(24,"Fecha de incorporaci\xF3n"),p(),g(25,"th",11),y(26,"Borrar"),p()()(),g(27,"tbody"),Ar(28,k_,1,1,"tr",null,Tr,!1,L_,2,0,"h5",12),p()(),xt(31,V_,1,0,"ng-template",null,1,Xp),p()()}i&2&&(B(28),Nr(o.usuariosFiltrado))},dependencies:[vn,Be,Eg],styles:[".layout-lista[_ngcontent-%COMP%]{height:100%;position:fixed;left:0;right:0;z-index:1;box-shadow:0 3px 5px #0000001a;background-color:green}.layout-lista-content[_ngcontent-%COMP%]{padding:20px;margin:auto}.barra-opciones[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;width:auto;padding:10px}.lista[_ngcontent-%COMP%]{padding:10px}.sombra-hover[_ngcontent-%COMP%]:hover{box-shadow:1px 3px 5px #000;z-index:5}"]});let t=e;return t})();var Cv=(()=>{let e=class e{constructor(n,i){this.http=n,this.authService=i,this.validUser="user",this.validPasswd="passwd",this.isUserLoggedIn=!1,this.authUrl="http://localhost:8080/practica-jpa/rest/auth",this.httpOptions={headers:new ue({"Content-Type":"application/json"})}}login(n,i){return this.http.post(this.authUrl,{username:n,password:i}).pipe(ae(o=>{o.token&&this.authService.setToken(o.token)}))}isLogged(){return localStorage.getItem("isUserLoggedIn")=="true"}};e.\u0275fac=function(i){return new(i||e)(C(We),C(Pt))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var bv=(()=>{let e=class e{constructor(n,i){this.loginService=n,this.router=i}};e.\u0275fac=function(i){return new(i||e)(D(Cv),D(Q))},e.\u0275cmp=se({type:e,selectors:[["app-dashboard"]],decls:15,vars:0,consts:[[1,"layout-dashboard"],[1,"layout-dasboard-content",2,"text-align","center"],[1,"layout-dasboard-content"],["routerLink","/usuario"],[1,"btn","btn-primary","btn-lg","btn-success","boton","sombra-hover"],["routerLink","/materia-prima"],["routerLink","/fam-prod"]],template:function(i,o){i&1&&(g(0,"div",0)(1,"h1",1),y(2,"Listas de datos"),p(),g(3,"div",2)(4,"a",3)(5,"button",4),y(6,"Lista de Usuarios"),p()(),Z(7,"br"),g(8,"a",5)(9,"button",4),y(10,"Lista de Materias Primas"),p()(),Z(11,"br"),g(12,"a",6)(13,"button",4),y(14,"Lista de Familias Productoras"),p()()()())},dependencies:[Be],styles:[".layout-dashboard[_ngcontent-%COMP%]{height:100%;position:fixed;left:0;right:0;z-index:1;box-shadow:0 3px 5px #0000001a;background-color:green}.layout-dasboard-content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;width:fit-content;padding:20px;margin:auto}.boton[_ngcontent-%COMP%]{flex-grow:1}.sombra-hover[_ngcontent-%COMP%]:hover{box-shadow:1px 3px 5px #000;z-index:5}"]});let t=e;return t})();var Ev=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=se({type:e,selectors:[["app-page-not-found"]],decls:2,vars:0,template:function(i,o){i&1&&(g(0,"p"),y(1,"Error 404: P\xE1gina no encontrada"),p())}});let t=e;return t})();var ti=(()=>{let e=class e{constructor(n){this.http=n,this.materias=[],this.materiaUrl="https://grupo3.java2024.linti.unlp.edu.ar/rest/materia-prima",this.httpOptions={headers:new ue({"Content-Type":"application/json"})}}setMateriaPrima(n){this.materias=n}getMateriasPrimas(){return this.http.get(this.materiaUrl)}getMateriaPrima(n){let i=this.materiaUrl+"/"+n;return this.http.get(i)}updateMateriaPrima(n){return this.http.put(this.materiaUrl,n,this.httpOptions)}addMateriaPrima(n){return this.http.post(this.materiaUrl,n,this.httpOptions)}deleteMateriaPrima(n){let i=this.materiaUrl+"/"+n;return this.http.delete(i,this.httpOptions)}setListaMatPri(n){localStorage.setItem("listaMatPri",n)}getListaMatPri(){return localStorage.getItem("listaMatPri")}clearListaMatPri(){localStorage.removeItem("listaMatPri")}obtenerTodos(){return this.materias}obtenerPorId(n){return this.materias.find(i=>i.id==n)}obtenerLongitud(){return this.materias.length}agregar(n){this.materias.push(n)}modificar(n){let i=this.materias.findIndex(o=>o.id==n.id);this.materias[i]=n}eliminar(n){n.valid=!1}};e.\u0275fac=function(i){return new(i||e)(C(We))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var U_=t=>["/materia-prima",t];function B_(t,e){if(t&1){let r=zt();g(0,"tr")(1,"td")(2,"a",13),y(3),p()(),g(4,"td"),y(5),p(),g(6,"td"),y(7),p(),g(8,"td")(9,"button",14),j("click",function(){Oe(r);let i=ot().$implicit,o=ot();return Re(o.confirmacion(i))}),y(10,"Eliminar"),p()()()}if(t&2){let r=ot().$implicit;B(2),ie("routerLink",Or(4,U_,r.id)),B(),st(r.producto),B(2),st(r.unidades),B(2),st(r.almacenam)}}function $_(t,e){if(t&1&&xt(0,B_,11,6,"tr",12),t&2){let r=e.$implicit;ie("ngIf",r.valid)}}function H_(t,e){t&1&&(g(0,"h5",11),y(1,"Cargando materias primas"),p())}var Mv=(()=>{let e=class e{constructor(n,i){this.matService=n,this.router=i,this.materias=[],this.materiasFiltradas=[]}ngOnInit(){this.obtenerMaterias(),this.materiasFiltradas=this.materias}obtenerMaterias(){this.matService.getMateriasPrimas().subscribe(n=>{this.materias=n,this.matService.setMateriaPrima(n),this.materiasFiltradas=this.materias,this.sortBy("producto"),console.log("Lista de materias primas",this.materiasFiltradas)})}sortBy(n){switch(n){case"producto":this.materiasFiltradas.sort((i,o)=>i.producto.localeCompare(o.producto));break;case"unidades":this.materiasFiltradas.sort((i,o)=>o.unidades-i.unidades);break;default:break}}search(n){if(!n){this.materiasFiltradas=this.materias;return}this.materiasFiltradas=this.materias.filter(i=>i.producto.toLowerCase().includes(n.toLowerCase()))}create(){this.router.navigate(["/materia-prima/new"])}confirmacion(n){confirm("\xBFBorrar esta materia prima?")&&this.delete(n)}delete(n){n.valid=!1,this.matService.updateMateriaPrima(n).subscribe(i=>console.log("Enviado por PUT en subscribe",i))}};e.\u0275fac=function(i){return new(i||e)(D(ti),D(Q))},e.\u0275cmp=se({type:e,selectors:[["app-materias-primas"]],decls:29,vars:1,consts:[["filtro",""],[1,"layout-lista"],[1,"barra-opciones"],["routerLink","/dashboard"],[1,"btn","btn-primary","btn-lg","btn-success","sombra-hover"],["for","filtro"],["type","text","id","filtroId","placeholder","Buscar por producto",3,"keydown.enter"],[1,"btn","btn-primary","btn-lg","btn-success","sombra-hover",3,"click"],[1,"lista"],[1,"table","table-success","table-striped","table-hover"],["scope","col"],[2,"text-align","center"],[4,"ngIf"],[3,"routerLink"],[1,"btn","btn-transparent",3,"click"]],template:function(i,o){if(i&1){let s=zt();g(0,"div",1)(1,"div",2)(2,"a",3)(3,"button",4),y(4,"Volver"),p()(),g(5,"label",5),y(6,"Buscar por nombre: "),p(),g(7,"input",6,0),j("keydown.enter",function(){Oe(s);let c=Gt(8);return Re(o.search(c.value))}),p(),g(9,"button",7),j("click",function(){Oe(s);let c=Gt(8);return Re(o.search(c.value))}),y(10,"Buscar"),p(),g(11,"button",7),j("click",function(){return Oe(s),Re(o.create())}),y(12,"Agregar materia prima"),p()(),g(13,"div",8)(14,"table",9)(15,"thead")(16,"tr")(17,"th",10),y(18,"Producto"),p(),g(19,"th",10),y(20,"Unidades"),p(),g(21,"th",10),y(22,"Almacenamiento"),p(),g(23,"th",10),y(24,"Eliminar"),p()()(),g(25,"tbody"),Ar(26,$_,1,1,"tr",null,Tr,!1,H_,2,0,"h5",11),p()()()()}i&2&&(B(26),Nr(o.materiasFiltradas))},dependencies:[vn,Be],styles:[".layout-lista[_ngcontent-%COMP%]{height:100%;position:fixed;left:0;right:0;z-index:1;box-shadow:0 3px 5px #0000001a;background-color:green}.layout-lista-content[_ngcontent-%COMP%]{padding:20px;margin:auto}.barra-opciones[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;width:auto;padding:10px}.lista[_ngcontent-%COMP%]{padding:10px}.sombra-hover[_ngcontent-%COMP%]:hover{box-shadow:1px 3px 5px #000;z-index:5}"]});let t=e;return t})();var ni=(()=>{let e=class e{constructor(n){this.http=n,this.famProds=[],this.famUrl="https://grupo3.java2024.linti.unlp.edu.ar/rest/fam-prod",this.httpOptions={headers:new ue({"Content-Type":"application/json"})}}setFamProds(n){this.famProds=n}getFamProds(){return this.http.get(this.famUrl)}getFamProd(n){let i=this.famUrl+"/"+n;return this.http.get(i)}updateFamProd(n){return this.http.put(this.famUrl,n,this.httpOptions)}addFamProd(n){return this.http.post(this.famUrl,n,this.httpOptions)}deleteFamProd(n){let i=this.famUrl+"/"+n;return this.http.delete(i,this.httpOptions)}setListaFamProd(n){localStorage.setItem("listaFamProd",n)}getListaFamProd(){return localStorage.getItem("listaFamProd")}clearListaFamProd(){localStorage.removeItem("listaFamProd")}obtenerTodos(){return this.famProds}obtenerPorId(n){return this.famProds.find(i=>i.id==n)}obtenerLongitud(){return this.famProds.length}agregar(n){this.famProds.push(n)}modificar(n){let i=this.famProds.findIndex(o=>o.id==n.id);this.famProds[i]=n}eliminar(n){n.valid=!1}};e.\u0275fac=function(i){return new(i||e)(C(We))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var z_=t=>["/fam-prod",t];function G_(t,e){if(t&1){let r=zt();g(0,"tr")(1,"td")(2,"a",13),y(3),p()(),g(4,"td"),y(5),p(),g(6,"td")(7,"button",14),j("click",function(){Oe(r);let i=ot().$implicit,o=ot();return Re(o.confirmacion(i))}),y(8,"Eliminar"),p()()()}if(t&2){let r=ot().$implicit;B(2),ie("routerLink",Or(3,z_,r.id)),B(),st(r.nombre),B(2),st(r.ubicacion)}}function q_(t,e){if(t&1&&xt(0,G_,9,5,"tr",12),t&2){let r=e.$implicit;ie("ngIf",r.valid)}}function W_(t,e){t&1&&(g(0,"h5",11),y(1,"Cargando familias productoras"),p())}var Sv=(()=>{let e=class e{constructor(n,i){this.famProdService=n,this.router=i,this.famProds=[],this.famProdsFiltrada=[]}ngOnInit(){this.obtenerFamProd(),this.famProdsFiltrada=this.famProds}obtenerFamProd(){this.famProdService.getFamProds().subscribe(n=>{this.famProds=n,this.famProdService.setFamProds(n),this.famProdsFiltrada=this.famProds,this.sortBy("nombre"),console.log(this.famProdsFiltrada)})}sortBy(n){switch(n){case"nombre":this.famProdsFiltrada.sort((i,o)=>i.nombre.localeCompare(o.nombre));break;case"ubicacion":this.famProdsFiltrada.sort((i,o)=>i.ubicacion.localeCompare(o.ubicacion));break;default:break}}search(n){if(!n){this.famProdsFiltrada=this.famProds;return}this.famProdsFiltrada=this.famProds.filter(i=>i.nombre.toLowerCase().includes(n.toLowerCase()))}create(){this.router.navigate(["/fam-prod/new"])}confirmacion(n){confirm("\xBFBorrar esta familia productora?")&&this.delete(n)}delete(n){n.valid=!1,this.famProdService.updateFamProd(n).subscribe(i=>console.log("Enviado por PUT en subscribe",i))}};e.\u0275fac=function(i){return new(i||e)(D(ni),D(Q))},e.\u0275cmp=se({type:e,selectors:[["app-fam-prod"]],decls:27,vars:1,consts:[["filtro",""],[1,"layout-lista"],[1,"barra-opciones"],["routerLink","/dashboard"],[1,"btn","btn-primary","btn-lg","btn-success","sombra-hover"],["for","filtro"],["type","text","id","filtroId","placeholder","Buscar por nombre",3,"keydown.enter"],[1,"btn","btn-primary","btn-lg","btn-success","sombra-hover",3,"click"],[1,"lista"],[1,"table","table-success","table-striped","table-hover"],["scope","col"],[2,"text-align","center"],[4,"ngIf"],[3,"routerLink"],[1,"btn","btn-transparent",3,"click"]],template:function(i,o){if(i&1){let s=zt();g(0,"div",1)(1,"div",2)(2,"a",3)(3,"button",4),y(4,"Volver"),p()(),g(5,"label",5),y(6,"Buscar por nombre: "),p(),g(7,"input",6,0),j("keydown.enter",function(){Oe(s);let c=Gt(8);return Re(o.search(c.value))}),p(),g(9,"button",7),j("click",function(){Oe(s);let c=Gt(8);return Re(o.search(c.value))}),y(10,"Buscar"),p(),g(11,"button",7),j("click",function(){return Oe(s),Re(o.create())}),y(12,"Agregar Familia Productora"),p()(),g(13,"div",8)(14,"table",9)(15,"thead")(16,"tr")(17,"th",10),y(18,"Nombre"),p(),g(19,"th",10),y(20,"Ubicaci\xF3n"),p(),g(21,"th",10),y(22,"Eliminar"),p()()(),g(23,"tbody"),Ar(24,q_,1,1,"tr",null,Tr,!1,W_,2,0,"h5",11),p()()()()}i&2&&(B(24),Nr(o.famProdsFiltrada))},dependencies:[vn,Be],styles:[".layout-lista[_ngcontent-%COMP%]{height:100%;position:fixed;left:0;right:0;z-index:1;box-shadow:0 3px 5px #0000001a;background-color:green}.layout-lista-content[_ngcontent-%COMP%]{padding:20px;margin:auto}.barra-opciones[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;width:auto;padding:10px}.lista[_ngcontent-%COMP%]{padding:10px}.sombra-hover[_ngcontent-%COMP%]:hover{box-shadow:1px 3px 5px #000;z-index:5}"]});let t=e;return t})();var Va=class{constructor(e,r,n,i,o,s,a){this.admin=!1,this.recetas=[],this.prodTermi=[],this.valid=!0,this.dni=e,this.mail=r,this.usuario=n,this.contrase\u00F1a=i,this.admin=o,this.nombre=s,this.apellido=a,this.incorp=new Date}};var Dd=(()=>{let e=class e{constructor(n,i,o,s,a){this.fb=n,this.userService=i,this.route=o,this.router=s,this.change=a,this.id=-1,this.esNuevoUsuario=!0}ngOnInit(){this.id=Number(this.route.snapshot.paramMap.get("id")),this.userForm=new Nt({dni:new ve,correo:new ve,user:new ve,passwd:new ve,nombre:new ve,apellido:new ve,admin:new ve}),this.userService.getUsuario(this.id).subscribe(n=>{console.log("Usuario en subscribe: ",n),this.usuario=n,this.usuario!==void 0?(this.esNuevoUsuario=!1,this.userForm=this.fb.group({dni:[this.usuario.dni,[H.required]],correo:[this.usuario.mail,[H.required]],user:[this.usuario.usuario,[H.required]],passwd:[this.usuario.contrase\u00F1a,[H.required]],nombre:[this.usuario.nombre,[H.required]],apellido:[this.usuario.apellido,[H.required]],admin:[this.usuario.admin?"true":"false",[H.required]]}),this.change.detectChanges()):(this.esNuevoUsuario=!0,this.userForm=this.fb.group({dni:["",[H.required]],correo:["",[H.required]],user:["",[H.required]],passwd:["",[H.required]],nombre:["",[H.required]],apellido:["",[H.required]],admin:[!1,[H.required]]}))})}esNuevo(n){this.esNuevoUsuario=n}onSubmit(){this.userForm.valid&&(console.log("Form Submitted",this.userForm.value),this.esNuevoUsuario?(this.usuario=new Va(Number(this.userForm.get("dni")?.value),this.userForm.get("correo")?.value,this.userForm.get("user")?.value,this.userForm.get("passwd")?.value,this.userForm.get("admin")?.value,this.userForm.get("nombre")?.value,this.userForm.get("apellido")?.value),this.userService.addUsuario(this.usuario).subscribe(()=>{console.log(this.usuario),this.router.navigate(["/usuario"])})):(this.usuario.dni=Number(this.userForm.get("dni")?.value),this.usuario.mail=this.userForm.get("correo")?.value,this.usuario.usuario=this.userForm.get("user")?.value,this.usuario.contrase\u00F1a=this.userForm.get("passwd")?.value,this.usuario.admin=this.userForm.get("admin")?.value,this.usuario.nombre=this.userForm.get("nombre")?.value,this.usuario.apellido=this.userForm.get("apellido")?.value,this.userService.updateUsuario(this.usuario).subscribe(n=>console.log("Enviado por PUT en subscribe",n)),console.log(this.usuario),this.router.navigate(["/usuario"])))}};e.\u0275fac=function(i){return new(i||e)(D(_n),D(ei),D(Qe),D(Q),D(Tt))},e.\u0275cmp=se({type:e,selectors:[["app-usuarios-form"]],decls:42,vars:4,consts:[[1,"layout-form"],["routerLink","/usuario"],[1,"btn","btn-primary","btn-lg","btn-success","sombra-hover"],[1,"layout-form-content",3,"ngSubmit","formGroup"],[1,"datos-cuenta"],[1,"mb-4","input"],["for","mailId"],["id","mailId",1,"form-control",3,"formControlName"],["for","userId"],["id","userId",1,"form-control",3,"formControlName"],["for","passwdId"],["id","passwdId","formControlName","passwd","type","password",1,"form-control"],[1,"datos-personales"],["for","dniId"],["id","dniId","formControlName","dni",1,"form-control"],["for","nombreId"],["id","nombreId","formControlName","nombre",1,"form-control"],["for","apellidoId"],["id","apellidoId","formControlName","apellido",1,"form-control"],[1,"mb-4"],["for","adminTrueId"],["type","radio","value","true","id","adminTrueId","name","admin","formControlName","admin"],["for","adminFalseId"],["type","radio","value","false","id","adminFalseId","name","admin","formControlName","admin"],["type","submit",1,"btn","btn-primary","btn-lg","btn-success","sombra-hover","enviar",2,"cursor","pointer",3,"disabled"]],template:function(i,o){i&1&&(g(0,"div",0)(1,"a",1)(2,"button",2),y(3,"Volver"),p()(),g(4,"form",3),j("ngSubmit",function(){return o.onSubmit()}),g(5,"div",4)(6,"div",5)(7,"label",6),y(8,"Mail:"),p(),Z(9,"input",7),p(),g(10,"div",5)(11,"label",8),y(12,"Usuario:"),p(),Z(13,"input",9),p(),g(14,"div",5)(15,"label",10),y(16,"Contrase\xF1a:"),p(),Z(17,"input",11),p()(),g(18,"div",12)(19,"div",5)(20,"label",13),y(21,"DNI:"),p(),Z(22,"input",14),p(),g(23,"div",5)(24,"label",15),y(25,"Nombre:"),p(),Z(26,"input",16),p(),g(27,"div",5)(28,"label",17),y(29,"Apellido:"),p(),Z(30,"input",18),p()(),g(31,"div",19)(32,"p"),y(33,"\xBFEs un usuario administrador?"),p(),g(34,"label",20),y(35,"Si"),p(),Z(36,"input",21),g(37,"label",22),y(38,"No"),p(),Z(39,"input",23),p(),g(40,"button",24),y(41,"Enviar"),p()()()),i&2&&(B(4),ie("formGroup",o.userForm),B(5),ie("formControlName","correo"),B(4),ie("formControlName","user"),B(27),ie("disabled",o.userForm.invalid))},dependencies:[Be,Mn,Ot,Rl,En,In,Qt,Kt],styles:[".layout-form[_ngcontent-%COMP%]{height:100%;position:fixed;left:0;right:0;z-index:1;box-shadow:0 3px 5px #0000001a;background-color:green}.layout-form-content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;width:auto;padding:20px;margin:auto}.flex-datos-cuenta[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;width:auto;padding:10px}.datos-cuenta[_ngcontent-%COMP%], .datos-personales[_ngcontent-%COMP%]{width:49%}.input[_ngcontent-%COMP%]{width:60%;margin:auto}.enviar[_ngcontent-%COMP%]{align-self:flex-end;flex-basis:100%}.lista[_ngcontent-%COMP%]{padding:10px}.sombra-hover[_ngcontent-%COMP%]:hover{box-shadow:1px 3px 5px #000;z-index:5}"]});let t=e;return t})();var ja=class{constructor(e,r,n){this.items=[],this.valid=!0,this.producto=e,this.unidades=r,this.almacenam=n}};var wd=(()=>{let e=class e{constructor(n,i,o,s){this.fb=n,this.matService=i,this.route=o,this.router=s,this.id=-1,this.esNuevaMateria=!1}ngOnInit(){this.id=Number(this.route.snapshot.paramMap.get("id")),this.materia=this.matService.obtenerPorId(this.id),this.matForm=new Nt({producto:new ve,unidades:new ve,almacenam:new ve}),this.materia!==void 0?(this.esNuevaMateria=!1,this.matForm=this.fb.group({producto:[this.materia.producto,[H.required]],unidades:[this.materia.unidades,[H.required]],almacenam:[this.materia.almacenam,[H.required]]})):(this.esNuevaMateria=!0,this.matForm=this.fb.group({producto:["",[H.required]],unidades:["",[H.required]],almacenam:["",[H.required]]}))}esNuevo(n){this.esNuevaMateria=n}onSubmit(){this.matForm.valid&&(console.log("Form Submitted",this.matForm.value),this.esNuevaMateria?(this.materia=new ja(this.matForm.get("producto")?.value,Number(this.matForm.get("unidades")?.value),this.matForm.get("almacenam")?.value),this.matService.addMateriaPrima(this.materia).subscribe(()=>{console.log("Materia prima nueva enviada"),this.router.navigate(["/materia-prima"])})):(this.materia.producto=this.matForm.get("producto")?.value,this.materia.unidades=Number(this.matForm.get("unidades")?.value),this.materia.almacenam=this.matForm.get("almacenam")?.value,console.log(this.materia.producto),this.matService.updateMateriaPrima(this.materia).subscribe(n=>console.log("Enviado por PUT en subscribe",n)),this.router.navigate(["/materia-prima"])))}};e.\u0275fac=function(i){return new(i||e)(D(_n),D(ti),D(Qe),D(Q))},e.\u0275cmp=se({type:e,selectors:[["app-materia-prima-form"]],decls:28,vars:2,consts:[[1,"layout-form"],["routerLink","/materia-prima"],[1,"btn","btn-primary","btn-lg","btn-success","sombra-hover"],[1,"layout-form-content",3,"ngSubmit","formGroup"],[1,"datos"],[1,"mb-4","input"],["for","productoId"],["id","productoId","formControlName","producto",1,"form-control"],["for","unidadesId"],["id","unidadesId","formControlName","unidades",1,"form-control"],["for","almacenamId"],["id","almacenamId","formControlName","almacenam"],["value","Estanter\xEDa"],["value","Heladera"],["value","Congelador"],["value","Caja"],["type","submit",1,"btn","btn-primary","btn-lg","btn-success","sombra-hover","enviar",2,"cursor","pointer",3,"disabled"]],template:function(i,o){i&1&&(g(0,"div",0)(1,"a",1)(2,"button",2),y(3,"Volver"),p()(),g(4,"form",3),j("ngSubmit",function(){return o.onSubmit()}),g(5,"div",4)(6,"div",5)(7,"label",6),y(8,"Producto:"),p(),Z(9,"input",7),p(),g(10,"div",5)(11,"label",8),y(12,"Unidades:"),p(),Z(13,"input",9),p(),g(14,"div",5)(15,"label",10),y(16,"Almacenamiento:"),p(),g(17,"select",11)(18,"option",12),y(19,"Estanter\xEDa"),p(),g(20,"option",13),y(21,"Heladera"),p(),g(22,"option",14),y(23,"Congelador"),p(),g(24,"option",15),y(25,"Caja"),p()()()(),g(26,"button",16),y(27,"Enviar"),p()()()),i&2&&(B(4),ie("formGroup",o.matForm),B(22),ie("disabled",o.matForm.invalid))},dependencies:[Be,Mn,Em,Mm,Ot,ga,En,In,Qt,Kt],styles:[".layout-form[_ngcontent-%COMP%]{height:100%;position:fixed;left:0;right:0;z-index:1;box-shadow:0 3px 5px #0000001a;background-color:green}.layout-form-content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;width:auto;padding:20px;margin:auto}.flex-datos-cuenta[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;width:auto;padding:10px}.datos[_ngcontent-%COMP%]{width:49%}.input[_ngcontent-%COMP%]{width:60%;margin:auto}.enviar[_ngcontent-%COMP%]{align-self:flex-end;flex-basis:100%}.lista[_ngcontent-%COMP%]{padding:10px}.sombra-hover[_ngcontent-%COMP%]:hover{box-shadow:1px 3px 5px #000;z-index:5}"]});let t=e;return t})();var Ua=class{constructor(e,r){this.items=[],this.valid=!0,this.nombre=e,this.ubicacion=r}};var Cd=(()=>{let e=class e{constructor(n,i,o,s){this.fb=n,this.famService=i,this.route=o,this.router=s,this.id=-1,this.esNuevaFam=!1}ngOnInit(){this.id=Number(this.route.snapshot.paramMap.get("id")),this.famProd=this.famService.obtenerPorId(this.id),this.famForm=new Nt({nombre:new ve,ubicacion:new ve}),this.famProd!==void 0?(this.esNuevaFam=!1,this.famForm=this.fb.group({nombre:[this.famProd.nombre,[H.required]],ubicacion:[this.famProd.ubicacion,[H.required]]})):(this.esNuevaFam=!0,this.famForm=this.fb.group({nombre:["",[H.required]],ubicacion:["",[H.required]]}))}esNuevo(n){this.esNuevaFam=n}onSubmit(){this.famForm.valid&&(console.log("Form Submitted",this.famForm.value),this.esNuevaFam?(this.famProd=new Ua(this.famForm.get("nombre")?.value,this.famForm.get("ubicacion")?.value),this.famService.addFamProd(this.famProd).subscribe(()=>{console.log(this.famProd),this.router.navigate(["/fam-prod"])})):(this.famProd.nombre=this.famForm.get("nombre")?.value,this.famProd.ubicacion=this.famForm.get("ubicacion")?.value,this.famService.updateFamProd(this.famProd).subscribe(n=>console.log("Enviado por PUT en subscribe",n)),console.log(this.famProd.nombre),this.router.navigate(["/fam-prod"])))}};e.\u0275fac=function(i){return new(i||e)(D(_n),D(ni),D(Qe),D(Q))},e.\u0275cmp=se({type:e,selectors:[["app-fam-prod-form"]],decls:16,vars:2,consts:[[1,"layout-form"],["routerLink","/fam-prod"],[1,"btn","btn-primary","btn-lg","btn-success","sombra-hover"],[1,"layout-form-content",3,"ngSubmit","formGroup"],[1,"datos"],[1,"mb-4","input"],["for","nombreId"],["id","nombreId","formControlName","nombre",1,"form-control"],["for","ubicacionId"],["id","ubicacionId","formControlName","ubicacion",1,"form-control"],["type","submit",1,"btn","btn-primary","btn-lg","btn-success","sombra-hover","enviar",2,"cursor","pointer",3,"disabled"]],template:function(i,o){i&1&&(g(0,"div",0)(1,"a",1)(2,"button",2),y(3,"Volver"),p()(),g(4,"form",3),j("ngSubmit",function(){return o.onSubmit()}),g(5,"div",4)(6,"div",5)(7,"label",6),y(8,"Nombre:"),p(),Z(9,"input",7),p(),g(10,"div",5)(11,"label",8),y(12,"Ubicacion:"),p(),Z(13,"input",9),p()(),g(14,"button",10),y(15,"Ingresar"),p()()()),i&2&&(B(4),ie("formGroup",o.famForm),B(10),ie("disabled",o.famForm.invalid))},dependencies:[Be,Mn,Ot,En,In,Qt,Kt],styles:[".layout-form[_ngcontent-%COMP%]{height:100%;position:fixed;left:0;right:0;z-index:1;box-shadow:0 3px 5px #0000001a;background-color:green}.layout-form-content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;width:auto;padding:20px;margin:auto}.flex-datos-cuenta[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;width:auto;padding:10px}.datos[_ngcontent-%COMP%]{width:49%}.input[_ngcontent-%COMP%]{width:60%;margin:auto}.enviar[_ngcontent-%COMP%]{align-self:flex-end;flex-basis:100%}.lista[_ngcontent-%COMP%]{padding:10px}.sombra-hover[_ngcontent-%COMP%]:hover{box-shadow:1px 3px 5px #000;z-index:5}"]});let t=e;return t})();var Ke=(()=>{let e=class e{constructor(n,i){this.authService=n,this.router=i}canActivate(n,i){return this.authService.isAuthenticated()?!0:(this.router.navigate(["/login"]),!1)}};e.\u0275fac=function(i){return new(i||e)(C(Pt),C(Q))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Z_=[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"dashboard",component:bv,canActivate:[Ke]},{path:"login",component:yv},{path:"usuario",component:wv,canActivate:[Ke],children:[]},{path:"usuario/:id",component:Dd,canActivate:[Ke]},{path:"usuario/new",component:Dd,canActivate:[Ke]},{path:"materia-prima",component:Mv,canActivate:[Ke],children:[]},{path:"materia-prima/:id",component:wd,canActivate:[Ke]},{path:"materia-prima/new",component:wd,canActivate:[Ke]},{path:"fam-prod",component:Sv,canActivate:[Ke],children:[]},{path:"fam-prod/:id",component:Cd,canActivate:[Ke]},{path:"fam-prod/new",component:Cd,canActivate:[Ke]},{path:"**",component:Ev}],xv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=Ie({imports:[yd.forRoot(Z_),yd]});let t=e;return t})();var Tv=(()=>{let e=class e{constructor(n,i){this.authService=n,this.router=i}logout(){this.authService.logout(),this.router.navigate(["/login"])}};e.\u0275fac=function(i){return new(i||e)(D(Pt),D(Q))},e.\u0275cmp=se({type:e,selectors:[["app-header"]],decls:7,vars:0,consts:[[1,"layout-header"],[1,"layout-header-content"],["src","assets/img/logo.png","width","49","height","35",1,"logo",2,"float","left"],[2,"text-align","center"],[1,"btn","btn-success","sombra",2,"text-shadow","5px",3,"click"]],template:function(i,o){i&1&&(g(0,"div",0)(1,"div",1),Z(2,"img",2),g(3,"h1",3),y(4,"Plataforma de gesti\xF3n de La Justa"),p(),g(5,"button",4),j("click",function(){return o.logout()}),y(6,"Salir"),p()()())},styles:[".layout-header[_ngcontent-%COMP%]{height:75px;transition:width .2s;position:fixed;top:0;left:0;right:0;z-index:3;box-shadow:1px 3px 5px #000;background-color:#adff2f}.layout-header[_ngcontent-%COMP%]   .layout-header-content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center;height:100%;padding:0 .75rem;background-color:var(--primary-color);box-shadow:25px}.sombra[_ngcontent-%COMP%]{box-shadow:1px 3px 5px #000;z-index:5}.logo[_ngcontent-%COMP%]{height:100%;width:auto}"]});let t=e;return t})();var Av=(()=>{let e=class e{constructor(){this.title="TrabajoFinalJava",this.aprendiz="persona"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=se({type:e,selectors:[["app-root"]],decls:5,vars:0,consts:[[1,"layout-wrapper"],[1,"layout-main"],[1,"layout-content-wrapper"]],template:function(i,o){i&1&&(g(0,"div",0)(1,"div",1),Z(2,"app-header"),g(3,"div",2),Z(4,"router-outlet"),p()()())},dependencies:[dd,Tv],styles:[".layout-main[_ngcontent-%COMP%]{margin-left:60px;padding-top:75px;transition:margin-left .2s}.layout-content-wrapper[_ngcontent-%COMP%]{background-color:green}"]});let t=e;return t})();var bd=(()=>{let e=class e{constructor(n){this.http=n,this.usuarios=[],this.usuarioUrl="http://localhost:8080/practica-jpa/rest/usuario",this.httpOptions={headers:new ue({"Content-Type":"application/json"})}}setUsuarios(n){this.usuarios=n}getUsuarios(){return this.http.get(this.usuarioUrl)}getUsuario(n){let i=this.usuarioUrl+"/"+n;return console.log(i),this.http.get(i)}updateUsuario(n){return this.http.put(this.usuarioUrl,n,this.httpOptions)}addUsuario(n){return this.http.post(this.usuarioUrl,n,this.httpOptions)}deleteUsuario(n){let i=this.usuarioUrl+"/"+n;return this.http.delete(i,this.httpOptions)}};e.\u0275fac=function(i){return new(i||e)(C(We))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Nv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e,bootstrap:[Av]}),e.\u0275inj=Ie({providers:[ei,ti,ni,Pt,Ke,bd,Pg()],imports:[zg,Ks,xv,xm,Sm]});let t=e;return t})();Hg().bootstrapModule(Nv,{ngZoneEventCoalescing:!0}).catch(t=>console.error(t));