diff --git a/docs/index.html b/docs/index.html index d4604c2..cbf6eac 100644 --- a/docs/index.html +++ b/docs/index.html @@ -11,5 +11,5 @@ - + diff --git a/docs/main.4ca6ee44694dd467.js b/docs/main.13fce859a356f866.js similarity index 89% rename from docs/main.4ca6ee44694dd467.js rename to docs/main.13fce859a356f866.js index 9c2ba12..e3c7dd8 100644 --- a/docs/main.4ca6ee44694dd467.js +++ b/docs/main.13fce859a356f866.js @@ -1 +1 @@ -"use strict";(self.webpackChunkFiJo_App=self.webpackChunkFiJo_App||[]).push([[179],{188:()=>{function oe(t){return"function"==typeof t}function rs(t){const i=t(n=>{Error.call(n),n.stack=(new Error).stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}const rl=rs(t=>function(i){t(this),this.message=i?`${i.length} errors occurred during unsubscription:\n${i.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=i});function Pr(t,e){if(t){const i=t.indexOf(e);0<=i&&t.splice(i,1)}}class Pe{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(const o of i)o.remove(this);else i.remove(this);const{initialTeardown:n}=this;if(oe(n))try{n()}catch(o){e=o instanceof rl?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{s_(o)}catch(s){e=e??[],s instanceof rl?e=[...e,...s.errors]:e.push(s)}}if(e)throw new rl(e)}}add(e){var i;if(e&&e!==this)if(this.closed)s_(e);else{if(e instanceof Pe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(i=this._finalizers)&&void 0!==i?i:[]).push(e)}}_hasParent(e){const{_parentage:i}=this;return i===e||Array.isArray(i)&&i.includes(e)}_addParent(e){const{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(e),i):i?[i,e]:e}_removeParent(e){const{_parentage:i}=this;i===e?this._parentage=null:Array.isArray(i)&&Pr(i,e)}remove(e){const{_finalizers:i}=this;i&&Pr(i,e),e instanceof Pe&&e._removeParent(this)}}Pe.EMPTY=(()=>{const t=new Pe;return t.closed=!0,t})();const r_=Pe.EMPTY;function o_(t){return t instanceof Pe||t&&"closed"in t&&oe(t.remove)&&oe(t.add)&&oe(t.unsubscribe)}function s_(t){oe(t)?t():t.unsubscribe()}const Ki={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ol={setTimeout(t,e,...i){const{delegate:n}=ol;return n?.setTimeout?n.setTimeout(t,e,...i):setTimeout(t,e,...i)},clearTimeout(t){const{delegate:e}=ol;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function a_(t){ol.setTimeout(()=>{const{onUnhandledError:e}=Ki;if(!e)throw t;e(t)})}function sl(){}const O1=Ed("C",void 0,void 0);function Ed(t,e,i){return{kind:t,value:e,error:i}}let Qi=null;function al(t){if(Ki.useDeprecatedSynchronousErrorHandling){const e=!Qi;if(e&&(Qi={errorThrown:!1,error:null}),t(),e){const{errorThrown:i,error:n}=Qi;if(Qi=null,i)throw n}}else t()}class xd extends Pe{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,o_(e)&&e.add(this)):this.destination=B1}static create(e,i,n){return new os(e,i,n)}next(e){this.isStopped?Md(function P1(t){return Ed("N",t,void 0)}(e),this):this._next(e)}error(e){this.isStopped?Md(function k1(t){return Ed("E",void 0,t)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Md(O1,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()}}}const F1=Function.prototype.bind;function Sd(t,e){return F1.call(t,e)}class L1{constructor(e){this.partialObserver=e}next(e){const{partialObserver:i}=this;if(i.next)try{i.next(e)}catch(n){ll(n)}}error(e){const{partialObserver:i}=this;if(i.error)try{i.error(e)}catch(n){ll(n)}else ll(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(i){ll(i)}}}class os extends xd{constructor(e,i,n){let r;if(super(),oe(e)||!e)r={next:e??void 0,error:i??void 0,complete:n??void 0};else{let o;this&&Ki.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&Sd(e.next,o),error:e.error&&Sd(e.error,o),complete:e.complete&&Sd(e.complete,o)}):r=e}this.destination=new L1(r)}}function ll(t){Ki.useDeprecatedSynchronousErrorHandling?function N1(t){Ki.useDeprecatedSynchronousErrorHandling&&Qi&&(Qi.errorThrown=!0,Qi.error=t)}(t):a_(t)}function Md(t,e){const{onStoppedNotification:i}=Ki;i&&ol.setTimeout(()=>i(t,e))}const B1={closed:!0,next:sl,error:function V1(t){throw t},complete:sl},Ad="function"==typeof Symbol&&Symbol.observable||"@@observable";function wi(t){return t}function l_(t){return 0===t.length?wi:1===t.length?t[0]:function(i){return t.reduce((n,r)=>r(n),i)}}let Te=(()=>{class t{constructor(i){i&&(this._subscribe=i)}lift(i){const n=new t;return n.source=this,n.operator=i,n}subscribe(i,n,r){const o=function U1(t){return t&&t instanceof xd||function H1(t){return t&&oe(t.next)&&oe(t.error)&&oe(t.complete)}(t)&&o_(t)}(i)?i:new os(i,n,r);return al(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return new(n=c_(n))((r,o)=>{const s=new os({next:a=>{try{i(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(i){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(i)}[Ad](){return this}pipe(...i){return l_(i)(this)}toPromise(i){return new(i=c_(i))((n,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function c_(t){var e;return null!==(e=t??Ki.Promise)&&void 0!==e?e:Promise}const $1=rs(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let q=(()=>{class t extends Te{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){const n=new u_(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new $1}next(i){al(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const n of this.currentObservers)n.next(i)}})}error(i){al(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;const{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){al(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return(null===(i=this.observers)||void 0===i?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){const{hasError:n,isStopped:r,observers:o}=this;return n||r?r_:(this.currentObservers=null,o.push(i),new Pe(()=>{this.currentObservers=null,Pr(o,i)}))}_checkFinalizedStatuses(i){const{hasError:n,thrownError:r,isStopped:o}=this;n?i.error(r):o&&i.complete()}asObservable(){const i=new Te;return i.source=this,i}}return t.create=(e,i)=>new u_(e,i),t})();class u_ extends q{constructor(e,i){super(),this.destination=e,this.source=i}next(e){var i,n;null===(n=null===(i=this.destination)||void 0===i?void 0:i.next)||void 0===n||n.call(i,e)}error(e){var i,n;null===(n=null===(i=this.destination)||void 0===i?void 0:i.error)||void 0===n||n.call(i,e)}complete(){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===i||i.call(e)}_subscribe(e){var i,n;return null!==(n=null===(i=this.source)||void 0===i?void 0:i.subscribe(e))&&void 0!==n?n:r_}}class xt extends q{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const i=super._subscribe(e);return!i.closed&&e.next(this._value),i}getValue(){const{hasError:e,thrownError:i,_value:n}=this;if(e)throw i;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}}function d_(t){return oe(t?.lift)}function Be(t){return e=>{if(d_(e))return e.lift(function(i){try{return t(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Oe(t,e,i,n,r){return new z1(t,e,i,n,r)}class z1 extends xd{constructor(e,i,n,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=i?function(a){try{i(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}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()){const{closed:i}=this;super.unsubscribe(),!i&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function se(t,e){return Be((i,n)=>{let r=0;i.subscribe(Oe(n,o=>{n.next(t.call(e,o,r++))}))})}function Ci(t){return this instanceof Ci?(this.v=t,this):new Ci(t)}function m_(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,e=t[Symbol.asyncIterator];return e?e.call(t):(t=function Od(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)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.")}(t),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(o){i[o]=t[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=t[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const kd=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function g_(t){return oe(t?.then)}function __(t){return oe(t[Ad])}function v_(t){return Symbol.asyncIterator&&oe(t?.[Symbol.asyncIterator])}function b_(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const y_=function hA(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function w_(t){return oe(t?.[y_])}function C_(t){return function p_(t,e,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,n=i.apply(t,e||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){n[h]&&(r[h]=function(f){return new Promise(function(p,v){o.push([h,f,p,v])>1||a(h,f)})})}function a(h,f){try{!function l(h){h.value instanceof Ci?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(n[h](f))}catch(p){d(o[0][3],p)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,f){h(f),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const i=t.getReader();try{for(;;){const{value:n,done:r}=yield Ci(i.read());if(r)return yield Ci(void 0);yield yield Ci(n)}}finally{i.releaseLock()}})}function D_(t){return oe(t?.getReader)}function ut(t){if(t instanceof Te)return t;if(null!=t){if(__(t))return function fA(t){return new Te(e=>{const i=t[Ad]();if(oe(i.subscribe))return i.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(kd(t))return function pA(t){return new Te(e=>{for(let i=0;i{t.then(i=>{e.closed||(e.next(i),e.complete())},i=>e.error(i)).then(null,a_)})}(t);if(v_(t))return E_(t);if(w_(t))return function gA(t){return new Te(e=>{for(const i of t)if(e.next(i),e.closed)return;e.complete()})}(t);if(D_(t))return function _A(t){return E_(C_(t))}(t)}throw b_(t)}function E_(t){return new Te(e=>{(function vA(t,e){var i,n,r,o;return function h_(t,e,i,n){return new(i||(i=Promise))(function(o,s){function a(u){try{c(n.next(u))}catch(d){s(d)}}function l(u){try{c(n.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof i?o:new i(function(s){s(o)})}(u.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}(this,void 0,void 0,function*(){try{for(i=m_(t);!(n=yield i.next()).done;)if(e.next(n.value),e.closed)return}catch(s){r={error:s}}finally{try{n&&!n.done&&(o=i.return)&&(yield o.call(i))}finally{if(r)throw r.error}}e.complete()})})(t,e).catch(i=>e.error(i))})}function Kn(t,e,i,n=0,r=!1){const o=e.schedule(function(){i(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!r)return o}function Ze(t,e,i=1/0){return oe(e)?Ze((n,r)=>se((o,s)=>e(n,o,r,s))(ut(t(n,r))),i):("number"==typeof e&&(i=e),Be((n,r)=>function bA(t,e,i,n,r,o,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&e.complete()},f=v=>c{o&&e.next(v),c++;let b=!1;ut(i(v,u++)).subscribe(Oe(e,E=>{r?.(E),o?f(E):e.next(E)},()=>{b=!0},void 0,()=>{if(b)try{for(c--;l.length&&cp(E)):p(E)}h()}catch(E){e.error(E)}}))};return t.subscribe(Oe(e,f,()=>{d=!0,h()})),()=>{a?.()}}(n,r,t,i)))}function Nr(t=1/0){return Ze(wi,t)}const dn=new Te(t=>t.complete());function x_(t){return t&&oe(t.schedule)}function Pd(t){return t[t.length-1]}function S_(t){return oe(Pd(t))?t.pop():void 0}function ss(t){return x_(Pd(t))?t.pop():void 0}function M_(t,e=0){return Be((i,n)=>{i.subscribe(Oe(n,r=>Kn(n,t,()=>n.next(r),e),()=>Kn(n,t,()=>n.complete(),e),r=>Kn(n,t,()=>n.error(r),e)))})}function A_(t,e=0){return Be((i,n)=>{n.add(t.schedule(()=>i.subscribe(n),e))})}function I_(t,e){if(!t)throw new Error("Iterable cannot be null");return new Te(i=>{Kn(i,e,()=>{const n=t[Symbol.asyncIterator]();Kn(i,e,()=>{n.next().then(r=>{r.done?i.complete():i.next(r.value)})},0,!0)})})}function Ke(t,e){return e?function MA(t,e){if(null!=t){if(__(t))return function CA(t,e){return ut(t).pipe(A_(e),M_(e))}(t,e);if(kd(t))return function EA(t,e){return new Te(i=>{let n=0;return e.schedule(function(){n===t.length?i.complete():(i.next(t[n++]),i.closed||this.schedule())})})}(t,e);if(g_(t))return function DA(t,e){return ut(t).pipe(A_(e),M_(e))}(t,e);if(v_(t))return I_(t,e);if(w_(t))return function xA(t,e){return new Te(i=>{let n;return Kn(i,e,()=>{n=t[y_](),Kn(i,e,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(s){return void i.error(s)}o?i.complete():i.next(r)},0,!0)}),()=>oe(n?.return)&&n.return()})}(t,e);if(D_(t))return function SA(t,e){return I_(C_(t),e)}(t,e)}throw b_(t)}(t,e):ut(t)}function Xi(...t){const e=ss(t),i=function wA(t,e){return"number"==typeof Pd(t)?t.pop():e}(t,1/0),n=t;return n.length?1===n.length?ut(n[0]):Nr(i)(Ke(n,e)):dn}function L(...t){return Ke(t,ss(t))}function T_(t={}){const{connector:e=(()=>new q),resetOnError:i=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,u=d=!1},p=()=>{const v=s;f(),v?.unsubscribe()};return Be((v,b)=>{c++,!d&&!u&&h();const E=l=l??e();b.add(()=>{c--,0===c&&!d&&!u&&(a=Nd(p,r))}),E.subscribe(b),!s&&c>0&&(s=new os({next:y=>E.next(y),error:y=>{d=!0,h(),a=Nd(f,i,y),E.error(y)},complete:()=>{u=!0,h(),a=Nd(f,n),E.complete()}}),ut(v).subscribe(s))})(o)}}function Nd(t,e,...i){if(!0===e)return void t();if(!1===e)return;const n=new os({next:()=>{n.unsubscribe(),t()}});return ut(e(...i)).subscribe(n)}function Vt(t,e){return Be((i,n)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&n.complete();i.subscribe(Oe(n,l=>{r?.unsubscribe();let c=0;const u=o++;ut(t(l,u)).subscribe(r=Oe(n,d=>n.next(e?e(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Fd(t,e=wi){return t=t??AA,Be((i,n)=>{let r,o=!0;i.subscribe(Oe(n,s=>{const a=e(s);(o||!t(r,a))&&(o=!1,r=a,n.next(s))}))})}function AA(t,e){return t===e}function _e(t){for(let e in t)if(t[e]===_e)return e;throw Error("Could not find renamed property on target object.")}function cl(t,e){for(const i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function Qe(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Qe).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const i=e.indexOf("\n");return-1===i?e:e.substring(0,i)}function Ld(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const IA=_e({__forward_ref__:_e});function Se(t){return t.__forward_ref__=Se,t.toString=function(){return Qe(this())},t}function z(t){return Vd(t)?t():t}function Vd(t){return"function"==typeof t&&t.hasOwnProperty(IA)&&t.__forward_ref__===Se}function Bd(t){return t&&!!t.\u0275providers}const R_="https://g.co/ng/security#xss";class x extends Error{constructor(e,i){super(function ul(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}(e,i)),this.code=e}}function W(t){return"string"==typeof t?t:null==t?"":String(t)}function jd(t,e){throw new x(-201,!1)}function Xt(t,e){null==t&&function H(t,e,i,n){throw new Error(`ASSERTION ERROR: ${t}`+(null==n?"":` [Expected=> ${i} ${n} ${e} <=Actual]`))}(e,t,null,"!=")}function A(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ae(t){return{providers:t.providers||[],imports:t.imports||[]}}function dl(t){return O_(t,fl)||O_(t,k_)}function O_(t,e){return t.hasOwnProperty(e)?t[e]:null}function hl(t){return t&&(t.hasOwnProperty(Hd)||t.hasOwnProperty(LA))?t[Hd]:null}const fl=_e({\u0275prov:_e}),Hd=_e({\u0275inj:_e}),k_=_e({ngInjectableDef:_e}),LA=_e({ngInjectorDef:_e});var te=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}(te||{});let Ud;function St(t){const e=Ud;return Ud=t,e}function N_(t,e,i){const n=dl(t);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:i&te.Optional?null:void 0!==e?e:void jd(Qe(t))}const De=globalThis,as={},Wd="__NG_DI_FLAG__",pl="ngTempTokenPath",jA=/\n/gm,L_="__source";let Fr;function Di(t){const e=Fr;return Fr=t,e}function $A(t,e=te.Default){if(void 0===Fr)throw new x(-203,!1);return null===Fr?N_(t,void 0,e):Fr.get(t,e&te.Optional?null:void 0,e)}function w(t,e=te.Default){return(function P_(){return Ud}()||$A)(z(t),e)}function T(t,e=te.Default){return w(t,ml(e))}function ml(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Yd(t){const e=[];for(let i=0;ie){s=o-1;break}}}for(;oo?"":r[d+1].toLowerCase();const f=8&n?h:null;if(f&&-1!==H_(f,c,0)||2&n&&c!==h){if(hn(n))return!1;s=!0}}}}else{if(!s&&!hn(n)&&!hn(l))return!1;if(s&&hn(l))continue;s=!1,n=l|1&n}}return hn(n)||s}function hn(t){return 0==(1&t)}function KA(t,e,i,n){if(null===e)return-1;let r=0;if(n||!i){let o=!1;for(;r-1)for(i++;i0?'="'+a+'"':"")+"]"}else 8&n?r+="."+s:4&n&&(r+=" "+s);else""!==r&&!hn(s)&&(e+=Y_(o,r),r=""),n=s,o=o||!hn(n);i++}return""!==r&&(e+=Y_(o,r)),e}function fe(t){return Qn(()=>{const e=K_(t),i={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===gl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Jt.Emulated,styles:t.styles||he,_:null,schemas:t.schemas||null,tView:null,id:""};Q_(i);const n=t.dependencies;return i.directiveDefs=vl(n,!1),i.pipeDefs=vl(n,!0),i.id=function cI(t){let e=0;const i=[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(const r of i)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,"c"+e}(i),i})}function oI(t){return le(t)||ot(t)}function sI(t){return null!==t}function ue(t){return Qn(()=>({type:t.type,bootstrap:t.bootstrap||he,declarations:t.declarations||he,imports:t.imports||he,exports:t.exports||he,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Z_(t,e){if(null==t)return An;const i={};for(const n in t)if(t.hasOwnProperty(n)){let r=t[n],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),i[r]=n,e&&(e[r]=o)}return i}function N(t){return Qn(()=>{const e=K_(t);return Q_(e),e})}function gt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function le(t){return t[_l]||null}function ot(t){return t[Zd]||null}function _t(t){return t[Kd]||null}function jt(t,e){const i=t[B_]||null;if(!i&&!0===e)throw new Error(`Type ${Qe(t)} does not have '\u0275mod' property.`);return i}function K_(t){const 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||An,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||he,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Z_(t.inputs,e),outputs:Z_(t.outputs)}}function Q_(t){t.features?.forEach(e=>e(t))}function vl(t,e){if(!t)return null;const i=e?_t:oI;return()=>("function"==typeof t?t():t).map(n=>i(n)).filter(sI)}const He=0,P=1,Z=2,ke=3,fn=4,ds=5,dt=6,Vr=7,Ue=8,Ei=9,Br=10,Y=11,hs=12,X_=13,jr=14,$e=15,fs=16,Hr=17,In=18,ps=19,J_=20,xi=21,Jn=22,bl=23,yl=24,ie=25,Xd=1,ev=2,Tn=7,Ur=9,st=11;function Mt(t){return Array.isArray(t)&&"object"==typeof t[Xd]}function At(t){return Array.isArray(t)&&!0===t[Xd]}function Jd(t){return 0!=(4&t.flags)}function er(t){return t.componentOffset>-1}function Cl(t){return 1==(1&t.flags)}function pn(t){return!!t.template}function eh(t){return 0!=(512&t[Z])}function tr(t,e){return t.hasOwnProperty(Xn)?t[Xn]:null}let mI=De.WeakRef??class pI{constructor(e){this.ref=e}deref(){return this.ref}},_I=0,Rn=null,Dl=!1;function tt(t){const e=Rn;return Rn=t,e}class ov{constructor(){this.id=_I++,this.ref=function gI(t){return new mI(t)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[e,i]of this.producers){const n=i.producerNode.deref();if(null!=n&&i.atTrackingVersion===this.trackingVersion){if(n.producerPollStatus(i.seenValueVersion))return!0}else this.producers.delete(e),n?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const e=Dl;Dl=!0;try{for(const[i,n]of this.consumers){const r=n.consumerNode.deref();null!=r&&r.trackingVersion===n.atTrackingVersion?r.onConsumerDependencyMayHaveChanged():(this.consumers.delete(i),r?.producers.delete(this.id))}}finally{Dl=e}}producerAccessed(){if(Dl)throw new Error("");if(null===Rn)return;let e=Rn.producers.get(this.id);void 0===e?(e={consumerNode:Rn.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Rn.trackingVersion},Rn.producers.set(this.id,e),this.consumers.set(Rn.id,e)):(e.seenValueVersion=this.valueVersion,e.atTrackingVersion=Rn.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Rn?.consumerAllowSignalWrites}producerPollStatus(e){return this.valueVersion!==e||(this.onProducerUpdateValueVersion(),this.valueVersion!==e)}}let sv=null;const lv=()=>{};class wI extends ov{constructor(e,i,n){super(),this.watch=e,this.schedule=i,this.dirty=!1,this.cleanupFn=lv,this.registerOnCleanup=r=>{this.cleanupFn=r},this.consumerAllowSignalWrites=n}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const e=tt(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=lv,this.watch(this.registerOnCleanup)}finally{tt(e)}}cleanup(){this.cleanupFn()}}class CI{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}}function It(){return cv}function cv(t){return t.type.prototype.ngOnChanges&&(t.setInput=EI),DI}function DI(){const t=dv(this),e=t?.current;if(e){const i=t.previous;if(i===An)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function EI(t,e,i,n){const r=this.declaredInputs[i],o=dv(t)||function xI(t,e){return t[uv]=e}(t,{previous:An,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new CI(l&&l.currentValue,e,a===An),t[n]=e}It.ngInherit=!0;const uv="__ngSimpleChanges__";function dv(t){return t[uv]||null}const On=function(t,e,i){},hv="svg";function Me(t){for(;Array.isArray(t);)t=t[He];return t}function Sl(t,e){return Me(e[t])}function Tt(t,e){return Me(e[t.index])}function pv(t,e){return t.data[e]}function $r(t,e){return t[e]}function Ht(t,e){const i=e[t];return Mt(i)?i:i[He]}function Si(t,e){return null==e?null:t[e]}function mv(t){t[Hr]=0}function OI(t){1024&t[Z]||(t[Z]|=1024,_v(t,1))}function gv(t){1024&t[Z]&&(t[Z]&=-1025,_v(t,-1))}function _v(t,e){let i=t[ke];if(null===i)return;i[ds]+=e;let n=i;for(i=i[ke];null!==i&&(1===e&&1===n[ds]||-1===e&&0===n[ds]);)i[ds]+=e,n=i,i=i[ke]}const U={lFrame:Av(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function yv(){return U.bindingsEnabled}function zr(){return null!==U.skipHydrationRootTNode}function S(){return U.lFrame.lView}function ce(){return U.lFrame.tView}function ei(t){return U.lFrame.contextLView=t,t[Ue]}function ti(t){return U.lFrame.contextLView=null,t}function at(){let t=wv();for(;null!==t&&64===t.type;)t=t.parent;return t}function wv(){return U.lFrame.currentTNode}function kn(t,e){const i=U.lFrame;i.currentTNode=t,i.isParent=e}function sh(){return U.lFrame.isParent}function ah(){U.lFrame.isParent=!1}function vt(){const t=U.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Gr(){return U.lFrame.bindingIndex++}function ii(t){const e=U.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function zI(t,e){const i=U.lFrame;i.bindingIndex=i.bindingRootIndex=t,lh(e)}function lh(t){U.lFrame.currentDirectiveIndex=t}function ch(t){const e=U.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function xv(){return U.lFrame.currentQueryIndex}function uh(t){U.lFrame.currentQueryIndex=t}function qI(t){const e=t[P];return 2===e.type?e.declTNode:1===e.type?t[dt]:null}function Sv(t,e,i){if(i&te.SkipSelf){let r=e,o=t;for(;!(r=r.parent,null!==r||i&te.Host||(r=qI(o),null===r||(o=o[jr],10&r.type))););if(null===r)return!1;e=r,t=o}const n=U.lFrame=Mv();return n.currentTNode=e,n.lView=t,!0}function dh(t){const e=Mv(),i=t[P];U.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function Mv(){const t=U.lFrame,e=null===t?null:t.child;return null===e?Av(t):e}function Av(t){const 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 null!==t&&(t.child=e),e}function Iv(){const t=U.lFrame;return U.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Tv=Iv;function hh(){const t=Iv();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 bt(){return U.lFrame.selectedIndex}function nr(t){U.lFrame.selectedIndex=t}function Ne(){const t=U.lFrame;return pv(t.tView,t.selectedIndex)}function en(){U.lFrame.currentNamespace=hv}function _s(){!function KI(){U.lFrame.currentNamespace=null}()}let Ov=!0;function Ml(){return Ov}function Mi(t){Ov=t}function Al(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i=n)break}else e[l]<0&&(t[Hr]+=65536),(a>13>16&&(3&t[Z])===e&&(t[Z]+=8192,Pv(a,o)):Pv(a,o)}const qr=-1;class vs{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}}function mh(t){return t!==qr}function bs(t){return 32767&t}function ys(t,e){let i=function nT(t){return t>>16}(t),n=e;for(;i>0;)n=n[jr],i--;return n}let gh=!0;function Rl(t){const e=gh;return gh=t,e}const Nv=255,Fv=5;let iT=0;const Pn={};function Ol(t,e){const i=Lv(t,e);if(-1!==i)return i;const n=e[P];n.firstCreatePass&&(t.injectorIndex=e.length,_h(n.data,t),_h(e,null),_h(n.blueprint,null));const r=kl(t,e),o=t.injectorIndex;if(mh(r)){const s=bs(r),a=ys(r,e),l=a[P].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=r,o}function _h(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Lv(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function kl(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=0,n=null,r=e;for(;null!==r;){if(n=zv(r),null===n)return qr;if(i++,r=r[jr],-1!==n.injectorIndex)return n.injectorIndex|i<<16}return qr}function vh(t,e,i){!function rT(t,e,i){let n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(cs)&&(n=i[cs]),null==n&&(n=i[cs]=iT++);const r=n&Nv;e.data[t+(r>>Fv)]|=1<=0?e&Nv:cT:e}(i);if("function"==typeof o){if(!Sv(e,t,n))return n&te.Host?Vv(r,0,n):Bv(e,i,n,r);try{let s;if(s=o(n),null!=s||n&te.Optional)return s;jd()}finally{Tv()}}else if("number"==typeof o){let s=null,a=Lv(t,e),l=qr,c=n&te.Host?e[$e][dt]:null;for((-1===a||n&te.SkipSelf)&&(l=-1===a?kl(t,e):e[a+8],l!==qr&&$v(n,!1)?(s=e[P],a=bs(l),e=ys(l,e)):a=-1);-1!==a;){const u=e[P];if(Uv(o,a,u.data)){const d=sT(a,e,i,s,n,c);if(d!==Pn)return d}l=e[a+8],l!==qr&&$v(n,e[P].data[a+8]===c)&&Uv(o,a,e)?(s=u,a=bs(l),e=ys(l,e)):a=-1}}return r}function sT(t,e,i,n,r,o){const s=e[P],a=s.data[t+8],u=Pl(a,s,i,null==n?er(a)&&gh:n!=s&&0!=(3&a.type),r&te.Host&&o===a);return null!==u?ir(e,s,u,a):Pn}function Pl(t,e,i,n,r){const o=t.providerIndexes,s=e.data,a=1048575&o,l=t.directiveStart,u=o>>20,h=r?a+u:t.directiveEnd;for(let f=n?a:a+u;f=l&&p.type===i)return f}if(r){const f=s[l];if(f&&pn(f)&&f.type===i)return l}return null}function ir(t,e,i,n){let r=t[i];const o=e.data;if(function JI(t){return t instanceof vs}(r)){const s=r;s.resolving&&function TA(t,e){const i=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new x(-200,`Circular dependency in DI detected for ${t}${i}`)}(function ge(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():W(t)}(o[i]));const a=Rl(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?St(s.injectImpl):null;Sv(t,n,te.Default);try{r=t[i]=s.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&function QI(t,e,i){const{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(n){const s=cv(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}r&&(i.preOrderHooks??=[]).push(0-t,r),o&&((i.preOrderHooks??=[]).push(t,o),(i.preOrderCheckHooks??=[]).push(t,o))}(i,o[i],e)}finally{null!==c&&St(c),Rl(a),s.resolving=!1,Tv()}}return r}function Uv(t,e,i){return!!(i[e+(t>>Fv)]&1<{const e=t.prototype.constructor,i=e[Xn]||bh(e),n=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){const o=r[Xn]||bh(r);if(o&&o!==i)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function bh(t){return Vd(t)?()=>{const e=bh(z(t));return e&&e()}:tr(t)}function zv(t){const e=t[P],i=e.type;return 2===i?e.declTNode:1===i?t[dt]:null}function Cs(t){return function oT(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const i=t.attrs;if(i){const n=i.length;let r=0;for(;r{const n=function yh(t){return function(...i){if(t){const n=t(...i);for(const r in n)this[r]=n[r]}}}(e);function r(...o){if(this instanceof r)return n.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Yr)?l[Yr]:Object.defineProperty(l,Yr,{value:[]})[Yr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function Xr(t,e){t.forEach(i=>Array.isArray(i)?Xr(i,e):e(i))}function qv(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function Nl(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Es(t,e){const i=[];for(let n=0;n=0?t[1|n]=i:(n=~n,function _T(t,e,i,n){let r=t.length;if(r==e)t.push(i,n);else if(1===r)t.push(n,t[0]),t[0]=i;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=i,t[e+1]=n}}(t,n,e,i)),n}function wh(t,e){const i=Jr(t,e);if(i>=0)return t[1|i]}function Jr(t,e){return function Wv(t,e,i){let n=0,r=t.length>>i;for(;r!==n;){const o=n+(r-n>>1),s=t[o<e?r=o:n=o+1}return~(r<|^->||--!>|)/,jT="\u200b$1\u200b";const Sh=new Map;let HT=0;const Ah="__ngContext__";function ht(t,e){Mt(e)?(t[Ah]=e[ps],function $T(t){Sh.set(t[ps],t)}(e)):t[Ah]=e}let Ih;function Th(t,e){return Ih(t,e)}function Ms(t){const e=t[ke];return At(e)?e[ke]:e}function fb(t){return mb(t[hs])}function pb(t){return mb(t[fn])}function mb(t){for(;null!==t&&!At(t);)t=t[fn];return t}function no(t,e,i,n,r){if(null!=n){let o,s=!1;At(n)?o=n:Mt(n)&&(s=!0,n=n[He]);const a=Me(n);0===t&&null!==i?null==r?bb(e,i,a):rr(e,i,a,r||null,!0):1===t&&null!==i?rr(e,i,a,r||null,!0):2===t?function Kl(t,e,i){const n=Yl(t,e);n&&function lR(t,e,i,n){t.removeChild(e,i,n)}(t,n,e,i)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function dR(t,e,i,n,r){const o=i[Tn];o!==Me(i)&&no(e,t,n,o,r);for(let a=st;ae.replace(BT,jT))}(e))}function ql(t,e,i){return t.createElement(e,i)}function _b(t,e){const i=t[Ur],n=i.indexOf(e);gv(e),i.splice(n,1)}function Wl(t,e){if(t.length<=st)return;const i=st+e,n=t[i];if(n){const r=n[fs];null!==r&&r!==t&&_b(r,n),e>0&&(t[i-1][fn]=n[fn]);const o=Nl(t,st+e);!function eR(t,e){Is(t,e,e[Y],2,null,null),e[He]=null,e[dt]=null}(n[P],n);const s=o[In];null!==s&&s.detachView(o[P]),n[ke]=null,n[fn]=null,n[Z]&=-129}return n}function Oh(t,e){if(!(256&e[Z])){const i=e[Y];e[bl]?.destroy(),e[yl]?.destroy(),i.destroyNode&&Is(t,e,i,3,null,null),function iR(t){let e=t[hs];if(!e)return kh(t[P],t);for(;e;){let i=null;if(Mt(e))i=e[hs];else{const n=e[st];n&&(i=n)}if(!i){for(;e&&!e[fn]&&e!==t;)Mt(e)&&kh(e[P],e),e=e[ke];null===e&&(e=t),Mt(e)&&kh(e[P],e),i=e&&e[fn]}e=i}}(e)}}function kh(t,e){if(!(256&e[Z])){e[Z]&=-129,e[Z]|=256,function aR(t,e){let i;if(null!=t&&null!=(i=t.destroyHooks))for(let n=0;n=0?n[s]():n[-s].unsubscribe(),o+=2}else i[o].call(n[i[o+1]]);null!==n&&(e[Vr]=null);const r=e[xi];if(null!==r){e[xi]=null;for(let o=0;o-1){const{encapsulation:o}=t.data[n.directiveStart+r];if(o===Jt.None||o===Jt.Emulated)return null}return Tt(n,i)}}(t,e.parent,i)}function rr(t,e,i,n,r){t.insertBefore(e,i,n,r)}function bb(t,e,i){t.appendChild(e,i)}function yb(t,e,i,n,r){null!==n?rr(t,e,i,n,r):bb(t,e,i)}function Yl(t,e){return t.parentNode(e)}function wb(t,e,i){return Db(t,e,i)}let Nh,Bh,Xl,Db=function Cb(t,e,i){return 40&t.type?Tt(t,i):null};function Zl(t,e,i,n){const r=Ph(t,n,e),o=e[Y],a=wb(n.parent||e[dt],n,e);if(null!=r)if(Array.isArray(i))for(let l=0;lt,createScript:t=>t,createScriptURL:t=>t})}catch{}return Xl}()?.createScriptURL(t)||t}class kb{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${R_})`}}function Ii(t){return t instanceof kb?t.changingThisBreaksApplicationSecurity:t}function Ts(t,e){const i=function DR(t){return t instanceof kb&&t.getTypeName()||null}(t);if(null!=i&&i!==e){if("ResourceURL"===i&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${R_})`)}return i===e}const MR=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var oo=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}(oo||{});function Os(t){const e=ks();return e?e.sanitize(oo.URL,t)||"":Ts(t,"URL")?Ii(t):function Hh(t){return(t=String(t)).match(MR)?t:"unsafe:"+t}(W(t))}function jb(t){const e=ks();if(e)return Ob(e.sanitize(oo.RESOURCE_URL,t)||"");if(Ts(t,"ResourceURL"))return Ob(Ii(t));throw new x(904,!1)}function ks(){const t=S();return t&&t[Br].sanitizer}class M{constructor(e,i){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=A({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ps=new M("ENVIRONMENT_INITIALIZER"),Ub=new M("INJECTOR",-1),$b=new M("INJECTOR_DEF_TYPES");class Gh{get(e,i=as){if(i===as){const n=new Error(`NullInjectorError: No provider for ${Qe(e)}!`);throw n.name="NullInjectorError",n}return i}}function jR(...t){return{\u0275providers:zb(0,t),\u0275fromNgModule:!0}}function zb(t,...e){const i=[],n=new Set;let r;const o=s=>{i.push(s)};return Xr(e,s=>{const a=s;ec(a,o,[],n)&&(r||=[],r.push(a))}),void 0!==r&&Gb(r,o),i}function Gb(t,e){for(let i=0;i{e(o,n)})}}function ec(t,e,i,n){if(!(t=z(t)))return!1;let r=null,o=hl(t);const s=!o&&le(t);if(o||s){if(s&&!s.standalone)return!1;r=t}else{const l=t.ngModule;if(o=hl(l),!o)return!1;r=l}const a=n.has(r);if(s){if(a)return!1;if(n.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)ec(c,e,i,n)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;n.add(r);try{Xr(o.imports,u=>{ec(u,e,i,n)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Gb(c,e)}if(!a){const c=tr(r)||(()=>new r);e({provide:r,useFactory:c,deps:he},r),e({provide:$b,useValue:r,multi:!0},r),e({provide:Ps,useValue:()=>w(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=t;Wh(l,u=>{e(u,c)})}}}return r!==t&&void 0!==t.providers}function Wh(t,e){for(let i of t)Bd(i)&&(i=i.\u0275providers),Array.isArray(i)?Wh(i,e):e(i)}const HR=_e({provide:String,useValue:_e});function Yh(t){return null!==t&&"object"==typeof t&&HR in t}function or(t){return"function"==typeof t}const Zh=new M("Set Injector scope."),tc={},$R={};let Kh;function nc(){return void 0===Kh&&(Kh=new Gh),Kh}class $t{}class ic extends $t{get destroyed(){return this._destroyed}constructor(e,i,n,r){super(),this.parent=i,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xh(e,s=>this.processProvider(s)),this.records.set(Ub,so(void 0,this)),r.has("environment")&&this.records.set($t,so(void 0,this));const o=this.records.get(Zh);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get($b.multi,he,te.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();const i=Di(this),n=St(void 0);try{return e()}finally{Di(i),St(n)}}get(e,i=as,n=te.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(j_))return e[j_](this);n=ml(n);const o=Di(this),s=St(void 0);try{if(!(n&te.SkipSelf)){let l=this.records.get(e);if(void 0===l){const c=function YR(t){return"function"==typeof t||"object"==typeof t&&t instanceof M}(e)&&dl(e);l=c&&this.injectableDefInScope(c)?so(Qh(e),tc):null,this.records.set(e,l)}if(null!=l)return this.hydrate(e,l)}return(n&te.Self?nc():this.parent).get(e,i=n&te.Optional&&i===as?null:i)}catch(a){if("NullInjectorError"===a.name){if((a[pl]=a[pl]||[]).unshift(Qe(e)),o)throw a;return function GA(t,e,i,n){const r=t[pl];throw e[L_]&&r.unshift(e[L_]),t.message=function qA(t,e,i,n=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let r=Qe(e);if(Array.isArray(e))r=e.map(Qe).join(" -> ");else if("object"==typeof e){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Qe(a)))}r=`{${o.join(", ")}}`}return`${i}${n?"("+n+")":""}[${r}]: ${t.replace(jA,"\n ")}`}("\n"+t.message,r,i,n),t.ngTokenPath=r,t[pl]=null,t}(a,e,"R3InjectorError",this.source)}throw a}finally{St(s),Di(o)}}resolveInjectorInitializers(){const e=Di(this),i=St(void 0);try{const r=this.get(Ps.multi,he,te.Self);for(const o of r)o()}finally{Di(e),St(i)}}toString(){const e=[],i=this.records;for(const n of i.keys())e.push(Qe(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(e){let i=or(e=z(e))?e:z(e&&e.provide);const n=function GR(t){return Yh(t)?so(void 0,t.useValue):so(Yb(t),tc)}(e);if(or(e)||!0!==e.multi)this.records.get(i);else{let r=this.records.get(i);r||(r=so(void 0,tc,!0),r.factory=()=>Yd(r.multi),this.records.set(i,r)),i=e,r.multi.push(e)}this.records.set(i,n)}hydrate(e,i){return i.value===tc&&(i.value=$R,i.value=i.factory()),"object"==typeof i.value&&i.value&&function WR(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(e){if(!e.providedIn)return!1;const i=z(e.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){const i=this._onDestroyHooks.indexOf(e);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Qh(t){const e=dl(t),i=null!==e?e.factory:tr(t);if(null!==i)return i;if(t instanceof M)throw new x(204,!1);if(t instanceof Function)return function zR(t){const e=t.length;if(e>0)throw Es(e,"?"),new x(204,!1);const i=function FA(t){return t&&(t[fl]||t[k_])||null}(t);return null!==i?()=>i.factory(t):()=>new t}(t);throw new x(204,!1)}function Yb(t,e,i){let n;if(or(t)){const r=z(t);return tr(r)||Qh(r)}if(Yh(t))n=()=>z(t.useValue);else if(function Wb(t){return!(!t||!t.useFactory)}(t))n=()=>t.useFactory(...Yd(t.deps||[]));else if(function qb(t){return!(!t||!t.useExisting)}(t))n=()=>w(z(t.useExisting));else{const r=z(t&&(t.useClass||t.provide));if(!function qR(t){return!!t.deps}(t))return tr(r)||Qh(r);n=()=>new r(...Yd(t.deps))}return n}function so(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function Xh(t,e){for(const i of t)Array.isArray(i)?Xh(i,e):i&&Bd(i)?Xh(i.\u0275providers,e):e(i)}const rc=new M("AppId",{providedIn:"root",factory:()=>ZR}),ZR="ng",Zb=new M("Platform Initializer"),Ti=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Nn=new M("AnimationModuleType"),Jh=new M("CSP nonce",{providedIn:"root",factory:()=>function ro(){if(void 0!==Bh)return Bh;if(typeof document<"u")return document;throw new x(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Qb=(t,e,i)=>null;function lf(t,e,i=!1){return Qb(t,e,i)}class oO{}class ey{}class aO{resolveComponentFactory(e){throw function sO(t){const e=Error(`No component factory found for ${Qe(t)}.`);return e.ngComponent=t,e}(e)}}let lo=(()=>{class e{}return e.NULL=new aO,e})();function lO(){return co(at(),S())}function co(t,e){return new ve(Tt(t,e))}let ve=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=lO,e})();function cO(t){return t instanceof ve?t.nativeElement:t}class Vs{}let oi=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function uO(){const t=S(),i=Ht(at().index,t);return(Mt(i)?i:t)[Y]}(),e})(),dO=(()=>{var t;class e{}return(t=e).\u0275prov=A({token:t,providedIn:"root",factory:()=>null}),e})();class sr{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const hO=new sr("16.2.2"),df={};function oy(t,e=null,i=null,n){const r=sy(t,e,i,n);return r.resolveInjectorInitializers(),r}function sy(t,e=null,i=null,n,r=new Set){const o=[i||he,jR(t)];return n=n||("object"==typeof t?void 0:Qe(t)),new ic(o,e||nc(),n||null,r)}let Fe=(()=>{var t;class e{static create(n,r){if(Array.isArray(n))return oy({name:""},r,n,"");{const o=n.name??"";return oy({name:o},n.parent,n.providers,o)}}}return(t=e).THROW_IF_NOT_FOUND=as,t.NULL=new Gh,t.\u0275prov=A({token:t,providedIn:"any",factory:()=>w(Ub)}),t.__NG_ELEMENT_ID__=-1,e})();function si(t){return t instanceof Function?t():t}let pf=(()=>{var t;class e{constructor(){this.callbacks=new Set,this.deferredCallbacks=new Set,this.renderDepth=0,this.runningCallbacks=!1}begin(){if(this.runningCallbacks)throw new x(102,!1);this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth)try{this.runningCallbacks=!0;for(const n of this.callbacks)n.invoke()}finally{this.runningCallbacks=!1;for(const n of this.deferredCallbacks)this.callbacks.add(n);this.deferredCallbacks.clear()}}register(n){(this.runningCallbacks?this.deferredCallbacks:this.callbacks).add(n)}unregister(n){this.callbacks.delete(n),this.deferredCallbacks.delete(n)}ngOnDestroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}return(t=e).\u0275prov=A({token:t,providedIn:"root",factory:()=>new t}),e})();function Bs(t){for(;t;){t[Z]|=64;const e=Ms(t);if(eh(t)&&!e)return t;t=e}return null}function mf(t){return t.ngOriginalError}class ar{constructor(){this._console=console}handleError(e){const i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&mf(e);for(;i&&mf(i);)i=mf(i);return i||null}}const dy=new M("",{providedIn:"root",factory:()=>!1});class my extends ov{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(e){this._lView=e}onConsumerDependencyMayHaveChanged(){Bs(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(e,i,n){const r=tt(this);this.trackingVersion++;try{e(i,n)}finally{tt(r)}}destroy(){this.trackingVersion++}}let dc=null;function gy(){return dc??=new my,dc}function _y(t,e){return t[e]??gy()}function vy(t,e){const i=gy();i.hasReadASignal&&(t[e]=dc,i.lView=t,dc=new my)}const K={};function D(t){by(ce(),S(),bt()+t,!1)}function by(t,e,i,n){if(!n)if(3==(3&e[Z])){const o=t.preOrderCheckHooks;null!==o&&Il(e,o,i)}else{const o=t.preOrderHooks;null!==o&&Tl(e,o,0,i)}nr(i)}function _(t,e=te.Default){const i=S();return null===i?w(t,e):jv(at(),i,z(t),e)}function hc(){throw new Error("invalid")}function fc(t,e,i,n,r,o,s,a,l,c,u){const d=e.blueprint.slice();return d[He]=r,d[Z]=140|n,(null!==c||t&&2048&t[Z])&&(d[Z]|=2048),mv(d),d[ke]=d[jr]=t,d[Ue]=i,d[Br]=s||t&&t[Br],d[Y]=a||t&&t[Y],d[Ei]=l||t&&t[Ei]||null,d[dt]=o,d[ps]=function UT(){return HT++}(),d[Jn]=u,d[J_]=c,d[$e]=2==e.type?t[$e]:d,d}function fo(t,e,i,n,r){let o=t.data[e];if(null===o)o=function gf(t,e,i,n,r){const o=wv(),s=sh(),l=t.data[e]=function NO(t,e,i,n,r,o){let s=e?e.injectorIndex:-1,a=0;return zr()&&(a|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,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}}(0,s?o:o&&o.parent,i,e,n,r);return null===t.firstChild&&(t.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(t,e,i,n,r),function $I(){return U.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=i,o.value=n,o.attrs=r;const s=function gs(){const t=U.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return kn(o,!0),o}function js(t,e,i,n){if(0===i)return-1;const r=e.length;for(let o=0;oie&&by(t,e,ie,!1),On(a?2:0,r),a)o.runInContext(i,n,r);else{const c=tt(null);try{i(n,r)}finally{tt(c)}}}finally{a&&null===e[bl]&&vy(e,bl),nr(s),On(a?3:1,r)}}function _f(t,e,i){if(Jd(e)){const n=tt(null);try{const o=e.directiveEnd;for(let s=e.directiveStart;snull;function Dy(t,e,i,n){for(let r in t)if(t.hasOwnProperty(r)){i=null===i?{}:i;const o=t[r];null===n?Ey(i,e,r,o):n.hasOwnProperty(r)&&Ey(i,e,n[r],o)}return i}function Ey(t,e,i,n){t.hasOwnProperty(i)?t[i].push(e,n):t[i]=[e,n]}function zt(t,e,i,n,r,o,s,a){const l=Tt(e,i);let u,c=e.inputs;!a&&null!=c&&(u=c[n])?(xf(t,i,u,n,r),er(e)&&function VO(t,e){const i=Ht(e,t);16&i[Z]||(i[Z]|=64)}(i,e.index)):3&e.type&&(n=function LO(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(n),r=null!=s?s(r,e.value||"",n):r,o.setProperty(l,n,r))}function wf(t,e,i,n){if(yv()){const r=null===n?null:{"":-1},o=function zO(t,e){const i=t.directiveRegistry;let n=null,r=null;if(i)for(let o=0;o0;){const i=t[--e];if("number"==typeof i&&i<0)return i}return 0})(s)!=a&&s.push(a),s.push(i,n,o)}}(t,e,n,js(t,i,r.hostVars,K),r)}function Fn(t,e,i,n,r,o){const s=Tt(t,e);!function Df(t,e,i,n,r,o,s){if(null==o)t.removeAttribute(e,r,i);else{const a=null==s?W(o):s(o,n||"",r);t.setAttribute(e,r,a,i)}}(e[Y],s,o,t.value,i,n,r)}function KO(t,e,i,n,r,o){const s=o[e];if(null!==s)for(let a=0;a{var t;class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const s=typeof Zone>"u"?null:Zone.current,a=new wI(n,u=>{this.all.has(u)&&this.queue.set(u,s)},o);let l;this.all.add(a),a.notify();const c=()=>{a.cleanup(),l?.(),this.all.delete(a),this.queue.delete(a)};return l=r?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return(t=e).\u0275prov=A({token:t,providedIn:"root",factory:()=>new t}),e})();function mc(t,e,i){let n=i?t.styles:null,r=i?t.classes:null,o=0;if(null!==e)for(let s=0;s0){Fy(t,1);const r=t[P].components;null!==r&&Vy(t,r,1)}}function Vy(t,e,i){for(let n=0;n-1&&(Wl(e,n),Nl(i,n))}this._attachedToViewContainer=!1}Oh(this._lView[P],this._lView)}onDestroy(e){!function vv(t,e){if(256==(256&t[Z]))throw new x(911,!1);null===t[xi]&&(t[xi]=[]),t[xi].push(e)}(this._lView,e)}markForCheck(){Bs(this._cdRefInjectingView||this._lView)}detach(){this._lView[Z]&=-129}reattach(){this._lView[Z]|=128}detectChanges(){gc(this._lView[P],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function nR(t,e){Is(t,e,e[Y],2,null,null)}(this._lView[P],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=e}}class ok extends Us{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view;gc(e[P],e,e[Ue],!1)}checkNoChanges(){}get context(){return null}}class By extends lo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const i=le(e);return new $s(i,this.ngModule)}}function jy(t){const e=[];for(let i in t)t.hasOwnProperty(i)&&e.push({propName:t[i],templateName:i});return e}class ak{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=ml(n);const r=this.injector.get(e,df,n);return r!==df||i===df?r:this.parentInjector.get(e,i,n)}}class $s extends ey{get inputs(){const e=this.componentDef,i=e.inputTransforms,n=jy(e.inputs);if(null!==i)for(const r of n)i.hasOwnProperty(r.propName)&&(r.transform=i[r.propName]);return n}get outputs(){return jy(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=function nI(t){return t.map(tI).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,r){let o=(r=r||this.ngModule)instanceof $t?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new ak(e,o):e,a=s.get(Vs,null);if(null===a)throw new x(407,!1);const d={rendererFactory:a,sanitizer:s.get(dO,null),effectManager:s.get(Py,null),afterRenderEventManager:s.get(pf,null)},h=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",p=n?function TO(t,e,i,n){const o=n.get(dy,!1)||i===Jt.ShadowDom,s=t.selectRootElement(e,o);return function RO(t){Cy(t)}(s),s}(h,n,this.componentDef.encapsulation,s):ql(h,f,function sk(t){const e=t.toLowerCase();return"svg"===e?hv:"math"===e?"math":null}(f)),E=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let y=null;null!==p&&(y=lf(p,s,!0));const O=yf(0,null,null,1,0,null,null,null,null,null,null),R=fc(null,O,null,E,null,null,d,h,s,null,y);let $,Ce;dh(R);try{const we=this.componentDef;let ct,Lt=null;we.findHostDirectiveDefs?(ct=[],Lt=new Map,we.findHostDirectiveDefs(we,ct,Lt),ct.push(we)):ct=[we];const Mn=function ck(t,e){const i=t[P],n=ie;return t[n]=e,fo(i,n,2,"#host",null)}(R,p),Cd=function uk(t,e,i,n,r,o,s){const a=r[P];!function dk(t,e,i,n){for(const r of t)e.mergedAttrs=us(e.mergedAttrs,r.hostAttrs);null!==e.mergedAttrs&&(mc(e,e.mergedAttrs,!0),null!==i&&Ib(n,i,e))}(n,t,e,s);let l=null;null!==e&&(l=lf(e,r[Ei]));const c=o.rendererFactory.createRenderer(e,i);let u=16;i.signals?u=4096:i.onPush&&(u=64);const d=fc(r,wy(i),null,u,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&Cf(a,t,n.length-1),pc(r,d),r[t.index]=d}(Mn,p,we,ct,R,d,h);Ce=pv(O,ie),p&&function fk(t,e,i,n){if(n)Qd(t,i,["ng-version",hO.full]);else{const{attrs:r,classes:o}=function iI(t){const e=[],i=[];let n=1,r=2;for(;n0&&Ab(t,i,o.join(" "))}}(h,we,p,n),void 0!==i&&function pk(t,e,i){const n=t.projection=[];for(let r=0;r=0;n--){const r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=us(r.hostAttrs,i=us(i,r.hostAttrs))}}(n)}function _c(t){return t===An?{}:t===he?[]:t}function _k(t,e){const i=t.viewQuery;t.viewQuery=i?(n,r)=>{e(n,r),i(n,r)}:e}function vk(t,e){const i=t.contentQueries;t.contentQueries=i?(n,r,o)=>{e(n,r,o),i(n,r,o)}:e}function bk(t,e){const i=t.hostBindings;t.hostBindings=i?(n,r)=>{e(n,r),i(n,r)}:e}function Gy(t){const e=t.inputConfig,i={};for(const n in e)if(e.hasOwnProperty(n)){const r=e[n];Array.isArray(r)&&r[2]&&(i[n]=r[2])}t.inputTransforms=i}function vc(t){return!!Mf(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Mf(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ln(t,e,i){return t[e]=i}function ft(t,e,i){return!Object.is(t[e],i)&&(t[e]=i,!0)}function lr(t,e,i,n){const r=ft(t,e,i);return ft(t,e+1,n)||r}function qe(t,e,i,n){const r=S();return ft(r,Gr(),e)&&(ce(),Fn(Ne(),r,t,e,i,n)),qe}function mo(t,e,i,n){return ft(t,Gr(),i)?e+W(i)+n:K}function go(t,e,i,n,r,o){const a=lr(t,function ni(){return U.lFrame.bindingIndex}(),i,r);return ii(2),a?e+W(i)+n+W(r)+o:K}function Q(t,e,i,n,r,o,s,a){const l=S(),c=ce(),u=t+ie,d=c.firstCreatePass?function zk(t,e,i,n,r,o,s,a,l){const c=e.consts,u=fo(e,t,4,s||null,Si(c,a));wf(e,i,u,Si(c,l)),Al(e,u);const d=u.tView=yf(2,u,n,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return null!==e.queries&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}(u,c,l,e,i,n,r,o,s):c.data[u];kn(d,!1);const h=o0(c,l,d,t);Ml()&&Zl(c,l,h,d),ht(h,l),pc(l,l[u]=Ay(h,l,h,d)),Cl(d)&&vf(c,l,d),null!=s&&bf(l,d,a)}let o0=function s0(t,e,i,n){return Mi(!0),e[Y].createComment("")};function mn(t){return $r(function UI(){return U.lFrame.contextLView}(),ie+t)}function k(t,e,i){const n=S();return ft(n,Gr(),e)&&zt(ce(),Ne(),n,t,e,n[Y],i,!1),k}function kf(t,e,i,n,r){const s=r?"class":"style";xf(t,i,e.inputs[s],s,n)}function m(t,e,i,n){const r=S(),o=ce(),s=ie+t,a=r[Y],l=o.firstCreatePass?function Yk(t,e,i,n,r,o){const s=e.consts,l=fo(e,t,2,n,Si(s,r));return wf(e,i,l,Si(s,o)),null!==l.attrs&&mc(l,l.attrs,!1),null!==l.mergedAttrs&&mc(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(s,o,r,e,i,n):o.data[s],c=a0(o,r,l,a,e,t);r[s]=c;const u=Cl(l);return kn(l,!0),Ib(a,c,l),32!=(32&l.flags)&&Ml()&&Zl(o,r,c,l),0===function PI(){return U.lFrame.elementDepthCount}()&&ht(c,r),function NI(){U.lFrame.elementDepthCount++}(),u&&(vf(o,r,l),_f(o,l,r)),null!==n&&bf(r,l),m}function g(){let t=at();sh()?ah():(t=t.parent,kn(t,!1));const e=t;(function LI(t){return U.skipHydrationRootTNode===t})(e)&&function HI(){U.skipHydrationRootTNode=null}(),function FI(){U.lFrame.elementDepthCount--}();const i=ce();return i.firstCreatePass&&(Al(i,t),Jd(t)&&i.queries.elementEnd(t)),null!=e.classesWithoutHost&&function eT(t){return 0!=(8&t.flags)}(e)&&kf(i,e,S(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function tT(t){return 0!=(16&t.flags)}(e)&&kf(i,e,S(),e.stylesWithoutHost,!1),g}function I(t,e,i,n){return m(t,e,i,n),g(),I}let a0=(t,e,i,n,r,o)=>(Mi(!0),ql(n,r,function Rv(){return U.lFrame.currentNamespace}()));function li(t,e,i){const n=S(),r=ce(),o=t+ie,s=r.firstCreatePass?function Qk(t,e,i,n,r){const o=e.consts,s=Si(o,n),a=fo(e,t,8,"ng-container",s);return null!==s&&mc(a,s,!0),wf(e,i,a,Si(o,r)),null!==e.queries&&e.queries.elementStart(e,a),a}(o,r,n,e,i):r.data[o];kn(s,!0);const a=l0(r,n,s,t);return n[o]=a,Ml()&&Zl(r,n,a,s),ht(a,n),Cl(s)&&(vf(r,n,s),_f(r,s,n)),null!=i&&bf(n,s),li}function ci(){let t=at();const e=ce();return sh()?ah():(t=t.parent,kn(t,!1)),e.firstCreatePass&&(Al(e,t),Jd(t)&&e.queries.elementEnd(t)),ci}function Pf(t,e,i){return li(t,e,i),ci(),Pf}let l0=(t,e,i,n)=>(Mi(!0),Rh(e[Y],""));function Do(){return S()}function Ys(t){return!!t&&"function"==typeof t.then}function c0(t){return!!t&&"function"==typeof t.subscribe}function B(t,e,i,n){const r=S(),o=ce(),s=at();return u0(o,r,r[Y],s,t,e,n),B}function Nf(t,e){const i=at(),n=S(),r=ce();return u0(r,n,Oy(ch(r.data),i,n),i,t,e),Nf}function u0(t,e,i,n,r,o,s){const a=Cl(n),c=t.firstCreatePass&&Ry(t),u=e[Ue],d=Ty(e);let h=!0;if(3&n.type||s){const v=Tt(n,e),b=s?s(v):v,E=d.length,y=s?R=>s(Me(R[n.index])):n.index;let O=null;if(!s&&a&&(O=function eP(t,e,i,n){const r=t.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(t,e,r,n.index)),null!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=o,O.__ngLastListenerFn__=o,h=!1;else{o=h0(n,e,u,o,!1);const R=i.listen(b,r,o);d.push(o,R),c&&c.push(r,y,E,E+1)}}else o=h0(n,e,u,o,!1);const f=n.outputs;let p;if(h&&null!==f&&(p=f[r])){const v=p.length;if(v)for(let b=0;b-1?Ht(t.index,e):e);let l=d0(e,i,n,s),c=o.__ngNextListenerFn__;for(;c;)l=d0(e,i,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function Le(t=1){return function WI(t){return(U.lFrame.contextLView=function YI(t,e){for(;t>0;)e=e[jr],t--;return e}(t,U.lFrame.contextLView))[Ue]}(t)}function tP(t,e){let i=null;const n=function QA(t){const e=t.attrs;if(null!=e){const i=e.indexOf(5);if(!(1&i))return e[i+1]}return null}(t);for(let r=0;r>17&32767}function Lf(t){return 2|t}function cr(t){return(131068&t)>>2}function Vf(t,e){return-131069&t|e<<2}function Bf(t){return 1|t}function w0(t,e,i,n,r){const o=t[i+1],s=null===e;let a=n?Ri(o):cr(o),l=!1;for(;0!==a&&(!1===l||s);){const u=t[a+1];aP(t[a],e)&&(l=!0,t[a+1]=n?Bf(u):Lf(u)),a=n?Ri(u):cr(u)}l&&(t[i+1]=n?Lf(o):Bf(o))}function aP(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Jr(t,e)>=0}function jf(t,e,i){return gn(t,e,i,!1),jf}function Ot(t,e){return gn(t,e,null,!0),Ot}function gn(t,e,i,n){const r=S(),o=ce(),s=ii(2);o.firstUpdatePass&&function I0(t,e,i,n){const r=t.data;if(null===r[i+1]){const o=r[bt()],s=function A0(t,e){return e>=t.expandoStartIndex}(t,i);(function k0(t,e){return 0!=(t.flags&(e?8:16))})(o,n)&&null===e&&!s&&(e=!1),e=function gP(t,e,i,n){const r=ch(t);let o=n?e.residualClasses:e.residualStyles;if(null===r)0===(n?e.classBindings:e.styleBindings)&&(i=Zs(i=Hf(null,t,e,i,n),e.attrs,n),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==r)if(i=Hf(r,t,e,i,n),null===o){let l=function _P(t,e,i){const n=i?e.classBindings:e.styleBindings;if(0!==cr(n))return t[Ri(n)]}(t,e,n);void 0!==l&&Array.isArray(l)&&(l=Hf(null,t,e,l[1],n),l=Zs(l,e.attrs,n),function vP(t,e,i,n){t[Ri(i?e.classBindings:e.styleBindings)]=n}(t,e,n,l))}else o=function bP(t,e,i){let n;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(c=!0)):u=i,r)if(0!==l){const h=Ri(t[a+1]);t[n+1]=Dc(h,a),0!==h&&(t[h+1]=Vf(t[h+1],n)),t[a+1]=function iP(t,e){return 131071&t|e<<17}(t[a+1],n)}else t[n+1]=Dc(a,0),0!==a&&(t[a+1]=Vf(t[a+1],n)),a=n;else t[n+1]=Dc(l,0),0===a?a=n:t[l+1]=Vf(t[l+1],n),l=n;c&&(t[n+1]=Lf(t[n+1])),w0(t,u,n,!0),w0(t,u,n,!1),function sP(t,e,i,n,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&Jr(o,e)>=0&&(i[n+1]=Bf(i[n+1]))}(e,u,t,n,o),s=Dc(a,l),o?e.classBindings=s:e.styleBindings=s}(r,o,e,i,s,n)}}(o,t,s,n),e!==K&&ft(r,s,e)&&function R0(t,e,i,n,r,o,s,a){if(!(3&e.type))return;const l=t.data,c=l[a+1],u=function rP(t){return 1==(1&t)}(c)?O0(l,e,i,r,cr(c),s):void 0;Ec(u)||(Ec(o)||function nP(t){return 2==(2&t)}(c)&&(o=O0(l,null,i,r,a,s)),function hR(t,e,i,n,r){if(e)r?t.addClass(i,n):t.removeClass(i,n);else{let o=-1===n.indexOf("-")?void 0:Ai.DashCase;null==r?t.removeStyle(i,n,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Ai.Important),t.setStyle(i,n,r,o))}}(n,s,Sl(bt(),i),r,o))}(o,o.data[bt()],r,r[Y],t,r[s+1]=function DP(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=Qe(Ii(t)))),t}(e,i),n,s)}function Hf(t,e,i,n,r){let o=null;const s=i.directiveEnd;let a=i.directiveStylingLast;for(-1===a?a=i.directiveStart:a++;a0;){const l=t[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=i[r+1];h===K&&(h=d?he:void 0);let f=d?wh(h,n):u===n?h:void 0;if(c&&!Ec(f)&&(f=wh(l,n)),Ec(f)&&(a=f,s))return a;const p=t[r+1];r=s?Ri(p):cr(p)}if(null!==e){let l=o?e.residualClasses:e.residualStyles;null!=l&&(a=wh(l,n))}return a}function Ec(t){return void 0!==t}function C(t,e=""){const i=S(),n=ce(),r=t+ie,o=n.firstCreatePass?fo(n,r,1,e,null):n.data[r],s=P0(n,i,o,e,t);i[r]=s,Ml()&&Zl(n,i,s,o),kn(o,!1)}let P0=(t,e,i,n,r)=>(Mi(!0),function Gl(t,e){return t.createText(e)}(e[Y],n));function ee(t){return Ee("",t,""),ee}function Ee(t,e,i){const n=S(),r=mo(n,t,e,i);return r!==K&&ai(n,bt(),r),Ee}function Ks(t,e,i,n,r){const o=S(),s=go(o,t,e,i,n,r);return s!==K&&ai(o,bt(),s),Ks}function xc(t,e,i){const n=S();return ft(n,Gr(),e)&&zt(ce(),Ne(),n,t,e,n[Y],i,!0),xc}function Uf(t,e,i){const n=S();if(ft(n,Gr(),e)){const o=ce(),s=Ne();zt(o,s,n,t,e,Oy(ch(o.data),s,n),i,!0)}return Uf}const ur=void 0;var GP=["en",[["a","p"],["AM","PM"],ur],[["AM","PM"],ur,ur],[["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"]],ur,[["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"]],ur,[["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}",ur,"{1} 'at' {0}",ur],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function zP(t){const i=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===n?1:5}];let So={};function wt(t){const e=function qP(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=X0(e);if(i)return i;const n=e.split("-")[0];if(i=X0(n),i)return i;if("en"===n)return GP;throw new x(701,!1)}function X0(t){return t in So||(So[t]=De.ng&&De.ng.common&&De.ng.common.locales&&De.ng.common.locales[t]),So[t]}var Ae=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}(Ae||{});const Mo="en-US";let J0=Mo;function Gf(t,e,i,n,r){if(t=z(t),Array.isArray(t))for(let o=0;o>20;if(or(t)||!t.multi){const f=new vs(c,r,_),p=Wf(l,e,r?u:u+h,d);-1===p?(vh(Ol(a,s),o,l),qf(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(f),s.push(f)):(i[p]=f,s[p]=f)}else{const f=Wf(l,e,u+h,d),p=Wf(l,e,u,u+h),b=p>=0&&i[p];if(r&&!b||!r&&!(f>=0&&i[f])){vh(Ol(a,s),o,l);const E=function zN(t,e,i,n,r){const o=new vs(t,i,_);return o.multi=[],o.index=e,o.componentProviders=0,Ew(o,r,n&&!i),o}(r?$N:UN,i.length,r,n,c);!r&&b&&(i[p].providerFactory=E),qf(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(E),s.push(E)}else qf(o,t,f>-1?f:p,Ew(i[r?p:f],c,!r&&n));!r&&n&&b&&i[p].componentProviders++}}}function qf(t,e,i,n){const r=or(e),o=function UR(t){return!!t.useClass}(e);if(r||o){const l=(o?z(e.useClass):e).prototype.ngOnDestroy;if(l){const c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const u=c.indexOf(i);-1===u?c.push(i,[n,l]):c[u+1].push(n,l)}else c.push(i,l)}}}function Ew(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function Wf(t,e,i,n){for(let r=i;r{i.providersResolver=(n,r)=>function HN(t,e,i){const n=ce();if(n.firstCreatePass){const r=pn(t);Gf(i,n.data,n.blueprint,r,!0),Gf(e,n.data,n.blueprint,r,!1)}}(n,r?r(t):t,e)}}class dr{}class xw{}class Zf extends dr{constructor(e,i,n){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new By(this);const r=jt(e);this._bootstrapComponents=si(r.bootstrap),this._r3Injector=sy(e,i,[{provide:dr,useValue:this},{provide:lo,useValue:this.componentFactoryResolver},...n],Qe(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Kf extends xw{constructor(e){super(),this.moduleType=e}create(e){return new Zf(this.moduleType,e,[])}}class Sw extends dr{constructor(e){super(),this.componentFactoryResolver=new By(this),this.instance=null;const i=new ic([...e.providers,{provide:dr,useValue:this},{provide:lo,useValue:this.componentFactoryResolver}],e.parent||nc(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function Qf(t,e,i=null){return new Sw({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}let WN=(()=>{var t;class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=zb(0,n.type),o=r.length>0?Qf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return(t=e).\u0275prov=A({token:t,providedIn:"environment",factory:()=>new t(w($t))}),e})();function Tc(t){t.getStandaloneInjector=e=>e.get(WN).getOrCreateStandaloneInjector(t)}function vn(t,e,i){const n=vt()+t,r=S();return r[n]===K?Ln(r,n,i?e.call(i):e()):function zs(t,e){return t[e]}(r,n)}function na(t,e,i,n){return kw(S(),vt(),t,e,i,n)}function ia(t,e,i,n,r){return Pw(S(),vt(),t,e,i,n,r)}function ra(t,e){const i=t[e];return i===K?void 0:i}function kw(t,e,i,n,r,o){const s=e+i;return ft(t,s,r)?Ln(t,s+1,o?n.call(o,r):n(r)):ra(t,s+1)}function Pw(t,e,i,n,r,o,s){const a=e+i;return lr(t,a,r,o)?Ln(t,a+2,s?n.call(s,r,o):n(r,o)):ra(t,a+2)}function ui(t,e){const i=ce();let n;const r=t+ie;i.firstCreatePass?(n=function cF(t,e){if(e)for(let i=e.length-1;i>=0;i--){const n=e[i];if(t===n.name)return n}}(e,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks??=[]).push(r,n.onDestroy)):n=i.data[r];const o=n.factory||(n.factory=tr(n.type)),a=St(_);try{const l=Rl(!1),c=o();return Rl(l),function Wk(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}(i,S(),r,c),c}finally{St(a)}}function hr(t,e,i){const n=t+ie,r=S(),o=$r(r,n);return oa(r,n)?kw(r,vt(),e,o.transform,i,o):o.transform(i)}function Jf(t,e,i,n){const r=t+ie,o=S(),s=$r(o,r);return oa(o,r)?Pw(o,vt(),e,s.transform,i,n,s):s.transform(i,n)}function oa(t,e){return t[P].data[e].pure}function ep(t){return e=>{setTimeout(t,void 0,e)}}const re=class fF extends q{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,i,n){let r=e,o=i||(()=>null),s=n;if(e&&"object"==typeof e){const l=e;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=ep(o),r&&(r=ep(r)),s&&(s=ep(s)));const a=super.subscribe({next:r,error:o,complete:s});return e instanceof Pe&&e.add(a),a}};function pF(){return this._results[Symbol.iterator]()}class fr{get changes(){return this._changes||(this._changes=new re)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=fr.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=pF)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){const n=this;n.dirty=!1;const r=function tn(t){return t.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function mT(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n0&&(i[r-1][fn]=e),n{class e{}return e.__NG_ELEMENT_ID__=bF,e})();const _F=Wt,vF=class extends _F{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){const r=function mF(t,e,i,n){const r=e.tView,a=fc(t,r,i,4096&t[Z]?4096:16,null,e,null,null,null,n?.injector??null,n?.hydrationInfo??null);a[fs]=t[e.index];const c=t[In];return null!==c&&(a[In]=c.createEmbeddedView(r)),Sf(r,a,i),a}(this._declarationLView,this._declarationTContainer,e,{injector:i,hydrationInfo:n});return new Us(r)}};function bF(){return Rc(at(),S())}function Rc(t,e){return 4&t.type?new vF(e,t,co(t,e)):null}let Pt=(()=>{class e{}return e.__NG_ELEMENT_ID__=xF,e})();function xF(){return zw(at(),S())}const SF=Pt,Uw=class extends SF{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return co(this._hostTNode,this._hostLView)}get injector(){return new yt(this._hostTNode,this._hostLView)}get parentInjector(){const e=kl(this._hostTNode,this._hostLView);if(mh(e)){const i=ys(e,this._hostLView),n=bs(e);return new yt(i[P].data[n+8],i)}return new yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const i=$w(this._lContainer);return null!==i&&i[e]||null}get length(){return this._lContainer.length-st}createEmbeddedView(e,i,n){let r,o;"number"==typeof n?r=n:null!=n&&(r=n.index,o=n.injector);const a=e.createEmbeddedViewImpl(i||{},o,null);return this.insertImpl(a,r,false),a}createComponent(e,i,n,r,o){const s=e&&!function Ds(t){return"function"==typeof t}(e);let a;if(s)a=i;else{const v=i||{};a=v.index,n=v.injector,r=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}const l=s?e:new $s(le(e)),c=n||this.parentInjector;if(!o&&null==l.ngModule){const b=(s?c:this.parentInjector).get($t,null);b&&(o=b)}le(l.componentType??{});const f=l.create(c,r,null,o);return this.insertImpl(f.hostView,a,false),f}insert(e,i){return this.insertImpl(e,i,!1)}insertImpl(e,i,n){const r=e._lView;if(function RI(t){return At(t[ke])}(r)){const l=this.indexOf(e);if(-1!==l)this.detach(l);else{const c=r[ke],u=new Uw(c,c[dt],c[ke]);u.detach(u.indexOf(e))}}const s=this._adjustIndex(i),a=this._lContainer;return gF(a,r,s,!n),e.attachToViewContainerRef(),qv(tp(a),s,e),e}move(e,i){return this.insert(e,i)}indexOf(e){const i=$w(this._lContainer);return null!==i?i.indexOf(e):-1}remove(e){const i=this._adjustIndex(e,-1),n=Wl(this._lContainer,i);n&&(Nl(tp(this._lContainer),i),Oh(n[P],n))}detach(e){const i=this._adjustIndex(e,-1),n=Wl(this._lContainer,i);return n&&null!=Nl(tp(this._lContainer),i)?new Us(n):null}_adjustIndex(e,i=0){return e??this.length+i}};function $w(t){return t[8]}function tp(t){return t[8]||(t[8]=[])}function zw(t,e){let i;const n=e[t.index];return At(n)?i=n:(i=Ay(n,e,null,t),e[t.index]=i,pc(e,i)),Gw(i,e,t,n),new Uw(i,t,e)}let Gw=function qw(t,e,i,n){if(t[Tn])return;let r;r=8&i.type?Me(n):function MF(t,e){const i=t[Y],n=i.createComment(""),r=Tt(e,t);return rr(i,Yl(i,r),n,function cR(t,e){return t.nextSibling(e)}(i,r),!1),n}(e,i),t[Tn]=r};class np{constructor(e){this.queryList=e,this.matches=null}clone(){return new np(this.queryList)}setDirty(){this.queryList.setDirty()}}class ip{constructor(e=[]){this.queries=e}createEmbeddedView(e){const i=e.queries;if(null!==i){const n=null!==e.contentQueries?e.contentQueries[0]:i.length,r=[];for(let o=0;o0)n.push(s[a/2]);else{const c=o[a+1],u=e[-l];for(let d=st;d{var t;class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=T(hp,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const s=o();if(Ys(s))n.push(s);else if(c0(s)){const a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),pC=(()=>{var t;class e{log(n){console.log(n)}warn(n){console.warn(n)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"platform"}),e})();const Hn=new M("LocaleId",{providedIn:"root",factory:()=>T(Hn,te.Optional|te.SkipSelf)||function n2(){return typeof $localize<"u"&&$localize.locale||Mo}()}),r2=new M("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Pc=(()=>{var t;class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new xt(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();class s2{constructor(e,i){this.ngModuleFactory=e,this.componentFactories=i}}let mC=(()=>{var t;class e{compileModuleSync(n){return new Kf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=si(jt(n).declarations).reduce((a,l)=>{const c=le(l);return c&&a.push(new $s(c)),a},[]);return new s2(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function bC(...t){}class G{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new re(!1),this.onMicrotaskEmpty=new re(!1),this.onStable=new re(!1),this.onError=new re(!1),typeof Zone>"u")throw new x(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&i,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function S2(){const t="function"==typeof De.requestAnimationFrame;let e=De[t?"requestAnimationFrame":"setTimeout"],i=De[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=i[Zone.__symbol__("OriginalDelegate")];r&&(i=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function I2(t){const e=()=>{!function A2(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(De,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,_p(t),t.isCheckStableRunning=!0,gp(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),_p(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,r,o,s,a)=>{try{return yC(t),i.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),wC(t)}},onInvoke:(i,n,r,o,s,a,l)=>{try{return yC(t),i.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),wC(t)}},onHasTask:(i,n,r,o)=>{i.hasTask(r,o),n===r&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,_p(t),gp(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,n,r,o)=>(i.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!G.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(G.isInAngularZone())throw new x(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,M2,bC,bC);try{return o.runTask(s,i,n)}finally{o.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}}const M2={};function gp(t){if(0==t._nesting&&!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 _p(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function yC(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function wC(t){t._nesting--,gp(t)}class T2{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new re,this.onMicrotaskEmpty=new re,this.onStable=new re,this.onError=new re}run(e,i,n){return e.apply(i,n)}runGuarded(e,i,n){return e.apply(i,n)}runOutsideAngular(e){return e()}runTask(e,i,n,r){return e.apply(i,n)}}const CC=new M("",{providedIn:"root",factory:DC});function DC(){const t=T(G);let e=!0;return Xi(new Te(r=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{r.next(e),r.complete()})}),new Te(r=>{let o;t.runOutsideAngular(()=>{o=t.onStable.subscribe(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,r.next(!0))})})});const s=t.onUnstable.subscribe(()=>{G.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{r.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(T_()))}const EC=new M(""),Fc=new M("");let yp,vp=(()=>{var t;class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,yp||(function R2(t){yp=t}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,r,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,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return(t=e).\u0275fac=function(n){return new(n||t)(w(G),w(bp),w(Fc))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})(),bp=(()=>{var t;class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return yp?.findTestabilityInTree(this,n,r)??null}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"platform"}),e})(),Oi=null;const xC=new M("AllowMultipleToken"),wp=new M("PlatformDestroyListeners"),Cp=new M("appBootstrapListener");class MC{constructor(e,i){this.name=e,this.token=i}}function IC(t,e,i=[]){const n=`Platform: ${e}`,r=new M(n);return(o=[])=>{let s=Dp();if(!s||s.injector.get(xC,!1)){const a=[...i,...o,{provide:r,useValue:!0}];t?t(a):function P2(t){if(Oi&&!Oi.get(xC,!1))throw new x(400,!1);(function SC(){!function bI(t){sv=t}(()=>{throw new x(600,!1)})})(),Oi=t;const e=t.get(RC);(function AC(t){t.get(Zb,null)?.forEach(i=>i())})(t)}(function TC(t=[],e){return Fe.create({name:e,providers:[{provide:Zh,useValue:"platform"},{provide:wp,useValue:new Set([()=>Oi=null])},...t]})}(a,n))}return function F2(t){const e=Dp();if(!e)throw new x(401,!1);return e}()}}function Dp(){return Oi?.get(RC)??null}let RC=(()=>{var t;class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function L2(t="zone.js",e){return"noop"===t?new T2:"zone.js"===t?new G(e):t}(r?.ngZone,function OC(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const s=function qN(t,e,i){return new Zf(t,e,i)}(n.moduleType,this.injector,function LC(t){return[{provide:G,useFactory:t},{provide:Ps,multi:!0,useFactory:()=>{const e=T(B2,{optional:!0});return()=>e.initialize()}},{provide:FC,useFactory:V2},{provide:CC,useFactory:DC}]}(()=>o)),a=s.injector.get(ar,null);return o.runOutsideAngular(()=>{const l=o.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{Lc(this._modules,s),l.unsubscribe()})}),function kC(t,e,i){try{const n=i();return Ys(n)?n.catch(r=>{throw e.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}(a,o,()=>{const l=s.injector.get(fp);return l.runInitializers(),l.donePromise.then(()=>(function ew(t){Xt(t,"Expected localeId to be defined"),"string"==typeof t&&(J0=t.toLowerCase().replace(/_/g,"-"))}(s.injector.get(Hn,Mo)||Mo),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,r=[]){const o=PC({},r);return function O2(t,e,i){const n=new Kf(i);return Promise.resolve(n)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){const r=n.injector.get(ki);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new x(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new x(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(wp,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Fe))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"platform"}),e})();function PC(t,e){return Array.isArray(e)?e.reduce(PC,t):{...t,...e}}let ki=(()=>{var t;class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=T(FC),this.zoneIsStable=T(CC),this.componentTypes=[],this.components=[],this.isStable=T(Pc).hasPendingTasks.pipe(Vt(n=>n?L(!1):this.zoneIsStable),Fd(),T_()),this._injector=T($t)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof ey;if(!this._injector.get(fp).done)throw!o&&function Lr(t){const e=le(t)||ot(t)||_t(t);return null!==e&&e.standalone}(n),new x(405,!1);let a;a=o?n:this._injector.get(lo).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const l=function k2(t){return t.isBoundToModule}(a)?void 0:this._injector.get(dr),u=a.create(Fe.NULL,[],r||a.selector,l),d=u.location.nativeElement,h=u.injector.get(EC,null);return h?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Lc(this.components,u),h?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new x(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Lc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Cp,[]);r.push(...this._bootstrapListeners),r.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),()=>Lc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new x(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function Lc(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}const FC=new M("",{providedIn:"root",factory:()=>T(ar).handleError.bind(void 0)});function V2(){const t=T(G),e=T(ar);return i=>t.runOutsideAngular(()=>e.handleError(i))}let B2=(()=>{var t;class e{constructor(){this.zone=T(G),this.applicationRef=T(ki)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();let sn=(()=>{class e{}return e.__NG_ELEMENT_ID__=H2,e})();function H2(t){return function U2(t,e,i){if(er(t)&&!i){const n=Ht(t.index,e);return new Us(n,n)}return 47&t.type?new Us(e[$e],e):null}(at(),S(),16==(16&t))}class HC{constructor(){}supports(e){return vc(e)}create(e){return new Y2(e)}}const W2=(t,e)=>e;class Y2{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||W2}forEachItem(e){let i;for(i=this._itHead;null!==i;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,r=0,o=null;for(;i||n;){const s=!n||i&&i.currentIndex<$C(n,r,o)?i:n,a=$C(s,r,o),l=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(i=i._next,null==s.previousIndex)r++;else{o||(o=[]);const c=a-r,u=l-r;if(c!=u){for(let h=0;h{s=this._trackByFn(r,a),null!==i&&Object.is(i.trackById,s)?(n&&(i=this._verifyReinsertion(i,a,s,r)),Object.is(i.item,a)||this._addIdentityChange(i,a)):(i=this._mismatch(i,a,s,r),n=!0),i=i._next,r++}),this.length=r;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,r){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,o,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,o,r)):e=this._addAfter(new Z2(i,n),o,r),e}_verifyReinsertion(e,i,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const i=e._next;this._addToRemovals(this._unlink(e)),e=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,i,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){const r=null===i?this._itHead:i._next;return e._next=r,e._prev=i,null===r?this._itTail=e:r._prev=e,null===i?this._itHead=e:i._next=e,null===this._linkedRecords&&(this._linkedRecords=new UC),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const i=e._prev,n=e._next;return null===i?this._itHead=n:i._next=n,null===n?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new UC),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Z2{constructor(e,i){this.item=e,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class K2{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===i||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const i=e._prevDup,n=e._nextDup;return null===i?this._head=n:i._nextDup=n,null===n?this._tail=i:n._prevDup=i,null===this._head}}class UC{constructor(){this.map=new Map}put(e){const i=e.trackById;let n=this.map.get(i);n||(n=new K2,this.map.set(i,n)),n.add(e)}get(e,i){const r=this.map.get(e);return r?r.get(e,i):null}remove(e){const i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $C(t,e,i){const n=t.previousIndex;if(null===n)return n;let r=0;return i&&n{if(i&&i.key===r)this._maybeAddToChanges(i,n),this._appendAfter=i,i=i._next;else{const o=this._getOrCreateRecordForKey(r,n);i=this._insertBeforeOrAppend(i,o)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let n=i;null!==n;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,i){if(e){const n=e._prev;return i._next=e,i._prev=n,e._prev=i,n&&(n._next=i),e===this._mapHead&&(this._mapHead=i),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(e,i){if(this._records.has(e)){const r=this._records.get(e);this._maybeAddToChanges(r,i);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const n=new X2(e);return this._records.set(e,n),n.currentValue=i,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,i){Object.is(i,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=i,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,i){e instanceof Map?e.forEach(i):Object.keys(e).forEach(n=>i(e[n],n))}}class X2{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function GC(){return new jc([new HC])}let jc=(()=>{var t;class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||GC()),deps:[[e,new Vl,new Ll]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new x(901,!1)}}return(t=e).\u0275prov=A({token:t,providedIn:"root",factory:GC}),e})();function qC(){return new la([new zC])}let la=(()=>{var t;class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||qC()),deps:[[e,new Vl,new Ll]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new x(901,!1)}}return(t=e).\u0275prov=A({token:t,providedIn:"root",factory:qC}),e})();const tL=IC(null,"core",[]);let nL=(()=>{var t;class e{constructor(n){}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ki))},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();function Ro(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let Ip=null;function Pi(){return Ip}class gL{}const ne=new M("DocumentToken");let Tp=(()=>{var t;class e{historyGo(n){throw new Error("Not implemented")}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return T(vL)},providedIn:"platform"}),e})();const _L=new M("Location Initialized");let vL=(()=>{var t;class e extends Tp{constructor(){super(),this._doc=T(ne),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Pi().getBaseHref(this._doc)}onPopState(n){const r=Pi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Pi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.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,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return new t},providedIn:"platform"}),e})();function Rp(t,e){if(0==t.length)return e;if(0==e.length)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,2==i?t+e.substring(1):1==i?t+e:t+"/"+e}function eD(t){const e=t.match(/#|\?|$/),i=e&&e.index||t.length;return t.slice(0,i-("/"===t[i-1]?1:0))+t.slice(i)}function di(t){return t&&"?"!==t[0]?"?"+t:t}let gr=(()=>{var t;class e{historyGo(n){throw new Error("Not implemented")}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return T(nD)},providedIn:"root"}),e})();const tD=new M("appBaseHref");let nD=(()=>{var t;class e extends gr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??T(ne).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 Rp(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+di(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,s){const a=this.prepareExternalUrl(o+di(s));this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){const a=this.prepareExternalUrl(o+di(s));this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Tp),w(tD,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),bL=(()=>{var t;class e extends gr{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}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 r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Rp(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,s){let a=this.prepareExternalUrl(o+di(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){let a=this.prepareExternalUrl(o+di(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Tp),w(tD,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})(),ca=(()=>{var t;class e{constructor(n){this._subject=new re,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function CL(t){if(new RegExp("^(https?:)?//").test(t)){const[,i]=t.split(/\/\/[^\/]+/);return i}return t}(eD(iD(r))),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,r=""){return this.path()==this.normalize(n+di(r))}normalize(n){return e.stripTrailingSlash(function wL(t,e){if(!t||!e.startsWith(t))return e;const i=e.substring(t.length);return""===i||["/",";","?","#"].includes(i[0])?i:e}(this._basePath,iD(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+di(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+di(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return(t=e).normalizeQueryParams=di,t.joinWithSlash=Rp,t.stripTrailingSlash=eD,t.\u0275fac=function(n){return new(n||t)(w(gr))},t.\u0275prov=A({token:t,factory:function(){return function yL(){return new ca(w(gr))}()},providedIn:"root"}),e})();function iD(t){return t.replace(/\/index.html$/,"")}const rD={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Uc=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(Uc||{}),ze=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t.Infinity=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}(ze||{});function an(t,e){const i=wt(t),n=i[Ae.NumberSymbols][e];if(typeof n>"u"){if(e===ze.CurrencyDecimal)return i[Ae.NumberSymbols][ze.Decimal];if(e===ze.CurrencyGroup)return i[Ae.NumberSymbols][ze.Group]}return n}function Op(t,e){return wt(t)[Ae.NumberFormats][e]}const ZL=/^(\d+)?\.((\d+)(-(\d+))?)?$/,cD=22,Qc=".",da="0",KL=";",QL=",",Fp="#";function Lp(t,e,i,n,r,o,s=!1){let a="",l=!1;if(isFinite(t)){let c=function iV(t){let n,r,o,s,a,e=Math.abs(t)+"",i=0;for((r=e.indexOf(Qc))>-1&&(e=e.replace(Qc,"")),(o=e.search(/e/i))>0?(r<0&&(r=o),r+=+e.slice(o+1),e=e.substring(0,o)):r<0&&(r=e.length),o=0;e.charAt(o)===da;o++);if(o===(a=e.length))n=[0],r=1;else{for(a--;e.charAt(a)===da;)a--;for(r-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(e.charAt(o))}return r>cD&&(n=n.splice(0,cD-1),i=r-1,r=1),{digits:n,exponent:i,integerLen:r}}(t);s&&(c=function nV(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let u=e.minInt,d=e.minFrac,h=e.maxFrac;if(o){const y=o.match(ZL);if(null===y)throw new Error(`${o} is not a valid digit info`);const O=y[1],R=y[3],$=y[5];null!=O&&(u=Bp(O)),null!=R&&(d=Bp(R)),null!=$?h=Bp($):null!=R&&d>h&&(h=d)}!function rV(t,e,i){if(e>i)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${i}).`);let n=t.digits,r=n.length-t.integerLen;const o=Math.min(Math.max(e,r),i);let s=o+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;r=c?p.pop():l=!1),h>=10?1:0},0);u&&(n.unshift(u),t.integerLen++)}(c,d,h);let f=c.digits,p=c.integerLen;const v=c.exponent;let b=[];for(l=f.every(y=>!y);p0?b=f.splice(p,f.length):(b=f,f=[0]);const E=[];for(f.length>=e.lgSize&&E.unshift(f.splice(-e.lgSize,f.length).join(""));f.length>e.gSize;)E.unshift(f.splice(-e.gSize,f.length).join(""));f.length&&E.unshift(f.join("")),a=E.join(an(i,n)),b.length&&(a+=an(i,r)+b.join("")),v&&(a+=an(i,ze.Exponential)+"+"+v)}else a=an(i,ze.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}function Vp(t,e="-"){const i={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(KL),r=n[0],o=n[1],s=-1!==r.indexOf(Qc)?r.split(Qc):[r.substring(0,r.lastIndexOf(da)+1),r.substring(r.lastIndexOf(da)+1)],a=s[0],l=s[1]||"";i.posPre=a.substring(0,a.indexOf(Fp));for(let u=0;u{var t;class e{constructor(n,r,o,s){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=s,this.initialClasses=fD,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(Hp):fD}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(Hp):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const o=this.stateMap.get(n);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){(n=n.trim()).length>0&&n.split(Hp).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(jc),_(la),_(ve),_(oi))},t.\u0275dir=N({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class aV{constructor(e,i,n,r){this.$implicit=e,this.ngForOf=i,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let _r=(()=>{var t;class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,s,a)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new aV(o.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)r.remove(null===s?void 0:s);else if(null!==s){const l=r.get(s);r.move(l,a),mD(l,o)}});for(let o=0,s=r.length;o{mD(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Pt),_(Wt),_(jc))},t.\u0275dir=N({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function mD(t,e){t.context.$implicit=e.item}let yn=(()=>{var t;class e{constructor(n,r){this._viewContainer=n,this._context=new lV,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){gD("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){gD("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,r){return!0}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Pt),_(Wt))},t.\u0275dir=N({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class lV{constructor(){this.$implicit=null,this.ngIf=null}}function gD(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Qe(e)}'.`)}function wn(t,e){return new x(2100,!1)}let bD=(()=>{var t;class e{constructor(n){this._locale=n}transform(n,r,o){if(!Gp(n))return null;o=o||this._locale;try{return function tV(t,e,i){return Lp(t,Vp(Op(e,Uc.Decimal),an(e,ze.MinusSign)),e,ze.Group,ze.Decimal,i)}(qp(n),o,r)}catch(s){throw wn()}}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Hn,16))},t.\u0275pipe=gt({name:"number",type:t,pure:!0,standalone:!0}),e})(),zp=(()=>{var t;class e{constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",s,a){if(!Gp(n))return null;a=a||this._locale,"boolean"==typeof o&&(o=o?"symbol":"code");let l=r||this._defaultCurrencyCode;"code"!==o&&(l="symbol"===o||"symbol-narrow"===o?function kL(t,e,i="en"){const n=function IL(t){return wt(t)[Ae.Currencies]}(i)[t]||rD[t]||[],r=n[1];return"narrow"===e&&"string"==typeof r?r:n[0]||t}(l,"symbol"===o?"wide":"narrow",a):o);try{return function JL(t,e,i,n,r){const s=Vp(Op(e,Uc.Currency),an(e,ze.MinusSign));return s.minFrac=function NL(t){let e;const i=rD[t];return i&&(e=i[2]),"number"==typeof e?e:2}(n),s.maxFrac=s.minFrac,Lp(t,s,e,ze.CurrencyGroup,ze.CurrencyDecimal,r).replace("\xa4",i).replace("\xa4","").trim()}(qp(n),a,l,r,s)}catch(c){throw wn()}}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Hn,16),_(r2,16))},t.\u0275pipe=gt({name:"currency",type:t,pure:!0,standalone:!0}),e})();function Gp(t){return!(null==t||""===t||t!=t)}function qp(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(`${t} is not a number`);return t}let Cn=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();const yD="browser";function wD(t){return"server"===t}let NV=(()=>{var t;class e{}return(t=e).\u0275prov=A({token:t,providedIn:"root",factory:()=>new FV(w(ne),window)}),e})();class FV{constructor(e,i){this.document=e,this.window=i,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const i=function LV(t,e){const i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if("function"==typeof t.createTreeWalker&&t.body&&"function"==typeof t.body.attachShadow){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}r=n.nextNode()}}return null}(this.document,e);i&&(this.scrollToElement(i),i.focus())}setHistoryScrollRestoration(e){this.supportsScrolling()&&(this.window.history.scrollRestoration=e)}scrollToElement(e){const i=e.getBoundingClientRect(),n=i.left+this.window.pageXOffset,r=i.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class CD{}class sB extends gL{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Zp extends sB{static makeCurrent(){!function mL(t){Ip||(Ip=t)}(new Zp)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return(i=i||this.getDefaultDocument()).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,i){return"window"===i?window:"document"===i?e:"body"===i?e.body:null}getBaseHref(e){const i=function aB(){return fa=fa||document.querySelector("base"),fa?fa.getAttribute("href"):null}();return null==i?null:function lB(t){eu=eu||document.createElement("a"),eu.setAttribute("href",t);const e=eu.pathname;return"/"===e.charAt(0)?e:`/${e}`}(i)}resetBaseElement(){fa=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return hD(document.cookie,e)}}let eu,fa=null,uB=(()=>{var t;class e{build(){return new XMLHttpRequest}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();const Kp=new M("EventManagerPlugins");let MD=(()=>{var t;class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(s=>s.supports(n)),!r)throw new x(5101,!1);return this._eventNameToPlugin.set(n,r),r}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Kp),w(G))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();class AD{constructor(e){this._doc=e}}const Qp="ng-app-id";let ID=(()=>{var t;class e{constructor(n,r,o,s={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=wD(s),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Qp}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const s=o.get(n);return s.usage+=r,s.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,s=o?.get(r);if(s?.parentNode===n)return o.delete(r),s.removeAttribute(Qp),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(Qp,this.appId),a}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const s=this.styleRef,a=s.get(r)?.elements;a?a.push(o):s.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne),w(rc),w(Jh,8),w(Ti))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();const Xp={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Jp=/%COMP%/g,pB=new M("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function RD(t,e){return e.map(i=>i.replace(Jp,t))}let em=(()=>{var t;class e{constructor(n,r,o,s,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=wD(l),this.defaultRenderer=new tm(n,a,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Jt.ShadowDom&&(r={...r,encapsulation:Jt.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof kD?o.applyToHost(n):o instanceof nm&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let s=o.get(r.id);if(!s){const a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(r.encapsulation){case Jt.Emulated:s=new kD(c,u,r,this.appId,d,a,l,h);break;case Jt.ShadowDom:return new vB(c,u,n,r,a,l,this.nonce,h);default:s=new nm(c,u,r,d,a,l,h)}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return(t=e).\u0275fac=function(n){return new(n||t)(w(MD),w(ID),w(rc),w(pB),w(ne),w(Ti),w(G),w(Jh))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();class tm{constructor(e,i,n,r){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(Xp[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(OD(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(OD(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n="string"==typeof e?this.doc.querySelector(e):e;if(!n)throw new x(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,r){if(r){i=r+":"+i;const o=Xp[r];o?e.setAttributeNS(o,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){const r=Xp[n];r?e.removeAttributeNS(r,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,r){r&(Ai.DashCase|Ai.Important)?e.style.setProperty(i,n,r&Ai.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&Ai.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e[i]=n}setValue(e,i){e.nodeValue=i}listen(e,i,n){if("string"==typeof e&&!(e=Pi().getGlobalEventTarget(this.doc,e)))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if("__ngUnwrap__"===i)return e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))&&i.preventDefault()}}}function OD(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class vB extends tm{constructor(e,i,n,r,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=RD(r.id,r.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class nm extends tm{constructor(e,i,n,r,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=l?RD(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class kD extends nm{constructor(e,i,n,r,o,s,a,l){const c=r+"-"+n.id;super(e,i,n,o,s,a,l,c),this.contentAttr=function mB(t){return"_ngcontent-%COMP%".replace(Jp,t)}(c),this.hostAttr=function gB(t){return"_nghost-%COMP%".replace(Jp,t)}(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){const n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}}let bB=(()=>{var t;class e extends AD{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();const PD=["alt","control","meta","shift"],yB={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},wB={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let CB=(()=>{var t;class e extends AD{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Pi().onAndCancel(n,s.domEventName,a))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const s=e._normalizeKey(r.pop());let a="",l=r.indexOf("code");if(l>-1&&(r.splice(l,1),a="code."),PD.forEach(u=>{const d=r.indexOf(u);d>-1&&(r.splice(d,1),a+=u+".")}),a+=s,0!=r.length||0===s.length)return null;const c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,r){let o=yB[n.key]||n.key,s="";return r.indexOf("code.")>-1&&(o=n.code,s="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),PD.forEach(a=>{a!==o&&(0,wB[a])(n)&&(s+=a+".")}),s+=o,s===r)}static eventCallback(n,r,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>r(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();const SB=IC(tL,"browser",[{provide:Ti,useValue:yD},{provide:Zb,useValue:function DB(){Zp.makeCurrent()},multi:!0},{provide:ne,useFactory:function xB(){return function _R(t){Bh=t}(document),document},deps:[]}]),MB=new M(""),LD=[{provide:Fc,useClass:class cB{addToWindow(e){De.getAngularTestability=(n,r=!0)=>{const o=e.findTestabilityInTree(n,r);if(null==o)throw new x(5103,!1);return o},De.getAllAngularTestabilities=()=>e.getAllTestabilities(),De.getAllAngularRootElements=()=>e.getAllRootElements(),De.frameworkStabilizers||(De.frameworkStabilizers=[]),De.frameworkStabilizers.push(n=>{const r=De.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&n(s)};r.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(e,i,n){return null==i?null:e.getTestability(i)??(n?Pi().isShadowRoot(i)?this.findTestabilityInTree(e,i.host,!0):this.findTestabilityInTree(e,i.parentElement,!0):null)}},deps:[]},{provide:EC,useClass:vp,deps:[G,bp,Fc]},{provide:vp,useClass:vp,deps:[G,bp,Fc]}],VD=[{provide:Zh,useValue:"root"},{provide:ar,useFactory:function EB(){return new ar},deps:[]},{provide:Kp,useClass:bB,multi:!0,deps:[ne,G,Ti]},{provide:Kp,useClass:CB,multi:!0,deps:[ne]},em,ID,MD,{provide:Vs,useExisting:em},{provide:CD,useClass:uB,deps:[]},[]];let BD=(()=>{var t;class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:rc,useValue:n.appId}]}}}return(t=e).\u0275fac=function(n){return new(n||t)(w(MB,12))},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[...VD,...LD],imports:[Cn,nL]}),e})(),jD=(()=>{var t;class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne))},t.\u0275prov=A({token:t,factory:function(n){let r=null;return r=n?new n:function IB(){return new jD(w(ne))}(),r},providedIn:"root"}),e})();typeof window<"u"&&window;const{isArray:NB}=Array,{getPrototypeOf:FB,prototype:LB,keys:VB}=Object;function zD(t){if(1===t.length){const e=t[0];if(NB(e))return{args:e,keys:null};if(function BB(t){return t&&"object"==typeof t&&FB(t)===LB}(e)){const i=VB(e);return{args:i.map(n=>e[n]),keys:i}}}return{args:t,keys:null}}const{isArray:jB}=Array;function rm(t){return se(e=>function HB(t,e){return jB(e)?t(...e):t(e)}(t,e))}function GD(t,e){return t.reduce((i,n,r)=>(i[n]=e[r],i),{})}function tu(...t){const e=ss(t),i=S_(t),{args:n,keys:r}=zD(t);if(0===n.length)return Ke([],e);const o=new Te(function UB(t,e,i=wi){return n=>{qD(e,()=>{const{length:r}=t,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=Ke(t[l],e);let u=!1;c.subscribe(Oe(n,d=>{o[l]=d,u||(u=!0,a--),a||n.next(i(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}(n,e,r?s=>GD(r,s):wi));return i?o.pipe(rm(i)):o}function qD(t,e,i){t?Kn(i,t,e):e()}const nu=rs(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function pa(...t){return function $B(){return Nr(1)}()(Ke(t,ss(t)))}function iu(t){return new Te(e=>{ut(t()).subscribe(e)})}function ma(t,e){const i=oe(t)?t:()=>t,n=r=>r.error(i());return new Te(e?r=>e.schedule(n,0,r):n)}function om(){return Be((t,e)=>{let i=null;t._refCount++;const n=Oe(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(i=null);const r=t._connection,o=i;i=null,r&&(!o||r===o)&&r.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(i=t.connect())})}class WD extends Te{constructor(e,i){super(),this.source=e,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,d_(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Pe;const i=this.getSubject();e.add(this.source.subscribe(Oe(i,void 0,()=>{this._teardown(),i.complete()},n=>{this._teardown(),i.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Pe.EMPTY)}return e}refCount(){return om()(this)}}function et(t){return t<=0?()=>dn:Be((e,i)=>{let n=0;e.subscribe(Oe(i,r=>{++n<=t&&(i.next(r),t<=n&&i.complete())}))})}function pi(...t){const e=ss(t);return Be((i,n)=>{(e?pa(t,i,e):pa(t,i)).subscribe(n)})}function Re(t,e){return Be((i,n)=>{let r=0;i.subscribe(Oe(n,o=>t.call(e,o,r++)&&n.next(o)))})}function ru(t){return Be((e,i)=>{let n=!1;e.subscribe(Oe(i,r=>{n=!0,i.next(r)},()=>{n||i.next(t),i.complete()}))})}function YD(t=zB){return Be((e,i)=>{let n=!1;e.subscribe(Oe(i,r=>{n=!0,i.next(r)},()=>n?i.complete():i.error(t())))})}function zB(){return new nu}function vr(t,e){const i=arguments.length>=2;return n=>n.pipe(t?Re((r,o)=>t(r,o,n)):wi,et(1),i?ru(e):YD(()=>new nu))}function Po(t,e){return oe(e)?Ze(t,e,1):Ze(t,1)}function lt(t,e,i){const n=oe(t)||e||i?{next:t,error:e,complete:i}:t;return n?Be((r,o)=>{var s;null===(s=n.subscribe)||void 0===s||s.call(n);let a=!0;r.subscribe(Oe(o,l=>{var c;null===(c=n.next)||void 0===c||c.call(n,l),o.next(l)},()=>{var l;a=!1,null===(l=n.complete)||void 0===l||l.call(n),o.complete()},l=>{var c;a=!1,null===(c=n.error)||void 0===c||c.call(n,l),o.error(l)},()=>{var l,c;a&&(null===(l=n.unsubscribe)||void 0===l||l.call(n)),null===(c=n.finalize)||void 0===c||c.call(n)}))}):wi}function br(t){return Be((e,i)=>{let o,n=null,r=!1;n=e.subscribe(Oe(i,void 0,void 0,s=>{o=ut(t(s,br(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(i)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(i))})}function sm(t){return t<=0?()=>dn:Be((e,i)=>{let n=[];e.subscribe(Oe(i,r=>{n.push(r),t{for(const r of n)i.next(r);i.complete()},void 0,()=>{n=null}))})}function ZD(t){return se(()=>t)}function ga(t){return Be((e,i)=>{try{e.subscribe(i)}finally{i.add(t)}})}function Fi(t){return Be((e,i)=>{ut(t).subscribe(Oe(i,()=>i.complete(),sl)),!i.closed&&e.subscribe(i)})}const J="primary",_a=Symbol("RouteTitle");class YB{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){const i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}}function No(t){return new YB(t)}function ZB(t,e,i){const n=i.path.split("/");if(n.length>t.length||"full"===i.pathMatch&&(e.hasChildren()||n.lengthn[o]===r)}return t===e}function QD(t){return t.length>0?t[t.length-1]:null}function Li(t){return function PB(t){return!!t&&(t instanceof Te||oe(t.lift)&&oe(t.subscribe))}(t)?t:Ys(t)?Ke(Promise.resolve(t)):L(t)}const QB={exact:function eE(t,e,i){if(!yr(t.segments,e.segments)||!ou(t.segments,e.segments,i)||t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children)if(!t.children[n]||!eE(t.children[n],e.children[n],i))return!1;return!0},subset:tE},XD={exact:function XB(t,e){return Un(t,e)},subset:function JB(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>KD(t[i],e[i]))},ignored:()=>!0};function JD(t,e,i){return QB[i.paths](t.root,e.root,i.matrixParams)&&XD[i.queryParams](t.queryParams,e.queryParams)&&!("exact"===i.fragment&&t.fragment!==e.fragment)}function tE(t,e,i){return nE(t,e,e.segments,i)}function nE(t,e,i,n){if(t.segments.length>i.length){const r=t.segments.slice(0,i.length);return!(!yr(r,i)||e.hasChildren()||!ou(r,i,n))}if(t.segments.length===i.length){if(!yr(t.segments,i)||!ou(t.segments,i,n))return!1;for(const r in e.children)if(!t.children[r]||!tE(t.children[r],e.children[r],n))return!1;return!0}{const r=i.slice(0,t.segments.length),o=i.slice(t.segments.length);return!!(yr(t.segments,r)&&ou(t.segments,r,n)&&t.children[J])&&nE(t.children[J],e,o,n)}}function ou(t,e,i){return e.every((n,r)=>XD[i](t[r].parameters,n.parameters))}class Fo{constructor(e=new ye([],{}),i={},n=null){this.root=e,this.queryParams=i,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=No(this.queryParams)),this._queryParamMap}toString(){return nj.serialize(this)}}class ye{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return su(this)}}class va{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap||(this._parameterMap=No(this.parameters)),this._parameterMap}toString(){return oE(this)}}function yr(t,e){return t.length===e.length&&t.every((i,n)=>i.path===e[n].path)}let ba=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return new am},providedIn:"root"}),e})();class am{parse(e){const i=new fj(e);return new Fo(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){const i=`/${ya(e.root,!0)}`,n=function oj(t){const e=Object.keys(t).map(i=>{const n=t[i];return Array.isArray(n)?n.map(r=>`${au(i)}=${au(r)}`).join("&"):`${au(i)}=${au(n)}`}).filter(i=>!!i);return e.length?`?${e.join("&")}`:""}(e.queryParams);return`${i}${n}${"string"==typeof e.fragment?`#${function ij(t){return encodeURI(t)}(e.fragment)}`:""}`}}const nj=new am;function su(t){return t.segments.map(e=>oE(e)).join("/")}function ya(t,e){if(!t.hasChildren())return su(t);if(e){const i=t.children[J]?ya(t.children[J],!1):"",n=[];return Object.entries(t.children).forEach(([r,o])=>{r!==J&&n.push(`${r}:${ya(o,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}{const i=function tj(t,e){let i=[];return Object.entries(t.children).forEach(([n,r])=>{n===J&&(i=i.concat(e(r,n)))}),Object.entries(t.children).forEach(([n,r])=>{n!==J&&(i=i.concat(e(r,n)))}),i}(t,(n,r)=>r===J?[ya(t.children[J],!1)]:[`${r}:${ya(n,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[J]?`${su(t)}/${i[0]}`:`${su(t)}/(${i.join("//")})`}}function iE(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function au(t){return iE(t).replace(/%3B/gi,";")}function lm(t){return iE(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function lu(t){return decodeURIComponent(t)}function rE(t){return lu(t.replace(/\+/g,"%20"))}function oE(t){return`${lm(t.path)}${function rj(t){return Object.keys(t).map(e=>`;${lm(e)}=${lm(t[e])}`).join("")}(t.parameters)}`}const sj=/^[^\/()?;#]+/;function cm(t){const e=t.match(sj);return e?e[0]:""}const aj=/^[^\/()?;=#]+/,cj=/^[^=?&#]+/,dj=/^[^&#]+/;class fj{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ye([],{}):new ye([],this.parseChildren())}parseQueryParams(){const 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("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(n[J]=new ye(e,i)),n}parseSegment(){const e=cm(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new x(4009,!1);return this.capture(e),new va(lu(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const i=function lj(t){const e=t.match(aj);return e?e[0]:""}(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){const r=cm(this.remaining);r&&(n=r,this.capture(n))}e[lu(i)]=lu(n)}parseQueryParam(e){const i=function uj(t){const e=t.match(cj);return e?e[0]:""}(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){const s=function hj(t){const e=t.match(dj);return e?e[0]:""}(this.remaining);s&&(n=s,this.capture(n))}const r=rE(i),o=rE(n);if(e.hasOwnProperty(r)){let s=e[r];Array.isArray(s)||(s=[s],e[r]=s),s.push(o)}else e[r]=o}parseParens(e){const i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=cm(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new x(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=J);const s=this.parseChildren();i[o]=1===Object.keys(s).length?s[J]:new ye([],s),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new x(4011,!1)}}function sE(t){return t.segments.length>0?new ye([],{[J]:t}):t}function aE(t){const e={};for(const n of Object.keys(t.children)){const o=aE(t.children[n]);if(n===J&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}return function pj(t){if(1===t.numberOfChildren&&t.children[J]){const e=t.children[J];return new ye(t.segments.concat(e.segments),e.children)}return t}(new ye(t.segments,e))}function wr(t){return t instanceof Fo}function lE(t){let e;const r=sE(function i(o){const s={};for(const l of o.children){const c=i(l);s[l.outlet]=c}const a=new ye(o.url,s);return o===t&&(e=a),a}(t.root));return e??r}function cE(t,e,i,n){let r=t;for(;r.parent;)r=r.parent;if(0===e.length)return um(r,r,r,i,n);const o=function gj(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new dE(!0,0,t);let e=0,i=!1;const n=t.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?i=!0:".."===a?e++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new dE(i,e,n)}(e);if(o.toRoot())return um(r,r,new ye([],{}),i,n);const s=function _j(t,e,i){if(t.isAbsolute)return new uu(e,!0,0);if(!i)return new uu(e,!1,NaN);if(null===i.parent)return new uu(i,!0,0);const n=cu(t.commands[0])?0:1;return function vj(t,e,i){let n=t,r=e,o=i;for(;o>r;){if(o-=r,n=n.parent,!n)throw new x(4005,!1);r=n.segments.length}return new uu(n,!1,r-o)}(i,i.segments.length-1+n,t.numberOfDoubleDots)}(o,r,t),a=s.processChildren?Ca(s.segmentGroup,s.index,o.commands):hE(s.segmentGroup,s.index,o.commands);return um(r,s.segmentGroup,a,i,n)}function cu(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function wa(t){return"object"==typeof t&&null!=t&&t.outlets}function um(t,e,i,n,r){let s,o={};n&&Object.entries(n).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=t===e?i:uE(t,e,i);const a=sE(aE(s));return new Fo(a,o,r)}function uE(t,e,i){const n={};return Object.entries(t.children).forEach(([r,o])=>{n[r]=o===e?i:uE(o,e,i)}),new ye(t.segments,n)}class dE{constructor(e,i,n){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=n,e&&n.length>0&&cu(n[0]))throw new x(4003,!1);const r=n.find(wa);if(r&&r!==QD(n))throw new x(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class uu{constructor(e,i,n){this.segmentGroup=e,this.processChildren=i,this.index=n}}function hE(t,e,i){if(t||(t=new ye([],{})),0===t.segments.length&&t.hasChildren())return Ca(t,e,i);const n=function yj(t,e,i){let n=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=i.length)return o;const s=t.segments[r],a=i[n];if(wa(a))break;const l=`${a}`,c=n0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!pE(l,c,s))return o;n+=2}else{if(!pE(l,{},s))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(t,e,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndexo!==J)&&t.children[J]&&1===t.numberOfChildren&&0===t.children[J].segments.length){const o=Ca(t.children[J],e,i);return new ye(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=hE(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{void 0===n[o]&&(r[o]=s)}),new ye(t.segments,r)}}function dm(t,e,i){const n=t.segments.slice(0,e);let r=0;for(;r{"string"==typeof n&&(n=[n]),null!==n&&(e[i]=dm(new ye([],{}),0,n))}),e}function fE(t){const e={};return Object.entries(t).forEach(([i,n])=>e[i]=`${n}`),e}function pE(t,e,i){return t==i.path&&Un(e,i.parameters)}const Da="imperative";class $n{constructor(e,i){this.id=e,this.url=i}}class du extends $n{constructor(e,i,n="imperative",r=null){super(e,i),this.type=0,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Vi extends $n{constructor(e,i,n){super(e,i),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ea extends $n{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Lo extends $n{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=16}}class hu extends $n{constructor(e,i,n,r){super(e,i),this.error=n,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class mE extends $n{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Cj extends $n{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Dj extends $n{constructor(e,i,n,r,o){super(e,i),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ej extends $n{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xj extends $n{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Sj{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Mj{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Aj{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ij{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tj{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rj{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gE{constructor(e,i,n){this.routerEvent=e,this.position=i,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class hm{}class fm{constructor(e){this.url=e}}class Oj{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new xa,this.attachRef=null}}let xa=(()=>{var t;class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Oj,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();class _E{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){const i=pm(e,this._root);return i?i.children.map(n=>n.value):[]}firstChild(e){const i=pm(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){const i=mm(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return mm(e,this._root).map(i=>i.value)}}function pm(t,e){if(t===e.value)return e;for(const i of e.children){const n=pm(t,i);if(n)return n}return null}function mm(t,e){if(t===e.value)return[e];for(const i of e.children){const n=mm(t,i);if(n.length)return n.unshift(e),n}return[]}class mi{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}}function Vo(t){const e={};return t&&t.children.forEach(i=>e[i.value.outlet]=i),e}class vE extends _E{constructor(e,i){super(e),this.snapshot=i,gm(this,e)}toString(){return this.snapshot.toString()}}function bE(t,e){const i=function kj(t,e){const s=new fu([],{},{},"",{},J,e,null,{});return new wE("",new mi(s,[]))}(0,e),n=new xt([new va("",{})]),r=new xt({}),o=new xt({}),s=new xt({}),a=new xt(""),l=new Bo(n,r,s,a,o,J,e,i.root);return l.snapshot=i.root,new vE(new mi(l,[]),i)}class Bo{constructor(e,i,n,r,o,s,a,l){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(se(c=>c[_a]))??L(void 0),this.url=e,this.params=i,this.queryParams=n,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(se(e=>No(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(se(e=>No(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function yE(t,e="emptyOnly"){const i=t.pathFromRoot;let n=0;if("always"!==e)for(n=i.length-1;n>=1;){const r=i[n],o=i[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(o.component)break;n--}}return function Pj(t){return t.reduce((e,i)=>({params:{...e.params,...i.params},data:{...e.data,...i.data},resolve:{...i.data,...e.resolve,...i.routeConfig?.data,...i._resolvedData}}),{params:{},data:{},resolve:{}})}(i.slice(n))}class fu{get title(){return this.data?.[_a]}constructor(e,i,n,r,o,s,a,l,c){this.url=e,this.params=i,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=No(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=No(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class wE extends _E{constructor(e,i){super(i),this.url=e,gm(this,i)}toString(){return CE(this._root)}}function gm(t,e){e.value._routerState=t,e.children.forEach(i=>gm(t,i))}function CE(t){const e=t.children.length>0?` { ${t.children.map(CE).join(", ")} } `:"";return`${t.value}${e}`}function _m(t){if(t.snapshot){const e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,Un(e.queryParams,i.queryParams)||t.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&t.fragmentSubject.next(i.fragment),Un(e.params,i.params)||t.paramsSubject.next(i.params),function KB(t,e){if(t.length!==e.length)return!1;for(let i=0;iUn(i.parameters,e[n].parameters))}(t.url,e.url);return i&&!(!t.parent!=!e.parent)&&(!t.parent||vm(t.parent,e.parent))}let bm=(()=>{var t;class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=J,this.activateEvents=new re,this.deactivateEvents=new re,this.attachEvents=new re,this.detachEvents=new re,this.parentContexts=T(xa),this.location=T(Pt),this.changeDetector=T(sn),this.environmentInjector=T($t),this.inputBinder=T(pu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new x(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new x(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new x(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new x(4013,!1);this._activatedRoute=n;const o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new Nj(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[It]}),e})();class Nj{constructor(e,i,n){this.route=e,this.childContexts=i,this.parent=n}get(e,i){return e===Bo?this.route:e===xa?this.childContexts:this.parent.get(e,i)}}const pu=new M("");let DE=(()=>{var t;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){const{activatedRoute:r}=n,o=tu([r.queryParams,r.params,r.data]).pipe(Vt(([s,a,l],c)=>(l={...s,...a,...l},0===c?L(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const a=function pL(t){const e=le(t);if(!e)return null;const i=new $s(e);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}(r.component);if(a)for(const{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();function Sa(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){const n=i.value;n._futureSnapshot=e.value;const r=function Lj(t,e,i){return e.children.map(n=>{for(const r of i.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return Sa(t,n,r);return Sa(t,n)})}(t,e,i);return new mi(n,r)}{if(t.shouldAttach(e.value)){const o=t.retrieve(e.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Sa(t,a)),s}}const n=function Vj(t){return new Bo(new xt(t.url),new xt(t.params),new xt(t.queryParams),new xt(t.fragment),new xt(t.data),t.outlet,t.component,t)}(e.value),r=e.children.map(o=>Sa(t,o));return new mi(n,r)}}const ym="ngNavigationCancelingError";function EE(t,e){const{redirectTo:i,navigationBehaviorOptions:n}=wr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=xE(!1,0,e);return r.url=i,r.navigationBehaviorOptions=n,r}function xE(t,e,i){const n=new Error("NavigationCancelingError: "+(t||""));return n[ym]=!0,n.cancellationCode=e,i&&(n.url=i),n}function SE(t){return t&&t[ym]}let ME=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["ng-component"]],standalone:!0,features:[Tc],decls:1,vars:0,template:function(n,r){1&n&&I(0,"router-outlet")},dependencies:[bm],encapsulation:2}),e})();function wm(t){const e=t.children&&t.children.map(wm),i=e?{...t,children:e}:{...t};return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==J&&(i.component=ME),i}function Dn(t){return t.outlet||J}function Ma(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){const i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}class qj{constructor(e,i,n,r,o){this.routeReuseStrategy=e,this.futureState=i,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(e){const i=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,n,e),_m(this.futureState.root),this.activateChildRoutes(i,n,e)}deactivateChildRoutes(e,i,n){const r=Vo(i);e.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],n),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,i,n){const r=e.value,o=i?i.value:null;if(r===o)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,i,s.children)}else this.deactivateChildRoutes(e,i,n);else o&&this.deactivateRouteAndItsChildren(i,n)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){const n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Vo(e);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(n&&n.outlet){const s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,i){const n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Vo(e);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,i,n){const r=Vo(i);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new Rj(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Ij(e.value.snapshot))}activateRoutes(e,i,n){const r=e.value,o=i?i.value:null;if(_m(r),r===o)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,s.children)}else this.activateChildRoutes(e,i,n);else if(r.component){const s=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.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),_m(a.route.value),this.activateChildRoutes(e,null,s.children)}else{const a=Ma(r.snapshot);s.attachRef=null,s.route=r,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}}class AE{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class mu{constructor(e,i){this.component=e,this.route=i}}function Wj(t,e,i){const n=t._root;return Aa(n,e?e._root:null,i,[n.value])}function jo(t,e){const i=Symbol(),n=e.get(t,i);return n===i?"function"!=typeof t||function NA(t){return null!==dl(t)}(t)?e.get(t):t:n}function Aa(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Vo(e);return t.children.forEach(s=>{(function Zj(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=e?e.value:null,a=i?i.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function Kj(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!yr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!yr(t.url,e.url)||!Un(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vm(t,e)||!Un(t.queryParams,e.queryParams);default:return!vm(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new AE(n)):(o.data=s.data,o._resolvedData=s._resolvedData),Aa(t,e,o.component?a?a.children:null:i,n,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new mu(a.outlet.component,s))}else s&&Ia(e,a,r),r.canActivateChecks.push(new AE(n)),Aa(t,null,o.component?a?a.children:null:i,n,r)})(s,o[s.value.outlet],i,n.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ia(a,i.getContext(s),r)),r}function Ia(t,e,i){const n=Vo(t),r=t.value;Object.entries(n).forEach(([o,s])=>{Ia(s,r.component?e?e.children.getContext(o):null:e,i)}),i.canDeactivateChecks.push(new mu(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}function Ta(t){return"function"==typeof t}function IE(t){return t instanceof nu||"EmptyError"===t?.name}const gu=Symbol("INITIAL_VALUE");function Ho(){return Vt(t=>tu(t.map(e=>e.pipe(et(1),pi(gu)))).pipe(se(e=>{for(const i of e)if(!0!==i){if(i===gu)return gu;if(!1===i||i instanceof Fo)return i}return!0}),Re(e=>e!==gu),et(1)))}function TE(t){return function j1(...t){return l_(t)}(lt(e=>{if(wr(e))throw EE(0,e)}),se(e=>!0===e))}class _u{constructor(e){this.segmentGroup=e||null}}class RE{constructor(e){this.urlTree=e}}function Uo(t){return ma(new _u(t))}function OE(t){return ma(new RE(t))}class _3{constructor(e,i){this.urlSerializer=e,this.urlTree=i}noMatchError(e){return new x(4002,!1)}lineralizeSegments(e,i){let n=[],r=i.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return L(n);if(r.numberOfChildren>1||!r.children[J])return ma(new x(4e3,!1));r=r.children[J]}}applyRedirectCommands(e,i,n){return this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,n)}applyRedirectCreateUrlTree(e,i,n,r){const o=this.createSegmentGroup(e,i.root,n,r);return new Fo(o,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){const n={};return Object.entries(e).forEach(([r,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);n[r]=i[a]}else n[r]=o}),n}createSegmentGroup(e,i,n,r){const o=this.createSegments(e,i.segments,n,r);let s={};return Object.entries(i.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,r)}),new ye(o,s)}createSegments(e,i,n,r){return i.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,r):this.findOrReturn(o,n))}findPosParam(e,i,n){const r=n[i.path.substring(1)];if(!r)throw new x(4001,!1);return r}findOrReturn(e,i){let n=0;for(const r of i){if(r.path===e.path)return i.splice(n),r;n++}return e}}const Cm={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function v3(t,e,i,n,r){const o=Dm(t,e,i);return o.matched?(n=function jj(t,e){return t.providers&&!t._injector&&(t._injector=Qf(t.providers,e,`Route: ${t.path}`)),t._injector??e}(e,n),function p3(t,e,i,n){const r=e.canMatch;return r&&0!==r.length?L(r.map(s=>{const a=jo(s,t);return Li(function n3(t){return t&&Ta(t.canMatch)}(a)?a.canMatch(e,i):t.runInContext(()=>a(e,i)))})).pipe(Ho(),TE()):L(!0)}(n,e,i).pipe(se(s=>!0===s?o:{...Cm}))):L(o)}function Dm(t,e,i){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||i.length>0)?{...Cm}:{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};const r=(e.matcher||ZB)(i,t,e);if(!r)return{...Cm};const o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function kE(t,e,i,n){return i.length>0&&function w3(t,e,i){return i.some(n=>vu(t,e,n)&&Dn(n)!==J)}(t,i,n)?{segmentGroup:new ye(e,y3(n,new ye(i,t.children))),slicedSegments:[]}:0===i.length&&function C3(t,e,i){return i.some(n=>vu(t,e,n))}(t,i,n)?{segmentGroup:new ye(t.segments,b3(t,0,i,n,t.children)),slicedSegments:i}:{segmentGroup:new ye(t.segments,t.children),slicedSegments:i}}function b3(t,e,i,n,r){const o={};for(const s of n)if(vu(t,i,s)&&!r[Dn(s)]){const a=new ye([],{});o[Dn(s)]=a}return{...r,...o}}function y3(t,e){const i={};i[J]=e;for(const n of t)if(""===n.path&&Dn(n)!==J){const r=new ye([],{});i[Dn(n)]=r}return i}function vu(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path}class S3{constructor(e,i,n,r,o,s,a){this.injector=e,this.configLoader=i,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new _3(this.urlSerializer,this.urlTree)}noMatchError(e){return new x(4002,!1)}recognize(){const e=kE(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,e,J).pipe(br(i=>{if(i instanceof RE)return this.allowRedirects=!1,this.urlTree=i.urlTree,this.match(i.urlTree);throw i instanceof _u?this.noMatchError(i):i}),se(i=>{const n=new fu([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},J,this.rootComponentType,null,{}),r=new mi(n,i),o=new wE("",r),s=function mj(t,e,i=null,n=null){return cE(lE(t),e,i,n)}(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e.root,J).pipe(br(n=>{throw n instanceof _u?this.noMatchError(n):n}))}inheritParamsAndData(e){const i=e.value,n=yE(i,this.paramsInheritanceStrategy);i.params=Object.freeze(n.params),i.data=Object.freeze(n.data),e.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(e,i,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(e,i,n):this.processSegment(e,i,n,n.segments,r,!0)}processChildren(e,i,n){const r=[];for(const o of Object.keys(n.children))"primary"===o?r.unshift(o):r.push(o);return Ke(r).pipe(Po(o=>{const s=n.children[o],a=function zj(t,e){const i=t.filter(n=>Dn(n)===e);return i.push(...t.filter(n=>Dn(n)!==e)),i}(i,o);return this.processSegmentGroup(e,a,s,o)}),function qB(t,e){return Be(function GB(t,e,i,n,r){return(o,s)=>{let a=i,l=e,c=0;o.subscribe(Oe(s,u=>{const d=c++;l=a?t(l,u,d):(a=!0,u),n&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}(t,e,arguments.length>=2,!0))}((o,s)=>(o.push(...s),o)),ru(null),function WB(t,e){const i=arguments.length>=2;return n=>n.pipe(t?Re((r,o)=>t(r,o,n)):wi,sm(1),i?ru(e):YD(()=>new nu))}(),Ze(o=>{if(null===o)return Uo(n);const s=PE(o);return function M3(t){t.sort((e,i)=>e.value.outlet===J?-1:i.value.outlet===J?1:e.value.outlet.localeCompare(i.value.outlet))}(s),L(s)}))}processSegment(e,i,n,r,o,s){return Ke(i).pipe(Po(a=>this.processSegmentAgainstRoute(a._injector??e,i,a,n,r,o,s).pipe(br(l=>{if(l instanceof _u)return L(null);throw l}))),vr(a=>!!a),br(a=>{if(IE(a))return function E3(t,e,i){return 0===e.length&&!t.children[i]}(n,r,o)?L([]):Uo(n);throw a}))}processSegmentAgainstRoute(e,i,n,r,o,s,a){return function D3(t,e,i,n){return!!(Dn(t)===n||n!==J&&vu(e,i,t))&&("**"===t.path||Dm(e,t,i).matched)}(n,r,o,s)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(e,r,n,o,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,n,o,s):Uo(r):Uo(r)}expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,i,n,r){const o=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?OE(o):this.applyRedirects.lineralizeSegments(n,o).pipe(Ze(s=>{const a=new ye(s,{});return this.processSegment(e,i,a,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=Dm(i,r,o);if(!a)return Uo(i);const d=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?OE(d):this.applyRedirects.lineralizeSegments(r,d).pipe(Ze(h=>this.processSegment(e,n,i,h.concat(c),s,!1)))}matchSegmentAgainstRoute(e,i,n,r,o,s){let a;if("**"===n.path){const l=r.length>0?QD(r).parameters:{};a=L({snapshot:new fu(r,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,NE(n),Dn(n),n.component??n._loadedComponent??null,n,FE(n)),consumedSegments:[],remainingSegments:[]}),i.children={}}else a=v3(i,n,r,e).pipe(se(({matched:l,consumedSegments:c,remainingSegments:u,parameters:d})=>l?{snapshot:new fu(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,NE(n),Dn(n),n.component??n._loadedComponent??null,n,FE(n)),consumedSegments:c,remainingSegments:u}:null));return a.pipe(Vt(l=>null===l?Uo(i):this.getChildConfig(e=n._injector??e,n,r).pipe(Vt(({routes:c})=>{const u=n._loadedInjector??e,{snapshot:d,consumedSegments:h,remainingSegments:f}=l,{segmentGroup:p,slicedSegments:v}=kE(i,h,f,c);if(0===v.length&&p.hasChildren())return this.processChildren(u,c,p).pipe(se(E=>null===E?null:[new mi(d,E)]));if(0===c.length&&0===v.length)return L([new mi(d,[])]);const b=Dn(n)===o;return this.processSegment(u,c,p,v,b?J:o,!0).pipe(se(E=>[new mi(d,E)]))}))))}getChildConfig(e,i,n){return i.children?L({routes:i.children,injector:e}):i.loadChildren?void 0!==i._loadedRoutes?L({routes:i._loadedRoutes,injector:i._loadedInjector}):function f3(t,e,i,n){const r=e.canLoad;return void 0===r||0===r.length?L(!0):L(r.map(s=>{const a=jo(s,t);return Li(function Xj(t){return t&&Ta(t.canLoad)}(a)?a.canLoad(e,i):t.runInContext(()=>a(e,i)))})).pipe(Ho(),TE())}(e,i,n).pipe(Ze(r=>r?this.configLoader.loadChildren(e,i).pipe(lt(o=>{i._loadedRoutes=o.routes,i._loadedInjector=o.injector})):function g3(t){return ma(xE(!1,3))}())):L({routes:[],injector:e})}}function A3(t){const e=t.value.routeConfig;return e&&""===e.path}function PE(t){const e=[],i=new Set;for(const n of t){if(!A3(n)){e.push(n);continue}const r=e.find(o=>n.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...n.children),i.add(r)):e.push(n)}for(const n of i){const r=PE(n.children);e.push(new mi(n.value,r))}return e.filter(n=>!i.has(n))}function NE(t){return t.data||{}}function FE(t){return t.resolve||{}}function LE(t){return"string"==typeof t.title||null===t.title}function Em(t){return Vt(e=>{const i=t(e);return i?Ke(i).pipe(se(()=>e)):L(e)})}const $o=new M("ROUTES");let xm=(()=>{var t;class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=T(mC)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return L(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=Li(n.loadComponent()).pipe(se(VE),lt(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),ga(()=>{this.componentLoaders.delete(n)})),o=new WD(r,()=>new q).pipe(om());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return L({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const s=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(se(l=>{this.onLoadEndListener&&this.onLoadEndListener(r);let c,u;return Array.isArray(l)?u=l:(c=l.create(n).injector,u=c.get($o,[],te.Self|te.Optional).flat()),{routes:u.map(wm),injector:c}}),ga(()=>{this.childrenLoaders.delete(r)})),a=new WD(s,()=>new q).pipe(om());return this.childrenLoaders.set(r,a),a}loadModuleFactoryOrRoutes(n){return Li(n()).pipe(se(VE),Ze(r=>r instanceof xw||Array.isArray(r)?L(r):Ke(this.compiler.compileModuleAsync(r))))}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function VE(t){return function N3(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let bu=(()=>{var t;class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new q,this.transitionAbortSubject=new q,this.configLoader=T(xm),this.environmentInjector=T($t),this.urlSerializer=T(ba),this.rootContexts=T(xa),this.inputBindingEnabled=null!==T(pu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>L(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new Mj(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new Sj(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n,r,o){return this.transitions=new xt({id:0,currentUrlTree:r,currentRawUrl:r,currentBrowserUrl:r,extractedUrl:n.urlHandlingStrategy.extract(r),urlAfterRedirects:n.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Da,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Re(s=>0!==s.id),se(s=>({...s,extractedUrl:n.urlHandlingStrategy.extract(s.rawUrl)})),Vt(s=>{this.currentTransition=s;let a=!1,l=!1;return L(s).pipe(lt(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Vt(c=>{const u=c.currentBrowserUrl.toString(),d=!n.navigated||c.extractedUrl.toString()!==u||u!==c.currentUrlTree.toString();if(!d&&"reload"!==(c.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const f="";return this.events.next(new Lo(c.id,this.urlSerializer.serialize(c.rawUrl),f,0)),c.resolve(null),dn}if(n.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return L(c).pipe(Vt(f=>{const p=this.transitions?.getValue();return this.events.next(new du(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),p!==this.transitions?.getValue()?dn:Promise.resolve(f)}),function I3(t,e,i,n,r,o){return Ze(s=>function x3(t,e,i,n,r,o,s="emptyOnly"){return new S3(t,e,i,n,r,s,o).recognize()}(t,e,i,n,s.extractedUrl,r,o).pipe(se(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),lt(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:f.urlAfterRedirects};const p=new mE(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(p)}));if(d&&n.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){const{id:f,extractedUrl:p,source:v,restoredState:b,extras:E}=c,y=new du(f,this.urlSerializer.serialize(p),v,b);this.events.next(y);const O=bE(0,this.rootComponentType).snapshot;return this.currentTransition=s={...c,targetSnapshot:O,urlAfterRedirects:p,extras:{...E,skipLocationChange:!1,replaceUrl:!1}},L(s)}{const f="";return this.events.next(new Lo(c.id,this.urlSerializer.serialize(c.extractedUrl),f,1)),c.resolve(null),dn}}),lt(c=>{const u=new Cj(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),se(c=>(this.currentTransition=s={...c,guards:Wj(c.targetSnapshot,c.currentSnapshot,this.rootContexts)},s)),function o3(t,e){return Ze(i=>{const{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=i;return 0===s.length&&0===o.length?L({...i,guardsResult:!0}):function s3(t,e,i,n){return Ke(t).pipe(Ze(r=>function h3(t,e,i,n,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?L(o.map(a=>{const l=Ma(e)??r,c=jo(a,l);return Li(function t3(t){return t&&Ta(t.canDeactivate)}(c)?c.canDeactivate(t,e,i,n):l.runInContext(()=>c(t,e,i,n))).pipe(vr())})).pipe(Ho()):L(!0)}(r.component,r.route,i,e,n)),vr(r=>!0!==r,!0))}(s,n,r,t).pipe(Ze(a=>a&&function Qj(t){return"boolean"==typeof t}(a)?function a3(t,e,i,n){return Ke(e).pipe(Po(r=>pa(function c3(t,e){return null!==t&&e&&e(new Aj(t)),L(!0)}(r.route.parent,n),function l3(t,e){return null!==t&&e&&e(new Tj(t)),L(!0)}(r.route,n),function d3(t,e,i){const n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>function Yj(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(s)).filter(s=>null!==s).map(s=>iu(()=>L(s.guards.map(l=>{const c=Ma(s.node)??i,u=jo(l,c);return Li(function e3(t){return t&&Ta(t.canActivateChild)}(u)?u.canActivateChild(n,t):c.runInContext(()=>u(n,t))).pipe(vr())})).pipe(Ho())));return L(o).pipe(Ho())}(t,r.path,i),function u3(t,e,i){const n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||0===n.length)return L(!0);const r=n.map(o=>iu(()=>{const s=Ma(e)??i,a=jo(o,s);return Li(function Jj(t){return t&&Ta(t.canActivate)}(a)?a.canActivate(e,t):s.runInContext(()=>a(e,t))).pipe(vr())}));return L(r).pipe(Ho())}(t,r.route,i))),vr(r=>!0!==r,!0))}(n,o,t,e):L(a)),se(a=>({...i,guardsResult:a})))})}(this.environmentInjector,c=>this.events.next(c)),lt(c=>{if(s.guardsResult=c.guardsResult,wr(c.guardsResult))throw EE(0,c.guardsResult);const u=new Dj(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),Re(c=>!!c.guardsResult||(this.cancelNavigationTransition(c,"",3),!1)),Em(c=>{if(c.guards.canActivateChecks.length)return L(c).pipe(lt(u=>{const d=new Ej(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),Vt(u=>{let d=!1;return L(u).pipe(function T3(t,e){return Ze(i=>{const{targetSnapshot:n,guards:{canActivateChecks:r}}=i;if(!r.length)return L(i);let o=0;return Ke(r).pipe(Po(s=>function R3(t,e,i,n){const r=t.routeConfig,o=t._resolve;return void 0!==r?.title&&!LE(r)&&(o[_a]=r.title),function O3(t,e,i,n){const r=function k3(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===r.length)return L({});const o={};return Ke(r).pipe(Ze(s=>function P3(t,e,i,n){const r=Ma(e)??n,o=jo(t,r);return Li(o.resolve?o.resolve(e,i):r.runInContext(()=>o(e,i)))}(t[s],e,i,n).pipe(vr(),lt(a=>{o[s]=a}))),sm(1),ZD(o),br(s=>IE(s)?dn:ma(s)))}(o,t,e,n).pipe(se(s=>(t._resolvedData=s,t.data=yE(t,i).resolve,r&&LE(r)&&(t.data[_a]=r.title),null)))}(s.route,n,t,e)),lt(()=>o++),sm(1),Ze(s=>o===r.length?L(i):dn))})}(n.paramsInheritanceStrategy,this.environmentInjector),lt({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",2)}}))}),lt(u=>{const d=new xj(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),Em(c=>{const u=d=>{const h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(lt(f=>{d.component=f}),se(()=>{})));for(const f of d.children)h.push(...u(f));return h};return tu(u(c.targetSnapshot.root)).pipe(ru(),et(1))}),Em(()=>this.afterPreactivation()),se(c=>{const u=function Fj(t,e,i){const n=Sa(t,e._root,i?i._root:void 0);return new vE(n,e)}(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s={...c,targetRouterState:u},s}),lt(()=>{this.events.next(new hm)}),((t,e,i,n)=>se(r=>(new qj(e,r.targetRouterState,r.currentRouterState,i,n).activate(t),r)))(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),et(1),lt({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Vi(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),n.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Fi(this.transitionAbortSubject.pipe(lt(c=>{throw c}))),ga(()=>{a||l||this.cancelNavigationTransition(s,"",1),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),br(c=>{if(l=!0,SE(c))this.events.next(new Ea(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),function Bj(t){return SE(t)&&wr(t.url)}(c)?this.events.next(new fm(c.url)):s.resolve(!1);else{this.events.next(new hu(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(u){s.reject(u)}}return dn}))}))}cancelNavigationTransition(n,r,o){const s=new Ea(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(s),n.resolve(!1)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function BE(t){return t!==Da}let jE=(()=>{var t;class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(s=>s.outlet===J);return r}getResolvedTitleForRoute(n){return n.data[_a]}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return T(F3)},providedIn:"root"}),e})(),F3=(()=>{var t;class e extends jE{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(jD))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),L3=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return T(B3)},providedIn:"root"}),e})();class V3{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}}let B3=(()=>{var t;class e extends V3{}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();const yu=new M("",{providedIn:"root",factory:()=>({})});let j3=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return T(H3)},providedIn:"root"}),e})(),H3=(()=>{var t;class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();var Ra=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ra||{});function HE(t,e){t.events.pipe(Re(i=>i instanceof Vi||i instanceof Ea||i instanceof hu||i instanceof Lo),se(i=>i instanceof Vi||i instanceof Lo?Ra.COMPLETE:i instanceof Ea&&(0===i.code||1===i.code)?Ra.REDIRECTING:Ra.FAILED),Re(i=>i!==Ra.REDIRECTING),et(1)).subscribe(()=>{e()})}function U3(t){throw t}function $3(t,e,i){return e.parse("/")}const z3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},G3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let nt=(()=>{var t;class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=T(pC),this.isNgZoneEnabled=!1,this._events=new q,this.options=T(yu,{optional:!0})||{},this.pendingTasks=T(Pc),this.errorHandler=this.options.errorHandler||U3,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||$3,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=T(j3),this.routeReuseStrategy=T(L3),this.titleStrategy=T(jE),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=T($o,{optional:!0})?.flat()??[],this.navigationTransitions=T(bu),this.urlSerializer=T(ba),this.location=T(ca),this.componentInputBindingEnabled=!!T(pu,{optional:!0}),this.eventsSubscription=new Pe,this.isNgZoneEnabled=T(G)instanceof G&&G.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Fo,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=bE(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const{currentTransition:o}=this.navigationTransitions;if(null===o)return void(UE(r)&&this._events.next(r));if(r instanceof du)BE(o.source)&&(this.browserUrlTree=o.extractedUrl);else if(r instanceof Lo)this.rawUrlTree=o.rawUrl;else if(r instanceof mE){if("eager"===this.urlUpdateStrategy){if(!o.extras.skipLocationChange){const s=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl);this.setBrowserUrl(s,o)}this.browserUrlTree=o.urlAfterRedirects}}else if(r instanceof hm)this.currentUrlTree=o.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),this.routerState=o.targetRouterState,"deferred"===this.urlUpdateStrategy&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o),this.browserUrlTree=o.urlAfterRedirects);else if(r instanceof Ea)0!==r.code&&1!==r.code&&(this.navigated=!0),(3===r.code||2===r.code)&&this.restoreHistory(o);else if(r instanceof fm){const s=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),a={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||BE(o.source)};this.scheduleNavigation(s,Da,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}r instanceof hu&&this.restoreHistory(o,!0),r instanceof Vi&&(this.navigated=!0),UE(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Da,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,r,n.state)},0)}))}navigateToSyncWithBrowser(n,r,o){const s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){const c={...o};delete c.navigationId,delete c.\u0275routerPageId,0!==Object.keys(c).length&&(s.state=c)}const l=this.parseUrl(n);this.scheduleNavigation(l,r,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(wm),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){const{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:a;let h,d=null;switch(l){case"merge":d={...this.currentUrlTree.queryParams,...s};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}null!==d&&(d=this.removeEmptyProps(d));try{h=lE(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),h=this.currentUrlTree.root}return cE(h,n,d,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=wr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Da,null,r)}navigate(n,r={skipLocationChange:!1}){return function q3(t){for(let e=0;e{const s=n[o];return null!=s&&(r[o]=s),r},{})}scheduleNavigation(n,r,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,u;a?(l=a.resolve,c=a.reject,u=a.promise):u=new Promise((h,f)=>{l=h,c=f});const d=this.pendingTasks.add();return HE(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:n,extras:s,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(h=>Promise.reject(h))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const a={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",a)}else{const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",s)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-this.browserPageId;0!==s?this.location.historyGo(s):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===s&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function UE(t){return!(t instanceof hm||t instanceof fm)}let Bi=(()=>{var t;class e{constructor(n,r,o,s,a,l){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new q,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===c||"area"===c,this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Vi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,s,a){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||r||o||s||a||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function Hb(t,e,i){return function BR(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?jb:Os}(e,i)(t)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){const o=this.renderer,s=this.el.nativeElement;null!==r?o.setAttribute(s,n,r):o.removeAttribute(s,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(nt),_(Bo),Cs("tabindex"),_(oi),_(ve),_(gr))},t.\u0275dir=N({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,r){1&n&&B("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&n&&qe("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Ro],skipLocationChange:["skipLocationChange","skipLocationChange",Ro],replaceUrl:["replaceUrl","replaceUrl",Ro],routerLink:"routerLink"},standalone:!0,features:[Gy,It]}),e})(),Sm=(()=>{var t;class e{get isActive(){return this._isActive}constructor(n,r,o,s,a){this.router=n,this.element=r,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new re,this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof Vi&&this.update()})}ngAfterContentInit(){L(this.links.changes,L(null)).pipe(Nr()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Ke(n).pipe(Nr()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){const r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){const r=function W3(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>!!o.urlTree&&n.isActive(o.urlTree,r)}hasActiveLinks(){const n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(nt),_(ve),_(oi),_(sn),_(Bi,8))},t.\u0275dir=N({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&pr(o,Bi,5),2&n){let s;rn(s=on())&&(r.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[It]}),e})();class $E{}let Y3=(()=>{var t;class e{constructor(n,r,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Re(n=>n instanceof Vi),Po(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const s of r){s.providers&&!s._injector&&(s._injector=Qf(s.providers,n,`Route: ${s.path}`));const a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return Ke(o).pipe(Nr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):L(null);const s=o.pipe(Ze(a=>null===a?L(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));return r.loadComponent&&!r._loadedComponent?Ke([s,this.loader.loadComponent(r)]).pipe(Nr()):s})}}return(t=e).\u0275fac=function(n){return new(n||t)(w(nt),w(mC),w($t),w($E),w(xm))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();const Mm=new M("");let zE=(()=>{var t;class e{constructor(n,r,o,s,a={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof du?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Vi?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Lo&&0===n.code&&(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 gE&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new gE(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(t=e).\u0275fac=function(n){hc()},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();function gi(t,e){return{\u0275kind:t,\u0275providers:e}}function qE(){const t=T(Fe);return e=>{const i=t.get(ki);if(e!==i.components[0])return;const n=t.get(nt),r=t.get(WE);1===t.get(Am)&&n.initialNavigation(),t.get(YE,null,te.Optional)?.setUpPreloading(),t.get(Mm,null,te.Optional)?.init(),n.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const WE=new M("",{factory:()=>new q}),Am=new M("",{providedIn:"root",factory:()=>1}),YE=new M("");function X3(t){return gi(0,[{provide:YE,useExisting:Y3},{provide:$E,useExisting:t}])}const ZE=new M("ROUTER_FORROOT_GUARD"),e5=[ca,{provide:ba,useClass:am},nt,xa,{provide:Bo,useFactory:function GE(t){return t.routerState.root},deps:[nt]},xm,[]];function t5(){return new MC("Router",nt)}let zo=(()=>{var t;class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[e5,[],{provide:$o,multi:!0,useValue:n},{provide:ZE,useFactory:s5,deps:[[nt,new Ll,new Vl]]},{provide:yu,useValue:r||{}},r?.useHash?{provide:gr,useClass:bL}:{provide:gr,useClass:nD},{provide:Mm,useFactory:()=>{const t=T(NV),e=T(G),i=T(yu),n=T(bu),r=T(ba);return i.scrollOffset&&t.setOffset(i.scrollOffset),new zE(r,n,t,e,i)}},r?.preloadingStrategy?X3(r.preloadingStrategy).\u0275providers:[],{provide:MC,multi:!0,useFactory:t5},r?.initialNavigation?a5(r):[],r?.bindToComponentInputs?gi(8,[DE,{provide:pu,useExisting:DE}]).\u0275providers:[],[{provide:KE,useFactory:qE},{provide:Cp,multi:!0,useExisting:KE}]]}}static forChild(n){return{ngModule:e,providers:[{provide:$o,multi:!0,useValue:n}]}}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ZE,8))},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();function s5(t){return"guarded"}function a5(t){return["disabled"===t.initialNavigation?gi(3,[{provide:hp,multi:!0,useFactory:()=>{const e=T(nt);return()=>{e.setUpLocationChangeListener()}}},{provide:Am,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?gi(2,[{provide:Am,useValue:0},{provide:hp,multi:!0,deps:[Fe],useFactory:e=>{const i=e.get(_L,Promise.resolve());return()=>i.then(()=>new Promise(n=>{const r=e.get(nt),o=e.get(WE);HE(r,()=>{n(!0)}),e.get(bu).afterPreactivation=()=>(n(!0),o.closed?L(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const KE=new M("");class wu{}class Cu{}class zn{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?"string"==typeof e?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach(i=>{const n=i.indexOf(":");if(n>0){const r=i.slice(0,n),o=r.toLowerCase(),s=i.slice(n+1).trim();this.maybeSetNormalizedName(r,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((i,n)=>{this.setHeaderEntries(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof zn?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(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){const i=new zn;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof zn?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){const i=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,i);const r=("a"===e.op?this.headers.get(i):void 0)||[];r.push(...n),this.headers.set(i,r);break;case"d":const o=e.value;if(o){let s=this.headers.get(i);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,s)}else this.headers.delete(i),this.normalizedNames.delete(i)}}setHeaderEntries(e,i){const n=(Array.isArray(i)?i:[i]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}}class c5{encodeKey(e){return QE(e)}encodeValue(e){return QE(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const d5=/%(\d[a-f0-9])/gi,h5={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function QE(t){return encodeURIComponent(t).replace(d5,(e,i)=>h5[i]??e)}function Du(t){return`${t}`}class ji{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new c5,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function u5(t,e){const i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=i.get(s)||[];l.push(a),i.set(s,l)}),i}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(i=>{const n=e.fromObject[i],r=Array.isArray(n)?n.map(Du):[Du(n)];this.map.set(i,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const i=this.map.get(e);return i?i[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,i){return this.clone({param:e,value:i,op:"a"})}appendAll(e){const i=[];return Object.keys(e).forEach(n=>{const r=e[n];Array.isArray(r)?r.forEach(o=>{i.push({param:n,value:o,op:"a"})}):i.push({param:n,value:r,op:"a"})}),this.clone(i)}set(e,i){return this.clone({param:e,value:i,op:"s"})}delete(e,i){return this.clone({param:e,value:i,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const i=this.encoder.encodeKey(e);return this.map.get(e).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const i=new ji({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(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":const i=("a"===e.op?this.map.get(e.param):void 0)||[];i.push(Du(e.value)),this.map.set(e.param,i);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let n=this.map.get(e.param)||[];const r=n.indexOf(Du(e.value));-1!==r&&n.splice(r,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class f5{constructor(){this.map=new Map}set(e,i){return this.map.set(e,i),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 XE(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function JE(t){return typeof Blob<"u"&&t instanceof Blob}function ex(t){return typeof FormData<"u"&&t instanceof FormData}class Oa{constructor(e,i,n,r){let o;if(this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function p5(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):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.headers||(this.headers=new zn),this.context||(this.context=new f5),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=i;else{const a=i.indexOf("?");this.urlWithParams=i+(-1===a?"?":ad.set(h,e.setHeaders[h]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((d,h)=>d.set(h,e.setParams[h]),c)),new Oa(i,n,o,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:s})}}var Go=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}(Go||{});class Im{constructor(e,i=200,n="OK"){this.headers=e.headers||new zn,this.status=void 0!==e.status?e.status:i,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class Tm extends Im{constructor(e={}){super(e),this.type=Go.ResponseHeader}clone(e={}){return new Tm({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class qo extends Im{constructor(e={}){super(e),this.type=Go.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new qo({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class tx extends Im{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function Rm(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}}let Eu=(()=>{var t;class e{constructor(n){this.handler=n}request(n,r,o={}){let s;if(n instanceof Oa)s=n;else{let c,u;c=o.headers instanceof zn?o.headers:new zn(o.headers),o.params&&(u=o.params instanceof ji?o.params:new ji({fromObject:o.params})),s=new Oa(n,r,void 0!==o.body?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const a=L(s).pipe(Po(c=>this.handler.handle(c)));if(n instanceof Oa||"events"===o.observe)return a;const l=a.pipe(Re(c=>c instanceof qo));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(se(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(se(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(se(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return l.pipe(se(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new ji).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Rm(o,r))}post(n,r,o={}){return this.request("POST",n,Rm(o,r))}put(n,r,o={}){return this.request("PUT",n,Rm(o,r))}}return(t=e).\u0275fac=function(n){return new(n||t)(w(wu))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();function rx(t,e){return e(t)}function _5(t,e){return(i,n)=>e.intercept(i,{handle:r=>t(r,n)})}const b5=new M(""),ka=new M(""),ox=new M("");function y5(){let t=null;return(e,i)=>{null===t&&(t=(T(b5,{optional:!0})??[]).reduceRight(_5,rx));const n=T(Pc),r=n.add();return t(e,i).pipe(ga(()=>n.remove(r)))}}let sx=(()=>{var t;class e extends wu{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=T(Pc)}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(ka),...this.injector.get(ox,[])]));this.chain=o.reduceRight((s,a)=>function v5(t,e,i){return(n,r)=>i.runInContext(()=>e(n,o=>t(o,r)))}(s,a,this.injector),rx)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(ga(()=>this.pendingTasks.remove(r)))}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Cu),w($t))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();const E5=/^\)\]\}',?\n/;let lx=(()=>{var t;class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new x(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Ke(r.\u0275loadImpl()):L(null)).pipe(Vt(()=>new Te(s=>{const a=r.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((b,E)=>a.setRequestHeader(b,E.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const b=n.detectContentTypeHeader();null!==b&&a.setRequestHeader("Content-Type",b)}if(n.responseType){const b=n.responseType.toLowerCase();a.responseType="json"!==b?b:"text"}const l=n.serializeBody();let c=null;const u=()=>{if(null!==c)return c;const b=a.statusText||"OK",E=new zn(a.getAllResponseHeaders()),y=function x5(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(a)||n.url;return c=new Tm({headers:E,status:a.status,statusText:b,url:y}),c},d=()=>{let{headers:b,status:E,statusText:y,url:O}=u(),R=null;204!==E&&(R=typeof a.response>"u"?a.responseText:a.response),0===E&&(E=R?200:0);let $=E>=200&&E<300;if("json"===n.responseType&&"string"==typeof R){const Ce=R;R=R.replace(E5,"");try{R=""!==R?JSON.parse(R):null}catch(we){R=Ce,$&&($=!1,R={error:we,text:R})}}$?(s.next(new qo({body:R,headers:b,status:E,statusText:y,url:O||void 0})),s.complete()):s.error(new tx({error:R,headers:b,status:E,statusText:y,url:O||void 0}))},h=b=>{const{url:E}=u(),y=new tx({error:b,status:a.status||0,statusText:a.statusText||"Unknown Error",url:E||void 0});s.error(y)};let f=!1;const p=b=>{f||(s.next(u()),f=!0);let E={type:Go.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),"text"===n.responseType&&a.responseText&&(E.partialText=a.responseText),s.next(E)},v=b=>{let E={type:Go.UploadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),s.next(E)};return a.addEventListener("load",d),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),n.reportProgress&&(a.addEventListener("progress",p),null!==l&&a.upload&&a.upload.addEventListener("progress",v)),a.send(l),s.next({type:Go.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",d),a.removeEventListener("timeout",h),n.reportProgress&&(a.removeEventListener("progress",p),null!==l&&a.upload&&a.upload.removeEventListener("progress",v)),a.readyState!==a.DONE&&a.abort()}})))}}return(t=e).\u0275fac=function(n){return new(n||t)(w(CD))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();const Om=new M("XSRF_ENABLED"),cx=new M("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ux=new M("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class dx{}let A5=(()=>{var t;class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=hD(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne),w(Ti),w(cx))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();function I5(t,e){const i=t.url.toLowerCase();if(!T(Om)||"GET"===t.method||"HEAD"===t.method||i.startsWith("http://")||i.startsWith("https://"))return e(t);const n=T(dx).getToken(),r=T(ux);return null!=n&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),e(t)}var Hi=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Hi||{});function Cr(t,e){return{\u0275kind:t,\u0275providers:e}}function T5(...t){const e=[Eu,lx,sx,{provide:wu,useExisting:sx},{provide:Cu,useExisting:lx},{provide:ka,useValue:I5,multi:!0},{provide:Om,useValue:!0},{provide:dx,useClass:A5}];for(const i of t)e.push(...i.\u0275providers);return function qh(t){return{\u0275providers:t}}(e)}const hx=new M("LEGACY_INTERCEPTOR_FN");let km,fx=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[T5(Cr(Hi.LegacyInterceptors,[{provide:hx,useFactory:y5},{provide:ka,useExisting:hx,multi:!0}]))]}),e})(),Ui=(()=>{var t;class e{constructor(n){this._http=n,this.baseUrl="http://api.fijo.site"}validateUserLogin(n){return this._http.post(`${this.baseUrl}/api/auth/login`,n)}registerUser(n){return this._http.post(`${this.baseUrl}/api/auth/register`,n)}storeDataSession(n){const r=new Date;r.setDate(r.getDate()+1),localStorage.setItem("user",JSON.stringify(n)),localStorage.setItem("logged","true"),localStorage.setItem("session_expire",r.toISOString().slice(0,19).replace("T"," "))}isSessionExpired(){const n=localStorage.getItem("session_expire");return new Date>=new Date(n)}logout(){localStorage.removeItem("user"),localStorage.removeItem("logged"),localStorage.removeItem("session_expire")}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Eu))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();try{km=typeof Intl<"u"&&Intl.v8BreakIterator}catch{km=!1}let Pa,Dr,Pm,Ft=(()=>{var t;class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function PV(t){return t===yD}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!km)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ti))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function Na(t){return function L5(){if(null==Pa&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Pa=!0}))}finally{Pa=Pa||!1}return Pa}()?t:!!t.capture}function V5(){if(null==Dr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Dr=!1,Dr;if("scrollBehavior"in document.documentElement.style)Dr=!0;else{const t=Element.prototype.scrollTo;Dr=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return Dr}function Nm(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function $i(t){return t.composedPath?t.composedPath()[0]:t.target}function Fm(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Fa(t,...e){return e.length?e.some(i=>t[i]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class t4 extends Pe{constructor(e,i){super()}schedule(e,i=0){return this}}const Mu={setInterval(t,e,...i){const{delegate:n}=Mu;return n?.setInterval?n.setInterval(t,e,...i):setInterval(t,e,...i)},clearInterval(t){const{delegate:e}=Mu;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};class jm extends t4{constructor(e,i){super(e,i),this.scheduler=e,this.work=i,this.pending=!1}schedule(e,i=0){var n;if(this.closed)return this;this.state=e;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,i)),this.pending=!0,this.delay=i,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(o,this.id,i),this}requestAsyncId(e,i,n=0){return Mu.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,i,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return i;null!=i&&Mu.clearInterval(i)}execute(e,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,i);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,i){let r,n=!1;try{this.work(e)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:e,scheduler:i}=this,{actions:n}=i;this.work=this.state=this.scheduler=null,this.pending=!1,Pr(n,this),null!=e&&(this.id=this.recycleAsyncId(i,e,null)),this.delay=null,super.unsubscribe()}}}const bx={now:()=>(bx.delegate||Date).now(),delegate:void 0};class La{constructor(e,i=La.now){this.schedulerActionCtor=e,this.now=i}schedule(e,i=0,n){return new this.schedulerActionCtor(this,e).schedule(n,i)}}La.now=bx.now;class Hm extends La{constructor(e,i=La.now){super(e,i),this.actions=[],this._active=!1}flush(e){const{actions:i}=this;if(this._active)return void i.push(e);let n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=i.shift());if(this._active=!1,n){for(;e=i.shift();)e.unsubscribe();throw n}}}const Au=new Hm(jm),n4=Au;function yx(t,e=Au){return Be((i,n)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,n.next(c)}};function l(){const c=s+t,u=e.now();if(u{o=c,s=e.now(),r||(r=e.schedule(l,t),n.add(r))},()=>{a(),n.complete()},void 0,()=>{o=r=null}))})}function wx(t){return Re((e,i)=>t<=i)}function En(t){return null!=t&&"false"!=`${t}`}function Um(t,e=0){return function i4(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function Iu(t){return Array.isArray(t)?t:[t]}function Ye(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Yo(t){return t instanceof ve?t.nativeElement:t}let r4=(()=>{var t;class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),o4=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[r4]}),e})();const Cx=new Set;let Er,Dx=(()=>{var t;class e{constructor(n,r){this._platform=n,this._nonce=r,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):a4}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&function s4(t,e){if(!Cx.has(t))try{Er||(Er=document.createElement("style"),e&&(Er.nonce=e),Er.setAttribute("type","text/css"),document.head.appendChild(Er)),Er.sheet&&(Er.sheet.insertRule(`@media ${t} {body{ }}`,0),Cx.add(t))}catch(i){console.error(i)}}(n,this._nonce),this._matchMedia(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ft),w(Jh,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function a4(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Tu=(()=>{var t;class e{constructor(n,r){this._mediaMatcher=n,this._zone=r,this._queries=new Map,this._destroySubject=new q}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Ex(Iu(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let s=tu(Ex(Iu(n)).map(a=>this._registerQuery(a).observable));return s=pa(s.pipe(et(1)),s.pipe(wx(1),yx(0))),s.pipe(se(a=>{const l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:u})=>{l.matches=l.matches||c,l.breakpoints[u]=c}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);const r=this._mediaMatcher.matchMedia(n),s={observable:new Te(a=>{const l=c=>this._zone.run(()=>a.next(c));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(pi(r),se(({matches:a})=>({query:n,matches:a})),Fi(this._destroySubject)),mql:r};return this._queries.set(n,s),s}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Dx),w(G))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function Ex(t){return t.map(e=>e.split(",")).reduce((e,i)=>e.concat(i)).map(e=>e.trim())}class d4{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new q,this._typeaheadSubscription=Pe.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=i=>i.disabled,this._pressedLetters=[],this.tabOut=new q,this.change=new q,e instanceof fr&&(this._itemChangesSubscription=e.changes.subscribe(i=>{if(this._activeItem){const r=i.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(lt(i=>this._pressedLetters.push(i)),yx(e),Re(()=>this._pressedLetters.length>0),se(()=>this._pressedLetters.join(""))).subscribe(i=>{const n=this._getItemsArray();for(let r=1;r!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(i){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&i<=90||i>=48&&i<=57)&&this._letterKeyStream.next(String.fromCharCode(i))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const i=this._getItemsArray(),n="number"==typeof e?e:i.indexOf(e);this._activeItem=i[n]??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const i=this._getItemsArray();for(let n=1;n<=i.length;n++){const r=(this._activeItemIndex+e*n+i.length)%i.length;if(!this._skipPredicateFn(i[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,i){const n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=i])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof fr?this._items.toArray():this._items}}class Mx extends d4{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let Ru=(()=>{var t;class e{constructor(n){this._platform=n}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return function f4(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(n)&&"visible"===getComputedStyle(n).visibility}isTabbable(n){if(!this._platform.isBrowser)return!1;const r=function h4(t){try{return t.frameElement}catch{return null}}(function w4(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(n));if(r&&(-1===Ix(r)||!this.isVisible(r)))return!1;let o=n.nodeName.toLowerCase(),s=Ix(n);return n.hasAttribute("contenteditable")?-1!==s:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function b4(t){let e=t.nodeName.toLowerCase(),i="input"===e&&t.type;return"text"===i||"password"===i||"select"===e||"textarea"===e}(n))&&("audio"===o?!!n.hasAttribute("controls")&&-1!==s:"video"===o?-1!==s&&(null!==s||this._platform.FIREFOX||n.hasAttribute("controls")):n.tabIndex>=0)}isFocusable(n,r){return function y4(t){return!function m4(t){return function _4(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function p4(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function g4(t){return function v4(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||Ax(t))}(n)&&!this.isDisabled(n)&&(r?.ignoreVisibility||this.isVisible(n))}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ft))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function Ax(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return!(!e||isNaN(parseInt(e,10)))}function Ix(t){if(!Ax(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class C4{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,i,n,r,o=!1){this._element=e,this._checker=i,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){const e=this._startAnchor,i=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),i&&(i.removeEventListener("focus",this.endAnchorListener),i.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){const i=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return"start"==e?i.length?i[0]:this._getFirstTabbableElement(this._element):i.length?i[i.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){const i=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(i){if(!this._checker.isFocusable(i)){const n=this._getFirstTabbableElement(i);return n?.focus(e),!!n}return i.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){const i=this._getRegionBoundary("start");return i&&i.focus(e),!!i}focusLastTabbableElement(e){const i=this._getRegionBoundary("end");return i&&i.focus(e),!!i}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;const i=e.children;for(let n=0;n=0;n--){const r=i[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(i[n]):null;if(r)return r}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,i){e?i.setAttribute("tabindex","0"):i.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(et(1)).subscribe(e)}}let $m=(()=>{var t;class e{constructor(n,r,o){this._checker=n,this._ngZone=r,this._document=o}create(n,r=!1){return new C4(n,this._checker,this._ngZone,this._document,r)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ru),w(G),w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function zm(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function Gm(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}const D4=new M("cdk-input-modality-detector-options"),E4={ignoreKeys:[18,17,224,91,16]},Zo=Na({passive:!0,capture:!0});let x4=(()=>{var t;class e{get mostRecentModality(){return this._modality.value}constructor(n,r,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new xt(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=$i(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(zm(a)?"keyboard":"mouse"),this._mostRecentTarget=$i(a))},this._onTouchstart=a=>{Gm(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=$i(a))},this._options={...E4,...s},this.modalityDetected=this._modality.pipe(wx(1)),this.modalityChanged=this.modalityDetected.pipe(Fd()),n.isBrowser&&r.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Zo),o.addEventListener("mousedown",this._onMousedown,Zo),o.addEventListener("touchstart",this._onTouchstart,Zo)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Zo),document.removeEventListener("mousedown",this._onMousedown,Zo),document.removeEventListener("touchstart",this._onTouchstart,Zo))}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ft),w(G),w(ne),w(D4,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();const S4=new M("liveAnnouncerElement",{providedIn:"root",factory:function M4(){return null}}),A4=new M("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let I4=0,Rx=(()=>{var t;class e{constructor(n,r,o,s){this._ngZone=r,this._defaultOptions=s,this._document=o,this._liveElement=n||this._createLiveElement()}announce(n,...r){const o=this._defaultOptions;let s,a;return 1===r.length&&"number"==typeof r[0]?a=r[0]:[s,a]=r,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),null==a&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=n,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{var t;class e{constructor(n,r,o,s,a){this._ngZone=n,this._platform=r,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new q,this._rootNodeFocusAndBlurListener=l=>{for(let u=$i(l);u;u=u.parentElement)"focus"===l.type?this._onFocus(l,u):this._onBlur(l,u)},this._document=s,this._detectionMode=a?.detectionMode||0}monitor(n,r=!1){const o=Yo(n);if(!this._platform.isBrowser||1!==o.nodeType)return L();const s=function j5(t){if(function B5(){if(null==Pm){const t=typeof document<"u"?document.head:null;Pm=!(!t||!t.createShadowRoot&&!t.attachShadow)}return Pm}()){const e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return r&&(a.checkChildren=!0),a.subject;const l={checkChildren:r,subject:new q,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(n){const r=Yo(n),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(n,r,o){const s=Yo(n);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,r,c)):(this._setOrigin(r),"function"==typeof s.focus&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return 1===this._detectionMode||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,r){n.classList.toggle("cdk-focused",!!r),n.classList.toggle("cdk-touch-focused","touch"===r),n.classList.toggle("cdk-keyboard-focused","keyboard"===r),n.classList.toggle("cdk-mouse-focused","mouse"===r),n.classList.toggle("cdk-program-focused","program"===r)}_setOrigin(n,r=!1){this._ngZone.runOutsideAngular(()=>{this._origin=n,this._originFromTouchInteraction="touch"===n&&r,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(n,r){const o=this._elementInfo.get(r),s=$i(n);!o||!o.checkChildren&&r!==s||this._originChanged(r,this._getFocusOrigin(s),o)}_onBlur(n,r){const o=this._elementInfo.get(r);!o||o.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(n,r){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(r))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;const r=n.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ou),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ou)}),this._rootNodeFocusListenerCount.set(r,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Fi(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){const r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){const o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ou),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ou),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,r,o){this._setClasses(n,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(n){const r=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&r.push([s,o])}),r}_isLastInteractionFromInputLabel(n){const{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!r||r===n||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName||n.disabled)return!1;const s=n.labels;if(s)for(let a=0;a{var t;class e{constructor(n,r){this._platform=n,this._document=r,this._breakpointSubscription=T(Tu).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);const r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const n=this._document.body.classList;n.remove(qm,Ox,kx),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();1===r?n.add(qm,Ox):2===r&&n.add(qm,kx)}}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ft),w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),R4=(()=>{var t;class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Px))},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[o4]}),e})();const O4=new M("cdk-dir-doc",{providedIn:"root",factory:function k4(){return T(ne)}}),P4=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ku=(()=>{var t;class e{constructor(n){this.value="ltr",this.change=new re,n&&(this.value=function N4(t){const e=t?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&navigator?.language?P4.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return(t=e).\u0275fac=function(n){return new(n||t)(w(O4,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),Va=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();const L4=new M("mat-sanity-checks",{providedIn:"root",factory:function F4(){return!0}});let xn=(()=>{var t;class e{constructor(n,r,o){this._sanityChecks=r,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return!Fm()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[n])}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Px),w(L4,8),w(ne))},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Va,Va]}),e})();function Vx(t){return class extends t{get disabled(){return this._disabled}set disabled(e){this._disabled=En(e)}constructor(...e){super(...e),this._disabled=!1}}}function V4(t,e){return class extends t{get color(){return this._color}set color(i){const n=i||this.defaultColor;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...i){super(...i),this.defaultColor=e,this.color=e}}}function Bx(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=En(e)}constructor(...e){super(...e),this._disableRipple=!1}}}function B4(t,e=0){return class extends t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(i){this._tabIndex=null!=i?Um(i):this.defaultTabIndex}constructor(...i){super(...i),this._tabIndex=e,this.defaultTabIndex=e}}}class H4{constructor(e,i,n,r=!1){this._renderer=e,this.element=i,this.config=n,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const jx=Na({passive:!0,capture:!0});class U4{constructor(){this._events=new Map,this._delegateEventHandler=e=>{const i=$i(e);i&&this._events.get(e.type)?.forEach((n,r)=>{(r===i||r.contains(i))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,i,n,r){const o=this._events.get(i);if(o){const s=o.get(n);s?s.add(r):o.set(n,new Set([r]))}else this._events.set(i,new Map([[n,new Set([r])]])),e.runOutsideAngular(()=>{document.addEventListener(i,this._delegateEventHandler,jx)})}removeHandler(e,i,n){const r=this._events.get(e);if(!r)return;const o=r.get(i);o&&(o.delete(n),0===o.size&&r.delete(i),0===r.size&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,jx)))}}const Hx={enterDuration:225,exitDuration:150},Ux=Na({passive:!0,capture:!0}),$x=["mousedown","touchstart"],zx=["mouseup","mouseleave","touchend","touchcancel"];class ja{constructor(e,i,n,r){this._target=e,this._ngZone=i,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Yo(n))}fadeInRipple(e,i,n={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...Hx,...n.animation};n.centered&&(e=r.left+r.width/2,i=r.top+r.height/2);const s=n.radius||function z4(t,e,i){const n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),r=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+r*r)}(e,i,r),a=e-r.left,l=i-r.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-s+"px",u.style.top=l-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"px",null!=n.color&&(u.style.backgroundColor=n.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);const d=window.getComputedStyle(u),f=d.transitionDuration,p="none"===d.transitionProperty||"0s"===f||"0s, 0s"===f||0===r.width&&0===r.height,v=new H4(this,u,n,p);u.style.transform="scale3d(1, 1, 1)",v.state=0,n.persistent||(this._mostRecentTransientRipple=v);let b=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const E=()=>this._finishRippleTransition(v),y=()=>this._destroyRipple(v);u.addEventListener("transitionend",E),u.addEventListener("transitioncancel",y),b={onTransitionEnd:E,onTransitionCancel:y}}),this._activeRipples.set(v,b),(p||!c)&&this._finishRippleTransition(v),v}fadeOutRipple(e){if(2===e.state||3===e.state)return;const i=e.element,n={...Hx,...e.config.animation};i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){const i=Yo(e);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,$x.forEach(n=>{ja._eventManager.addHandler(this._ngZone,n,i,this)}))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{zx.forEach(i=>{this._triggerElement.addEventListener(i,this,Ux)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){0===e.state?this._startFadeOutTransition(e):2===e.state&&this._destroyRipple(e)}_startFadeOutTransition(e){const i=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=1,!n&&(!i||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){const i=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,null!==i&&(e.element.removeEventListener("transitionend",i.onTransitionEnd),e.element.removeEventListener("transitioncancel",i.onTransitionCancel)),e.element.remove()}_onMousedown(e){const i=zm(e),n=this._lastTouchStartEvent&&Date.now(){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const e=this._triggerElement;e&&($x.forEach(i=>ja._eventManager.removeHandler(i,e,this)),this._pointerUpEventsRegistered&&zx.forEach(i=>e.removeEventListener(i,this,Ux)))}}ja._eventManager=new U4;const Gx=new M("mat-ripple-global-options");let qx=(()=>{var t;class e{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,r,o,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new ja(this,r,n,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(n,r=0,o){return"number"==typeof n?this._rippleRenderer.fadeInRipple(n,r,{...this.rippleConfig,...o}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...n})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_(G),_(Ft),_(Gx,8),_(Nn,8))},t.\u0275dir=N({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,r){2&n&&Ot("mat-ripple-unbounded",r.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),e})(),Wx=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[xn,xn]}),e})();const Yx={capture:!0},Zx=["focus","click","mouseenter","touchstart"],Wm="mat-ripple-loader-uninitialized",Ym="mat-ripple-loader-class-name",Kx="mat-ripple-loader-centered",Pu="mat-ripple-loader-disabled";let G4=(()=>{var t;class e{constructor(){this._document=T(ne,{optional:!0}),this._animationMode=T(Nn,{optional:!0}),this._globalRippleOptions=T(Gx,{optional:!0}),this._platform=T(Ft),this._ngZone=T(G),this._onInteraction=n=>{if(!(n.target instanceof HTMLElement))return;const o=n.target.closest(`[${Wm}]`);o&&this.createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(const n of Zx)this._document?.addEventListener(n,this._onInteraction,Yx)})}ngOnDestroy(){for(const n of Zx)this._document?.removeEventListener(n,this._onInteraction,Yx)}configureRipple(n,r){n.setAttribute(Wm,""),(r.className||!n.hasAttribute(Ym))&&n.setAttribute(Ym,r.className||""),r.centered&&n.setAttribute(Kx,""),r.disabled&&n.setAttribute(Pu,"")}getRipple(n){return n.matRipple?n.matRipple:this.createRipple(n)}setDisabled(n,r){const o=n.matRipple;o?o.disabled=r:r?n.setAttribute(Pu,""):n.removeAttribute(Pu)}createRipple(n){if(!this._document)return;n.querySelector(".mat-ripple")?.remove();const r=this._document.createElement("span");r.classList.add("mat-ripple",n.getAttribute(Ym)),n.append(r);const o=new qx(new ve(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=n,o.centered=n.hasAttribute(Kx),o.disabled=n.hasAttribute(Pu),this.attachRipple(n,o),o}attachRipple(n,r){n.removeAttribute(Wm),n.matRipple=r}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();const q4=["mat-button",""],W4=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Y4=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Z4=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],K4=V4(Vx(Bx(class{constructor(t){this._elementRef=t}})));let Q4=(()=>{var t;class e extends K4{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(n){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,n)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=En(n),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=En(n),this._updateRippleDisabled()}constructor(n,r,o,s){super(n),this._platform=r,this._ngZone=o,this._animationMode=s,this._focusMonitor=T(xr),this._rippleLoader=T(G4),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const a=n.nativeElement.classList;for(const l of Z4)this._hasHostAttributes(l.selector)&&l.mdcClasses.forEach(c=>{a.add(c)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(n="program",r){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,r):this._elementRef.nativeElement.focus(r)}_hasHostAttributes(...n){return n.some(r=>this._elementRef.nativeElement.hasAttribute(r))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}}return(t=e).\u0275fac=function(n){hc()},t.\u0275dir=N({type:t,features:[X]}),e})(),Qx=(()=>{var t;class e extends Q4{constructor(n,r,o,s){super(n,r,o,s)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_(Ft),_(G),_(Nn,8))},t.\u0275cmp=fe({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(n,r){2&n&&(qe("disabled",r.disabled||null),Ot("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[X],attrs:q4,ngContentSelectors:Y4,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){1&n&&(Eo(W4),I(0,"span",0),Gt(1),m(2,"span",1),Gt(3,1),g(),Gt(4,2),I(5,"span",2)(6,"span",3)),2&n&&Ot("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),e})(),Xx=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[xn,Wx,xn]}),e})();class Jx{}class eH{}const _i="*";function Ko(t,e){return{type:7,name:t,definitions:e,options:{}}}function vi(t,e=null){return{type:4,styles:e,timings:t}}function tS(t,e=null){return{type:2,steps:t,options:e}}function it(t){return{type:6,styles:t,offset:null}}function Gn(t,e,i){return{type:0,name:t,styles:e,options:i}}function bi(t,e,i=null){return{type:1,expr:t,animation:e,options:i}}class Ha{constructor(e=0,i=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+i}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const i="start"==e?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}}class rS{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let i=0,n=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++i==o&&this._onFinish()}),s.onDestroy(()=>{++n==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const i=e*this.totalTime;this.players.forEach(n=>{const r=n.totalTime?Math.min(1,i/n.totalTime):1;n.setPosition(r)})}getPosition(){const e=this.players.reduce((i,n)=>null===i||n.totalTime>i.totalTime?n:i,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const i="start"==e?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}}class Km{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class Ua extends Km{constructor(e,i,n,r,o){super(),this.component=e,this.viewContainerRef=i,this.injector=n,this.componentFactoryResolver=r,this.projectableNodes=o}}class $a extends Km{constructor(e,i,n,r){super(),this.templateRef=e,this.viewContainerRef=i,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,i=this.context){return this.context=i,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class tH extends Km{constructor(e){super(),this.element=e instanceof ve?e.nativeElement:e}}class Nu{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof Ua?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof $a?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof tH?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class nH extends Nu{constructor(e,i,n,r,o){super(),this.outletElement=e,this._componentFactoryResolver=i,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){const n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(n,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=n.create(e.injector||this._defaultInjector||Fe.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=e,r}attachTemplatePortal(e){let i=e.viewContainerRef,n=i.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=i.indexOf(n);-1!==r&&i.remove(r)}),this._attachedPortal=e,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let Qo=(()=>{var t;class e extends Nu{constructor(n,r,o){super(),this._componentFactoryResolver=n,this._viewContainerRef=r,this._isInitialized=!1,this.attached=new re,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");s.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(n){this.hasAttached()&&!n&&!this._isInitialized||(this.hasAttached()&&super.detach(),n&&super.attach(n),this._attachedPortal=n||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(n){n.setAttachedHost(this);const r=null!=n.viewContainerRef?n.viewContainerRef:this._viewContainerRef,s=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),a=r.createComponent(s,r.length,n.injector||r.injector,n.projectableNodes||void 0);return r!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=n,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(n){n.setAttachedHost(this);const r=this._viewContainerRef.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=n,this._attachedRef=r,this.attached.emit(r),r}_getRootNode(){const n=this._viewContainerRef.element.nativeElement;return n.nodeType===n.ELEMENT_NODE?n:n.parentNode}}return(t=e).\u0275fac=function(n){return new(n||t)(_(lo),_(Pt),_(ne))},t.\u0275dir=N({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[X]}),e})(),Xo=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();const iH=["addListener","removeListener"],rH=["addEventListener","removeEventListener"],oH=["on","off"];function za(t,e,i,n){if(oe(i)&&(n=i,i=void 0),n)return za(t,e,i).pipe(rm(n));const[r,o]=function lH(t){return oe(t.addEventListener)&&oe(t.removeEventListener)}(t)?rH.map(s=>a=>t[s](e,a,i)):function sH(t){return oe(t.addListener)&&oe(t.removeListener)}(t)?iH.map(oS(t,e)):function aH(t){return oe(t.on)&&oe(t.off)}(t)?oH.map(oS(t,e)):[];if(!r&&kd(t))return Ze(s=>za(s,e,i))(ut(t));if(!r)throw new TypeError("Invalid event target");return new Te(s=>{const a=(...l)=>s.next(1o(a)})}function oS(t,e){return i=>n=>t[i](e,n)}const Ga={schedule(t){let e=requestAnimationFrame,i=cancelAnimationFrame;const{delegate:n}=Ga;n&&(e=n.requestAnimationFrame,i=n.cancelAnimationFrame);const r=e(o=>{i=void 0,t(o)});return new Pe(()=>i?.(r))},requestAnimationFrame(...t){const{delegate:e}=Ga;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:e}=Ga;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};new class uH extends Hm{flush(e){this._active=!0;const i=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===i&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===i&&n.shift();)e.unsubscribe();throw r}}}(class cH extends jm{constructor(e,i){super(e,i),this.scheduler=e,this.work=i}requestAsyncId(e,i,n=0){return null!==n&&n>0?super.requestAsyncId(e,i,n):(e.actions.push(this),e._scheduled||(e._scheduled=Ga.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,i,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,i,n);const{actions:o}=e;null!=i&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==i&&(Ga.cancelAnimationFrame(i),e._scheduled=void 0)}});let Qm,hH=1;const Fu={};function sS(t){return t in Fu&&(delete Fu[t],!0)}const fH={setImmediate(t){const e=hH++;return Fu[e]=!0,Qm||(Qm=Promise.resolve()),Qm.then(()=>sS(e)&&t()),e},clearImmediate(t){sS(t)}},{setImmediate:pH,clearImmediate:mH}=fH,Lu={setImmediate(...t){const{delegate:e}=Lu;return(e?.setImmediate||pH)(...t)},clearImmediate(t){const{delegate:e}=Lu;return(e?.clearImmediate||mH)(t)},delegate:void 0},Xm=new class _H extends Hm{flush(e){this._active=!0;const i=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===i&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===i&&n.shift();)e.unsubscribe();throw r}}}(class gH extends jm{constructor(e,i){super(e,i),this.scheduler=e,this.work=i}requestAsyncId(e,i,n=0){return null!==n&&n>0?super.requestAsyncId(e,i,n):(e.actions.push(this),e._scheduled||(e._scheduled=Lu.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,i,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,i,n);const{actions:o}=e;null!=i&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==i&&(Lu.clearImmediate(i),e._scheduled===i&&(e._scheduled=void 0))}});function aS(t=0,e,i=n4){let n=-1;return null!=e&&(x_(e)?i=e:n=e),new Te(r=>{let o=function bH(t){return t instanceof Date&&!isNaN(t)}(t)?+t-i.now():t;o<0&&(o=0);let s=0;return i.schedule(function(){r.closed||(r.next(s++),0<=n?this.schedule(void 0,n):r.complete())},o)})}function lS(t,e=Au){return function vH(t){return Be((e,i)=>{let n=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;const c=r;r=null,i.next(c)}s&&i.complete()},l=()=>{o=null,s&&i.complete()};e.subscribe(Oe(i,c=>{n=!0,r=c,o||ut(t(c)).subscribe(o=Oe(i,a,l))},()=>{s=!0,(!n||!o||o.closed)&&i.complete()}))})}(()=>aS(t,e))}let wH=(()=>{var t;class e{constructor(n,r,o){this._ngZone=n,this._platform=r,this._scrolled=new q,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new Te(r=>{this._globalSubscription||this._addGlobalListener();const o=n>0?this._scrolled.pipe(lS(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):L()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){const o=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(Re(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(n){const r=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,n)&&r.push(s)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,r){let o=Yo(r),s=n.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>za(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(G),w(Ft),w(ne,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),cS=(()=>{var t;class e{constructor(n,r,o){this._platform=n,this._change=new q,this._changeListener=s=>{this._change.next(s)},this._document=o,r.runOutsideAngular(()=>{if(n.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){const n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,r=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect();return{top:-s.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,left:-s.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(lS(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ft),w(G),w(ne,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),Jm=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})(),uS=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Va,Jm,Va,Jm]}),e})();const dS=V5();class DH{constructor(e,i){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=i}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Ye(-this._previousScrollPosition.left),e.style.top=Ye(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,n=e.style,r=this._document.body.style,o=n.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),dS&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),dS&&(n.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const i=this._document.body,n=this._viewportRuler.getViewportSize();return i.scrollHeight>n.height||i.scrollWidth>n.width}}class EH{constructor(e,i,n,r){this._scrollDispatcher=e,this._ngZone=i,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0).pipe(Re(i=>!i||!this._overlayRef.overlayElement.contains(i.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const i=this._viewportRuler.getViewportScrollPosition().top;Math.abs(i-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class hS{enable(){}disable(){}attach(){}}function eg(t,e){return e.some(i=>t.bottomi.bottom||t.righti.right)}function fS(t,e){return e.some(i=>t.topi.bottom||t.lefti.right)}class xH{constructor(e,i,n,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const i=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();eg(i,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let SH=(()=>{var t;class e{constructor(n,r,o,s){this._scrollDispatcher=n,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new hS,this.close=a=>new EH(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new DH(this._viewportRuler,this._document),this.reposition=a=>new xH(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}}return(t=e).\u0275fac=function(n){return new(n||t)(w(wH),w(cS),w(G),w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();class Vu{constructor(e){if(this.scrollStrategy=new hS,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const i=Object.keys(e);for(const n of i)void 0!==e[n]&&(this[n]=e[n])}}}class MH{constructor(e,i){this.connectionPair=e,this.scrollableViewProperties=i}}let pS=(()=>{var t;class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){const r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),AH=(()=>{var t;class e extends pS{constructor(n,r){super(n),this._ngZone=r,this._keydownListener=o=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){const l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne),w(G,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),IH=(()=>{var t;class e extends pS{constructor(n,r,o){super(n),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=$i(s)},this._clickListener=s=>{const a=$i(s),l="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let u=c.length-1;u>-1;u--){const d=c[u];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(a)||d.overlayElement.contains(l))break;const h=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(s)):h.next(s)}}}add(n){if(super.add(n),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne),w(Ft),w(G,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),Bu=(()=>{var t;class e{constructor(n,r){this._platform=r,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const n="cdk-overlay-container";if(this._platform.isBrowser||Fm()){const o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let s=0;sthis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new q,this._outsidePointerEvents=new q,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const i=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(et(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof i?.onDestroy&&i.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),i}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config={...this._config,...e},this._updateElementSize()}setDirection(e){this._config={...this._config,direction:e},this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=Ye(this._config.width),e.height=Ye(this._config.height),e.minWidth=Ye(this._config.minWidth),e.minHeight=Ye(this._config.minHeight),e.maxWidth=Ye(this._config.maxWidth),e.maxHeight=Ye(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const e=this._backdropElement;if(e){if(this._animationsDisabled)return void this._disposeBackdrop(e);e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,i,n){const r=Iu(i||[]).filter(o=>!!o);r.length&&(n?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(Fi(Xi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const mS="cdk-overlay-connected-position-bounding-box",TH=/([A-Za-z%]+)$/;class RH{get positions(){return this._preferredPositions}constructor(e,i,n,r,o){this._viewportRuler=i,this._document=n,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new q,this._resizeSubscription=Pe.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._validatePositions(),e.hostElement.classList.add(mS),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._originRect,i=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,r,a),c=this._getOverlayPoint(l,i,a),u=this._getOverlayFit(c,i,n,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,n)?o.push({position:a,origin:l,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Sr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(mS),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const i=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,i)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,i,n){let r,o;if("center"==n.originX)r=e.left+e.width/2;else{const s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;r="start"==n.originX?s:a}return i.left<0&&(r-=i.left),o="center"==n.originY?e.top+e.height/2:"top"==n.originY?e.top:e.bottom,i.top<0&&(o-=i.top),{x:r,y:o}}_getOverlayPoint(e,i,n){let r,o;return r="center"==n.overlayX?-i.width/2:"start"===n.overlayX?this._isRtl()?-i.width:0:this._isRtl()?0:-i.width,o="center"==n.overlayY?-i.height/2:"top"==n.overlayY?0:-i.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,i,n,r){const o=_S(i);let{x:s,y:a}=e,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let h=0-a,f=a+o.height-n.height,p=this._subtractOverflows(o.width,0-s,s+o.width-n.width),v=this._subtractOverflows(o.height,h,f),b=p*v;return{visibleArea:b,isCompletelyWithinViewport:o.width*o.height===b,fitsInViewportVertically:v===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(e,i,n){if(this._hasFlexibleDimensions){const r=n.bottom-i.y,o=n.right-i.x,s=gS(this._overlayRef.getConfig().minHeight),a=gS(this._overlayRef.getConfig().minWidth);return(e.fitsInViewportVertically||null!=s&&s<=r)&&(e.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(e,i,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const r=_S(i),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),a=Math.max(e.y+r.height-o.height,0),l=Math.max(o.top-n.top-e.y,0),c=Math.max(o.left-n.left-e.x,0);let u=0,d=0;return u=r.width<=o.width?c||-s:e.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-p/2)}if("end"===i.overlayX&&!r||"start"===i.overlayX&&r)h=n.width-e.x+this._viewportMargin,u=e.x-this._viewportMargin;else if("start"===i.overlayX&&!r||"end"===i.overlayX&&r)d=e.x,u=n.right-e.x;else{const f=Math.min(n.right-e.x+n.left,e.x),p=this._lastBoundingBoxSize.width;u=2*f,d=e.x-f,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=e.x-p/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:o}}_setBoundingBoxStyles(e,i){const n=this._calculateBoundingBoxRect(e,i);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Ye(n.height),r.top=Ye(n.top),r.bottom=Ye(n.bottom),r.width=Ye(n.width),r.left=Ye(n.left),r.right=Ye(n.right),r.alignItems="center"===i.overlayX?"center":"end"===i.overlayX?"flex-end":"flex-start",r.justifyContent="center"===i.overlayY?"center":"bottom"===i.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Ye(o)),s&&(r.maxWidth=Ye(s))}this._lastBoundingBoxSize=n,Sr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Sr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Sr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,i){const n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();Sr(n,this._getExactOverlayY(i,e,u)),Sr(n,this._getExactOverlayX(i,e,u))}else n.position="static";let a="",l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),n.transform=a.trim(),s.maxHeight&&(r?n.maxHeight=Ye(s.maxHeight):o&&(n.maxHeight="")),s.maxWidth&&(r?n.maxWidth=Ye(s.maxWidth):o&&(n.maxWidth="")),Sr(this._pane.style,n)}_getExactOverlayY(e,i,n){let r={top:"",bottom:""},o=this._getOverlayPoint(i,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),"bottom"===e.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Ye(o.y),r}_getExactOverlayX(e,i,n){let s,r={left:"",right:""},o=this._getOverlayPoint(i,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),s=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Ye(o.x),r}_getScrollVisibility(){const e=this._getOriginRect(),i=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:fS(e,n),isOriginOutsideView:eg(e,n),isOverlayClipped:fS(i,n),isOverlayOutsideView:eg(i,n)}}_subtractOverflows(e,...i){return i.reduce((n,r)=>n-Math.max(r,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,i=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+i-this._viewportMargin,width:e-2*this._viewportMargin,height:i-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,i){return"x"===i?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Iu(e).forEach(i=>{""!==i&&-1===this._appliedPanelClasses.indexOf(i)&&(this._appliedPanelClasses.push(i),this._pane.classList.add(i))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof ve)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const i=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+i,height:n,width:i}}}function Sr(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function gS(t){if("number"!=typeof t&&null!=t){const[e,i]=t.split(TH);return i&&"px"!==i?null:parseFloat(e)}return t||null}function _S(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const vS="cdk-global-overlay-wrapper";class OH{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){const i=e.getConfig();this._overlayRef=e,this._width&&!i.width&&e.updateSize({width:this._width}),this._height&&!i.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(vS),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=n,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",v="";l?v="flex-start":"center"===u?(v="center",h?p=d:f=d):h?"left"===u||"end"===u?(v="flex-end",f=d):("right"===u||"start"===u)&&(v="flex-start",p=d):"left"===u||"start"===u?(v="flex-start",f=d):("right"===u||"end"===u)&&(v="flex-end",p=d),e.position=this._cssPosition,e.marginLeft=l?"0":f,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":p,i.justifyContent=v,i.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement,n=i.style;i.classList.remove(vS),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let kH=(()=>{var t;class e{constructor(n,r,o,s){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=s}global(){return new OH}flexibleConnectedTo(n){return new RH(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(cS),w(ne),w(Ft),w(Bu))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),PH=0,qn=(()=>{var t;class e{constructor(n,r,o,s,a,l,c,u,d,h,f,p){this.scrollStrategies=n,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=u,this._directionality=d,this._location=h,this._outsideClickDispatcher=f,this._animationsModuleType=p}create(n){const r=this._createHostElement(),o=this._createPaneElement(r),s=this._createPortalOutlet(o),a=new Vu(n);return a.direction=a.direction||this._directionality.value,new qa(s,r,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(n){const r=this._document.createElement("div");return r.id="cdk-overlay-"+PH++,r.classList.add("cdk-overlay-pane"),n.appendChild(r),r}_createHostElement(){const n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(ki)),new nH(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(SH),w(Bu),w(lo),w(kH),w(AH),w(Fe),w(G),w(ne),w(ku),w(ca),w(IH),w(Nn,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();const LH={provide:new M("cdk-connected-overlay-scroll-strategy"),deps:[qn],useFactory:function FH(t){return()=>t.scrollStrategies.reposition()}};let ju=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[qn,LH],imports:[Va,Xo,uS,uS]}),e})();function VH(t,e){if(1&t){const i=Do();m(0,"div",2)(1,"button",3),B("click",function(){return ei(i),ti(Le().action())}),C(2),g()()}if(2&t){const i=Le();D(2),Ee(" ",i.data.action," ")}}const BH=["label"];function jH(t,e){}const HH=Math.pow(2,31)-1;class tg{constructor(e,i){this._overlayRef=i,this._afterDismissed=new q,this._afterOpened=new q,this._onAction=new q,this._dismissedByAction=!1,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,HH))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const bS=new M("MatSnackBarData");class Hu{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let UH=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),e})(),$H=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),e})(),zH=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),e})(),GH=(()=>{var t;class e{constructor(n,r){this.snackBarRef=n,this.data=r}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return(t=e).\u0275fac=function(n){return new(n||t)(_(tg),_(bS))},t.\u0275cmp=fe({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,r){1&n&&(m(0,"div",0),C(1),g(),Q(2,VH,3,1,"div",1)),2&n&&(D(1),Ee(" ",r.data.message,"\n"),D(1),k("ngIf",r.hasAction))},dependencies:[yn,Qx,UH,$H,zH],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),e})();const qH={snackBarState:Ko("state",[Gn("void, hidden",it({transform:"scale(0.8)",opacity:0})),Gn("visible",it({transform:"scale(1)",opacity:1})),bi("* => visible",vi("150ms cubic-bezier(0, 0, 0.2, 1)")),bi("* => void, * => hidden",vi("75ms cubic-bezier(0.4, 0.0, 1, 1)",it({opacity:0})))])};let WH=0,YH=(()=>{var t;class e extends Nu{constructor(n,r,o,s,a){super(),this._ngZone=n,this._elementRef=r,this._changeDetectorRef=o,this._platform=s,this.snackBarConfig=a,this._document=T(ne),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new q,this._onExit=new q,this._onEnter=new q,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+WH++,this.attachDomPortal=l=>{this._assertNotAttached();const c=this._portalOutlet.attachDomPortal(l);return this._afterPortalAttached(),c},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(n){this._assertNotAttached();const r=this._portalOutlet.attachComponentPortal(n);return this._afterPortalAttached(),r}attachTemplatePortal(n){this._assertNotAttached();const r=this._portalOutlet.attachTemplatePortal(n);return this._afterPortalAttached(),r}onAnimationEnd(n){const{fromState:r,toState:o}=n;if(("void"===o&&"void"!==r||"hidden"===o)&&this._completeExit(),"visible"===o){const s=this._onEnter;this._ngZone.run(()=>{s.next(),s.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(et(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const n=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(o=>n.classList.add(o)):n.classList.add(r)),this._exposeToModals()}_exposeToModals(){const n=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{const r=n.getAttribute("aria-owns");if(r){const o=r.replace(this._liveElementId,"").trim();o.length>0?n.setAttribute("aria-owns",o):n.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const n=this._elementRef.nativeElement.querySelector("[aria-hidden]"),r=this._elementRef.nativeElement.querySelector("[aria-live]");if(n&&r){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&n.contains(document.activeElement)&&(o=document.activeElement),n.removeAttribute("aria-hidden"),r.appendChild(n),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(G),_(ve),_(sn),_(Ft),_(Hu))},t.\u0275dir=N({type:t,viewQuery:function(n,r){if(1&n&&Ao(Qo,7),2&n){let o;rn(o=on())&&(r._portalOutlet=o.first)}},features:[X]}),e})(),ZH=(()=>{var t;class e extends YH{_afterPortalAttached(){super._afterPortalAttached();const n=this._label.nativeElement,r="mdc-snackbar__label";n.classList.toggle(r,!n.querySelector(`.${r}`))}}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275cmp=fe({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(n,r){if(1&n&&Ao(BH,7),2&n){let o;rn(o=on())&&(r._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(n,r){1&n&&Nf("@state.done",function(s){return r.onAnimationEnd(s)}),2&n&&Uf("@state",r._animationState)},features:[X],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1,2)(3,"div",3),Q(4,jH,0,0,"ng-template",4),g(),I(5,"div"),g()()),2&n&&(D(5),qe("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[Qo],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;--mdc-snackbar-container-shape:4px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[qH.snackBarState]}}),e})(),yS=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[ju,Xo,Cn,Xx,xn,xn]}),e})();const wS=new M("mat-snack-bar-default-options",{providedIn:"root",factory:function KH(){return new Hu}});let QH=(()=>{var t;class e{get _openedSnackBarRef(){const n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}constructor(n,r,o,s,a,l){this._overlay=n,this._live=r,this._injector=o,this._breakpointObserver=s,this._parentSnackBar=a,this._defaultConfig=l,this._snackBarRefAtThisLevel=null}openFromComponent(n,r){return this._attach(n,r)}openFromTemplate(n,r){return this._attach(n,r)}open(n,r="",o){const s={...this._defaultConfig,...o};return s.data={message:n,action:r},s.announcementMessage===n&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(n,r){const s=Fe.create({parent:r&&r.viewContainerRef&&r.viewContainerRef.injector||this._injector,providers:[{provide:Hu,useValue:r}]}),a=new Ua(this.snackBarContainerComponent,r.viewContainerRef,s),l=n.attach(a);return l.instance.snackBarConfig=r,l.instance}_attach(n,r){const o={...new Hu,...this._defaultConfig,...r},s=this._createOverlay(o),a=this._attachSnackBarContainer(s,o),l=new tg(a,s);if(n instanceof Wt){const c=new $a(n,null,{$implicit:o.data,snackBarRef:l});l.instance=a.attachTemplatePortal(c)}else{const c=this._createInjector(o,l),u=new Ua(n,void 0,c),d=a.attachComponentPortal(u);l.instance=d.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Fi(s.detachments())).subscribe(c=>{s.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),o.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(l,o),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(n,r){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),r.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter(),r.duration&&r.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(r.duration))}_createOverlay(n){const r=new Vu;r.direction=n.direction;let o=this._overlay.position().global();const s="rtl"===n.direction,a="left"===n.horizontalPosition||"start"===n.horizontalPosition&&!s||"end"===n.horizontalPosition&&s,l=!a&&"center"!==n.horizontalPosition;return a?o.left("0"):l?o.right("0"):o.centerHorizontally(),"top"===n.verticalPosition?o.top("0"):o.bottom("0"),r.positionStrategy=o,this._overlay.create(r)}_createInjector(n,r){return Fe.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:tg,useValue:r},{provide:bS,useValue:n.data}]})}}return(t=e).\u0275fac=function(n){return new(n||t)(w(qn),w(Rx),w(Fe),w(Tu),w(t,12),w(wS))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})(),ng=(()=>{var t;class e extends QH{constructor(n,r,o,s,a,l){super(n,r,o,s,a,l),this.simpleSnackBarComponent=GH,this.snackBarContainerComponent=ZH,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return(t=e).\u0275fac=function(n){return new(n||t)(w(qn),w(Rx),w(Fe),w(Tu),w(t,12),w(wS))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:yS}),e})(),CS=(()=>{var t;class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(oi),_(ve))},t.\u0275dir=N({type:t}),e})(),Mr=(()=>{var t;class e extends CS{}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275dir=N({type:t,features:[X]}),e})();const Wn=new M("NgValueAccessor"),e8={provide:Wn,useExisting:Se(()=>Jo),multi:!0},n8=new M("CompositionEventMode");let Jo=(()=>{var t;class e extends CS{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function t8(){const t=Pi()?Pi().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_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)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(oi),_(ve),_(n8,8))},t.\u0275dir=N({type:t,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(n,r){1&n&&B("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[be([e8]),X]}),e})();function zi(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}const pt=new M("NgValidators"),Gi=new M("NgAsyncValidators");function Uu(t){return null}function kS(t){return null!=t}function PS(t){return Ys(t)?Ke(t):t}function NS(t){let e={};return t.forEach(i=>{e=null!=i?{...e,...i}:e}),0===Object.keys(e).length?null:e}function FS(t,e){return e.map(i=>i(t))}function LS(t){return t.map(e=>function r8(t){return!t.validate}(e)?e:i=>e.validate(i))}function ig(t){return null!=t?function VS(t){if(!t)return null;const e=t.filter(kS);return 0==e.length?null:function(i){return NS(FS(i,e))}}(LS(t)):null}function rg(t){return null!=t?function BS(t){if(!t)return null;const e=t.filter(kS);return 0==e.length?null:function(i){return function XH(...t){const e=S_(t),{args:i,keys:n}=zD(t),r=new Te(o=>{const{length:s}=i;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(n?GD(n,a):a),o.complete())}))}});return e?r.pipe(rm(e)):r}(FS(i,e).map(PS)).pipe(se(NS))}}(LS(t)):null}function jS(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function og(t){return t?Array.isArray(t)?t:[t]:[]}function $u(t,e){return Array.isArray(t)?t.includes(e):t===e}function $S(t,e){const i=og(e);return og(t).forEach(r=>{$u(i,r)||i.push(r)}),i}function zS(t,e){return og(e).filter(i=>!$u(t,i))}class GS{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=ig(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=rg(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,i){return!!this.control&&this.control.hasError(e,i)}getError(e,i){return this.control?this.control.getError(e,i):null}}class Et extends GS{get formDirective(){return null}get path(){return null}}class qi extends GS{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class qS{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}}let zu=(()=>{var t;class e extends qS{constructor(n){super(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(qi,2))},t.\u0275dir=N({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Ot("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[X]}),e})(),Gu=(()=>{var t;class e extends qS{constructor(n){super(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Et,10))},t.\u0275dir=N({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&Ot("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[X]}),e})();const Wa="VALID",Wu="INVALID",es="PENDING",Ya="DISABLED";function lg(t){return(Yu(t)?t.validators:t)||null}function cg(t,e){return(Yu(e)?e.asyncValidators:t)||null}function Yu(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class KS{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}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===Wa}get invalid(){return this.status===Wu}get pending(){return this.status==es}get disabled(){return this.status===Ya}get enabled(){return this.status!==Ya}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($S(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators($S(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(zS(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(zS(e,this._rawAsyncValidators))}hasValidator(e){return $u(this._rawValidators,e)}hasAsyncValidator(e){return $u(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=es,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const i=this._parentMarkedDirty(e.onlySelf);this.status=Ya,this.errors=null,this._forEachChild(n=>{n.disable({...e,onlySelf:!0})}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:i}),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){const i=this._parentMarkedDirty(e.onlySelf);this.status=Wa,this._forEachChild(n=>{n.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:i}),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wa||this.status===es)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ya:Wa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=es,this._hasOwnPendingAsyncValidator=!0;const i=PS(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(!1!==i.emitEvent)}get(e){let i=e;return null==i||(Array.isArray(i)||(i=i.split(".")),0===i.length)?null:i.reduce((n,r)=>n&&n._find(r),this)}getError(e,i){const n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new re,this.statusChanges=new re}_calculateStatus(){return this._allControlsDisabled()?Ya:this.errors?Wu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(es)?es:this._anyControlsHaveStatus(Wu)?Wu:Wa}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Yu(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=function l8(t){return Array.isArray(t)?ig(t):t||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function c8(t){return Array.isArray(t)?rg(t):t||null}(this._rawAsyncValidators)}}class ug extends KS{constructor(e,i,n){super(lg(i),cg(n,i)),this.controls=e,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,i){return this.controls[e]?this.controls[e]:(this.controls[e]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(e,i,n={}){this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(e,i,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],i&&this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,i={}){(function ZS(t,e,i){t._forEachChild((n,r)=>{if(void 0===i[r])throw new x(1002,"")})})(this,0,e),Object.keys(e).forEach(n=>{(function YS(t,e,i){const n=t.controls;if(!(e?Object.keys(n):n).length)throw new x(1e3,"");if(!n[i])throw new x(1001,"")})(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(e,i={}){null!=e&&(Object.keys(e).forEach(n=>{const r=this.controls[n];r&&r.patchValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(e={},i={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(e,i,n)=>(e[n]=i.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(i,n)=>!!n._syncPendingControls()||i);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(i=>{const n=this.controls[i];n&&e(n,i)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[i,n]of Object.entries(this.controls))if(this.contains(i)&&e(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(i,n,r)=>((n.enabled||this.disabled)&&(i[r]=n.value),i))}_reduceChildren(e,i){let n=e;return this._forEachChild((r,o)=>{n=i(n,r,o)}),n}_allControlsDisabled(){for(const 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}}const ts=new M("CallSetDisabledState",{providedIn:"root",factory:()=>Zu}),Zu="always";function Za(t,e,i=Zu){dg(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||"always"===i)&&e.valueAccessor.setDisabledState?.(t.disabled),function h8(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&QS(t,e)})}(t,e),function p8(t,e){const i=(n,r)=>{e.valueAccessor.writeValue(n),r&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}(t,e),function f8(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&QS(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function d8(t,e){if(e.valueAccessor.setDisabledState){const i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}(t,e)}function Xu(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function dg(t,e){const i=function HS(t){return t._rawValidators}(t);null!==e.validator?t.setValidators(jS(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const n=function US(t){return t._rawAsyncValidators}(t);null!==e.asyncValidator?t.setAsyncValidators(jS(n,e.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);const r=()=>t.updateValueAndValidity();Xu(e._rawValidators,r),Xu(e._rawAsyncValidators,r)}function QS(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}const b8={provide:Et,useExisting:Se(()=>ns)},Ka=(()=>Promise.resolve())();let ns=(()=>{var t;class e extends Et{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new re,this.form=new ug({},ig(n),rg(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Ka.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Za(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Ka.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Ka.then(()=>{const r=this._findContainer(n.path),o=new ug({});(function XS(t,e){dg(t,e)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Ka.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Ka.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function JS(t,e){t._syncPendingControls(),e.forEach(i=>{const n=i.control;"submit"===n.updateOn&&n._pendingChange&&(i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}}return(t=e).\u0275fac=function(n){return new(n||t)(_(pt,10),_(Gi,10),_(ts,8))},t.\u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&B("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[be([b8]),X]}),e})();function eM(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}function tM(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const nM=class extends KS{constructor(e=null,i,n){super(lg(i),cg(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Yu(i)&&(i.nonNullable||i.initialValueIsDefault)&&(this.defaultValue=tM(e)?e.value:e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==i.emitModelToViewChange&&this._onChange.forEach(n=>n(this.value,!1!==i.emitViewToModelChange)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){eM(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){eM(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){tM(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}},C8={provide:qi,useExisting:Se(()=>Qa)},oM=(()=>Promise.resolve())();let Qa=(()=>{var t;class e extends qi{constructor(n,r,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new nM,this._registered=!1,this.name="",this.update=new re,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function pg(t,e){if(!e)return null;let i,n,r;return Array.isArray(e),e.forEach(o=>{o.constructor===Jo?i=o:function _8(t){return Object.getPrototypeOf(t.constructor)===Mr}(o)?n=o:r=o}),r||n||i||null}(0,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function fg(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Za(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){oM.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&Ro(r);oM.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Ku(t,e){return[...e.path,t]}(n,this._parent):[n]}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Et,9),_(pt,10),_(Gi,10),_(Wn,10),_(sn,8),_(ts,8))},t.\u0275dir=N({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[be([C8]),X,It]}),e})(),ed=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const D8={provide:Wn,useExisting:Se(()=>mg),multi:!0};let mg=(()=>{var t;class e extends Mr{writeValue(n){this.setProperty("value",n??"")}registerOnChange(n){this.onChange=r=>{n(""==r?null:parseFloat(r))}}}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275dir=N({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){1&n&&B("input",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},features:[be([D8]),X]}),e})(),sM=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();function gM(t){return"number"==typeof t?t:parseFloat(t)}let Ar=(()=>{var t;class e{constructor(){this._validator=Uu}ngOnChanges(n){if(this.inputName in n){const r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Uu,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,features:[It]}),e})();const V8={provide:pt,useExisting:Se(()=>wg),multi:!0};let wg=(()=>{var t;class e extends Ar{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=n=>gM(n),this.createValidator=n=>function SS(t){return e=>{if(zi(e.value)||zi(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}(n)}}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275dir=N({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(n,r){2&n&&qe("max",r._enabled?r.max:null)},inputs:{max:"max"},features:[be([V8]),X]}),e})();const B8={provide:pt,useExisting:Se(()=>Cg),multi:!0};let Cg=(()=>{var t;class e extends Ar{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=n=>gM(n),this.createValidator=n=>function xS(t){return e=>{if(zi(e.value)||zi(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[sM]}),e})(),Y8=(()=>{var t;class e{static withConfig(n){return{ngModule:e,providers:[{provide:ts,useValue:n.callSetDisabledState??Zu}]}}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[q8]}),e})();function Z8(t,e){1&t&&(en(),m(0,"svg",23),I(1,"path",24),g())}function K8(t,e){1&t&&(en(),m(0,"svg",25),I(1,"path",26)(2,"path",27)(3,"path",28),g())}let CM=(()=>{var t;class e{constructor(n,r,o){this._snackBar=n,this._authService=r,this._router=o,this.loginFormModel={email:"",password:""},this.showPassword=!1}onLoginSubmit(){this.validateData(this.loginFormModel)&&this._authService.validateUserLogin(this.loginFormModel).subscribe(n=>{200==n.status?(this.openSnackBar(n.message),this._authService.storeDataSession(n.body),this._router.navigate(["/account/profile"])):this.openSnackBar(n.message)})}validateData(n){return n.email&&n.password?new RegExp("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$").test(n.email)?!(n.password.length<8&&(this.openSnackBar("La contrase\xf1a debe tener al menos 8 caracteres"),1)):(this.openSnackBar("El correo electr\xf3nico no es v\xe1lido"),!1):(this.openSnackBar("Todos los campos son requeridos"),!1)}openSnackBar(n){this._snackBar.open(n,"Aceptar",{horizontalPosition:"center",verticalPosition:"bottom",duration:3e3})}togglePasswordVisibility(){this.showPassword=!this.showPassword}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ng),_(Ui),_(nt))},t.\u0275cmp=fe({type:t,selectors:[["app-login-form"]],decls:29,vars:5,consts:[[1,"text-slate-800","font-Poppins","font-medium","text-3xl"],[3,"ngSubmit"],["id","loginForm",1,"mt-10"],[1,"relative","w-80","md:w-96"],[1,"absolute","inset-y-0","left-0","flex","items-center","pl-3.5","pointer-events-none"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 16",1,"w-4","h-4","text-gray-400"],["d","m10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z"],["d","M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z"],["type","text","name","email","placeholder","correo@electronico.com",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","pl-10","p-2.5",3,"ngModel","ngModelChange"],[1,"relative","w-80","md:w-96","mt-5"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 20",1,"w-4","h-4","text-gray-400"],["d","M14 7h-1.5V4.5a4.5 4.5 0 1 0-9 0V7H2a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-5 8a1 1 0 1 1-2 0v-3a1 1 0 1 1 2 0v3Zm1.5-8h-5V4.5a2.5 2.5 0 1 1 5 0V7Z"],["name","password","placeholder","********",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","pl-10","p-2.5",3,"type","ngModel","ngModelChange"],["type","button",1,"absolute","right-0","inset-y-0","pr-2.5",3,"click"],["class","w-6 h-6 text-gray-400","aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 14",4,"ngIf"],["class","w-6 h-6 text-gray-400","aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",4,"ngIf"],[1,"w-80","md:w-96","text-right","mt-3"],["href","#",1,"text-sm","font-medium","text-Intense-Turquoise","font-Poppins","hover:text-Serene-Blue"],[1,"w-80","md:w-96","mt-5"],["type","submit",1,"font-bold","text-white","bg-Bright-Cyan","hover:bg-Intense-Turquoise","focus:ring-4","focus:ring-blue-300","rounded-lg","text-sm","w-full","py-2.5"],[1,"mt-5","flex"],[1,"text-sm","text-slate-800","font-Poppins","mr-2"],["routerLink","/register","href","#",1,"text-sm","font-medium","text-Intense-Turquoise","font-Poppins","hover:text-Serene-Blue"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 14",1,"w-6","h-6","text-gray-400"],["d","M10 0C4.612 0 0 5.336 0 7c0 1.742 3.546 7 10 7 6.454 0 10-5.258 10-7 0-1.664-4.612-7-10-7Zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-6","h-6","text-gray-400"],["d","m2 13.587 3.055-3.055A4.913 4.913 0 0 1 5 10a5.006 5.006 0 0 1 5-5c.178.008.356.026.532.054l1.744-1.744A8.973 8.973 0 0 0 10 3C4.612 3 0 8.336 0 10a6.49 6.49 0 0 0 2 3.587Z"],["d","m12.7 8.714 6.007-6.007a1 1 0 1 0-1.414-1.414L11.286 7.3a2.98 2.98 0 0 0-.588-.21l-.035-.01a2.981 2.981 0 0 0-3.584 3.583c0 .012.008.022.01.033.05.204.12.401.211.59l-6.007 6.007a1 1 0 1 0 1.414 1.414L8.714 12.7c.189.091.386.162.59.211.011 0 .021.007.033.01a2.981 2.981 0 0 0 3.584-3.584c0-.012-.008-.023-.011-.035a3.05 3.05 0 0 0-.21-.588Z"],["d","M17.821 6.593 14.964 9.45a4.952 4.952 0 0 1-5.514 5.514L7.665 16.75c.767.165 1.55.25 2.335.251 6.453 0 10-5.258 10-7 0-1.166-1.637-2.874-2.179-3.407Z"]],template:function(n,r){1&n&&(m(0,"h2",0),C(1," Inicia sesi\xf3n\n"),g(),m(2,"form",1),B("ngSubmit",function(){return r.onLoginSubmit()}),m(3,"div",2)(4,"div",3)(5,"div",4),en(),m(6,"svg",5),I(7,"path",6)(8,"path",7),g()(),_s(),m(9,"input",8),B("ngModelChange",function(s){return r.loginFormModel.email=s}),g()(),m(10,"div",9)(11,"div",4),en(),m(12,"svg",10),I(13,"path",11),g()(),_s(),m(14,"input",12),B("ngModelChange",function(s){return r.loginFormModel.password=s}),g(),m(15,"button",13),B("click",function(){return r.togglePasswordVisibility()}),Q(16,Z8,2,0,"svg",14),Q(17,K8,4,0,"svg",15),g()()(),m(18,"div",16)(19,"a",17),C(20," \xbfOlvidaste tu contrase\xf1a? "),g()(),m(21,"div",18)(22,"button",19),C(23," Continuar "),g()()(),m(24,"div",20)(25,"p",21),C(26,"\xbfNo tienes cuenta?"),g(),m(27,"a",22),C(28," Reg\xedstrate "),g()()),2&n&&(D(9),k("ngModel",r.loginFormModel.email),D(5),qt("type",r.showPassword?"text":"password"),k("ngModel",r.loginFormModel.password),D(2),k("ngIf",!r.showPassword),D(1),k("ngIf",r.showPassword))},dependencies:[yn,ed,Jo,zu,Gu,Qa,ns,Bi],encapsulation:2}),e})(),Q8=(()=>{var t;class e{constructor(n,r){this._authService=n,this._router=r}ngOnInit(){this._authService.isSessionExpired()?(this._router.navigate(["/login"]),this._authService.logout()):this._router.navigate(["/"])}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Ui),_(nt))},t.\u0275cmp=fe({type:t,selectors:[["app-login-page"]],decls:8,vars:0,consts:[[1,"h-full","md:w-full","flex","flex-row"],[1,"bg-Bright-Cyan","hidden","md:flex","md:w-1/2","flex-col","items-center","justify-center"],[1,"w-10/12","text-4xl","shadow-sm","font-Poppins","font-medium","text-white","mb-10"],["src","/assets/img/login_aside.svg",1,"w-96"],[1,"w-full","h-full","flex","flex-col","justify-center","items-center","bg-slate-100","login-bg-pattern"],["src","/assets/img/login_header.svg","alt","Login",1,"w-1/2","md:h-1/5","mb-16"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1)(2,"h2",2),C(3," Aqu\xed ir\xeda un slogan bien HD "),g(),I(4,"img",3),g(),m(5,"div",4),I(6,"img",5)(7,"app-login-form"),g()())},dependencies:[CM],styles:[".login-bg-pattern[_ngcontent-%COMP%]{background-color:#fff;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%239C92AC' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E\")}"]}),e})();function X8(t,e){1&t&&(en(),m(0,"svg",25),I(1,"path",26),g())}function J8(t,e){1&t&&(en(),m(0,"svg",27),I(1,"path",28)(2,"path",29)(3,"path",30),g())}function eU(t,e){1&t&&(en(),m(0,"svg",25),I(1,"path",26),g())}function tU(t,e){1&t&&(en(),m(0,"svg",27),I(1,"path",28)(2,"path",29)(3,"path",30),g())}const nU=function(){return["/login"]};let iU=(()=>{var t;class e{constructor(n,r,o){this._snackBar=n,this._router=r,this._authService=o,this.registerFormModel={email:"",password:"",confirmPassword:"",firstName:"",lastName:""},this.showPassword=!1,this.showconfirmPassword=!1}ngOnInit(){this._authService.isSessionExpired()||this._router.navigate(["/"])}onRegisterSubmit(){this.validateData(this.registerFormModel)&&(console.log("registerFormModel",this.registerFormModel),this._router.navigate(["/register/personal"],{state:{data:this.registerFormModel}}))}validateData(n){const r=new RegExp("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$"),o=new RegExp("^[a-zA-Z\xc0-\xff\xf1\xd1 ]+$");return n.email&&n.password&&n.confirmPassword&&n.firstName&&n.lastName?n.password!==n.confirmPassword?(this.openSnackBar("Las contrase\xf1as no coinciden"),!1):r.test(n.email)?!(!o.test(n.firstName)||!o.test(n.lastName))||(this.openSnackBar("Los nombres y apellidos solo pueden contener letras"),!1):(this.openSnackBar("El correo es inv\xe1lido"),!1):(this.openSnackBar("Todos los campos son requeridos"),!1)}openSnackBar(n){this._snackBar.open(n,"Aceptar",{horizontalPosition:"center",verticalPosition:"bottom",duration:5e3})}togglePasswordVisibility(n){1===n?this.showPassword=!this.showPassword:this.showconfirmPassword=!this.showconfirmPassword}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ng),_(nt),_(Ui))},t.\u0275cmp=fe({type:t,selectors:[["app-register-page"]],decls:36,vars:13,consts:[[1,"h-full","md:w-full","flex","flex-row"],[1,"bg-Bright-Cyan","hidden","md:flex","md:w-1/2","flex-col","items-center","justify-center"],[1,"w-10/12","text-4xl","shadow-sm","font-Poppins","font-medium","text-white","mb-10"],["src","/assets/img/register_aside.svg",1,"w-96"],[1,"w-full","h-full","flex","flex-col","justify-center","items-center","bg-slate-100","login-bg-pattern"],["src","/assets/img/register_header.svg","alt","Login",1,"w-1/2","md:h-1/5"],[1,"mt-16","text-slate-800","font-Poppins","font-medium","text-3xl"],[3,"ngSubmit"],["id","registerForms",1,"mt-10"],[1,"flex","flex-row","justify-between"],[1,"w-[155px]","md:w-[185px]"],["type","text","name","email","placeholder","Nombre(s)",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],["type","text","name","email","placeholder","Apellidos",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],[1,"relative","w-80","md:w-96","mt-5"],["type","text","name","email","placeholder","correo@electronico.com",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],["name","password","placeholder","Contrase\xf1a",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"type","ngModel","ngModelChange"],["type","button",1,"absolute","right-0","inset-y-0","pr-2.5",3,"click"],["class","w-6 h-6 text-gray-400","aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 14",4,"ngIf"],["class","w-6 h-6 text-gray-400","aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",4,"ngIf"],["name","password","placeholder","Confirmar contrase\xf1a",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"type","ngModel","ngModelChange"],[1,"w-80","md:w-96","mt-5"],["type","submit",1,"font-bold","text-white","bg-Bright-Cyan","hover:bg-Intense-Turquoise","focus:ring-4","focus:ring-blue-300","rounded-lg","text-sm","w-full","py-2.5"],[1,"mt-5","flex"],[1,"text-sm","text-slate-800","font-Poppins","mr-2"],["routerLinkActive","router-link-active",1,"text-sm","font-medium","text-Intense-Turquoise","font-Poppins","hover:text-Serene-Blue",3,"routerLink"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 14",1,"w-6","h-6","text-gray-400"],["d","M10 0C4.612 0 0 5.336 0 7c0 1.742 3.546 7 10 7 6.454 0 10-5.258 10-7 0-1.664-4.612-7-10-7Zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-6","h-6","text-gray-400"],["d","m2 13.587 3.055-3.055A4.913 4.913 0 0 1 5 10a5.006 5.006 0 0 1 5-5c.178.008.356.026.532.054l1.744-1.744A8.973 8.973 0 0 0 10 3C4.612 3 0 8.336 0 10a6.49 6.49 0 0 0 2 3.587Z"],["d","m12.7 8.714 6.007-6.007a1 1 0 1 0-1.414-1.414L11.286 7.3a2.98 2.98 0 0 0-.588-.21l-.035-.01a2.981 2.981 0 0 0-3.584 3.583c0 .012.008.022.01.033.05.204.12.401.211.59l-6.007 6.007a1 1 0 1 0 1.414 1.414L8.714 12.7c.189.091.386.162.59.211.011 0 .021.007.033.01a2.981 2.981 0 0 0 3.584-3.584c0-.012-.008-.023-.011-.035a3.05 3.05 0 0 0-.21-.588Z"],["d","M17.821 6.593 14.964 9.45a4.952 4.952 0 0 1-5.514 5.514L7.665 16.75c.767.165 1.55.25 2.335.251 6.453 0 10-5.258 10-7 0-1.166-1.637-2.874-2.179-3.407Z"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1)(2,"h2",2),C(3," Aqu\xed ir\xeda un slogan bien HD "),g(),I(4,"img",3),g(),m(5,"div",4),I(6,"img",5),m(7,"h2",6),C(8," Crear una cuenta "),g(),m(9,"form",7),B("ngSubmit",function(){return r.onRegisterSubmit()}),m(10,"div",8)(11,"div",9)(12,"div",10)(13,"input",11),B("ngModelChange",function(s){return r.registerFormModel.firstName=s}),g()(),m(14,"div",10)(15,"input",12),B("ngModelChange",function(s){return r.registerFormModel.lastName=s}),g()()(),m(16,"div",13)(17,"input",14),B("ngModelChange",function(s){return r.registerFormModel.email=s}),g()(),m(18,"div",13)(19,"input",15),B("ngModelChange",function(s){return r.registerFormModel.password=s}),g(),m(20,"button",16),B("click",function(){return r.togglePasswordVisibility(1)}),Q(21,X8,2,0,"svg",17),Q(22,J8,4,0,"svg",18),g()(),m(23,"div",13)(24,"input",19),B("ngModelChange",function(s){return r.registerFormModel.confirmPassword=s}),g(),m(25,"button",16),B("click",function(){return r.togglePasswordVisibility(2)}),Q(26,eU,2,0,"svg",17),Q(27,tU,4,0,"svg",18),g()()(),m(28,"div",20)(29,"button",21),C(30," Crear cuenta "),g()()(),m(31,"div",22)(32,"p",23),C(33," \xbfYa tienes cuenta? "),g(),m(34,"a",24),C(35," Inicia sesi\xf3n "),g()()()()),2&n&&(D(13),k("ngModel",r.registerFormModel.firstName),D(2),k("ngModel",r.registerFormModel.lastName),D(2),k("ngModel",r.registerFormModel.email),D(2),qt("type",r.showPassword?"text":"password"),k("ngModel",r.registerFormModel.password),D(2),k("ngIf",!r.showPassword),D(1),k("ngIf",r.showPassword),D(2),qt("type",r.showconfirmPassword?"text":"password"),k("ngModel",r.registerFormModel.confirmPassword),D(2),k("ngIf",!r.showconfirmPassword),D(1),k("ngIf",r.showconfirmPassword),D(7),k("routerLink",vn(12,nU)))},dependencies:[yn,ed,Jo,zu,Gu,Qa,ns,Bi,Sm],styles:[".login-bg-pattern[_ngcontent-%COMP%]{background-color:#fff;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%239C92AC' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E\")}"]}),e})();function rU(t,e){1&t&&(li(0),m(1,"a",39),I(2,"i",6),m(3,"span",7),C(4,"Trabajos"),g(),I(5,"div",8),g(),ci())}function oU(t,e){1&t&&(li(0),m(1,"a",40),C(2," Crear cuenta "),g(),m(3,"a",41),C(4," Iniciar sesi\xf3n "),g(),ci())}function sU(t,e){if(1&t&&(m(0,"div",45)(1,"span"),C(2),g(),m(3,"span"),C(4),g()()),2&t){const i=Le(2);D(2),ee(i.name[0]),D(2),ee(i.lastName[0])}}function aU(t,e){if(1&t&&(m(0,"div",46)(1,"span"),C(2),g(),m(3,"span"),C(4),g()()),2&t){const i=Le(2);D(2),ee(i.name[0]),D(2),ee(i.lastName[0])}}function lU(t,e){if(1&t&&(m(0,"a",42),Q(1,sU,5,2,"div",43),g(),Q(2,aU,5,2,"ng-template",null,44,jn)),2&t){const i=mn(3),n=Le();D(1),k("ngIf",0==n.gender)("ngIfElse",i)}}const cU=function(t){return{"bg-white drop-shadow-md":t}};let uU=(()=>{var t;class e{constructor(n,r){this._authService=n,this._router=r,this.sesionActive=!1,this.gender=1,this.name="Felipe",this.lastName="Ramirez",this.scroll=!1,za(document,"scroll").subscribe(o=>this.scroll=0!==document.documentElement.scrollTop)}ngOnInit(){this._authService.isSessionExpired()?(this._router.navigate(["/login"]),this._authService.logout()):this._router.navigate(["/account/profile"])}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Ui),_(nt))},t.\u0275cmp=fe({type:t,selectors:[["ng-component"]],decls:44,vars:6,consts:[[1,"w-full","h-full","relative","bg-[#F1F5F9]"],[1,"z-50","fixed","top-0","left-0","w-full","flex"],[1,"px-5","py-[10px]","flex","flex-row","justify-between","items-center","h-[100px]","w-full","transition-all","duration-300",3,"ngClass"],[1,"flex","flex-row","space-x-5","items-center","h-[100px]"],["src","https://swebtoon-phinf.pstatic.net/20170906_183/1504692085933eq4Rf_JPEG/thumbnail.jpg","alt","",1,"w-16","hidden","desktop:block"],["href","/",1,"flex","relative","items-center","h-full","group","transition-all","duration-300"],[1,"fa-solid","fa-star","text-Serene-Blue","group-hover:text-Intense-Turquoise","transition-all","duration-300"],[1,"ml-[5px]","text-xl","text-Serene-Blue","group-hover:text-Intense-Turquoise","transition-all","duration-300"],[1,"absolute","bottom-7","w-full","h-[2px]","opacity-0","group-hover:opacity-100","bg-Intense-Turquoise","transition-all","duration-300"],[4,"ngIf"],[1,"space-x-[10px]"],[4,"ngIf","ngIfElse"],["profile",""],[1,"translate-y-[100px]"],[1,"relative","h-[82%]","w-full","py-5"],[1,"absolute","ml-[5%]"],["src","assets/img/landing_check.svg","alt","",1,"w-[80%]","opacity-50"],[1,"absolute","flex","top-72","ml-[10%]","w-[36%]","h-full","items-center"],[1,"abstolute","text-7xl","text-shadow"],[1,"absolute","right-0","mr-[15%]"],[1,"w-[30rem]","h-[32rem]","bg-white","rounded-lg","drop-shadow-md"],[1,"w-full","h-full","flex","flex-col","items-center","justify-center"],[1,"relative","flex","flex-col","translate-y-[36rem]","w-full","overflow-x-hidden","h-[80%]","bg-[#D4E0ED]","py-5"],[1,"flex","flex-row","space-x-[90px]"],["src","assets/img/companies/evcon.png","alt","",1,"h-[100px]"],["src","assets/img/companies/BASF-Logo.png","alt","",1,"h-[100px]"],["src","assets/img/companies/carza-logo.png","alt","",1,"h-[100px]"],["src","assets/img/companies/cisco-logo.png","alt","",1,"h-[100px]"],["src","assets/img/companies/DHL_Express_Logo.png","alt","",1,"h-[100px]"],[1,"relative","flex","w-full","h-full","items-center","justify-center","py-4"],["src","assets/img/landing-companies.svg","alt","",1,"w-[30%]","opacity-50"],[1,"absolute","z-20","text-7xl","text-shadow","w-[80%]","text-center","h-full"],[1,"absolute","mt-16"],[1,"flex","flex-row-reverse","place-self-end","w-full","space-x-[90px]"],["src","assets/img/companies/Stellantis.png","alt","",1,"h-[100px]"],["src","assets/img/companies/pg-logo.png","alt","",1,"h-[100px]"],["src","assets/img/companies/BBVA_USA_Logo.png","alt","",1,"h-[100px]"],["src","assets/img/companies/Bosch-logo.png","alt","",1,"h-[100px]"],["src","assets/img/companies/Nestle_textlogo_blue.png","alt","",1,"h-[100px]"],["href","jobs",1,"flex","relative","items-center","h-full","group","transition-all","duration-300"],["routerLink","/register",1,"px-5","py-[10px]","rounded-3xl","hover:bg-[#D4E0ED]","text-lg","transition-all","duration-300"],["routerLink","/login",1,"px-5","py-[10px]","border","border-Midnight-Blue","rounded-3xl","hover:bg-[#D4E0ED]","text-lg","transition-all","duration-300"],["href","#"],["class","h-16 w-16 flex justify-center items-center rounded-full bg-pink-400 text-white text-3xl",4,"ngIf","ngIfElse"],["men",""],[1,"h-16","w-16","flex","justify-center","items-center","rounded-full","bg-pink-400","text-white","text-3xl"],[1,"h-16","w-16","flex","justify-center","items-center","rounded-full","bg-blue-400","text-white","text-3xl"]],template:function(n,r){if(1&n&&(m(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),I(4,"img",4),m(5,"a",5),I(6,"i",6),m(7,"span",7),C(8,"Inicio"),g(),I(9,"div",8),g(),Q(10,rU,6,0,"ng-container",9),g(),m(11,"div",10),Q(12,oU,5,0,"ng-container",11),Q(13,lU,4,2,"ng-template",null,12,jn),g()()(),m(15,"div",13)(16,"div",14)(17,"div",15),I(18,"img",16),g(),m(19,"div",17)(20,"h1",18),C(21,"Visita los \xfaltimos empleos, empresas, noticias y m\xe1s"),g()(),m(22,"div",19)(23,"div",20)(24,"div",21),I(25,"app-login-form"),g()()()(),m(26,"div",22)(27,"div",23),I(28,"img",24)(29,"img",25)(30,"img",26)(31,"img",27)(32,"img",28),g(),m(33,"div",29),I(34,"img",30),m(35,"div",31)(36,"h1",32),C(37," Encuentra el trabajo de tus sue\xf1os, en la empresa de tus sue\xf1os "),g()()(),m(38,"div",33),I(39,"img",34)(40,"img",35)(41,"img",36)(42,"img",37)(43,"img",38),g()()()()),2&n){const o=mn(14);D(2),k("ngClass",na(4,cU,1==r.scroll)),D(8),k("ngIf",1==r.sesionActive),D(2),k("ngIf",0==r.sesionActive)("ngIfElse",o)}},dependencies:[ko,yn,Bi,CM],styles:[".text-shadow[_ngcontent-%COMP%]{text-shadow:0 0 2px #dbdbdb81,-2px -2px 0 #dbdbdb81,2px -2px 0 #dbdbdb81,-2px 2px 0 #dbdbdb81,2px 2px 0 #dbdbdb81}"]}),e})(),Eg=(()=>{var t;class e{constructor(n){this._http=n,this.baseUrl="http://api.fijo.site",this.idJob=new xt(0),this.inputJobList=[{jobID:0,jobImg:"/assets/img/companies/FEMSA_Logo.png",jobTitle:"Desarrollador Frontend",jobPayment:15e3,jobFrecuencyPayment:"Quincenal",jobLocation:"Ciudad de M\xe9xico, CDMX, Por Ah\xed",jobEnterprise:"Grupo FEMSA",jobContractType:"Contrato por tiempo indeterminado",jobTime:"Tiempo completo",jobType:"Presencial",jobDescription:"Empresa 100% Mexicana. Lider en Desarrollo, solicita: Desarrollador Front End Responsabilidades: Traducir dise\xf1os a lenguaje de programaci\xf3n. Dominar los lenguajes de programaci\xf3n HTML, CSS y JavaScript para poder aplicar el dise\xf1o a la web o app que se proponga.",jobEnterpriseRate:5},{jobID:1,jobImg:"/assets/img/companies/Banco_Santander_Logotipo.png",jobTitle:"Desarrollador Backend",jobPayment:4e4,jobFrecuencyPayment:"Mensual",jobLocation:"Ciudad de M\xe9xico, CDMX, Lago Zurich",jobEnterprise:"Banco Santander",jobContractType:"Contrato por tiempo indeterminado",jobTime:"Medio tiempo",jobType:"Remoto",jobDescription:"Empresa 100% Mexicana. Lider en Desarrollo, solicita: Desarrollador Back End Responsabilidades: Hacer cosas de Backend.",jobEnterpriseRate:4.5}]}getJobs(){return this._http.get(`${this.baseUrl}/api/jobs/getall`)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Eu))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),td=(()=>{var t;class e{constructor(n){this._http=n,this.statesList=["Aguascalientes","Baja California","Baja California Sur","Campeche","Chiapas","Chihuahua","Ciudad de M\xe9xico","Coahuila","Colima","Durango","Estado de M\xe9xico","Guanajuato","Guerrero","Hidalgo","Jalisco","Michoac\xe1n de Ocampo","Morelos","Nayarit","Nuevo Le\xf3n","Oaxaca","Puebla","Quer\xe9taro","Quintana Roo","San Luis Potos\xed","Sinaloa","Sonora","Tabasco","Tamaulipas","Tlaxcala","Veracruz","Yucat\xe1n","Zacatecas"]}citiesOfState(n){return this._http.post("https://countriesnow.space/api/v0.1/countries/state/cities",{country:"Mexico",state:n})}getAccountData(){const n=localStorage.getItem("user");return JSON.parse(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Eu))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function dU(t,e){1&t&&(li(0),m(1,"a",11),I(2,"i",4),m(3,"span",5),C(4,"Trabajos"),g(),I(5,"div",6),g(),ci())}function hU(t,e){1&t&&(li(0),m(1,"a",12),C(2," Crear cuenta "),g(),m(3,"a",13),C(4," Iniciar sesi\xf3n "),g(),ci())}function fU(t,e){if(1&t&&(m(0,"div",17)(1,"span"),C(2),g(),m(3,"span"),C(4),g()()),2&t){const i=Le(2);D(2),ee(i.AccountData.firstName[0]),D(2),ee(i.AccountData.lastName[0])}}function pU(t,e){if(1&t&&(m(0,"div",18)(1,"span"),C(2),g(),m(3,"span"),C(4),g()()),2&t){const i=Le(2);D(2),ee(i.AccountData.firstName[0]),D(2),ee(i.AccountData.lastName[0])}}function mU(t,e){if(1&t&&(m(0,"a",14),Q(1,fU,5,2,"div",15),g(),Q(2,pU,5,2,"ng-template",null,16,jn)),2&t){const i=mn(3),n=Le();D(1),k("ngIf",0==n.gender)("ngIfElse",i)}}let xg=(()=>{var t;class e{constructor(n,r){this.AuthService=n,this._accountService=r,this._authService=!1,this.gender=1,this.name="Felipe",this.lastName="Ramirez",this.scroll=!1,this._authService=this.AuthService.isSessionExpired(),za(document,"scroll").subscribe(o=>this.scroll=0!==document.documentElement.scrollTop)}get AccountData(){return this._accountService.getAccountData()}getUserLogo(){let n="";const r=this.AccountData.firstName.split(" "),o=this.AccountData.lastName.split(" ");return n+=r[0].charAt(0),n+=o[0].charAt(0),n.toUpperCase()}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Ui),_(td))},t.\u0275cmp=fe({type:t,selectors:[["shared-navigation-bar"]],decls:13,vars:3,consts:[[1,"px-5","py-[10px]","flex","flex-row","justify-between","items-center","h-[100px]","w-full","transition-all","duration-300"],[1,"flex","flex-row","space-x-5","items-center","h-[100px]"],["src","/assets/img/logo.png","alt","",1,"w-16","hidden","desktop:block"],["href","/",1,"flex","relative","items-center","h-full","group","transition-all","duration-300"],[1,"fa-solid","fa-star","text-Serene-Blue","group-hover:text-Intense-Turquoise","transition-all","duration-300"],[1,"ml-[5px]","text-xl","text-Serene-Blue","group-hover:text-Intense-Turquoise","transition-all","duration-300"],[1,"absolute","bottom-7","w-full","h-[2px]","opacity-0","group-hover:opacity-100","bg-Intense-Turquoise","transition-all","duration-300"],[4,"ngIf"],[1,"space-x-[10px]"],[4,"ngIf","ngIfElse"],["profile",""],["href","jobs",1,"flex","relative","items-center","h-full","group","transition-all","duration-300"],["routerLink","/register",1,"px-5","py-[10px]","rounded-3xl","hover:bg-[#D4E0ED]","text-lg","transition-all","duration-300"],["routerLink","/login",1,"px-5","py-[10px]","border","border-Midnight-Blue","rounded-3xl","hover:bg-[#D4E0ED]","text-lg","transition-all","duration-300"],["href","#"],["class","h-16 w-16 flex justify-center items-center rounded-full bg-pink-500 text-white text-3xl font-medium",4,"ngIf","ngIfElse"],["men",""],[1,"h-16","w-16","flex","justify-center","items-center","rounded-full","bg-pink-500","text-white","text-3xl","font-medium"],[1,"h-16","w-16","flex","justify-center","items-center","rounded-full","bg-cyan-500","text-white","text-3xl","font-medium"]],template:function(n,r){if(1&n&&(m(0,"div",0)(1,"div",1),I(2,"img",2),m(3,"a",3),I(4,"i",4),m(5,"span",5),C(6,"Inicio"),g(),I(7,"div",6),g(),Q(8,dU,6,0,"ng-container",7),g(),m(9,"div",8),Q(10,hU,5,0,"ng-container",9),Q(11,mU,4,2,"ng-template",null,10,jn),g()()),2&n){const o=mn(12);D(8),k("ngIf",0==r._authService),D(2),k("ngIf",1==r._authService)("ngIfElse",o)}},dependencies:[yn,Bi]}),e})(),DM=(()=>{var t;class e{constructor(){this._listeners=[]}notify(n,r){for(let o of this._listeners)o(n,r)}listen(n){return this._listeners.push(n),()=>{this._listeners=this._listeners.filter(r=>n!==r)}}ngOnDestroy(){this._listeners=[]}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),gU=0;const Sg=new M("CdkAccordion");let _U=(()=>{var t;class e{constructor(){this._stateChanges=new q,this._openCloseAllActions=new q,this.id="cdk-accordion-"+gU++,this._multi=!1}get multi(){return this._multi}set multi(n){this._multi=En(n)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(n){this._stateChanges.next(n)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[be([{provide:Sg,useExisting:t}]),It]}),e})(),vU=0,bU=(()=>{var t;class e{get expanded(){return this._expanded}set expanded(n){n=En(n),this._expanded!==n&&(this._expanded=n,this.expandedChange.emit(n),n?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(n){this._disabled=En(n)}constructor(n,r,o){this.accordion=n,this._changeDetectorRef=r,this._expansionDispatcher=o,this._openCloseAllSubscription=Pe.EMPTY,this.closed=new re,this.opened=new re,this.destroyed=new re,this.expandedChange=new re,this.id="cdk-accordion-child-"+vU++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=o.listen((s,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==s&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(n=>{this.disabled||(this.expanded=n)})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Sg,12),_(sn),_(DM))},t.\u0275dir=N({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[be([{provide:Sg,useValue:void 0}])]}),e})(),yU=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();const wU=["body"];function CU(t,e){}const DU=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],EU=["mat-expansion-panel-header","*","mat-action-row"];function xU(t,e){1&t&&I(0,"span",2),2&t&&k("@indicatorRotate",Le()._getExpandedState())}const SU=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],MU=["mat-panel-title","mat-panel-description","*"],Mg=new M("MAT_ACCORDION"),EM="225ms cubic-bezier(0.4,0.0,0.2,1)",xM={indicatorRotate:Ko("indicatorRotate",[Gn("collapsed, void",it({transform:"rotate(0deg)"})),Gn("expanded",it({transform:"rotate(180deg)"})),bi("expanded <=> collapsed, void => collapsed",vi(EM))]),bodyExpansion:Ko("bodyExpansion",[Gn("collapsed, void",it({height:"0px",visibility:"hidden"})),Gn("expanded",it({height:"*",visibility:""})),bi("expanded <=> collapsed, void => collapsed",vi(EM))])},SM=new M("MAT_EXPANSION_PANEL");let AU=(()=>{var t;class e{constructor(n,r){this._template=n,this._expansionPanel=r}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Wt),_(SM,8))},t.\u0275dir=N({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),e})(),IU=0;const MM=new M("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let AM=(()=>{var t;class e extends bU{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(n){this._hideToggle=En(n)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(n){this._togglePosition=n}constructor(n,r,o,s,a,l,c){super(n,r,o),this._viewContainerRef=s,this._animationMode=l,this._hideToggle=!1,this.afterExpand=new re,this.afterCollapse=new re,this._inputChanges=new q,this._headerId="mat-expansion-panel-header-"+IU++,this._bodyAnimationDone=new q,this.accordion=n,this._document=a,this._bodyAnimationDone.pipe(Fd((u,d)=>u.fromState===d.fromState&&u.toState===d.toState)).subscribe(u=>{"void"!==u.fromState&&("expanded"===u.toState?this.afterExpand.emit():"collapsed"===u.toState&&this.afterCollapse.emit())}),c&&(this.hideToggle=c.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(pi(null),Re(()=>this.expanded&&!this._portal),et(1)).subscribe(()=>{this._portal=new $a(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(n){this._inputChanges.next(n)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const n=this._document.activeElement,r=this._body.nativeElement;return n===r||r.contains(n)}return!1}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Mg,12),_(sn),_(DM),_(Pt),_(ne),_(Nn,8),_(MM,8))},t.\u0275cmp=fe({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(n,r,o){if(1&n&&pr(o,AU,5),2&n){let s;rn(s=on())&&(r._lazyContent=s.first)}},viewQuery:function(n,r){if(1&n&&Ao(wU,5),2&n){let o;rn(o=on())&&(r._body=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(n,r){2&n&&Ot("mat-expanded",r.expanded)("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[be([{provide:Mg,useValue:void 0},{provide:SM,useExisting:t}]),X,It],ngContentSelectors:EU,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(n,r){1&n&&(Eo(DU),Gt(0),m(1,"div",0,1),B("@bodyExpansion.done",function(s){return r._bodyAnimationDone.next(s)}),m(3,"div",2),Gt(4,1),Q(5,CU,0,0,"ng-template",3),g(),Gt(6,2),g()),2&n&&(D(1),k("@bodyExpansion",r._getExpandedState())("id",r.id),qe("aria-labelledby",r._headerId),D(4),k("cdkPortalOutlet",r._portal))},dependencies:[Qo],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[xM.bodyExpansion]},changeDetection:0}),e})();class TU{}const RU=B4(TU);let IM=(()=>{var t;class e extends RU{constructor(n,r,o,s,a,l,c){super(),this.panel=n,this._element=r,this._focusMonitor=o,this._changeDetectorRef=s,this._animationMode=l,this._parentChangeSubscription=Pe.EMPTY;const u=n.accordion?n.accordion._stateChanges.pipe(Re(d=>!(!d.hideToggle&&!d.togglePosition))):dn;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=Xi(n.opened,n.closed,u,n._inputChanges.pipe(Re(d=>!!(d.hideToggle||d.disabled||d.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),n.closed.pipe(Re(()=>n._containsFocus())).subscribe(()=>o.focusVia(r,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const n=this._isExpanded();return n&&this.expandedHeight?this.expandedHeight:!n&&this.collapsedHeight?this.collapsedHeight:null}_keydown(n){switch(n.keyCode){case 32:case 13:Fa(n)||(n.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(n))}}focus(n,r){n?this._focusMonitor.focusVia(this._element,n,r):this._element.nativeElement.focus(r)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(n=>{n&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(AM,1),_(ve),_(xr),_(sn),_(MM,8),_(Nn,8),Cs("tabindex"))},t.\u0275cmp=fe({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(n,r){1&n&&B("click",function(){return r._toggle()})("keydown",function(s){return r._keydown(s)}),2&n&&(qe("id",r.panel._headerId)("tabindex",r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),jf("height",r._getHeaderHeight()),Ot("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after","after"===r._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===r._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===r._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[X],ngContentSelectors:MU,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(n,r){1&n&&(Eo(SU),m(0,"span",0),Gt(1),Gt(2,1),Gt(3,2),g(),Q(4,xU,1,1,"span",1)),2&n&&(Ot("mat-content-hide-toggle",!r._showToggle()),D(4),k("ngIf",r._showToggle()))},dependencies:[yn],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[xM.indicatorRotate]},changeDetection:0}),e})(),OU=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e})(),kU=(()=>{var t;class e extends _U{constructor(){super(...arguments),this._ownHeaders=new fr,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(n){this._hideToggle=En(n)}ngAfterContentInit(){this._headers.changes.pipe(pi(this._headers)).subscribe(n=>{this._ownHeaders.reset(n.filter(r=>r.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Mx(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(n){this._keyManager.onKeydown(n)}_handleHeaderFocus(n){this._keyManager.updateActiveItem(n)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275dir=N({type:t,selectors:[["mat-accordion"]],contentQueries:function(n,r,o){if(1&n&&pr(o,IM,5),2&n){let s;rn(s=on())&&(r._headers=s)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(n,r){2&n&&Ot("mat-accordion-multi",r.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[be([{provide:Mg,useExisting:t}]),X]}),e})(),PU=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Cn,xn,yU,Xo]}),e})();function NU(t,e){if(1&t){const i=Do();m(0,"mat-expansion-panel",4),B("click",function(){const o=ei(i).$implicit;return ti(Le(2).sendDataCard(o.jobID))}),m(1,"mat-expansion-panel-header",5)(2,"mat-panel-title"),C(3),m(4,"div",6)(5,"p"),C(6),g(),m(7,"p"),I(8,"i",7),C(9),ui(10,"number"),g(),m(11,"p"),C(12),g()()()(),I(13,"hr"),m(14,"div",8)(15,"div",9)(16,"p"),C(17),g()(),m(18,"div",10),I(19,"img",11),g()(),I(20,"hr"),m(21,"div",12)(22,"div",13)(23,"div",14)(24,"span"),C(25),ui(26,"currency"),g(),C(27," ("),m(28,"span"),C(29),g(),C(30,") "),g(),m(31,"div",14),C(32),g(),m(33,"div",14),C(34),g(),m(35,"div",14),C(36),g()(),m(37,"div"),C(38),g()()()}if(2&t){const i=e.$implicit;D(3),Ee(" ",i.jobTitle," "),D(3),ee(i.jobEnterprise),D(3),Ee(" ",Jf(10,12,i.jobEnterpriseRate,"1.1"),""),D(3),ee(i.jobLocation),D(5),ee(i.jobTitle),D(2),k("src",i.jobImg,Os),D(6),ee(hr(26,15,i.jobPayment)),D(4),ee(i.jobFrecuencyPayment),D(3),Ee(" ",i.jobContractType," "),D(2),Ee(" ",i.jobTime," "),D(2),Ee(" ",i.jobType," "),D(2),Ee(" ",i.jobDescription," ")}}function FU(t,e){if(1&t&&(li(0),Q(1,NU,39,17,"mat-expansion-panel",3),ci()),2&t){const i=Le();D(1),k("ngForOf",i.jobList)}}function LU(t,e){if(1&t){const i=Do();li(0),m(1,"mat-expansion-panel",16),B("click",function(){const o=ei(i).$implicit;return ti(Le(2).sendDataCard(o.jobID))}),m(2,"mat-expansion-panel-header",5)(3,"mat-panel-title"),C(4),m(5,"div",6)(6,"p"),C(7),g(),m(8,"p"),I(9,"i",7),C(10),ui(11,"number"),g(),m(12,"p"),C(13),g()()()(),I(14,"hr"),m(15,"div",8)(16,"div",9)(17,"p"),C(18),g()(),m(19,"div",10),I(20,"img",11),g()(),I(21,"hr"),m(22,"div",12)(23,"div",13)(24,"div",14)(25,"span"),C(26),ui(27,"currency"),g(),C(28," ("),m(29,"span"),C(30),g(),C(31,") "),g(),m(32,"div",14),C(33),g(),m(34,"div",14),C(35),g(),m(36,"div",14),C(37),g()(),m(38,"div"),C(39),g()()(),ci()}if(2&t){const i=e.$implicit;D(4),Ee(" ",i.jobTitle," "),D(3),ee(i.jobEnterprise),D(3),Ee(" ",Jf(11,12,i.jobEnterpriseRate,"1.1"),""),D(3),ee(i.jobLocation),D(5),ee(i.jobTitle),D(2),k("src",i.jobImg,Os),D(6),ee(hr(27,15,i.jobPayment)),D(4),ee(i.jobFrecuencyPayment),D(3),Ee(" ",i.jobContractType," "),D(2),Ee(" ",i.jobTime," "),D(2),Ee(" ",i.jobType," "),D(2),Ee(" ",i.jobDescription," ")}}function VU(t,e){1&t&&Q(0,LU,40,17,"ng-container",15),2&t&&k("ngForOf",Le().jobList)}let TM=(()=>{var t;class e{constructor(n){this.JobsService=n,this.panelOpenState=!1,this.jobList=[],this.sizeOfDisplay="mobile",this.idJobSelected=0,this.outputJobData=new re}ngOnInit(){this.JobsService.idJob.next(this.idJobSelected)}sendDataCard(n){this.idJobSelected=n,this.JobsService.idJob.next(this.idJobSelected),console.log(this.jobList[n].jobID)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Eg))},t.\u0275cmp=fe({type:t,selectors:[["job-expansion"]],inputs:{jobList:"jobList",sizeOfDisplay:"sizeOfDisplay"},outputs:{outputJobData:"outputJobData"},standalone:!0,features:[Tc],decls:4,vars:2,consts:[[1,"mat-accordion","text-xl"],[4,"ngIf","ngIfElse"],["sinExpand",""],["class","mat-expansion-panel",3,"click",4,"ngFor","ngForOf"],[1,"mat-expansion-panel",3,"click"],[1,"mat-expansion-panel-header"],[1,"mat-panel-description"],[1,"fa-solid","fa-star","text-yellow-400"],[1,"content-mat-accordion"],[1,"content-mat-accordion-info"],[1,"content-mat-accordion-img"],["src","","alt","",3,"src"],[1,"content-mat-accordion-data","block","md:hidden"],[1,"content-mat-accordion-category"],[1,"category-content-mat"],[4,"ngFor","ngForOf"],["disabled","",1,"mat-expansion-panel",3,"click"]],template:function(n,r){if(1&n&&(m(0,"mat-accordion",0),Q(1,FU,2,1,"ng-container",1),Q(2,VU,1,1,"ng-template",null,2,jn),g()),2&n){const o=mn(3);D(1),k("ngIf","mobile"==r.sizeOfDisplay)("ngIfElse",o)}},dependencies:[PU,kU,AM,IM,OU,Cn,_r,yn,bD,zp],styles:["mat-expansion-panel-header[_ngcontent-%COMP%]{width:100%;height:110px;padding:20px 10px}.mat-expansion-panel-header.mat-expanded[_ngcontent-%COMP%]{height:110px}mat-panel-title[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;align-items:center}.mat-panel-description[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}.content-mat-accordion[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%;height:100%;padding-top:12px;padding-bottom:12px}.content-mat-accordion-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;height:100%}.content-mat-accordion-img[_ngcontent-%COMP%]{width:30%;height:100%}.content-mat-accordion-data[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-start}.content-mat-accordion-category[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;margin:12px 0}.category-content-mat[_ngcontent-%COMP%]{height:100%;border-radius:25px;border:1px blue solid;padding:4px 8px;margin-bottom:4px;margin-right:8px}mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:#000}mat-expansion-panel[_ngcontent-%COMP%] mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]:hover{background-color:#f5f5f5}"]}),e})();function RM(t,e){return e?i=>pa(e.pipe(et(1),function BU(){return Be((t,e)=>{t.subscribe(Oe(e,sl))})}()),i.pipe(RM(t))):Ze((i,n)=>ut(t(i,n)).pipe(et(1),ZD(i)))}function OM(t,e=Au){const i=aS(t,e);return RM(()=>i)}const jU=["mat-menu-item",""];function HU(t,e){1&t&&(en(),m(0,"svg",3),I(1,"polygon",4),g())}const UU=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],$U=["mat-icon, [matMenuItemIcon]","*"];function zU(t,e){if(1&t){const i=Do();m(0,"div",0),B("keydown",function(r){return ei(i),ti(Le()._handleKeydown(r))})("click",function(){return ei(i),ti(Le().closed.emit("click"))})("@transformMenu.start",function(r){return ei(i),ti(Le()._onAnimationStart(r))})("@transformMenu.done",function(r){return ei(i),ti(Le()._onAnimationDone(r))}),m(1,"div",1),Gt(2),g()()}if(2&t){const i=Le();k("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),qe("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}const GU=["*"],Ag=new M("MAT_MENU_PANEL"),qU=Bx(Vx(class{}));let nd=(()=>{var t;class e extends qU{constructor(n,r,o,s,a){super(),this._elementRef=n,this._document=r,this._focusMonitor=o,this._parentMenu=s,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new q,this._focused=new q,this._highlighted=!1,this._triggersSubmenu=!1,s?.addItem?.(this)}focus(n,r){this._focusMonitor&&n?this._focusMonitor.focusVia(this._getHostElement(),n,r):this._getHostElement().focus(r),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(n){this.disabled&&(n.preventDefault(),n.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const n=this._elementRef.nativeElement.cloneNode(!0),r=n.querySelectorAll("mat-icon, .material-icons");for(let o=0;o enter",vi("120ms cubic-bezier(0, 0, 0.2, 1)",it({opacity:1,transform:"scale(1)"}))),bi("* => void",vi("100ms 25ms linear",it({opacity:0})))]),fadeInItems:Ko("fadeInItems",[Gn("showing",it({opacity:1})),bi("void => *",[it({opacity:0}),vi("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let YU=0;const kM=new M("mat-menu-default-options",{providedIn:"root",factory:function ZU(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Xa=(()=>{var t;class e{get xPosition(){return this._xPosition}set xPosition(n){this._xPosition=n,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(n){this._yPosition=n,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(n){this._overlapTrigger=En(n)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(n){this._hasBackdrop=En(n)}set panelClass(n){const r=this._previousPanelClass;r&&r.length&&r.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=n,n&&n.length&&(n.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(n){this.panelClass=n}constructor(n,r,o,s){this._elementRef=n,this._ngZone=r,this._changeDetectorRef=s,this._directDescendantItems=new fr,this._classList={},this._panelAnimationState="void",this._animationDone=new q,this.closed=new re,this.close=this.closed,this.panelId="mat-menu-panel-"+YU++,this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this._overlapTrigger=o.overlapTrigger,this._hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Mx(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(pi(this._directDescendantItems),Vt(n=>Xi(...n.map(r=>r._focused)))).subscribe(n=>this._keyManager.updateActiveItem(n)),this._directDescendantItems.changes.subscribe(n=>{const r=this._keyManager;if("enter"===this._panelAnimationState&&r.activeItem?._hasFocus()){const o=n.toArray(),s=Math.max(0,Math.min(o.length-1,r.activeItemIndex||0));o[s]&&!o[s].disabled?r.setActiveItem(s):r.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(pi(this._directDescendantItems),Vt(r=>Xi(...r.map(o=>o._hovered))))}addItem(n){}removeItem(n){}_handleKeydown(n){const r=n.keyCode,o=this._keyManager;switch(r){case 27:Fa(n)||(n.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===r||40===r)&&o.setFocusOrigin("keyboard"),void o.onKeydown(n)}n.stopPropagation()}focusFirstItem(n="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(et(1)).subscribe(()=>{let r=null;if(this._directDescendantItems.length&&(r=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!r||!r.contains(document.activeElement)){const o=this._keyManager;o.setFocusOrigin(n).setFirstItemActive(),!o.activeItem&&r&&r.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(n){const r=Math.min(this._baseElevation+n,24),o=`${this._elevationPrefix}${r}`,s=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!s||s===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(n=this.xPosition,r=this.yPosition){const o=this._classList;o["mat-menu-before"]="before"===n,o["mat-menu-after"]="after"===n,o["mat-menu-above"]="above"===r,o["mat-menu-below"]="below"===r,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(n){this._animationDone.next(n),this._isAnimating=!1}_onAnimationStart(n){this._isAnimating=!0,"enter"===n.toState&&0===this._keyManager.activeItemIndex&&(n.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(pi(this._allItems)).subscribe(n=>{this._directDescendantItems.reset(n.filter(r=>r._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_(G),_(kM),_(sn))},t.\u0275dir=N({type:t,contentQueries:function(n,r,o){if(1&n&&(pr(o,WU,5),pr(o,nd,5),pr(o,nd,4)),2&n){let s;rn(s=on())&&(r.lazyContent=s.first),rn(s=on())&&(r._allItems=s),rn(s=on())&&(r.items=s)}},viewQuery:function(n,r){if(1&n&&Ao(Wt,5),2&n){let o;rn(o=on())&&(r.templateRef=o.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),e})(),KU=(()=>{var t;class e extends Xa{constructor(n,r,o,s){super(n,r,o,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_(G),_(kM),_(sn))},t.\u0275cmp=fe({type:t,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(n,r){2&n&&qe("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[be([{provide:Ag,useExisting:t}]),X],ngContentSelectors:GU,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(n,r){1&n&&(Eo(),Q(0,zU,3,6,"ng-template"))},dependencies:[ko],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[id.transformMenu,id.fadeInItems]},changeDetection:0}),e})();const PM=new M("mat-menu-scroll-strategy"),XU={provide:PM,deps:[qn],useFactory:function QU(t){return()=>t.scrollStrategies.reposition()}},NM=Na({passive:!0});let JU=(()=>{var t;class e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(n){this.menu=n}get menu(){return this._menu}set menu(n){n!==this._menu&&(this._menu=n,this._menuCloseSubscription.unsubscribe(),n&&(this._menuCloseSubscription=n.close.subscribe(r=>{this._destroyMenu(r),("click"===r||"tab"===r)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(r)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(n,r,o,s,a,l,c,u,d){this._overlay=n,this._element=r,this._viewContainerRef=o,this._menuItemInstance=l,this._dir=c,this._focusMonitor=u,this._ngZone=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Pe.EMPTY,this._hoverSubscription=Pe.EMPTY,this._menuCloseSubscription=Pe.EMPTY,this._changeDetectorRef=T(sn),this._handleTouchStart=h=>{Gm(h)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new re,this.onMenuOpen=this.menuOpened,this.menuClosed=new re,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=a instanceof Xa?a:void 0,r.nativeElement.addEventListener("touchstart",this._handleTouchStart,NM)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,NM),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const n=this.menu;if(this._menuOpen||!n)return;const r=this._createOverlay(n),o=r.getConfig(),s=o.positionStrategy;this._setPosition(n,s),o.hasBackdrop=null==n.hasBackdrop?!this.triggersSubmenu():n.hasBackdrop,r.attach(this._getPortal(n)),n.lazyContent&&n.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(n),n instanceof Xa&&(n._startAnimation(),n._directDescendantItems.changes.pipe(Fi(n.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(n,r){this._focusMonitor&&n?this._focusMonitor.focusVia(this._element,n,r):this._element.nativeElement.focus(r)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(n){if(!this._overlayRef||!this.menuOpen)return;const r=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===n||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,r instanceof Xa?(r._resetAnimation(),r.lazyContent?r._animationDone.pipe(Re(o=>"void"===o.toState),et(1),Fi(r.lazyContent._attached)).subscribe({next:()=>r.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),r?.lazyContent?.detach())}_initMenu(n){n.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,n.direction=this.dir,this._setMenuElevation(n),n.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(n){if(n.setElevation){let r=0,o=n.parentMenu;for(;o;)r++,o=o.parentMenu;n.setElevation(r)}}_setIsMenuOpen(n){n!==this._menuOpen&&(this._menuOpen=n,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(n),this._changeDetectorRef.markForCheck())}_createOverlay(n){if(!this._overlayRef){const r=this._getOverlayConfig(n);this._subscribeToPositions(n,r.positionStrategy),this._overlayRef=this._overlay.create(r),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(n){return new Vu({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:n.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:n.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(n,r){n.setPositionClasses&&r.positionChanges.subscribe(o=>{const s="start"===o.connectionPair.overlayX?"after":"before",a="top"===o.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>n.setPositionClasses(s,a)):n.setPositionClasses(s,a)})}_setPosition(n,r){let[o,s]="before"===n.xPosition?["end","start"]:["start","end"],[a,l]="above"===n.yPosition?["bottom","top"]:["top","bottom"],[c,u]=[a,l],[d,h]=[o,s],f=0;if(this.triggersSubmenu()){if(h=o="before"===n.xPosition?"start":"end",s=d="end"===o?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const p=this._parentMaterialMenu.items.first;this._parentInnerPadding=p?p._getHostElement().offsetTop:0}f="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else n.overlapTrigger||(c="top"===a?"bottom":"top",u="top"===l?"bottom":"top");r.withPositions([{originX:o,originY:c,overlayX:d,overlayY:a,offsetY:f},{originX:s,originY:c,overlayX:h,overlayY:a,offsetY:f},{originX:o,originY:u,overlayX:d,overlayY:l,offsetY:-f},{originX:s,originY:u,overlayX:h,overlayY:l,offsetY:-f}])}_menuClosingActions(){const n=this._overlayRef.backdropClick(),r=this._overlayRef.detachments();return Xi(n,this._parentMaterialMenu?this._parentMaterialMenu.closed:L(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Re(a=>a!==this._menuItemInstance),Re(()=>this._menuOpen)):L(),r)}_handleMousedown(n){zm(n)||(this._openedBy=0===n.button?"mouse":void 0,this.triggersSubmenu()&&n.preventDefault())}_handleKeydown(n){const r=n.keyCode;(13===r||32===r)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===r&&"ltr"===this.dir||37===r&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(n){this.triggersSubmenu()?(n.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Re(n=>n===this._menuItemInstance&&!n.disabled),OM(0,Xm)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Xa&&this.menu._isAnimating?this.menu._animationDone.pipe(et(1),OM(0,Xm),Fi(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(n){return(!this._portal||this._portal.templateRef!==n.templateRef)&&(this._portal=new $a(n.templateRef,this._viewContainerRef)),this._portal}}return(t=e).\u0275fac=function(n){return new(n||t)(_(qn),_(ve),_(Pt),_(PM),_(Ag,8),_(nd,10),_(ku,8),_(xr),_(G))},t.\u0275dir=N({type:t,hostVars:3,hostBindings:function(n,r){1&n&&B("click",function(s){return r._handleClick(s)})("mousedown",function(s){return r._handleMousedown(s)})("keydown",function(s){return r._handleKeydown(s)}),2&n&&qe("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),e})(),e$=(()=>{var t;class e extends JU{}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275dir=N({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[X]}),e})(),t$=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[XU],imports:[Cn,Wx,xn,ju,Jm,xn]}),e})();function n$(t,e){if(1&t&&(m(0,"button",4),C(1),g()),2&t){const i=e.$implicit;D(1),ee(i)}}let FM=(()=>{var t;class e{constructor(){this.labelMenu="",this.filterOptions=[""]}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["filter-dropdown"]],inputs:{labelMenu:"labelMenu",filterOptions:"filterOptions"},standalone:!0,features:[Tc],decls:4,vars:3,consts:[["mat-button","",1,"dropdown-icon",3,"matMenuTriggerFor","textContent"],[1,"dropdown-menu"],["menu","matMenu"],["mat-menu-item","",4,"ngFor","ngForOf"],["mat-menu-item",""]],template:function(n,r){1&n&&(I(0,"button",0),m(1,"mat-menu",1,2),Q(3,n$,2,1,"button",3),g()),2&n&&(k("matMenuTriggerFor",mn(2))("textContent",r.labelMenu),D(3),k("ngForOf",r.filterOptions))},dependencies:[Xx,Qx,t$,KU,nd,e$,Cn,_r],styles:['.dropdown-icon[_ngcontent-%COMP%]{background-color:#fff;border-radius:25px;filter:drop-shadow(0px 2px 2px rgba(0,0,0,.25));padding:5px 14px;margin-bottom:10px;margin-right:10px} .cdk-overlay-pane{max-height:305px!important;transform:translateY(10px)}.dropdown-icon[_ngcontent-%COMP%]:hover{background-color:#f8f8f8}.dropdown-icon[_ngcontent-%COMP%]:after{content:"";display:block;background:url(https://static.thenounproject.com/png/344375-200.png) no-repeat;width:14px;height:14px;background-size:100%;position:float;float:right;margin-left:10px}']}),e})(),i$=(()=>{var t;class e{constructor(n){this.JobsService=n,this.jobList=[],this.jobSelected=0,this.jobList=this.JobsService.inputJobList}ngOnInit(){this.JobsService.idJob.subscribe(n=>{this.jobSelected=n,console.log(this.jobSelected)})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Eg))},t.\u0275cmp=fe({type:t,selectors:[["card-detail-job"]],inputs:{jobList:"jobList",jobSelected:"jobSelected"},decls:36,vars:12,consts:[[1,"bg-white","h-full","w-full","p-5","rounded-lg","border","border-gray-300","overflow-y-auto"],[1,"w-[30%]","py-5"],["src","","alt","",3,"src"],[1,"text-xl","space-y-2.5"],[1,"font-medium"],[1,"flex","flex-row","justify-start","flex-wrap","space-x-2","text-base","font-normal"],[1,"flex","flex-row","justify-start","my-2"],[1,"px-[15px]","py-[5px]","rounded-3xl","bg-Intense-Turquoise","hover:bg-[#0A585C]","text-base","text-white","transition-all","duration-300"],[1,"pt-3"],[1,"text-base"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1),I(2,"img",2),g(),m(3,"div",3)(4,"p",4),C(5),g(),m(6,"p",4)(7,"span"),C(8),ui(9,"currency"),g(),C(10),g(),m(11,"div",5)(12,"p"),C(13),g(),m(14,"p"),C(15,"\u2022"),g(),m(16,"p"),C(17),g()(),m(18,"div",5)(19,"p"),C(20),g(),m(21,"p"),C(22,"\u2022"),g(),m(23,"p"),C(24),g(),m(25,"p"),C(26,"\u2022"),g(),m(27,"p"),C(28),g()(),m(29,"div",6)(30,"button",7),C(31," Postularme "),g()(),m(32,"div",8),I(33,"hr"),g(),m(34,"div",9),C(35),g()()()),2&n&&(D(2),k("src",r.jobList[r.jobSelected].jobImg,Os),D(3),ee(r.jobList[r.jobSelected].jobTitle),D(3),ee(hr(9,10,r.jobList[r.jobSelected].jobPayment)),D(2),Ee(" (",r.jobList[r.jobSelected].jobFrecuencyPayment,")"),D(3),ee(r.jobList[r.jobSelected].jobLocation),D(4),ee(r.jobList[r.jobSelected].jobEnterprise),D(3),ee(r.jobList[r.jobSelected].jobContractType),D(4),ee(r.jobList[r.jobSelected].jobTime),D(4),ee(r.jobList[r.jobSelected].jobType),D(7),Ee(" ",r.jobList[r.jobSelected].jobDescription," "))},dependencies:[zp]}),e})();const r$=function(){return["Relevancia","Fecha","Salario"]},o$=function(){return["Urgente","Desde ayer","\xdaltimos 3 d\xedas","\xdaltima semana","\xdalitmos 15 d\xedas","\xdaltimo mes"]},s$=function(){return["Inform\xe1tica / Telecomunicaciones","Hosteler\xeda / Turismo","Adminsitraci\xf3n / Oficina","Dise\xf1o / Artes gr\xe1ficas","Otros"]},a$=function(){return["Presencial","H\xedbrido","Remoto"]},l$=function(){return["Sin experiencia","1 a\xf1o","2 a\xf1os","3-4 a\xf1os","5-10 a\xf1os","M\xe1s de 10 a\xf1os"]},c$=function(){return["M\xe1s de $ 5,000","M\xe1s de $ 10,000","M\xe1s de $ 15,000","M\xe1s de $ 20,000","M\xe1s de $ 30,000","M\xe1s de $ 40,000","M\xe1s de $ 50,000","M\xe1s de $ 65,000","M\xe1s de $ 80,000"]},u$=function(){return["Tiempo completo","Media tiempo","Por horas"]},d$=function(){return["Por tiempo indeterminado","Por tiempo determinado","Otro tipo de contrato"]};let h$=(()=>{var t;class e{recieveDataCard(n){console.log("Llamada a recieveDataCard")}constructor(n,r,o){this.breakpointObserver=n,this.MediaMatcher=r,this.JobsService=o,this.sizeDisplay="mobile",this.inputJobList=[],this.idJob=0,this.inputJobData=this.inputJobList[this.idJob],this.mediaQuery(),this.inputJobList=this.JobsService.inputJobList}mediaQuery(){this.breakpointObserver.observe(["(min-width: 0px) and (max-width: 1023px)"]).subscribe(n=>{n.matches&&(this.sizeDisplay="mobile",console.log("Small"))}),this.breakpointObserver.observe(["(min-width: 1024px)"]).subscribe(n=>{n.matches&&(this.sizeDisplay="desktop",console.log("Web"))})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Tu),_(Dx),_(Eg))},t.\u0275cmp=fe({type:t,selectors:[["ng-component"]],decls:32,vars:20,consts:[[1,"w-full","relative","bg-[#F1F5F9]"],[1,"w-full","flex","flex-col","desktop:flex-row","desktop:justify-center"],[1,"mx-5","mt-5","desktop:w-1/3","relative"],["type","text","placeholder","\xbfQu\xe9 empleo est\xe1s buscando?",1,"w-full","h-12","rounded-full","px-4","outline-none","drop-shadow-sm","hover:drop-shadow-lg","focus-within:drop-shadow-lg","transition-all","duration-200","ease-in-out"],[1,"w-10","h-10","absolute","right-1","top-1","flex","justify-center","items-center","bg-Intense-Turquoise","hover:bg-[#0A585C]","p-2","rounded-full","transition-all","duration-200","ease-in-out","hover:cursor-pointer"],[1,"fa-solid","fa-search","text-xl","text-white"],[1,"mx-5","mt-5","relative","w-1/3","hidden","lg:block"],["type","text","placeholder","\xbfD\xf3nde?",1,"w-full","h-12","rounded-full","px-4","outline-none","drop-shadow-sm","hover:drop-shadow-lg","focus-within:drop-shadow-lg","transition-all","duration-200","ease-in-out"],[1,"mx-5","my-5","relative","flex","flex-row","flex-wrap","justify-start"],["labelMenu","Ordenar por",3,"filterOptions"],["labelMenu","Fecha",3,"filterOptions"],["labelMenu","Categor\xeda",3,"filterOptions"],["labelMenu","Modalidad de trabajo",3,"filterOptions"],["labelMenu","Experiencia",3,"filterOptions"],["labelMenu","Salario",3,"filterOptions"],["labelMenu","Jornada",3,"filterOptions"],["labelMenu","Tipo de contrato",3,"filterOptions"],[1,"flex","flex-row","w-full","px-5","my-5","desktop:sticky","desktop:h-full"],[1,"relative","flex","flex-col","justify-start","pt-5","desktop:w-[40%]","overflow-y-auto"],[1,"w-full","h-20","bg-white","flex","flex-row","justify-center","items-center"],[1,"font-semibold"],[1,"mx-1"],[3,"jobList","sizeOfDisplay"],[1,"hidden","h-screen","p-5","desktop:block","desktop:w-[60%]","desktop:sticky"],[3,"jobSelected","jobList","outputJobData"]],template:function(n,r){1&n&&(m(0,"div",0),I(1,"shared-navigation-bar"),m(2,"div",1)(3,"div",2),I(4,"input",3),m(5,"span",4),I(6,"i",5),g()(),m(7,"div",6),I(8,"input",7),m(9,"span",4),I(10,"i",5),g()()(),m(11,"div",8),I(12,"filter-dropdown",9)(13,"filter-dropdown",10)(14,"filter-dropdown",11)(15,"filter-dropdown",12)(16,"filter-dropdown",13)(17,"filter-dropdown",14)(18,"filter-dropdown",15)(19,"filter-dropdown",16),g(),m(20,"div",17)(21,"div",18)(22,"div",19)(23,"span",20),C(24,"350"),g(),m(25,"span",21),C(26,"Trabajos de"),g(),m(27,"span",20),C(28,"Desarrollador web"),g()(),I(29,"job-expansion",22),g(),m(30,"div",23)(31,"card-detail-job",24),B("outputJobData",function(){return r.recieveDataCard(r.idJob)}),g()()()()),2&n&&(D(12),k("filterOptions",vn(12,r$)),D(1),k("filterOptions",vn(13,o$)),D(1),k("filterOptions",vn(14,s$)),D(1),k("filterOptions",vn(15,a$)),D(1),k("filterOptions",vn(16,l$)),D(1),k("filterOptions",vn(17,c$)),D(1),k("filterOptions",vn(18,u$)),D(1),k("filterOptions",vn(19,d$)),D(10),k("jobList",r.inputJobList)("sizeOfDisplay",r.sizeDisplay),D(2),k("jobSelected",r.idJob)("jobList",r.inputJobList))},dependencies:[xg,TM,FM,i$]}),e})();const f$=function(){return["/login"]};let p$=(()=>{var t;class e{constructor(n,r,o){this._snackBar=n,this._router=r,this._authService=o,this.personalInfoFormModel={address:"",city:"",state:"",zipCode:"",country:"",phone:"",role:1,age:0,gender:0},this.dataContact={},this.dataContact=this._router.getCurrentNavigation()?.extras?.state?.data||{},this.personalInfoFormModel={...this.personalInfoFormModel,...this.dataContact}}onRegisterSubmit(){this.validateData(this.personalInfoFormModel)&&(console.log("registerPersonalFormModel",this.personalInfoFormModel),this._authService.registerUser(this.personalInfoFormModel).subscribe(n=>{this.openSnackBar(n.message),200==n.status&&this._router.navigate(["/login"])}))}validateData(n){return new RegExp("^[a-zA-Z\xc0-\xff\xf1\xd1 ]+$"),n.address&&n.city&&n.state&&n.zipCode&&n.country?n.address.length<5?(this.openSnackBar("La direcci\xf3n debe tener al menos 5 caracteres"),!1):n.city.length<3?(this.openSnackBar("La ciudad debe tener al menos 3 caracteres"),!1):n.state.length<3?(this.openSnackBar("El estado debe tener al menos 3 caracteres"),!1):n.zipCode.length<4?(this.openSnackBar("El c\xf3digo postal debe tener al menos 4 caracteres"),!1):!(n.country.length<3&&(this.openSnackBar("El pa\xeds debe tener al menos 3 caracteres"),1)):(this.openSnackBar("Todos los campos son requeridos"),!1)}openSnackBar(n){this._snackBar.open(n,"Aceptar",{horizontalPosition:"center",verticalPosition:"bottom",duration:5e3})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ng),_(nt),_(Ui))},t.\u0275cmp=fe({type:t,selectors:[["app-register-personal"]],decls:37,vars:9,consts:[[1,"h-full","md:w-full","flex","flex-row"],[1,"bg-Bright-Cyan","hidden","md:flex","md:w-1/2","flex-col","items-center","justify-center"],[1,"w-10/12","text-4xl","shadow-sm","font-Poppins","font-medium","text-white","mb-10"],["src","/assets/img/register_aside.svg",1,"w-96"],[1,"w-full","h-full","flex","flex-col","justify-center","items-center","bg-slate-100","login-bg-pattern"],["src","/assets/img/persInfo_header.svg","alt","Login",1,"w-1/2","md:h-1/5"],[1,"mt-16","text-slate-800","font-Poppins","font-medium","text-3xl"],[3,"ngSubmit"],["id","registerForms",1,"mt-10"],[1,"relative","w-80","md:w-96"],["type","text","name","address","placeholder","Direcci\xf3n",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],[1,"flex","flex-row","justify-between","mt-5"],[1,"w-[155px]","md:w-[185px]"],["type","text","name","city","placeholder","Ciudad",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],["type","text","name","state","placeholder","Estado",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],["type","text","name","zipCode","placeholder","C\xf3digo postal",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],["type","text","name","country","placeholder","Pa\xeds",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],[1,"h-[1px]","my-4","border-0","bg-gray-300"],["min","1","max","100","type","number","name","Age","placeholder","Ingrese su edad",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],["type","text","name","Phone","placeholder","(999) 111 2233",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],[1,"w-80","md:w-96","mt-5"],["type","submit",1,"font-bold","text-white","bg-Bright-Cyan","hover:bg-Intense-Turquoise","focus:ring-4","focus:ring-blue-300","rounded-lg","text-sm","w-full","py-2.5"],[1,"mt-5","flex"],[1,"text-sm","text-slate-800","font-Poppins","mr-2"],["routerLinkActive","router-link-active",1,"text-sm","font-medium","text-Intense-Turquoise","font-Poppins","hover:text-Serene-Blue",3,"routerLink"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1)(2,"h2",2),C(3," Aqu\xed ir\xeda un slogan bien HD "),g(),I(4,"img",3),g(),m(5,"div",4),I(6,"img",5),m(7,"h2",6),C(8," Datos personales "),g(),m(9,"form",7),B("ngSubmit",function(){return r.onRegisterSubmit()}),m(10,"div",8)(11,"div",9)(12,"input",10),B("ngModelChange",function(s){return r.personalInfoFormModel.address=s}),g()(),m(13,"div",11)(14,"div",12)(15,"input",13),B("ngModelChange",function(s){return r.personalInfoFormModel.city=s}),g()(),m(16,"div",12)(17,"input",14),B("ngModelChange",function(s){return r.personalInfoFormModel.state=s}),g()()(),m(18,"div",11)(19,"div",12)(20,"input",15),B("ngModelChange",function(s){return r.personalInfoFormModel.zipCode=s}),g()(),m(21,"div",12)(22,"input",16),B("ngModelChange",function(s){return r.personalInfoFormModel.country=s}),g()()(),I(23,"hr",17),m(24,"div",11)(25,"div",12)(26,"input",18),B("ngModelChange",function(s){return r.personalInfoFormModel.age=s}),g()(),m(27,"div",12)(28,"input",19),B("ngModelChange",function(s){return r.personalInfoFormModel.phone=s}),g()()()(),m(29,"div",20)(30,"button",21),C(31," Crear cuenta "),g()()(),m(32,"div",22)(33,"p",23),C(34," \xbfYa tienes cuenta? "),g(),m(35,"a",24),C(36," Inicia sesi\xf3n "),g()()()()),2&n&&(D(12),k("ngModel",r.personalInfoFormModel.address),D(3),k("ngModel",r.personalInfoFormModel.city),D(2),k("ngModel",r.personalInfoFormModel.state),D(3),k("ngModel",r.personalInfoFormModel.zipCode),D(2),k("ngModel",r.personalInfoFormModel.country),D(4),k("ngModel",r.personalInfoFormModel.age),D(2),k("ngModel",r.personalInfoFormModel.phone),D(7),k("routerLink",vn(8,f$)))},dependencies:[ed,Jo,mg,zu,Gu,Cg,wg,Qa,ns,Bi,Sm]}),e})();function m$(t,e){}class rd{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let LM=(()=>{var t;class e extends Nu{constructor(n,r,o,s,a,l,c,u){super(),this._elementRef=n,this._focusTrapFactory=r,this._config=s,this._interactivityChecker=a,this._ngZone=l,this._overlayRef=c,this._focusMonitor=u,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=d=>{this._portalOutlet.hasAttached();const h=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),h},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(n){this._portalOutlet.hasAttached();const r=this._portalOutlet.attachComponentPortal(n);return this._contentAttached(),r}attachTemplatePortal(n){this._portalOutlet.hasAttached();const r=this._portalOutlet.attachTemplatePortal(n);return this._contentAttached(),r}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(n,r){this._interactivityChecker.isFocusable(n)||(n.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{n.removeEventListener("blur",o),n.removeEventListener("mousedown",o),n.removeAttribute("tabindex")};n.addEventListener("blur",o),n.addEventListener("mousedown",o)})),n.focus(r)}_focusByCssSelector(n,r){let o=this._elementRef.nativeElement.querySelector(n);o&&this._forceFocus(o,r)}_trapFocus(){const n=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||n.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(r=>{r||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const n=this._config.restoreFocus;let r=null;if("string"==typeof n?r=this._document.querySelector(n):"boolean"==typeof n?r=n?this._elementFocusedBeforeDialogWasOpened:null:n&&(r=n),this._config.restoreFocus&&r&&"function"==typeof r.focus){const o=Nm(),s=this._elementRef.nativeElement;(!o||o===this._document.body||o===s||s.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const n=this._elementRef.nativeElement,r=Nm();return n===r||n.contains(r)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Nm())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_($m),_(ne,8),_(rd),_(Ru),_(G),_(qa),_(xr))},t.\u0275cmp=fe({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(n,r){if(1&n&&Ao(Qo,7),2&n){let o;rn(o=on())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,r){2&n&&qe("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[X],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,r){1&n&&Q(0,m$,0,0,"ng-template",0)},dependencies:[Qo],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),e})();class Ig{constructor(e,i){this.overlayRef=e,this.config=i,this.closed=new q,this.disableClose=i.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=i.id,this.keydownEvents.subscribe(n=>{27===n.keyCode&&!this.disableClose&&!Fa(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{!1!==i.closeOnOverlayDetachments&&this.close()})}close(e,i){if(this.containerInstance){const n=this.closed;this.containerInstance._closeInteractionType=i?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(e),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",i=""){return this.overlayRef.updateSize({width:e,height:i}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}}const VM=new M("DialogScrollStrategy"),g$=new M("DialogData"),_$=new M("DefaultDialogConfig"),b$={provide:VM,deps:[qn],useFactory:function v$(t){return()=>t.scrollStrategies.block()}};let y$=0,BM=(()=>{var t;class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(n,r,o,s,a,l){this._overlay=n,this._injector=r,this._defaultOptions=o,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new q,this._afterOpenedAtThisLevel=new q,this._ariaHiddenElements=new Map,this.afterAllClosed=iu(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(pi(void 0))),this._scrollStrategy=l}open(n,r){(r={...this._defaultOptions||new rd,...r}).id=r.id||"cdk-dialog-"+y$++,r.id&&this.getDialogById(r.id);const s=this._getOverlayConfig(r),a=this._overlay.create(s),l=new Ig(a,r),c=this._attachContainer(a,l,r);return l.containerInstance=c,this._attachDialogContent(n,l,c,r),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){Tg(this.openDialogs,n=>n.close())}getDialogById(n){return this.openDialogs.find(r=>r.id===n)}ngOnDestroy(){Tg(this._openDialogsAtThisLevel,n=>{!1===n.config.closeOnDestroy&&this._removeOpenDialog(n,!1)}),Tg(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(n){const r=new Vu({positionStrategy:n.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,width:n.width,height:n.height,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(r.backdropClass=n.backdropClass),r}_attachContainer(n,r,o){const s=o.injector||o.viewContainerRef?.injector,a=[{provide:rd,useValue:o},{provide:Ig,useValue:r},{provide:qa,useValue:n}];let l;o.container?"function"==typeof o.container?l=o.container:(l=o.container.type,a.push(...o.container.providers(o))):l=LM;const c=new Ua(l,o.viewContainerRef,Fe.create({parent:s||this._injector,providers:a}),o.componentFactoryResolver);return n.attach(c).instance}_attachDialogContent(n,r,o,s){if(n instanceof Wt){const a=this._createInjector(s,r,o,void 0);let l={$implicit:s.data,dialogRef:r};s.templateContext&&(l={...l,..."function"==typeof s.templateContext?s.templateContext():s.templateContext}),o.attachTemplatePortal(new $a(n,null,l,a))}else{const a=this._createInjector(s,r,o,this._injector),l=o.attachComponentPortal(new Ua(n,s.viewContainerRef,a,s.componentFactoryResolver));r.componentRef=l,r.componentInstance=l.instance}}_createInjector(n,r,o,s){const a=n.injector||n.viewContainerRef?.injector,l=[{provide:g$,useValue:n.data},{provide:Ig,useValue:r}];return n.providers&&("function"==typeof n.providers?l.push(...n.providers(r,n,o)):l.push(...n.providers)),n.direction&&(!a||!a.get(ku,null,{optional:!0}))&&l.push({provide:ku,useValue:{value:n.direction,change:L()}}),Fe.create({parent:a||s,providers:l})}_removeOpenDialog(n,r){const o=this.openDialogs.indexOf(n);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const n=this._overlayContainer.getContainerElement();if(n.parentElement){const r=n.parentElement.children;for(let o=r.length-1;o>-1;o--){const s=r[o];s!==n&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return(t=e).\u0275fac=function(n){return new(n||t)(w(qn),w(Fe),w(_$,8),w(t,12),w(Bu),w(VM))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();function Tg(t,e){let i=t.length;for(;i--;)e(t[i])}let w$=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[BM,b$],imports:[ju,Xo,R4,Xo]}),e})();function C$(t,e){}class od{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const Rg="mdc-dialog--open",jM="mdc-dialog--opening",HM="mdc-dialog--closing";let x$=(()=>{var t;class e extends LM{constructor(n,r,o,s,a,l,c,u){super(n,r,o,s,a,l,c,u),this._animationStateChanged=new re}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(n){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_($m),_(ne,8),_(od),_(Ru),_(G),_(qa),_(xr))},t.\u0275cmp=fe({type:t,selectors:[["ng-component"]],features:[X],decls:0,vars:0,template:function(n,r){},encapsulation:2}),e})();const UM="--mat-dialog-transition-duration";function $M(t){return null==t?null:"number"==typeof t?t:t.endsWith("ms")?Um(t.substring(0,t.length-2)):t.endsWith("s")?1e3*Um(t.substring(0,t.length-1)):"0"===t?0:null}let S$=(()=>{var t;class e extends x${constructor(n,r,o,s,a,l,c,u,d){super(n,r,o,s,a,l,c,d),this._animationMode=u,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?$M(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?$M(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(UM,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(jM,Rg)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Rg),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Rg),this._animationsEnabled?(this._hostElement.style.setProperty(UM,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(HM)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(jM,HM)}_waitForAnimationToComplete(n,r){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,n)}_requestAnimationFrame(n){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(n):n()})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_($m),_(ne,8),_(od),_(Ru),_(G),_(qa),_(Nn,8),_(xr))},t.\u0275cmp=fe({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(n,r){2&n&&(xc("id",r._config.id),qe("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),Ot("_mat-animation-noopable",!r._animationsEnabled))},features:[X],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1),Q(2,C$,0,0,"ng-template",2),g()())},dependencies:[Qo],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),e})();class zM{constructor(e,i,n){this._ref=e,this._containerInstance=n,this._afterOpened=new q,this._beforeClosed=new q,this._state=0,this.disableClose=i.disableClose,this.id=e.id,n._animationStateChanged.pipe(Re(r=>"opened"===r.state),et(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(Re(r=>"closed"===r.state),et(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Xi(this.backdropClick(),this.keydownEvents().pipe(Re(r=>27===r.keyCode&&!this.disableClose&&!Fa(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),function M$(t,e,i){t._closeInteractionType=e,t.close(i)}(this,"keydown"===r.type?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Re(i=>"closing"===i.state),et(1)).subscribe(i=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let i=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?i.left(e.left):i.right(e.right):i.centerHorizontally(),e&&(e.top||e.bottom)?e.top?i.top(e.top):i.bottom(e.bottom):i.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",i=""){return this._ref.updateSize(e,i),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const GM=new M("MatMdcDialogData"),A$=new M("mat-mdc-dialog-default-options"),qM=new M("mat-mdc-dialog-scroll-strategy"),T$={provide:qM,deps:[qn],useFactory:function I$(t){return()=>t.scrollStrategies.block()}};let R$=0,O$=(()=>{var t;class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(n,r,o,s,a,l,c,u,d,h){this._overlay=n,this._defaultOptions=o,this._parentDialog=s,this._dialogRefConstructor=c,this._dialogContainerType=u,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new q,this._afterOpenedAtThisLevel=new q,this._idPrefix="mat-dialog-",this.dialogConfigClass=od,this.afterAllClosed=iu(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(pi(void 0))),this._scrollStrategy=l,this._dialog=r.get(BM)}open(n,r){let o;(r={...this._defaultOptions||new od,...r}).id=r.id||`${this._idPrefix}${R$++}`,r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();const s=this._dialog.open(n,{...r,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:r},{provide:rd,useValue:r}]},templateContext:()=>({dialogRef:o}),providers:(a,l,c)=>(o=new this._dialogRefConstructor(a,r,c),o.updatePosition(r?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])});return o.componentRef=s.componentRef,o.componentInstance=s.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{const a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(n){return this.openDialogs.find(r=>r.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(n){let r=n.length;for(;r--;)n[r].close()}}return(t=e).\u0275fac=function(n){hc()},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})(),sd=(()=>{var t;class e extends O${constructor(n,r,o,s,a,l,c,u){super(n,r,s,l,c,a,zM,S$,GM,u),this._idPrefix="mat-mdc-dialog-"}}return(t=e).\u0275fac=function(n){return new(n||t)(w(qn),w(Fe),w(ca,8),w(A$,8),w(qM),w(t,12),w(Bu),w(Nn,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})(),k$=0,P$=(()=>{var t;class e{constructor(n,r,o){this._dialogRef=n,this._elementRef=r,this._dialog=o,this.id="mat-mdc-dialog-title-"+k$++}ngOnInit(){this._dialogRef||(this._dialogRef=function L$(t,e){let i=t.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-mdc-dialog-container");)i=i.parentElement;return i?e.find(n=>n.id===i.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const n=this._dialogRef?._containerInstance?._ariaLabelledByQueue;n&&Promise.resolve().then(()=>{const r=n.indexOf(this.id);r>-1&&n.splice(r,1)})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(zM,8),_(ve),_(sd))},t.\u0275dir=N({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(n,r){2&n&&xc("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e})(),N$=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),e})(),F$=(()=>{var t;class e{constructor(){this.align="start"}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(n,r){2&n&&Ot("mat-mdc-dialog-actions-align-center","center"===r.align)("mat-mdc-dialog-actions-align-end","end"===r.align)},inputs:{align:"align"}}),e})(),V$=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[sd,T$],imports:[w$,ju,Xo,xn,xn]}),e})();function B$(t,e){1&t&&Pf(0)}function j$(t,e){1&t&&I(0,"input",30)}function H$(t,e){if(1&t&&(m(0,"option",31),C(1),g()),2&t){const i=e.$implicit;qt("value",i),D(1),Ee(" ",i," ")}}function U$(t,e){if(1&t&&(m(0,"option",31),C(1),g()),2&t){const i=e.$implicit;qt("value",i),D(1),Ee(" ",i," ")}}function $$(t,e){if(1&t){const i=Do();m(0,"div",10)(1,"div",11)(2,"div",12),en(),m(3,"svg",13),I(4,"path",14),g()(),_s(),I(5,"input",15),g(),m(6,"div",11)(7,"div",12),en(),m(8,"svg",13),I(9,"path",14),g()(),_s(),I(10,"input",16),g()(),m(11,"div",17)(12,"div",18)(13,"span",19),C(14,"Hombre"),g(),m(15,"label",20),Q(16,j$,1,0,"input",21),I(17,"div",22),g(),m(18,"span",23),C(19,"Mujer"),g()(),m(20,"div",18),I(21,"input",24),g()(),m(22,"div",25)(23,"select",26),B("change",function(r){return ei(i),ti(Le().onChangeState(r))}),m(24,"option",27),C(25,"Seleccione un estado"),g(),Q(26,H$,2,2,"option",28),g(),m(27,"select",29)(28,"option",27),C(29,"Seleccione una ciudad"),g(),Q(30,U$,2,2,"option",28),g()()}if(2&t){const i=Le();D(5),qt("value",i.data.user.firstName),D(5),qt("value",i.data.user.lastName),D(6),k("ngIf",i.data.user.gender),D(5),qt("value",i.data.user.age),D(5),k("ngForOf",i.stateList),D(4),k("ngForOf",i.cities)}}function z$(t,e){1&t&&(m(0,"p"),C(1,"Datos CONTACTO"),g())}function G$(t,e){1&t&&(m(0,"p"),C(1,"Datos PERSONALES"),g())}function q$(t,e){1&t&&(m(0,"p"),C(1,"Datos EXPERIENCIA"),g())}let W$=(()=>{var t;class e{constructor(n,r,o){this.data=n,this.dialog=r,this._accountService=o,this.cities=[]}closeDialog(){this.dialog.closeAll()}get stateList(){return this._accountService.statesList}onChangeState(n){this._accountService.citiesOfState(n.target.value).subscribe(r=>{this.cities=r.data})}saveData(){}}return(t=e).\u0275fac=function(n){return new(n||t)(_(GM),_(sd),_(td))},t.\u0275cmp=fe({type:t,selectors:[["app-profile-form"]],decls:17,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf","ngIfThen","ngIfElse"],["mat-dialog-actions","",1,"space-x-4"],["mat-button","","type","button",1,"px-5","py-2.5","text-red-900","border-2","border-red-900","hover:bg-gray-100","font-medium","rounded-lg","text-sm",3,"click"],["mat-button","","type","button",1,"px-5","py-2.5","text-white","bg-Bright-Cyan","hover:bg-Intense-Turquoise","font-medium","rounded-lg","text-sm"],["profile",""],["contact",""],["personal",""],["experience",""],[1,"flex","flex-row","space-x-5","mb-5"],[1,"relative","w-80","md:w-96"],[1,"absolute","inset-y-0","left-0","flex","items-center","pl-3.5","pointer-events-none"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-5","h-5"],["stroke-linecap","round","stroke-linejoin","round","d","M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z"],["type","text","name","name","placeholder","Nombre(s)",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","pl-10","p-2.5",3,"value"],["type","text","name","lastName","placeholder","Apellidos",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","pl-10","p-2.5",3,"value"],[1,"flex","flex-row","w-full","mb-5","space-x-5"],[1,"w-full"],[1,"mr-3","text-sm","font-medium","text-gray-900"],[1,"relative","inline-flex","items-center","cursor-pointer"],["then","","checked","","type","checkbox","class","sr-only peer",4,"ngIf"],[1,"w-11","h-6","bg-cyan-500","peer-focus:outline-none","rounded-full","peer","peer-checked:after:translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-[2px]","after:left-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-pink-500"],[1,"ml-3","text-sm","font-medium","text-gray-900"],["min","1","max","100","type","number","id","age","placeholder","Seleccione su edad","required","",1,"block","w-full","p-2.5","bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500",3,"value"],[1,"flex","flex-row","mb-5","space-x-5"],["id","state",1,"block","w-full","p-2.5","bg-gray-50","rounded-lg","border","border-gray-300","text-gray-900","text-sm","focus:ring-blue-500","focus:border-blue-500",3,"change"],["selected","","disabled",""],[3,"value",4,"ngFor","ngForOf"],["id","city",1,"block","w-full","p-2.5","bg-gray-50","rounded-lg","border","border-gray-300","text-gray-900","text-sm","focus:ring-blue-500","focus:border-blue-500"],["then","","checked","","type","checkbox",1,"sr-only","peer"],[3,"value"]],template:function(n,r){if(1&n&&(m(0,"h1",0),C(1,"Actualizar perfil"),g(),m(2,"div",1),Q(3,B$,1,0,"ng-container",2),g(),m(4,"div",3)(5,"button",4),B("click",function(){return r.closeDialog()}),C(6," Cancelar "),g(),m(7,"button",5),C(8," Actualizar "),g()(),Q(9,$$,31,6,"ng-template",null,6,jn),Q(11,z$,2,0,"ng-template",null,7,jn),Q(13,G$,2,0,"ng-template",null,8,jn),Q(15,q$,2,0,"ng-template",null,9,jn)),2&n){const o=mn(10),s=mn(12),a=mn(14),l=mn(16);D(3),k("ngIf",1===r.data.type)("ngIfThen",o)("ngIfElse",2===r.data.type?a:3===r.data.type?s:l)}},dependencies:[_r,yn,P$,N$,F$]}),e})(),Y$=(()=>{var t;class e{transform(n){let r=new Date(n),o=r.getMonth(),s=r.getFullYear(),a="";switch(o){case 0:a="Enero";break;case 1:a="Febrero";break;case 2:a="Marzo";break;case 3:a="Abril";break;case 4:a="Mayo";break;case 5:a="Junio";break;case 6:a="Julio";break;case 7:a="Agosto";break;case 8:a="Septiembre";break;case 9:a="Octubre";break;case 10:a="Noviembre";break;case 11:a="Diciembre"}return`${a}, ${s}`}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275pipe=gt({name:"dateFix",type:t,pure:!0}),e})();function Z$(t,e){if(1&t&&(m(0,"p",21),C(1),ui(2,"dateFix"),g()),2&t){const i=Le().$implicit;D(1),Ee("",hr(2,1,i.start)," - Actual")}}function K$(t,e){if(1&t&&(m(0,"p",21),C(1),ui(2,"dateFix"),ui(3,"dateFix"),g()),2&t){const i=Le().$implicit;D(1),Ks("",hr(2,2,i.start)," - ",hr(3,4,i.end),"")}}function Q$(t,e){if(1&t&&(m(0,"div",18)(1,"div",11)(2,"p",15),C(3),g(),Q(4,Z$,3,3,"p",19),Q(5,K$,4,6,"p",19),m(6,"p",20),C(7),g()(),I(8,"hr"),g()),2&t){const i=e.$implicit;D(3),Ks("",i.position," en ",i.business,""),D(1),k("ngIf",i.current),D(1),k("ngIf",!i.current),D(2),Ee(" ",i.description," ")}}const X$=function(t,e){return{"bg-cyan-500":t,"bg-pink-500":e}};let J$=(()=>{var t;class e{constructor(n,r,o,s){this._accountService=n,this._authService=r,this._router=o,this._dialogRef=s}get AccountData(){return this._accountService.getAccountData()}getUserLogo(){let n="";const r=this.AccountData.firstName.split(" "),o=this.AccountData.lastName.split(" ");return n+=r[0].charAt(0),n+=o[0].charAt(0),n.toUpperCase()}ngOnInit(){console.log(this.AccountData),this._authService.isSessionExpired()&&(this._router.navigate(["/login"]),this._authService.logout())}openDialog(n){this._dialogRef.open(W$,{data:{type:n,user:this.AccountData},width:"600px"}).afterClosed().subscribe(o=>{})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(td),_(Ui),_(nt),_(sd))},t.\u0275cmp=fe({type:t,selectors:[["app-profile-page"]],decls:54,vars:16,consts:[[1,"font-Poppins","w-full"],[1,"flex","flex-col","p-4","space-y-5","md:ml-44","md:mr-44","md:items-start","select-none"],[1,"w-full","md:flex","md:flex-row","md:space-y-0","md:space-x-5","space-y-5"],[1,"bg-white","rounded-md","shadow-md","p-3","w-full","transform","hover:md:-translate-y-1","hover:md:shadow-lg","cursor-pointer",3,"click"],[1,"text-xl","font-bold","text-Bright-Cyan"],[1,"flex","flex-col","items-center","space-y-2"],[1,"rounded-full",3,"ngClass"],[1,"text-6xl","h-32","w-32","flex","justify-center","items-center","font-semibold","text-white"],[1,"font-medium","text-xl"],[1,"w-40","flex","flex-row","justify-between","text-base","text-slate-700"],[1,"text-base","text-slate-700"],[1,"flex","flex-col"],[1,"md:flex","md:flex-row","md:space-y-0","md:space-x-5","space-y-5"],[1,"flex","flex-col","space-y-3"],[1,"text-xs","text-slate-400"],[1,"text-base","font-light"],[1,"text-base","font-light","line-clamp-5"],["class","flex flex-col space-y-6",4,"ngFor","ngForOf"],[1,"flex","flex-col","space-y-6"],["class","text-xs font-light text-slate-400 mb-2",4,"ngIf"],[1,"text-base","font-light","line-clamp-4"],[1,"text-xs","font-light","text-slate-400","mb-2"]],template:function(n,r){1&n&&(I(0,"shared-navigation-bar"),m(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),B("click",function(){return r.openDialog(1)}),m(5,"h2",4),C(6,"Perfil"),g(),m(7,"div",5)(8,"div",6)(9,"p",7),C(10),g()(),m(11,"h3",8),C(12),g(),m(13,"div",9)(14,"p"),C(15),g(),m(16,"p"),C(17," \u2022 "),g(),m(18,"p"),C(19),g()(),m(20,"p",10),C(21),g()()(),m(22,"div",3),B("click",function(){return r.openDialog(2)}),m(23,"h2",4),C(24,"Datos de contacto"),g(),m(25,"div",11)(26,"p"),C(27),g(),m(28,"p"),C(29),g()()()(),m(30,"div",12)(31,"div",3),B("click",function(){return r.openDialog(3)}),m(32,"h2",4),C(33," Informaci\xf3n personal "),g(),m(34,"div",13)(35,"div",11)(36,"p",14),C(37,"Puesto"),g(),m(38,"p",15),C(39),g()(),m(40,"div",11)(41,"p",14),C(42,"Salario aproximado"),g(),m(43,"p",15),C(44),g()(),m(45,"div",11)(46,"p",14),C(47,"Acerca de mi"),g(),m(48,"p",16),C(49),g()()()(),m(50,"div",3),B("click",function(){return r.openDialog(4)}),m(51,"h2",4),C(52," Experiencia profesional "),g(),Q(53,Q$,9,5,"div",17),g()()()()),2&n&&(D(8),k("ngClass",ia(13,X$,!r.AccountData.gender,r.AccountData.gender)),D(2),ee(r.getUserLogo()),D(2),ee(r.AccountData.firstName+" "+r.AccountData.lastName),D(3),ee(0==r.AccountData.gender?"Hombre":"Mujer"),D(4),Ee("",r.AccountData.age," a\xf1os"),D(2),Ks("",r.AccountData.city,", ",r.AccountData.state,""),D(6),ee(r.AccountData.phone),D(2),ee(r.AccountData.email),D(10),ee(r.AccountData.career),D(5),Ee("$",r.AccountData.salary,""),D(5),ee(r.AccountData.about),D(4),k("ngForOf",r.AccountData.experience))},dependencies:[ko,_r,yn,xg,Y$],encapsulation:2}),e})();const Og=function(t,e){return{"text-Bright-Cyan":t,"text-gray-400":e}};let ez=(()=>{var t;class e{constructor(){this.idxSubmenu=0,this.idx=new re}changeIndex(n){this.idxSubmenu=n,this.idx.emit(this.idxSubmenu)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["app-jobs-submenu"]],outputs:{idx:"idx"},decls:13,vars:12,consts:[[1,"select-none","cursor-pointer","font-Poppins","bg-white","container","mx-auto","shadow-sm","border-gray-200","border","flex","flex-col","text-center","md:flex-row","justify-center"],[1,"block","px-4","py-2","text-xl","border-l-2","border-r-2",3,"ngClass","click"],[1,"fa-solid","fa-briefcase","mr-3"],[1,"font-medium"],[1,"block","px-4","py-2","text-xl","border-r-2",3,"ngClass","click"],[1,"fa-solid","fa-users","mr-3"],[1,"fa-solid","fa-gear","mr-3"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1),B("click",function(){return r.changeIndex(0)}),I(2,"i",2),m(3,"span",3),C(4,"MIS EMPLEOS"),g()(),m(5,"div",4),B("click",function(){return r.changeIndex(1)}),I(6,"i",5),m(7,"span",3),C(8,"POSTULANTES"),g()(),m(9,"div",4),B("click",function(){return r.changeIndex(2)}),I(10,"i",6),m(11,"span",3),C(12,"CONFIGURACI\xd3N"),g()()()),2&n&&(D(1),k("ngClass",ia(3,Og,0===r.idxSubmenu,0!==r.idxSubmenu)),D(4),k("ngClass",ia(6,Og,1===r.idxSubmenu,1!==r.idxSubmenu)),D(4),k("ngClass",ia(9,Og,2===r.idxSubmenu,2!==r.idxSubmenu)))},dependencies:[ko],encapsulation:2}),e})(),tz=(()=>{var t;class e{constructor(){this.jobData={}}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["app-job-card"]],inputs:{jobData:"jobData"},decls:22,vars:6,consts:[[1,"relative"],[1,"text-lg","font-semibold","text-slate-900","line-clamp-1",3,"title"],[1,"flex","flex-row","items-center","space-x-2"],[1,"fa-solid","fa-circle-info","text-slate-400"],[1,"w-full","text-sm","text-slate-500","line-clamp-1"],[1,"fa-solid","fa-location-dot","text-slate-400","ml-[2px]","mr-[2px]"],[1,"fa-solid","fa-dollar-sign","text-slate-400","ml-1"],[1,"fa-solid","fa-calendar-days","text-slate-400"],[1,"absolute","bottom-0","right-0","cursor-pointer"],[1,"bg-orange-400","hover:bg-orange-300","text-white","rounded-md","px-2","py-1","text-sm","font-semibold"],[1,"fa-solid","fa-pen-to-square"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"h2",1),C(2),g(),m(3,"div",2),I(4,"i",3),m(5,"p",4),C(6),g()(),m(7,"div",2),I(8,"i",5),m(9,"p",4),C(10),g()(),m(11,"div",2),I(12,"i",6),m(13,"p",4),C(14),g()(),m(15,"div",2),I(16,"i",7),m(17,"p",4),C(18),g()(),m(19,"div",8)(20,"button",9),I(21,"i",10),g()()()),2&n&&(D(1),qt("title",r.jobData.JOBTITLE),D(1),ee(r.jobData.JOBTITLE),D(4),ee(r.jobData.JOBDESCRIPTION),D(4),ee(r.jobData.LOCATION),D(4),ee(r.jobData.SALARY),D(4),ee(r.jobData.CREATION_DATE))},encapsulation:2}),e})();function nz(t,e){1&t&&I(0,"app-job-card",8),2&t&&k("jobData",e.$implicit)}let iz=(()=>{var t;class e{constructor(){this.JobLists=[{JID:1,JOBTITLE:"Desarrollador Frontend",JOBDESCRIPTION:"Bsarrollo web.",LOCATION:"Ciudad emplo",REQUERIMENTS:"Requisit efectiva.",BENEFITS:"Beneficios: Salares de capacitaci\xf3n, ambiente de trabajo colaborativo.",STARTDATE:"25-09-2002",EMPLOYMENTTYPE:"Tiempleto",SALARY:"$50,000-$60,000 anuales",APPLICATION:"21-08-2025",CONTACT:"Para consulta(123) 456-7890",STATUS:1,EID_FK:1,CREATION_DATE:"25-09-2002"},{JID:1,JOBTITLE:"Desarrollador Backend",JOBDESCRIPTION:"Bsarrollo web.",LOCATION:"Ciudad emplo",REQUERIMENTS:"Requisit efectiva.",BENEFITS:"Beneficios: Salares de capacitaci\xf3n, ambiente de trabajo colaborativo.",STARTDATE:"25-09-2002",EMPLOYMENTTYPE:"Tiempleto",SALARY:"$50,000-$60,000 anuales",APPLICATION:"21-08-2025",CONTACT:"Para consulta(123) 456-7890",STATUS:1,EID_FK:1,CREATION_DATE:"25-09-2002"},{JID:1,JOBTITLE:"Analista de datos",JOBDESCRIPTION:"Bsarrollo web.",LOCATION:"Ciudad emplo",REQUERIMENTS:"Requisit efectiva.",BENEFITS:"Beneficios: Salares de capacitaci\xf3n, ambiente de trabajo colaborativo.",STARTDATE:"25-09-2002",EMPLOYMENTTYPE:"Tiempleto",SALARY:"$50,000-$60,000 anuales",APPLICATION:"21-08-2025",CONTACT:"Para consulta(123) 456-7890",STATUS:1,EID_FK:1,CREATION_DATE:"25-09-2002"},{JID:1,JOBTITLE:"Nombre de empleo largo para probar el front",JOBDESCRIPTION:"Bsarrollo web.",LOCATION:"Ciudad emplo",REQUERIMENTS:"Requisit efectiva.",BENEFITS:"Beneficios: Salares de capacitaci\xf3n, ambiente de trabajo colaborativo.",STARTDATE:"25-09-2002",EMPLOYMENTTYPE:"Tiempleto",SALARY:"$50,000-$60,000 anuales",APPLICATION:"21-08-2025",CONTACT:"Para consulta(123) 456-7890",STATUS:1,EID_FK:1,CREATION_DATE:"25-09-2002"},{JID:1,JOBTITLE:"Nombre del empleo largo",JOBDESCRIPTION:"Bsarrollo web.",LOCATION:"Ciudad emplo",REQUERIMENTS:"Requisit efectiva.",BENEFITS:"Beneficios: Salares de capacitaci\xf3n, ambiente de trabajo colaborativo.",STARTDATE:"25-09-2002",EMPLOYMENTTYPE:"Tiempleto",SALARY:"$50,000-$60,000 anuales",APPLICATION:"21-08-2025",CONTACT:"Para consulta(123) 456-7890",STATUS:1,EID_FK:1,CREATION_DATE:"25-09-2002"},{JID:1,JOBTITLE:"Prueba de la longitud del empleo",JOBDESCRIPTION:"Bsarrollo web.",LOCATION:"Ciudad emplo",REQUERIMENTS:"Requisit efectiva.",BENEFITS:"Beneficios: Salares de capacitaci\xf3n, ambiente de trabajo colaborativo.",STARTDATE:"25-09-2002",EMPLOYMENTTYPE:"Tiempleto",SALARY:"$50,000-$60,000 anuales",APPLICATION:"21-08-2025",CONTACT:"Para consulta(123) 456-7890",STATUS:1,EID_FK:1,CREATION_DATE:"25-09-2002"}]}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["app-jobs-list"]],decls:25,vars:1,consts:[[1,"grid","grid-cols-1","md:grid-cols-4","gap-4","select-none","justify-center","font-Poppins","bg-white","container","mx-auto","shadow-sm","m-3","p-3","border-gray-200","border"],["class","border rounded-md shadow-sm p-2",3,"jobData",4,"ngFor","ngForOf"],["aria-label","Pagination",1,"flex","justify-end","mt-5","m-3","container","mx-auto"],[1,"inline-flex","right-0","-space-x-px","text-sm"],["href","#",1,"flex","items-center","justify-center","px-3","h-8","ml-0","leading-tight","text-gray-500","bg-white","border","border-gray-300","rounded-l-lg","hover:bg-gray-100","hover:text-gray-700"],["href","#",1,"flex","items-center","justify-center","px-3","h-8","leading-tight","text-gray-500","bg-white","border","border-gray-300","hover:bg-gray-100","hover:text-gray-700"],["href","#","aria-current","page",1,"flex","items-center","justify-center","px-3","h-8","text-blue-600","border","border-gray-300","bg-blue-50","hover:bg-blue-100","hover:text-blue-700"],["href","#",1,"flex","items-center","justify-center","px-3","h-8","leading-tight","text-gray-500","bg-white","border","border-gray-300","rounded-r-lg","hover:bg-gray-100","hover:text-gray-700"],[1,"border","rounded-md","shadow-sm","p-2",3,"jobData"]],template:function(n,r){1&n&&(m(0,"div",0),Q(1,nz,1,1,"app-job-card",1),g(),m(2,"nav",2)(3,"ul",3)(4,"li")(5,"a",4),C(6,"Previous"),g()(),m(7,"li")(8,"a",5),C(9,"1"),g()(),m(10,"li")(11,"a",5),C(12,"2"),g()(),m(13,"li")(14,"a",6),C(15,"3"),g()(),m(16,"li")(17,"a",5),C(18,"4"),g()(),m(19,"li")(20,"a",5),C(21,"5"),g()(),m(22,"li")(23,"a",7),C(24,"Next"),g()()()()),2&n&&(D(1),k("ngForOf",r.JobLists))},dependencies:[_r,tz],encapsulation:2}),e})(),rz=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["app-job-applicantlist"]],decls:53,vars:0,consts:[[1,"select-none","justify-center","font-Poppins","bg-white","container","mx-auto","shadow-sm","m-3","p-3","border-gray-200","border"],[1,"w-full","relative","overflow-x-auto","shadow-md","sm:rounded-lg"],[1,"w-full","text-sm","text-left","text-gray-500"],[1,"text-xs","text-white","uppercase","bg-Bright-Cyan"],["scope","col",1,"px-6","py-3"],[1,"bg-white","border-b"],["scope","row",1,"px-6","py-2","font-medium","text-gray-900","whitespace-nowrap"],[1,"px-4","py-4"],[1,"flex","space-x-2","px-4","py-4"],[1,"bg-green-500","hover:bg-green-400","text-white","rounded-md","px-2","py-1","text-sm","font-semibold"],[1,"fa-solid","fa-eye"],[1,"bg-red-500","hover:bg-red-400","text-white","rounded-md","px-2","py-1","text-sm","font-semibold"],[1,"fa-solid","fa-trash"],["aria-label","Pagination",1,"flex","justify-end","mt-5"],[1,"inline-flex","right-0","-space-x-px","text-sm"],["href","#",1,"flex","items-center","justify-center","px-3","h-8","ml-0","leading-tight","text-gray-500","bg-white","border","border-gray-300","rounded-l-lg","hover:bg-gray-100","hover:text-gray-700"],["href","#",1,"flex","items-center","justify-center","px-3","h-8","leading-tight","text-gray-500","bg-white","border","border-gray-300","hover:bg-gray-100","hover:text-gray-700"],["href","#","aria-current","page",1,"flex","items-center","justify-center","px-3","h-8","text-blue-600","border","border-gray-300","bg-blue-50","hover:bg-blue-100","hover:text-blue-700"],["href","#",1,"flex","items-center","justify-center","px-3","h-8","leading-tight","text-gray-500","bg-white","border","border-gray-300","rounded-r-lg","hover:bg-gray-100","hover:text-gray-700"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1)(2,"table",2)(3,"thead",3)(4,"tr")(5,"th",4),C(6," Empleo "),g(),m(7,"th",4),C(8," Nombre(s) "),g(),m(9,"th",4),C(10," Apellidos "),g(),m(11,"th",4),C(12," Fecha postulaci\xf3n "),g(),m(13,"th",4),C(14," Acciones "),g()()(),m(15,"tbody")(16,"tr",5)(17,"th",6),C(18," Desarrollador Frontend "),g(),m(19,"td",7),C(20," Joseph Ian "),g(),m(21,"td",7),C(22," Gonzalez Cabrales "),g(),m(23,"td",7),C(24," 01/10/2023 "),g(),m(25,"td",8)(26,"button",9),I(27,"i",10),g(),m(28,"button",11),I(29,"i",12),g()()()()()(),m(30,"nav",13)(31,"ul",14)(32,"li")(33,"a",15),C(34,"Previous"),g()(),m(35,"li")(36,"a",16),C(37,"1"),g()(),m(38,"li")(39,"a",16),C(40,"2"),g()(),m(41,"li")(42,"a",17),C(43,"3"),g()(),m(44,"li")(45,"a",16),C(46,"4"),g()(),m(47,"li")(48,"a",16),C(49,"5"),g()(),m(50,"li")(51,"a",18),C(52,"Next"),g()()()()())},encapsulation:2}),e})();function oz(t,e){if(1&t&&(m(0,"option",24),C(1),g()),2&t){const i=e.$implicit;qt("value",i),D(1),Ee(" ",i," ")}}function sz(t,e){if(1&t&&(m(0,"option",24),C(1),g()),2&t){const i=e.$implicit;qt("value",i),D(1),Ee(" ",i," ")}}let az=(()=>{var t;class e{constructor(n){this._accountService=n,this.cities=[]}get stateList(){return this._accountService.statesList}onChangeState(n){this._accountService.citiesOfState(n.target.value).subscribe(r=>{this.cities=r.data})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(td))},t.\u0275cmp=fe({type:t,selectors:[["app-jobs-config"]],decls:48,vars:3,consts:[[1,"select-none","justify-center","font-Poppins","bg-white","container","mx-auto","shadow-sm","m-3","p-3","border-gray-200","border"],[1,"flex","flex-col","space-y-5"],[1,"w-full","flex","flex-row","space-x-5"],[1,"w-full"],["for","bName",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["placeholder","Nombre de la empresa","required","","autocomplete","off","type","text","id","bName",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","email",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["placeholder","Correo de la empresa","required","","autocomplete","off","type","text","id","email",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","state",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["id","state",1,"block","w-full","p-2.5","bg-gray-50","rounded-lg","border","border-gray-300","text-gray-900","text-sm","focus:ring-blue-500","focus:border-blue-500",3,"change"],["selected","","disabled",""],[3,"value",4,"ngFor","ngForOf"],["for","city",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["id","city",1,"block","w-full","p-2.5","bg-gray-50","rounded-lg","border","border-gray-300","text-gray-900","text-sm","focus:ring-blue-500","focus:border-blue-500",3,"disabled"],["for","address",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["placeholder","Nombre calle #0000, C.P. 000000","required","","autocomplete","off","type","text","id","address",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","about",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["rows","5","placeholder","Descripci\xf3n de mi empresa","required","","autocomplete","off","type","text","id","about",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"flex","flex-col"],["for","website",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["placeholder","Sitio web empresa","required","","autocomplete","off","type","text","id","website",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","linkedin",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["placeholder","Linkedin","required","","autocomplete","off","type","text","id","linkedin",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","submit",1,"text-white","bg-Bright-Cyan","hover:bg-Intense-Turquoise","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","w-full","sm:w-auto","px-5","py-2.5","text-center"],[3,"value"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"form",1)(2,"div",2)(3,"div",3)(4,"label",4),C(5,"Nombre empresa"),g(),I(6,"input",5),g(),m(7,"div",3)(8,"label",6),C(9,"Correo electr\xf3nico"),g(),I(10,"input",7),g()(),m(11,"div",2)(12,"div",3)(13,"label",8),C(14,"Seleccione un estado"),g(),m(15,"select",9),B("change",function(s){return r.onChangeState(s)}),m(16,"option",10),C(17,"Seleccione un estado"),g(),Q(18,oz,2,2,"option",11),g()(),m(19,"div",3)(20,"label",12),C(21,"Seleccione una Ciudad"),g(),m(22,"select",13)(23,"option",10),C(24,"Seleccione una ciudad"),g(),Q(25,sz,2,2,"option",11),g()()(),m(26,"div",2)(27,"div",3)(28,"label",14),C(29,"Direcci\xf3n"),g(),I(30,"input",15),g()(),m(31,"div",2)(32,"div",3)(33,"label",16),C(34,"Acerca de"),g(),I(35,"textarea",17),g()(),m(36,"div",18)(37,"div",2)(38,"div",3)(39,"label",19),C(40,"Sitio web"),g(),I(41,"input",20),g(),m(42,"div",3)(43,"label",21),C(44,"LinkedIn"),g(),I(45,"input",22),g()()(),m(46,"button",23),C(47," Guardar "),g()()()),2&n&&(D(18),k("ngForOf",r.stateList),D(4),k("disabled",0===r.cities.length),D(3),k("ngForOf",r.cities))},dependencies:[_r],encapsulation:2}),e})();const kg=function(t){return{hidden:t}},lz=[{path:"",component:uU},{path:"login",component:Q8},{path:"register",component:iU},{path:"jobs/management",component:(()=>{var t;class e{constructor(){this.idx=0}changeIndex(n){this.idx=n}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["app-jobs-page"]],inputs:{idx:"idx"},decls:5,vars:9,consts:[[3,"idx"],[3,"ngClass"]],template:function(n,r){1&n&&(I(0,"shared-navigation-bar"),m(1,"app-jobs-submenu",0),B("idx",function(s){return r.changeIndex(s)}),g(),I(2,"app-jobs-list",1)(3,"app-job-applicantlist",1)(4,"app-jobs-config",1)),2&n&&(D(2),k("ngClass",na(3,kg,0!==r.idx)),D(1),k("ngClass",na(5,kg,1!==r.idx)),D(1),k("ngClass",na(7,kg,2!==r.idx)))},dependencies:[ko,xg,ez,iz,rz,az],encapsulation:2}),e})()},{path:"jobs",component:h$},{path:"register/personal",component:p$},{path:"account/profile",component:J$}];let cz=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[zo.forRoot(lz,{useHash:!1}),zo]}),e})(),uz=(()=>{var t;class e{constructor(){this.title="FiJo-App"}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(n,r){1&n&&I(0,"router-outlet")},dependencies:[bm]}),e})();function YM(t){return new x(3e3,!1)}function Wi(t){switch(t.length){case 0:return new Ha;case 1:return t[0];default:return new rS(t)}}function ZM(t,e,i=new Map,n=new Map){const r=[],o=[];let s=-1,a=null;if(e.forEach(l=>{const c=l.get("offset"),u=c==s,d=u&&a||new Map;l.forEach((h,f)=>{let p=f,v=h;if("offset"!==f)switch(p=t.normalizePropertyName(p,r),v){case"!":v=i.get(f);break;case _i:v=n.get(f);break;default:v=t.normalizeStyleValue(f,p,v,r)}d.set(p,v)}),u||o.push(d),a=d,s=c}),r.length)throw function kz(t){return new x(3502,!1)}();return o}function Pg(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&Ng(i,"start",t)));break;case"done":t.onDone(()=>n(i&&Ng(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&Ng(i,"destroy",t)))}}function Ng(t,e,i){const o=Fg(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,i.totalTime??t.totalTime,!!i.disabled),s=t._data;return null!=s&&(o._data=s),o}function Fg(t,e,i,n,r="",o=0,s){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:r,totalTime:o,disabled:!!s}}function Zt(t,e,i){let n=t.get(e);return n||t.set(e,n=i),n}function KM(t){const e=t.indexOf(":");return[t.substring(1,e),t.slice(e+1)]}const Gz=(()=>typeof document>"u"?null:document.documentElement)();function Lg(t){const e=t.parentNode||t.host||null;return e===Gz?null:e}let Ir=null,QM=!1;function XM(t,e){for(;e;){if(e===t)return!0;e=Lg(e)}return!1}function JM(t,e,i){if(i)return Array.from(t.querySelectorAll(e));const n=t.querySelector(e);return n?[n]:[]}let e1=(()=>{var t;class e{validateStyleProperty(n){return function Wz(t){Ir||(Ir=function Yz(){return typeof document<"u"?document.body:null}()||{},QM=!!Ir.style&&"WebkitAppearance"in Ir.style);let e=!0;return Ir.style&&!function qz(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in Ir.style,!e&&QM&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Ir.style)),e}(n)}matchesElement(n,r){return!1}containsElement(n,r){return XM(n,r)}getParentElement(n){return Lg(n)}query(n,r,o){return JM(n,r,o)}computeStyle(n,r,o){return o||""}animate(n,r,o,s,a,l=[],c){return new Ha(o,s)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})(),Vg=(()=>{class e{}return e.NOOP=new e1,e})();const Zz=1e3,Bg="ng-enter",ad="ng-leave",ld="ng-trigger",cd=".ng-trigger",n1="ng-animating",jg=".ng-animating";function yi(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Hg(parseFloat(e[1]),e[2])}function Hg(t,e){return"s"===e?t*Zz:t}function ud(t,e,i){return t.hasOwnProperty("duration")?t:function Qz(t,e,i){let r,o=0,s="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push(YM()),{duration:0,delay:0,easing:""};r=Hg(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Hg(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=t;if(!i){let a=!1,l=e.length;r<0&&(e.push(function dz(){return new x(3100,!1)}()),a=!0),o<0&&(e.push(function hz(){return new x(3101,!1)}()),a=!0),a&&e.splice(l,0,YM())}return{duration:r,delay:o,easing:s}}(t,e,i)}function Ja(t,e={}){return Object.keys(t).forEach(i=>{e[i]=t[i]}),e}function r1(t){const e=new Map;return Object.keys(t).forEach(i=>{e.set(i,t[i])}),e}function Yi(t,e=new Map,i){if(i)for(let[n,r]of i)e.set(n,r);for(let[n,r]of t)e.set(n,r);return e}function Yn(t,e,i){e.forEach((n,r)=>{const o=$g(r);i&&!i.has(r)&&i.set(r,t.style[o]),t.style[o]=n})}function Tr(t,e){e.forEach((i,n)=>{const r=$g(n);t.style[r]=""})}function el(t){return Array.isArray(t)?1==t.length?t[0]:tS(t):t}const Ug=new RegExp("{{\\s*(.+?)\\s*}}","g");function s1(t){let e=[];if("string"==typeof t){let i;for(;i=Ug.exec(t);)e.push(i[1]);Ug.lastIndex=0}return e}function tl(t,e,i){const n=t.toString(),r=n.replace(Ug,(o,s)=>{let a=e[s];return null==a&&(i.push(function pz(t){return new x(3003,!1)}()),a=""),a.toString()});return r==n?t:r}function dd(t){const e=[];let i=t.next();for(;!i.done;)e.push(i.value),i=t.next();return e}const e6=/-+([a-z0-9])/g;function $g(t){return t.replace(e6,(...e)=>e[1].toUpperCase())}function Kt(t,e,i){switch(e.type){case 7:return t.visitTrigger(e,i);case 0:return t.visitState(e,i);case 1:return t.visitTransition(e,i);case 2:return t.visitSequence(e,i);case 3:return t.visitGroup(e,i);case 4:return t.visitAnimate(e,i);case 5:return t.visitKeyframes(e,i);case 6:return t.visitStyle(e,i);case 8:return t.visitReference(e,i);case 9:return t.visitAnimateChild(e,i);case 10:return t.visitAnimateRef(e,i);case 11:return t.visitQuery(e,i);case 12:return t.visitStagger(e,i);default:throw function mz(t){return new x(3004,!1)}()}}function a1(t,e){return window.getComputedStyle(t)[e]}const hd="*";function i6(t,e){const i=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(n=>function r6(t,e,i){if(":"==t[0]){const l=function o6(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n) *"}}(t,i);if("function"==typeof l)return void e.push(l);t=l}const n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(function Az(t){return new x(3015,!1)}()),e;const r=n[1],o=n[2],s=n[3];e.push(l1(r,s));"<"==o[0]&&!(r==hd&&s==hd)&&e.push(l1(s,r))}(n,i,e)):i.push(t),i}const fd=new Set(["true","1"]),pd=new Set(["false","0"]);function l1(t,e){const i=fd.has(t)||pd.has(t),n=fd.has(e)||pd.has(e);return(r,o)=>{let s=t==hd||t==r,a=e==hd||e==o;return!s&&i&&"boolean"==typeof r&&(s=r?fd.has(t):pd.has(t)),!a&&n&&"boolean"==typeof o&&(a=o?fd.has(e):pd.has(e)),s&&a}}const s6=new RegExp("s*:selfs*,?","g");function zg(t,e,i,n){return new a6(t).build(e,i,n)}class a6{constructor(e){this._driver=e}build(e,i,n){const r=new u6(i);return this._resetContextStyleTimingState(r),Kt(this,el(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,i){let n=i.queryCount=0,r=i.depCount=0;const o=[],s=[];return"@"==e.name.charAt(0)&&i.errors.push(function _z(){return new x(3006,!1)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(i),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,i))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,i);n+=l.queryCount,r+=l.depCount,s.push(l)}else i.errors.push(function vz(){return new x(3007,!1)}())}),{type:7,name:e.name,states:o,transitions:s,queryCount:n,depCount:r,options:null}}visitState(e,i){const n=this.visitStyle(e.styles,i),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const o=new Set,s=r||{};n.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{s1(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(dd(o.values()),i.errors.push(function bz(t,e){return new x(3008,!1)}()))}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,i){i.queryCount=0,i.depCount=0;const n=Kt(this,el(e.animation),i);return{type:1,matchers:i6(e.expr,i.errors),animation:n,queryCount:i.queryCount,depCount:i.depCount,options:Rr(e.options)}}visitSequence(e,i){return{type:2,steps:e.steps.map(n=>Kt(this,n,i)),options:Rr(e.options)}}visitGroup(e,i){const n=i.currentTime;let r=0;const o=e.steps.map(s=>{i.currentTime=n;const a=Kt(this,s,i);return r=Math.max(r,i.currentTime),a});return i.currentTime=r,{type:3,steps:o,options:Rr(e.options)}}visitAnimate(e,i){const n=function h6(t,e){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return Gg(ud(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Gg(0,0,"");return o.dynamic=!0,o.strValue=i,o}const r=ud(i,e);return Gg(r.duration,r.delay,r.easing)}(e.timings,i.errors);i.currentAnimateTimings=n;let r,o=e.styles?e.styles:it({});if(5==o.type)r=this.visitKeyframes(o,i);else{let s=e.styles,a=!1;if(!s){a=!0;const c={};n.easing&&(c.easing=n.easing),s=it(c)}i.currentTime+=n.duration+n.delay;const l=this.visitStyle(s,i);l.isEmptyStep=a,r=l}return i.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(e,i){const n=this._makeStyleAst(e,i);return this._validateStyleAst(n,i),n}_makeStyleAst(e,i){const n=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)"string"==typeof a?a===_i?n.push(a):i.errors.push(new x(3002,!1)):n.push(r1(a));let o=!1,s=null;return n.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:n,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,i){const n=i.currentAnimateTimings;let r=i.currentTime,o=i.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=i.collectedStyles.get(i.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(i.errors.push(function wz(t,e,i,n,r){return new x(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),i.options&&function Jz(t,e,i){const n=e.params||{},r=s1(t);r.length&&r.forEach(o=>{n.hasOwnProperty(o)||i.push(function fz(t){return new x(3001,!1)}())})}(a,i.options,i.errors)})})}visitKeyframes(e,i){const n={type:5,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(function Cz(){return new x(3011,!1)}()),n;let o=0;const s=[];let a=!1,l=!1,c=0;const u=e.steps.map(E=>{const y=this._makeStyleAst(E,i);let O=null!=y.offset?y.offset:function d6(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(i=>{if(i instanceof Map&&i.has("offset")){const n=i;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const i=t;e=parseFloat(i.get("offset")),i.delete("offset")}return e}(y.styles),R=0;return null!=O&&(o++,R=y.offset=O),l=l||R<0||R>1,a=a||R0&&o{const O=h>0?y==f?1:h*y:s[y],R=O*b;i.currentTime=p+v.delay+R,v.duration=R,this._validateStyleAst(E,i),E.offset=O,n.styles.push(E)}),n}visitReference(e,i){return{type:8,animation:Kt(this,el(e.animation),i),options:Rr(e.options)}}visitAnimateChild(e,i){return i.depCount++,{type:9,options:Rr(e.options)}}visitAnimateRef(e,i){return{type:10,animation:this.visitReference(e.animation,i),options:Rr(e.options)}}visitQuery(e,i){const n=i.currentQuerySelector,r=e.options||{};i.queryCount++,i.currentQuery=e;const[o,s]=function l6(t){const e=!!t.split(/\s*,\s*/).find(i=>":self"==i);return e&&(t=t.replace(s6,"")),t=t.replace(/@\*/g,cd).replace(/@\w+/g,i=>cd+"-"+i.slice(1)).replace(/:animating/g,jg),[t,e]}(e.selector);i.currentQuerySelector=n.length?n+" "+o:o,Zt(i.collectedStyles,i.currentQuerySelector,new Map);const a=Kt(this,el(e.animation),i);return i.currentQuery=null,i.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Rr(e.options)}}visitStagger(e,i){i.currentQuery||i.errors.push(function Sz(){return new x(3013,!1)}());const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:ud(e.timings,i.errors,!0);return{type:12,animation:Kt(this,el(e.animation),i),timings:n,options:null}}}class u6{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Rr(t){return t?(t=Ja(t)).params&&(t.params=function c6(t){return t?Ja(t):null}(t.params)):t={},t}function Gg(t,e,i){return{duration:t,delay:e,easing:i}}function qg(t,e,i,n,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class md{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,i){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...i)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const m6=new RegExp(":enter","g"),_6=new RegExp(":leave","g");function Wg(t,e,i,n,r,o=new Map,s=new Map,a,l,c=[]){return(new v6).buildKeyframes(t,e,i,n,r,o,s,a,l,c)}class v6{buildKeyframes(e,i,n,r,o,s,a,l,c,u=[]){c=c||new md;const d=new Yg(e,i,c,r,o,u,[]);d.options=l;const h=l.delay?yi(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),Kt(this,n,d);const f=d.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let v=f.length-1;v>=0;v--){const b=f[v];if(b.element===i){p=b;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[qg(i,[],[],[],0,h,"",!1)]}visitTrigger(e,i){}visitState(e,i){}visitTransition(e,i){}visitAnimateChild(e,i){const n=i.subInstructions.get(i.element);if(n){const r=i.createSubContext(e.options),o=i.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);o!=s&&i.transformIntoNewTimeline(s)}i.previousNode=e}visitAnimateRef(e,i){const n=i.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],i,n),this.visitReference(e.animation,n),i.transformIntoNewTimeline(n.currentTimeline.currentTime),i.previousNode=e}_applyAnimationRefDelays(e,i,n){for(const r of e){const o=r?.delay;if(o){const s="number"==typeof o?o:yi(tl(o,r?.params??{},i.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,i,n){let o=i.currentTimeline.currentTime;const s=null!=n.duration?yi(n.duration):null,a=null!=n.delay?yi(n.delay):null;return 0!==s&&e.forEach(l=>{const c=i.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,i){i.updateOptions(e.options,!0),Kt(this,e.animation,i),i.previousNode=e}visitSequence(e,i){const n=i.subContextCount;let r=i;const o=e.options;if(o&&(o.params||o.delay)&&(r=i.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=gd);const s=yi(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>Kt(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),i.previousNode=e}visitGroup(e,i){const n=[];let r=i.currentTimeline.currentTime;const o=e.options&&e.options.delay?yi(e.options.delay):0;e.steps.forEach(s=>{const a=i.createSubContext(e.options);o&&a.delayNextStep(o),Kt(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(s=>i.currentTimeline.mergeTimelineCollectedStyles(s)),i.transformIntoNewTimeline(r),i.previousNode=e}_visitTiming(e,i){if(e.dynamic){const n=e.strValue;return ud(i.params?tl(n,i.params,i.errors):n,i.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,i){const n=i.currentAnimateTimings=this._visitTiming(e.timings,i),r=i.currentTimeline;n.delay&&(i.incrementTime(n.delay),r.snapshotCurrentStyles());const o=e.style;5==o.type?this.visitKeyframes(o,i):(i.incrementTime(n.duration),this.visitStyle(o,i),r.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=e}visitStyle(e,i){const n=i.currentTimeline,r=i.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();const o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,i.errors,i.options),i.previousNode=e}visitKeyframes(e,i){const n=i.currentAnimateTimings,r=i.currentTimeline.duration,o=n.duration,a=i.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,i.errors,i.options),a.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(a),i.transformIntoNewTimeline(r+o),i.previousNode=e}visitQuery(e,i){const n=i.currentTimeline.currentTime,r=e.options||{},o=r.delay?yi(r.delay):0;o&&(6===i.previousNode.type||0==n&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=gd);let s=n;const a=i.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,i.errors);i.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{i.currentQueryIndex=u;const d=i.createSubContext(e.options,c);o&&d.delayNextStep(o),c===i.element&&(l=d.currentTimeline),Kt(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(s),l&&(i.currentTimeline.mergeTimelineCollectedStyles(l),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=e}visitStagger(e,i){const n=i.parentContext,r=i.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(i.currentQueryTotal-1);let l=s*i.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=n.currentStaggerTime}const u=i.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;Kt(this,e.animation,i),i.previousNode=e,n.currentStaggerTime=r.currentTime-d+(r.startTime-n.currentTimeline.startTime)}}const gd={};class Yg{constructor(e,i,n,r,o,s,a,l){this._driver=e,this.element=i,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=gd,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new _d(this._driver,i,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,i){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=yi(n.duration)),null!=n.delay&&(r.delay=yi(n.delay));const o=n.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!i||!s.hasOwnProperty(a))&&(s[a]=tl(o[a],s,this.errors))})}}_copyOptions(){const e={};if(this.options){const i=this.options.params;if(i){const n=e.params={};Object.keys(i).forEach(r=>{n[r]=i[r]})}}return e}createSubContext(e=null,i,n){const r=i||this.element,o=new Yg(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=gd,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,i,n){const r={duration:i??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new b6(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,i,n,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(m6,"."+this._enterClassName)).replace(_6,"."+this._leaveClassName);let c=this._driver.query(this.element,e,1!=n);0!==n&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),a.push(...c)}return!o&&0==a.length&&s.push(function Mz(t){return new x(3014,!1)}()),a}}class _d{constructor(e,i,n,r){this._driver=e,this.element=i,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const i=1===this._keyframes.size&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+e),i&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,i){return this.applyStylesToKeyframe(),new _d(this._driver,e,i||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,i){this._localTimelineStyles.set(e,i),this._globalTimelineStyles.set(e,i),this._styleSummary.set(e,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||_i),this._currentKeyframe.set(i,_i);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,i,n,r){i&&this._previousKeyframe.set("easing",i);const o=r&&r.params||{},s=function y6(t,e){const i=new Map;let n;return t.forEach(r=>{if("*"===r){n=n||e.keys();for(let o of n)i.set(o,_i)}else Yi(r,i)}),i}(e,this._globalTimelineStyles);for(let[a,l]of s){const c=tl(l,o,n);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??_i),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,i)=>{this._currentKeyframe.set(i,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,e)}))}snapshotCurrentStyles(){for(let[e,i]of this._localTimelineStyles)this._pendingStyles.set(e,i),this._updateStyle(e,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let i in this._currentKeyframe)e.push(i);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((i,n)=>{const r=this._styleSummary.get(n);(!r||i.time>r.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,i=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=Yi(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?e.add(d):u===_i&&i.add(d)}),n||c.set("offset",l/this.duration),r.push(c)});const o=e.size?dd(e.values()):[],s=i.size?dd(i.values()):[];if(n){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return qg(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class b6 extends _d{constructor(e,i,n,r,o,s,a=!1){super(e,i,s.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:i,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&i){const o=[],s=n+i,a=i/s,l=Yi(e[0]);l.set("offset",0),o.push(l);const c=Yi(e[0]);c.set("offset",d1(a)),o.push(c);const u=e.length-1;for(let d=1;d<=u;d++){let h=Yi(e[d]);const f=h.get("offset");h.set("offset",d1((i+f*n)/s)),o.push(h)}n=s,i=0,r="",e=o}return qg(this.element,e,this.preStyleProps,this.postStyleProps,n,i,r,!0)}}function d1(t,e=3){const i=Math.pow(10,e-1);return Math.round(t*i)/i}class Zg{}const w6=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class C6 extends Zg{normalizePropertyName(e,i){return $g(e)}normalizeStyleValue(e,i,n,r){let o="";const s=n.toString().trim();if(w6.has(i)&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{const a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function gz(t,e){return new x(3005,!1)}())}return s+o}}function h1(t,e,i,n,r,o,s,a,l,c,u,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:i,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const Kg={};class f1{constructor(e,i,n){this._triggerName=e,this.ast=i,this._stateStyles=n}match(e,i,n,r){return function D6(t,e,i,n,r){return t.some(o=>o(e,i,n,r))}(this.ast.matchers,e,i,n,r)}buildStyles(e,i,n){let r=this._stateStyles.get("*");return void 0!==e&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(i,n):new Map}build(e,i,n,r,o,s,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||Kg,p=this.buildStyles(n,a&&a.params||Kg,d),v=l&&l.params||Kg,b=this.buildStyles(r,v,d),E=new Set,y=new Map,O=new Map,R="void"===r,$={params:E6(v,h),delay:this.ast.options?.delay},Ce=u?[]:Wg(e,i,this.ast.animation,o,s,p,b,$,c,d);let we=0;if(Ce.forEach(Lt=>{we=Math.max(Lt.duration+Lt.delay,we)}),d.length)return h1(i,this._triggerName,n,r,R,p,b,[],[],y,O,we,d);Ce.forEach(Lt=>{const Mn=Lt.element,Cd=Zt(y,Mn,new Set);Lt.preStyleProps.forEach(Or=>Cd.add(Or));const il=Zt(O,Mn,new Set);Lt.postStyleProps.forEach(Or=>il.add(Or)),Mn!==i&&E.add(Mn)});const ct=dd(E.values());return h1(i,this._triggerName,n,r,R,p,b,Ce,ct,y,O,we)}}function E6(t,e){const i=Ja(e);for(const n in t)t.hasOwnProperty(n)&&null!=t[n]&&(i[n]=t[n]);return i}class x6{constructor(e,i,n){this.styles=e,this.defaultParams=i,this.normalizer=n}buildStyles(e,i){const n=new Map,r=Ja(this.defaultParams);return Object.keys(e).forEach(o=>{const s=e[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=tl(s,r,i));const l=this.normalizer.normalizePropertyName(a,i);s=this.normalizer.normalizeStyleValue(a,l,s,i),n.set(a,s)})}),n}}class M6{constructor(e,i,n){this.name=e,this.ast=i,this._normalizer=n,this.transitionFactories=[],this.states=new Map,i.states.forEach(r=>{this.states.set(r.name,new x6(r.style,r.options&&r.options.params||{},n))}),p1(this.states,"true","1"),p1(this.states,"false","0"),i.transitions.forEach(r=>{this.transitionFactories.push(new f1(e,r,this.states))}),this.fallbackTransition=function A6(t,e,i){return new f1(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,i,n,r){return this.transitionFactories.find(s=>s.match(e,i,n,r))||null}matchStyles(e,i,n){return this.fallbackTransition.buildStyles(e,i,n)}}function p1(t,e,i){t.has(e)?t.has(i)||t.set(i,t.get(e)):t.has(i)&&t.set(e,t.get(i))}const I6=new md;class T6{constructor(e,i,n){this.bodyNode=e,this._driver=i,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,i){const n=[],o=zg(this._driver,i,n,[]);if(n.length)throw function Pz(t){return new x(3503,!1)}();this._animations.set(e,o)}_buildPlayer(e,i,n){const r=e.element,o=ZM(this._normalizer,e.keyframes,i,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,i,n={}){const r=[],o=this._animations.get(e);let s;const a=new Map;if(o?(s=Wg(this._driver,i,o,Bg,ad,new Map,new Map,n,I6,r),s.forEach(u=>{const d=Zt(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(r.push(function Nz(){return new x(3300,!1)}()),s=[]),r.length)throw function Fz(t){return new x(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,_i))})});const c=Wi(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const i=this._getPlayer(e);i.destroy(),this._playersById.delete(e);const n=this.players.indexOf(i);n>=0&&this.players.splice(n,1)}_getPlayer(e){const i=this._playersById.get(e);if(!i)throw function Lz(t){return new x(3301,!1)}();return i}listen(e,i,n,r){const o=Fg(i,"","","");return Pg(this._getPlayer(e),n,o,r),()=>{}}command(e,i,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n)return void this.create(e,i,r[0]||{});const o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const m1="ng-animate-queued",Qg="ng-animate-disabled",N6=[],g1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},F6={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Sn="__ng_removed";class Xg{get params(){return this.options.params}constructor(e,i=""){this.namespaceId=i;const n=e&&e.hasOwnProperty("value");if(this.value=function j6(t){return t??null}(n?e.value:e),n){const o=Ja(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const i=e.params;if(i){const n=this.options.params;Object.keys(i).forEach(r=>{null==n[r]&&(n[r]=i[r])})}}}const nl="void",Jg=new Xg(nl);class L6{constructor(e,i,n){this.id=e,this.hostElement=i,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,cn(i,this._hostClassName)}listen(e,i,n,r){if(!this._triggers.has(i))throw function Vz(t,e){return new x(3302,!1)}();if(null==n||0==n.length)throw function Bz(t){return new x(3303,!1)}();if(!function H6(t){return"start"==t||"done"==t}(n))throw function jz(t,e){return new x(3400,!1)}();const o=Zt(this._elementListeners,e,[]),s={name:i,phase:n,callback:r};o.push(s);const a=Zt(this._engine.statesByElement,e,new Map);return a.has(i)||(cn(e,ld),cn(e,ld+"-"+i),a.set(i,Jg)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(i)||a.delete(i)})}}register(e,i){return!this._triggers.has(e)&&(this._triggers.set(e,i),!0)}_getTrigger(e){const i=this._triggers.get(e);if(!i)throw function Hz(t){return new x(3401,!1)}();return i}trigger(e,i,n,r=!0){const o=this._getTrigger(i),s=new e_(this.id,i,e);let a=this._engine.statesByElement.get(e);a||(cn(e,ld),cn(e,ld+"-"+i),this._engine.statesByElement.set(e,a=new Map));let l=a.get(i);const c=new Xg(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(i,c),l||(l=Jg),c.value!==nl&&l.value===c.value){if(!function z6(t,e){const i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let r=0;r{Tr(e,b),Yn(e,E)})}return}const h=Zt(this._engine.playersByElement,e,[]);h.forEach(v=>{v.namespaceId==this.id&&v.triggerName==i&&v.queued&&v.destroy()});let f=o.matchTransition(l.value,c.value,e,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(cn(e,m1),s.onStart(()=>{is(e,m1)})),s.onDone(()=>{let v=this.players.indexOf(s);v>=0&&this.players.splice(v,1);const b=this._engine.playersByElement.get(e);if(b){let E=b.indexOf(s);E>=0&&b.splice(E,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(i=>i.delete(e)),this._elementListeners.forEach((i,n)=>{this._elementListeners.set(n,i.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const i=this._engine.playersByElement.get(e);i&&(i.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,i){const n=this._engine.driver.query(e,cd,!0);n.forEach(r=>{if(r[Sn])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,i,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,i,n,r){const o=this._engine.statesByElement.get(e),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(e,c,nl,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,i,s),n&&Wi(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const i=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(i&&n){const r=new Set;i.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=n.get(s)||Jg,u=new Xg(nl),d=new e_(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,i){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,i),this.triggerLeaveAnimation(e,i,!0))return;let r=!1;if(n.totalAnimations){const o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,i);else{const o=e[Sn];(!o||o===g1)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,i))}}insertNode(e,i){cn(e,this._hostClassName)}drainQueuedTransitions(e){const i=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){const l=Fg(o,n.triggerName,n.fromState.value,n.toState.value);l._data=e,Pg(n.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):i.push(n)}),this._queue=[],i.sort((n,r)=>{const o=n.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(e){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}}class V6{_onRemovalComplete(e,i){this.onRemovalComplete(e,i)}constructor(e,i,n){this.bodyNode=e,this.driver=i,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const e=[];return this._namespaceList.forEach(i=>{i.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,i){const n=new L6(e,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(n,i):(this.newHostElements.set(i,n),this.collectEnterElement(i)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,i){const n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(i);for(;a;){const l=r.get(a);if(l){const c=n.indexOf(l);n.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||n.unshift(e)}else n.push(e);return r.set(i,e),e}register(e,i){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,i)),n}registerTrigger(e,i,n){let r=this._namespaceLookup[e];r&&r.register(i,n)&&this.totalAnimations++}destroy(e,i){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);const r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(i),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const i=new Set,n=this.statesByElement.get(e);if(n)for(let r of n.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&i.add(o)}return i}trigger(e,i,n,r){if(vd(i)){const o=this._fetchNamespace(e);if(o)return o.trigger(i,n,r),!0}return!1}insertNode(e,i,n,r){if(!vd(i))return;const o=i[Sn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(i);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(i,n)}r&&this.collectEnterElement(i)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,i){i?this.disabledNodes.has(e)||(this.disabledNodes.add(e),cn(e,Qg)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),is(e,Qg))}removeNode(e,i,n){if(vd(i)){const r=e?this._fetchNamespace(e):null;r?r.removeNode(i,n):this.markElementAsRemoved(e,i,!1,n);const o=this.namespacesByHostElement.get(i);o&&o.id!==e&&o.removeNode(i,n)}else this._onRemovalComplete(i,n)}markElementAsRemoved(e,i,n,r,o){this.collectedLeaveElements.push(i),i[Sn]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,i,n,r,o){return vd(i)?this._fetchNamespace(e).listen(i,n,r,o):()=>{}}_buildInstruction(e,i,n,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,i,o)}destroyInnerAnimations(e){let i=this.driver.query(e,cd,!0);i.forEach(n=>this.destroyActiveAnimationsForElement(n)),0!=this.playersByQueriedElement.size&&(i=this.driver.query(e,jg,!0),i.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){const i=this.playersByElement.get(e);i&&i.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){const i=this.playersByQueriedElement.get(e);i&&i.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Wi(this.players).onDone(()=>e());e()})}processLeaveNode(e){const i=e[Sn];if(i&&i.setForRemoval){if(e[Sn]=g1,i.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(i.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}e.classList?.contains(Qg)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){const n=this._whenQuietFns;this._whenQuietFns=[],i.length?Wi(i).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(e){throw function Uz(t){return new x(3402,!1)}()}_flushAnimations(e,i){const n=new md,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(F=>{u.add(F);const V=this.driver.query(F,".ng-animate-queued",!0);for(let j=0;j{const j=Bg+v++;p.set(V,j),F.forEach(de=>cn(de,j))});const b=[],E=new Set,y=new Set;for(let F=0;FE.add(de)):y.add(V))}const O=new Map,R=b1(h,Array.from(E));R.forEach((F,V)=>{const j=ad+v++;O.set(V,j),F.forEach(de=>cn(de,j))}),e.push(()=>{f.forEach((F,V)=>{const j=p.get(V);F.forEach(de=>is(de,j))}),R.forEach((F,V)=>{const j=O.get(V);F.forEach(de=>is(de,j))}),b.forEach(F=>{this.processLeaveNode(F)})});const $=[],Ce=[];for(let F=this._namespaceList.length-1;F>=0;F--)this._namespaceList[F].drainQueuedTransitions(i).forEach(j=>{const de=j.player,rt=j.element;if($.push(de),this.collectedEnterElements.length){const mt=rt[Sn];if(mt&&mt.setForMove){if(mt.previousTriggersValues&&mt.previousTriggersValues.has(j.triggerName)){const kr=mt.previousTriggersValues.get(j.triggerName),un=this.statesByElement.get(j.element);if(un&&un.has(j.triggerName)){const Dd=un.get(j.triggerName);Dd.value=kr,un.set(j.triggerName,Dd)}}return void de.destroy()}}const Zn=!d||!this.driver.containsElement(d,rt),Qt=O.get(rt),Zi=p.get(rt),Ve=this._buildInstruction(j,n,Zi,Qt,Zn);if(Ve.errors&&Ve.errors.length)return void Ce.push(Ve);if(Zn)return de.onStart(()=>Tr(rt,Ve.fromStyles)),de.onDestroy(()=>Yn(rt,Ve.toStyles)),void r.push(de);if(j.isFallbackTransition)return de.onStart(()=>Tr(rt,Ve.fromStyles)),de.onDestroy(()=>Yn(rt,Ve.toStyles)),void r.push(de);const R1=[];Ve.timelines.forEach(mt=>{mt.stretchStartingKeyframe=!0,this.disabledNodes.has(mt.element)||R1.push(mt)}),Ve.timelines=R1,n.append(rt,Ve.timelines),s.push({instruction:Ve,player:de,element:rt}),Ve.queriedElements.forEach(mt=>Zt(a,mt,[]).push(de)),Ve.preStyleProps.forEach((mt,kr)=>{if(mt.size){let un=l.get(kr);un||l.set(kr,un=new Set),mt.forEach((Dd,i_)=>un.add(i_))}}),Ve.postStyleProps.forEach((mt,kr)=>{let un=c.get(kr);un||c.set(kr,un=new Set),mt.forEach((Dd,i_)=>un.add(i_))})});if(Ce.length){const F=[];Ce.forEach(V=>{F.push(function $z(t,e){return new x(3505,!1)}())}),$.forEach(V=>V.destroy()),this.reportError(F)}const we=new Map,ct=new Map;s.forEach(F=>{const V=F.element;n.has(V)&&(ct.set(V,V),this._beforeAnimationBuild(F.player.namespaceId,F.instruction,we))}),r.forEach(F=>{const V=F.element;this._getPreviousPlayers(V,!1,F.namespaceId,F.triggerName,null).forEach(de=>{Zt(we,V,[]).push(de),de.destroy()})});const Lt=b.filter(F=>w1(F,l,c)),Mn=new Map;v1(Mn,this.driver,y,c,_i).forEach(F=>{w1(F,l,c)&&Lt.push(F)});const il=new Map;f.forEach((F,V)=>{v1(il,this.driver,new Set(F),l,"!")}),Lt.forEach(F=>{const V=Mn.get(F),j=il.get(F);Mn.set(F,new Map([...V?.entries()??[],...j?.entries()??[]]))});const Or=[],I1=[],T1={};s.forEach(F=>{const{element:V,player:j,instruction:de}=F;if(n.has(V)){if(u.has(V))return j.onDestroy(()=>Yn(V,de.toStyles)),j.disabled=!0,j.overrideTotalTime(de.totalTime),void r.push(j);let rt=T1;if(ct.size>1){let Qt=V;const Zi=[];for(;Qt=Qt.parentNode;){const Ve=ct.get(Qt);if(Ve){rt=Ve;break}Zi.push(Qt)}Zi.forEach(Ve=>ct.set(Ve,rt))}const Zn=this._buildAnimation(j.namespaceId,de,we,o,il,Mn);if(j.setRealPlayer(Zn),rt===T1)Or.push(j);else{const Qt=this.playersByElement.get(rt);Qt&&Qt.length&&(j.parentPlayer=Wi(Qt)),r.push(j)}}else Tr(V,de.fromStyles),j.onDestroy(()=>Yn(V,de.toStyles)),I1.push(j),u.has(V)&&r.push(j)}),I1.forEach(F=>{const V=o.get(F.element);if(V&&V.length){const j=Wi(V);F.setRealPlayer(j)}}),r.forEach(F=>{F.parentPlayer?F.syncPlayerEvents(F.parentPlayer):F.destroy()});for(let F=0;F!Zn.destroyed);rt.length?U6(this,V,rt):this.processLeaveNode(V)}return b.length=0,Or.forEach(F=>{this.players.push(F),F.onDone(()=>{F.destroy();const V=this.players.indexOf(F);this.players.splice(V,1)}),F.play()}),Or}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,i,n,r,o){let s=[];if(i){const a=this.playersByQueriedElement.get(e);a&&(s=a)}else{const a=this.playersByElement.get(e);if(a){const l=!o||o==nl;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(n||r)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,i,n){const o=i.element,s=i.isRemovalTransition?void 0:e,a=i.isRemovalTransition?void 0:i.triggerName;for(const l of i.timelines){const c=l.element,u=c!==o,d=Zt(n,c,[]);this._getPreviousPlayers(c,u,s,a,i.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}Tr(o,i.fromStyles)}_buildAnimation(e,i,n,r,o,s){const a=i.triggerName,l=i.element,c=[],u=new Set,d=new Set,h=i.timelines.map(p=>{const v=p.element;u.add(v);const b=v[Sn];if(b&&b.removedBeforeQueried)return new Ha(p.duration,p.delay);const E=v!==l,y=function $6(t){const e=[];return y1(t,e),e}((n.get(v)||N6).map(we=>we.getRealPlayer())).filter(we=>!!we.element&&we.element===v),O=o.get(v),R=s.get(v),$=ZM(this._normalizer,p.keyframes,O,R),Ce=this._buildPlayer(p,$,y);if(p.subTimeline&&r&&d.add(v),E){const we=new e_(e,a,v);we.setRealPlayer(Ce),c.push(we)}return Ce});c.forEach(p=>{Zt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function B6(t,e,i){let n=t.get(e);if(n){if(n.length){const r=n.indexOf(i);n.splice(r,1)}0==n.length&&t.delete(e)}return n}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>cn(p,n1));const f=Wi(h);return f.onDestroy(()=>{u.forEach(p=>is(p,n1)),Yn(l,i.toStyles)}),d.forEach(p=>{Zt(r,p,[]).push(f)}),f}_buildPlayer(e,i,n){return i.length>0?this.driver.animate(e.element,i,e.duration,e.delay,e.easing,n):new Ha(e.duration,e.delay)}}class e_{constructor(e,i,n){this.namespaceId=e,this.triggerName=i,this.element=n,this._player=new Ha,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((i,n)=>{i.forEach(r=>Pg(e,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const i=this._player;i.triggerCallback&&e.onStart(()=>i.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,i){Zt(this._queuedCallbacks,e,[]).push(i)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const i=this._player;i.triggerCallback&&i.triggerCallback(e)}}function vd(t){return t&&1===t.nodeType}function _1(t,e){const i=t.style.display;return t.style.display=e??"none",i}function v1(t,e,i,n,r){const o=[];i.forEach(l=>o.push(_1(l)));const s=[];n.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=e.computeStyle(c,d,r);u.set(d,h),(!h||0==h.length)&&(c[Sn]=F6,s.push(c))}),t.set(c,u)});let a=0;return i.forEach(l=>_1(l,o[a++])),s}function b1(t,e){const i=new Map;if(t.forEach(a=>i.set(a,[])),0==e.length)return i;const r=new Set(e),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=i.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return e.forEach(a=>{const l=s(a);1!==l&&i.get(l).push(a)}),i}function cn(t,e){t.classList?.add(e)}function is(t,e){t.classList?.remove(e)}function U6(t,e,i){Wi(i).onDone(()=>t.processLeaveNode(e))}function y1(t,e){for(let i=0;ir.add(o)):e.set(t,n),i.delete(t),!0}class bd{constructor(e,i,n){this.bodyNode=e,this._driver=i,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new V6(e,i,n),this._timelineEngine=new T6(e,i,n),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(e,i,n,r,o){const s=e+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],u=zg(this._driver,o,l,[]);if(l.length)throw function Oz(t,e){return new x(3404,!1)}();a=function S6(t,e,i){return new M6(t,e,i)}(r,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(i,r,a)}register(e,i){this._transitionEngine.register(e,i)}destroy(e,i){this._transitionEngine.destroy(e,i)}onInsert(e,i,n,r){this._transitionEngine.insertNode(e,i,n,r)}onRemove(e,i,n){this._transitionEngine.removeNode(e,i,n)}disableAnimations(e,i){this._transitionEngine.markElementAsDisabled(e,i)}process(e,i,n,r){if("@"==n.charAt(0)){const[o,s]=KM(n);this._timelineEngine.command(o,i,s,r)}else this._transitionEngine.trigger(e,i,n,r)}listen(e,i,n,r,o){if("@"==n.charAt(0)){const[s,a]=KM(n);return this._timelineEngine.listen(s,i,a,o)}return this._transitionEngine.listen(e,i,n,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}}let q6=(()=>{class e{constructor(n,r,o){this._element=n,this._startStyles=r,this._endStyles=o,this._state=0;let s=e.initialStylesByElement.get(n);s||e.initialStylesByElement.set(n,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Yn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Yn(this._element,this._initialStyles),this._endStyles&&(Yn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Tr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Tr(this._element,this._endStyles),this._endStyles=null),Yn(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function t_(t){let e=null;return t.forEach((i,n)=>{(function W6(t){return"display"===t||"position"===t})(n)&&(e=e||new Map,e.set(n,i))}),e}class C1{constructor(e,i,n,r){this.element=e,this.keyframes=i,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const i=[];return e.forEach(n=>{i.push(Object.fromEntries(n))}),i}_triggerWebAnimation(e,i,n){return e.animate(this._convertKeyframesToObject(i),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{"offset"!==r&&e.set(r,this._finished?n:a1(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){const i="start"===e?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}}class Y6{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,i){return!1}containsElement(e,i){return XM(e,i)}getParentElement(e){return Lg(e)}query(e,i,n){return JM(e,i,n)}computeStyle(e,i,n){return window.getComputedStyle(e)[i]}animate(e,i,n,r,o,s=[]){const l={duration:n,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(f=>f instanceof C1);(function t6(t,e){return 0===t||0===e})(n,r)&&u.forEach(f=>{f.currentSnapshot.forEach((p,v)=>c.set(v,p))});let d=function Xz(t){return t.length?t[0]instanceof Map?t:t.map(e=>r1(e)):[]}(i).map(f=>Yi(f));d=function n6(t,e,i){if(i.size&&e.length){let n=e[0],r=[];if(i.forEach((o,s)=>{n.has(s)||r.push(s),n.set(s,o)}),r.length)for(let o=1;os.set(a,a1(t,a)))}}return e}(e,d,c);const h=function G6(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=t_(e[0]),e.length>1&&(n=t_(e[e.length-1]))):e instanceof Map&&(i=t_(e)),i||n?new q6(t,i,n):null}(e,d);return new C1(e,d,l,h)}}let Z6=(()=>{var t;class e extends Jx{constructor(n,r){super(),this._nextAnimationId=0,this._renderer=n.createRenderer(r.body,{id:"0",encapsulation:Jt.None,styles:[],data:{animation:[]}})}build(n){const r=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(n)?tS(n):n;return D1(this._renderer,null,r,"register",[o]),new K6(r,this._renderer)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Vs),w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();class K6 extends eH{constructor(e,i){super(),this._id=e,this._renderer=i}create(e,i){return new Q6(this._id,e,i||{},this._renderer)}}class Q6{constructor(e,i,n,r){this.id=e,this.element=i,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,i){return this._renderer.listen(this.element,`@@${this.id}:${e}`,i)}_command(e,...i){return D1(this._renderer,this.element,this.id,e,i)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function D1(t,e,i,n,r){return t.setProperty(e,`@@${i}:${n}`,r)}const E1="@.disabled";let X6=(()=>{var t;class e{constructor(n,r,o){this.delegate=n,this.engine=r,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,r.onRemovalComplete=(s,a)=>{const l=a?.parentNode(s);l&&a.removeChild(l,s)}}createRenderer(n,r){const s=this.delegate.createRenderer(n,r);if(!(n&&r&&r.data&&r.data.animation)){let d=this._rendererCache.get(s);return d||(d=new x1("",s,this.engine,()=>this._rendererCache.delete(s)),this._rendererCache.set(s,d)),d}const a=r.id,l=r.id+"-"+this._currentId;this._currentId++,this.engine.register(l,n);const c=d=>{Array.isArray(d)?d.forEach(c):this.engine.registerTrigger(a,l,n,d.name,d)};return r.data.animation.forEach(c),new J6(this,l,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,r,o){n>=0&&nr(o)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[a,l]=s;a(l)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,o]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Vs),w(bd),w(G))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();class x1{constructor(e,i,n,r){this.namespaceId=e,this.delegate=i,this.engine=n,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,i){return this.delegate.createElement(e,i)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,i){this.delegate.appendChild(e,i),this.engine.onInsert(this.namespaceId,i,e,!1)}insertBefore(e,i,n,r=!0){this.delegate.insertBefore(e,i,n),this.engine.onInsert(this.namespaceId,i,e,r)}removeChild(e,i,n){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(e,i){return this.delegate.selectRootElement(e,i)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,i,n,r){this.delegate.setAttribute(e,i,n,r)}removeAttribute(e,i,n){this.delegate.removeAttribute(e,i,n)}addClass(e,i){this.delegate.addClass(e,i)}removeClass(e,i){this.delegate.removeClass(e,i)}setStyle(e,i,n,r){this.delegate.setStyle(e,i,n,r)}removeStyle(e,i,n){this.delegate.removeStyle(e,i,n)}setProperty(e,i,n){"@"==i.charAt(0)&&i==E1?this.disableAnimations(e,!!n):this.delegate.setProperty(e,i,n)}setValue(e,i){this.delegate.setValue(e,i)}listen(e,i,n){return this.delegate.listen(e,i,n)}disableAnimations(e,i){this.engine.disableAnimations(e,i)}}class J6 extends x1{constructor(e,i,n,r,o){super(i,n,r,o),this.factory=e,this.namespaceId=i}setProperty(e,i,n){"@"==i.charAt(0)?"."==i.charAt(1)&&i==E1?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,i.slice(1),n):this.delegate.setProperty(e,i,n)}listen(e,i,n){if("@"==i.charAt(0)){const r=function e9(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(e);let o=i.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function t9(t){const e=t.indexOf(".");return[t.substring(0,e),t.slice(e+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,n,a)})}return this.delegate.listen(e,i,n)}}const S1=[{provide:Jx,useClass:Z6},{provide:Zg,useFactory:function i9(){return new C6}},{provide:bd,useClass:(()=>{var t;class e extends bd{constructor(n,r,o,s){super(n.body,r,o)}ngOnDestroy(){this.flush()}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne),w(Vg),w(Zg),w(ki))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})()},{provide:Vs,useFactory:function r9(t,e,i){return new X6(t,e,i)},deps:[em,bd,G]}],n_=[{provide:Vg,useFactory:()=>new Y6},{provide:Nn,useValue:"BrowserAnimations"},...S1],M1=[{provide:Vg,useClass:e1},{provide:Nn,useValue:"NoopAnimations"},...S1];let o9=(()=>{var t;class e{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?M1:n_}}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:n_,imports:[BD]}),e})(),A1=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[Ui],imports:[Cn,fx,Y8,yS,zo]}),e})(),wd=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Cn,zo]}),e})(),s9=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Cn,zo,wd,A1]}),e})(),a9=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Cn,wd,V$]}),e})(),l9=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Cn,zo,wd,fx,TM,FM]}),e})(),c9=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t,bootstrap:[uz]}),t.\u0275inj=ae({imports:[BD,cz,o9,wd,A1,s9,a9,l9]}),e})();SB().bootstrapModule(c9).catch(t=>console.error(t))}},oe=>{oe(oe.s=188)}]); \ No newline at end of file +"use strict";(self.webpackChunkFiJo_App=self.webpackChunkFiJo_App||[]).push([[179],{188:()=>{function oe(t){return"function"==typeof t}function rs(t){const i=t(n=>{Error.call(n),n.stack=(new Error).stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}const rl=rs(t=>function(i){t(this),this.message=i?`${i.length} errors occurred during unsubscription:\n${i.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=i});function Pr(t,e){if(t){const i=t.indexOf(e);0<=i&&t.splice(i,1)}}class Pe{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(const o of i)o.remove(this);else i.remove(this);const{initialTeardown:n}=this;if(oe(n))try{n()}catch(o){e=o instanceof rl?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{s_(o)}catch(s){e=e??[],s instanceof rl?e=[...e,...s.errors]:e.push(s)}}if(e)throw new rl(e)}}add(e){var i;if(e&&e!==this)if(this.closed)s_(e);else{if(e instanceof Pe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(i=this._finalizers)&&void 0!==i?i:[]).push(e)}}_hasParent(e){const{_parentage:i}=this;return i===e||Array.isArray(i)&&i.includes(e)}_addParent(e){const{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(e),i):i?[i,e]:e}_removeParent(e){const{_parentage:i}=this;i===e?this._parentage=null:Array.isArray(i)&&Pr(i,e)}remove(e){const{_finalizers:i}=this;i&&Pr(i,e),e instanceof Pe&&e._removeParent(this)}}Pe.EMPTY=(()=>{const t=new Pe;return t.closed=!0,t})();const r_=Pe.EMPTY;function o_(t){return t instanceof Pe||t&&"closed"in t&&oe(t.remove)&&oe(t.add)&&oe(t.unsubscribe)}function s_(t){oe(t)?t():t.unsubscribe()}const Ki={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ol={setTimeout(t,e,...i){const{delegate:n}=ol;return n?.setTimeout?n.setTimeout(t,e,...i):setTimeout(t,e,...i)},clearTimeout(t){const{delegate:e}=ol;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function a_(t){ol.setTimeout(()=>{const{onUnhandledError:e}=Ki;if(!e)throw t;e(t)})}function sl(){}const O1=Ed("C",void 0,void 0);function Ed(t,e,i){return{kind:t,value:e,error:i}}let Qi=null;function al(t){if(Ki.useDeprecatedSynchronousErrorHandling){const e=!Qi;if(e&&(Qi={errorThrown:!1,error:null}),t(),e){const{errorThrown:i,error:n}=Qi;if(Qi=null,i)throw n}}else t()}class xd extends Pe{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,o_(e)&&e.add(this)):this.destination=B1}static create(e,i,n){return new os(e,i,n)}next(e){this.isStopped?Md(function P1(t){return Ed("N",t,void 0)}(e),this):this._next(e)}error(e){this.isStopped?Md(function k1(t){return Ed("E",void 0,t)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Md(O1,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()}}}const F1=Function.prototype.bind;function Sd(t,e){return F1.call(t,e)}class L1{constructor(e){this.partialObserver=e}next(e){const{partialObserver:i}=this;if(i.next)try{i.next(e)}catch(n){ll(n)}}error(e){const{partialObserver:i}=this;if(i.error)try{i.error(e)}catch(n){ll(n)}else ll(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(i){ll(i)}}}class os extends xd{constructor(e,i,n){let r;if(super(),oe(e)||!e)r={next:e??void 0,error:i??void 0,complete:n??void 0};else{let o;this&&Ki.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&Sd(e.next,o),error:e.error&&Sd(e.error,o),complete:e.complete&&Sd(e.complete,o)}):r=e}this.destination=new L1(r)}}function ll(t){Ki.useDeprecatedSynchronousErrorHandling?function N1(t){Ki.useDeprecatedSynchronousErrorHandling&&Qi&&(Qi.errorThrown=!0,Qi.error=t)}(t):a_(t)}function Md(t,e){const{onStoppedNotification:i}=Ki;i&&ol.setTimeout(()=>i(t,e))}const B1={closed:!0,next:sl,error:function V1(t){throw t},complete:sl},Ad="function"==typeof Symbol&&Symbol.observable||"@@observable";function wi(t){return t}function l_(t){return 0===t.length?wi:1===t.length?t[0]:function(i){return t.reduce((n,r)=>r(n),i)}}let Te=(()=>{class t{constructor(i){i&&(this._subscribe=i)}lift(i){const n=new t;return n.source=this,n.operator=i,n}subscribe(i,n,r){const o=function U1(t){return t&&t instanceof xd||function H1(t){return t&&oe(t.next)&&oe(t.error)&&oe(t.complete)}(t)&&o_(t)}(i)?i:new os(i,n,r);return al(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return new(n=c_(n))((r,o)=>{const s=new os({next:a=>{try{i(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(i){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(i)}[Ad](){return this}pipe(...i){return l_(i)(this)}toPromise(i){return new(i=c_(i))((n,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function c_(t){var e;return null!==(e=t??Ki.Promise)&&void 0!==e?e:Promise}const $1=rs(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let q=(()=>{class t extends Te{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){const n=new u_(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new $1}next(i){al(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const n of this.currentObservers)n.next(i)}})}error(i){al(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;const{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){al(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return(null===(i=this.observers)||void 0===i?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){const{hasError:n,isStopped:r,observers:o}=this;return n||r?r_:(this.currentObservers=null,o.push(i),new Pe(()=>{this.currentObservers=null,Pr(o,i)}))}_checkFinalizedStatuses(i){const{hasError:n,thrownError:r,isStopped:o}=this;n?i.error(r):o&&i.complete()}asObservable(){const i=new Te;return i.source=this,i}}return t.create=(e,i)=>new u_(e,i),t})();class u_ extends q{constructor(e,i){super(),this.destination=e,this.source=i}next(e){var i,n;null===(n=null===(i=this.destination)||void 0===i?void 0:i.next)||void 0===n||n.call(i,e)}error(e){var i,n;null===(n=null===(i=this.destination)||void 0===i?void 0:i.error)||void 0===n||n.call(i,e)}complete(){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===i||i.call(e)}_subscribe(e){var i,n;return null!==(n=null===(i=this.source)||void 0===i?void 0:i.subscribe(e))&&void 0!==n?n:r_}}class xt extends q{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const i=super._subscribe(e);return!i.closed&&e.next(this._value),i}getValue(){const{hasError:e,thrownError:i,_value:n}=this;if(e)throw i;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}}function d_(t){return oe(t?.lift)}function Be(t){return e=>{if(d_(e))return e.lift(function(i){try{return t(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Oe(t,e,i,n,r){return new z1(t,e,i,n,r)}class z1 extends xd{constructor(e,i,n,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=i?function(a){try{i(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}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()){const{closed:i}=this;super.unsubscribe(),!i&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function se(t,e){return Be((i,n)=>{let r=0;i.subscribe(Oe(n,o=>{n.next(t.call(e,o,r++))}))})}function Ci(t){return this instanceof Ci?(this.v=t,this):new Ci(t)}function m_(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,e=t[Symbol.asyncIterator];return e?e.call(t):(t=function Od(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)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.")}(t),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(o){i[o]=t[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=t[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const kd=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function g_(t){return oe(t?.then)}function __(t){return oe(t[Ad])}function v_(t){return Symbol.asyncIterator&&oe(t?.[Symbol.asyncIterator])}function b_(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const y_=function hA(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function w_(t){return oe(t?.[y_])}function C_(t){return function p_(t,e,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,n=i.apply(t,e||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){n[h]&&(r[h]=function(f){return new Promise(function(p,v){o.push([h,f,p,v])>1||a(h,f)})})}function a(h,f){try{!function l(h){h.value instanceof Ci?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(n[h](f))}catch(p){d(o[0][3],p)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,f){h(f),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const i=t.getReader();try{for(;;){const{value:n,done:r}=yield Ci(i.read());if(r)return yield Ci(void 0);yield yield Ci(n)}}finally{i.releaseLock()}})}function D_(t){return oe(t?.getReader)}function ut(t){if(t instanceof Te)return t;if(null!=t){if(__(t))return function fA(t){return new Te(e=>{const i=t[Ad]();if(oe(i.subscribe))return i.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(kd(t))return function pA(t){return new Te(e=>{for(let i=0;i{t.then(i=>{e.closed||(e.next(i),e.complete())},i=>e.error(i)).then(null,a_)})}(t);if(v_(t))return E_(t);if(w_(t))return function gA(t){return new Te(e=>{for(const i of t)if(e.next(i),e.closed)return;e.complete()})}(t);if(D_(t))return function _A(t){return E_(C_(t))}(t)}throw b_(t)}function E_(t){return new Te(e=>{(function vA(t,e){var i,n,r,o;return function h_(t,e,i,n){return new(i||(i=Promise))(function(o,s){function a(u){try{c(n.next(u))}catch(d){s(d)}}function l(u){try{c(n.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof i?o:new i(function(s){s(o)})}(u.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}(this,void 0,void 0,function*(){try{for(i=m_(t);!(n=yield i.next()).done;)if(e.next(n.value),e.closed)return}catch(s){r={error:s}}finally{try{n&&!n.done&&(o=i.return)&&(yield o.call(i))}finally{if(r)throw r.error}}e.complete()})})(t,e).catch(i=>e.error(i))})}function Kn(t,e,i,n=0,r=!1){const o=e.schedule(function(){i(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!r)return o}function Ze(t,e,i=1/0){return oe(e)?Ze((n,r)=>se((o,s)=>e(n,o,r,s))(ut(t(n,r))),i):("number"==typeof e&&(i=e),Be((n,r)=>function bA(t,e,i,n,r,o,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&e.complete()},f=v=>c{o&&e.next(v),c++;let b=!1;ut(i(v,u++)).subscribe(Oe(e,E=>{r?.(E),o?f(E):e.next(E)},()=>{b=!0},void 0,()=>{if(b)try{for(c--;l.length&&cp(E)):p(E)}h()}catch(E){e.error(E)}}))};return t.subscribe(Oe(e,f,()=>{d=!0,h()})),()=>{a?.()}}(n,r,t,i)))}function Nr(t=1/0){return Ze(wi,t)}const dn=new Te(t=>t.complete());function x_(t){return t&&oe(t.schedule)}function Pd(t){return t[t.length-1]}function S_(t){return oe(Pd(t))?t.pop():void 0}function ss(t){return x_(Pd(t))?t.pop():void 0}function M_(t,e=0){return Be((i,n)=>{i.subscribe(Oe(n,r=>Kn(n,t,()=>n.next(r),e),()=>Kn(n,t,()=>n.complete(),e),r=>Kn(n,t,()=>n.error(r),e)))})}function A_(t,e=0){return Be((i,n)=>{n.add(t.schedule(()=>i.subscribe(n),e))})}function I_(t,e){if(!t)throw new Error("Iterable cannot be null");return new Te(i=>{Kn(i,e,()=>{const n=t[Symbol.asyncIterator]();Kn(i,e,()=>{n.next().then(r=>{r.done?i.complete():i.next(r.value)})},0,!0)})})}function Ke(t,e){return e?function MA(t,e){if(null!=t){if(__(t))return function CA(t,e){return ut(t).pipe(A_(e),M_(e))}(t,e);if(kd(t))return function EA(t,e){return new Te(i=>{let n=0;return e.schedule(function(){n===t.length?i.complete():(i.next(t[n++]),i.closed||this.schedule())})})}(t,e);if(g_(t))return function DA(t,e){return ut(t).pipe(A_(e),M_(e))}(t,e);if(v_(t))return I_(t,e);if(w_(t))return function xA(t,e){return new Te(i=>{let n;return Kn(i,e,()=>{n=t[y_](),Kn(i,e,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(s){return void i.error(s)}o?i.complete():i.next(r)},0,!0)}),()=>oe(n?.return)&&n.return()})}(t,e);if(D_(t))return function SA(t,e){return I_(C_(t),e)}(t,e)}throw b_(t)}(t,e):ut(t)}function Xi(...t){const e=ss(t),i=function wA(t,e){return"number"==typeof Pd(t)?t.pop():e}(t,1/0),n=t;return n.length?1===n.length?ut(n[0]):Nr(i)(Ke(n,e)):dn}function L(...t){return Ke(t,ss(t))}function T_(t={}){const{connector:e=(()=>new q),resetOnError:i=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,u=d=!1},p=()=>{const v=s;f(),v?.unsubscribe()};return Be((v,b)=>{c++,!d&&!u&&h();const E=l=l??e();b.add(()=>{c--,0===c&&!d&&!u&&(a=Nd(p,r))}),E.subscribe(b),!s&&c>0&&(s=new os({next:y=>E.next(y),error:y=>{d=!0,h(),a=Nd(f,i,y),E.error(y)},complete:()=>{u=!0,h(),a=Nd(f,n),E.complete()}}),ut(v).subscribe(s))})(o)}}function Nd(t,e,...i){if(!0===e)return void t();if(!1===e)return;const n=new os({next:()=>{n.unsubscribe(),t()}});return ut(e(...i)).subscribe(n)}function Vt(t,e){return Be((i,n)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&n.complete();i.subscribe(Oe(n,l=>{r?.unsubscribe();let c=0;const u=o++;ut(t(l,u)).subscribe(r=Oe(n,d=>n.next(e?e(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Fd(t,e=wi){return t=t??AA,Be((i,n)=>{let r,o=!0;i.subscribe(Oe(n,s=>{const a=e(s);(o||!t(r,a))&&(o=!1,r=a,n.next(s))}))})}function AA(t,e){return t===e}function _e(t){for(let e in t)if(t[e]===_e)return e;throw Error("Could not find renamed property on target object.")}function cl(t,e){for(const i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function Qe(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Qe).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const i=e.indexOf("\n");return-1===i?e:e.substring(0,i)}function Ld(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const IA=_e({__forward_ref__:_e});function Se(t){return t.__forward_ref__=Se,t.toString=function(){return Qe(this())},t}function z(t){return Vd(t)?t():t}function Vd(t){return"function"==typeof t&&t.hasOwnProperty(IA)&&t.__forward_ref__===Se}function Bd(t){return t&&!!t.\u0275providers}const R_="https://g.co/ng/security#xss";class x extends Error{constructor(e,i){super(function ul(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}(e,i)),this.code=e}}function W(t){return"string"==typeof t?t:null==t?"":String(t)}function jd(t,e){throw new x(-201,!1)}function Xt(t,e){null==t&&function H(t,e,i,n){throw new Error(`ASSERTION ERROR: ${t}`+(null==n?"":` [Expected=> ${i} ${n} ${e} <=Actual]`))}(e,t,null,"!=")}function A(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ae(t){return{providers:t.providers||[],imports:t.imports||[]}}function dl(t){return O_(t,fl)||O_(t,k_)}function O_(t,e){return t.hasOwnProperty(e)?t[e]:null}function hl(t){return t&&(t.hasOwnProperty(Hd)||t.hasOwnProperty(LA))?t[Hd]:null}const fl=_e({\u0275prov:_e}),Hd=_e({\u0275inj:_e}),k_=_e({ngInjectableDef:_e}),LA=_e({ngInjectorDef:_e});var te=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}(te||{});let Ud;function St(t){const e=Ud;return Ud=t,e}function N_(t,e,i){const n=dl(t);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:i&te.Optional?null:void 0!==e?e:void jd(Qe(t))}const De=globalThis,as={},Wd="__NG_DI_FLAG__",pl="ngTempTokenPath",jA=/\n/gm,L_="__source";let Fr;function Di(t){const e=Fr;return Fr=t,e}function $A(t,e=te.Default){if(void 0===Fr)throw new x(-203,!1);return null===Fr?N_(t,void 0,e):Fr.get(t,e&te.Optional?null:void 0,e)}function w(t,e=te.Default){return(function P_(){return Ud}()||$A)(z(t),e)}function T(t,e=te.Default){return w(t,ml(e))}function ml(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Yd(t){const e=[];for(let i=0;ie){s=o-1;break}}}for(;oo?"":r[d+1].toLowerCase();const f=8&n?h:null;if(f&&-1!==H_(f,c,0)||2&n&&c!==h){if(hn(n))return!1;s=!0}}}}else{if(!s&&!hn(n)&&!hn(l))return!1;if(s&&hn(l))continue;s=!1,n=l|1&n}}return hn(n)||s}function hn(t){return 0==(1&t)}function KA(t,e,i,n){if(null===e)return-1;let r=0;if(n||!i){let o=!1;for(;r-1)for(i++;i0?'="'+a+'"':"")+"]"}else 8&n?r+="."+s:4&n&&(r+=" "+s);else""!==r&&!hn(s)&&(e+=Y_(o,r),r=""),n=s,o=o||!hn(n);i++}return""!==r&&(e+=Y_(o,r)),e}function fe(t){return Qn(()=>{const e=K_(t),i={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===gl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Jt.Emulated,styles:t.styles||he,_:null,schemas:t.schemas||null,tView:null,id:""};Q_(i);const n=t.dependencies;return i.directiveDefs=vl(n,!1),i.pipeDefs=vl(n,!0),i.id=function cI(t){let e=0;const i=[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(const r of i)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,"c"+e}(i),i})}function oI(t){return le(t)||ot(t)}function sI(t){return null!==t}function ue(t){return Qn(()=>({type:t.type,bootstrap:t.bootstrap||he,declarations:t.declarations||he,imports:t.imports||he,exports:t.exports||he,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Z_(t,e){if(null==t)return An;const i={};for(const n in t)if(t.hasOwnProperty(n)){let r=t[n],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),i[r]=n,e&&(e[r]=o)}return i}function N(t){return Qn(()=>{const e=K_(t);return Q_(e),e})}function gt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function le(t){return t[_l]||null}function ot(t){return t[Zd]||null}function _t(t){return t[Kd]||null}function jt(t,e){const i=t[B_]||null;if(!i&&!0===e)throw new Error(`Type ${Qe(t)} does not have '\u0275mod' property.`);return i}function K_(t){const 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||An,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||he,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Z_(t.inputs,e),outputs:Z_(t.outputs)}}function Q_(t){t.features?.forEach(e=>e(t))}function vl(t,e){if(!t)return null;const i=e?_t:oI;return()=>("function"==typeof t?t():t).map(n=>i(n)).filter(sI)}const He=0,P=1,Z=2,ke=3,fn=4,ds=5,dt=6,Vr=7,Ue=8,Ei=9,Br=10,Y=11,hs=12,X_=13,jr=14,$e=15,fs=16,Hr=17,In=18,ps=19,J_=20,xi=21,Jn=22,bl=23,yl=24,ie=25,Xd=1,ev=2,Tn=7,Ur=9,st=11;function Mt(t){return Array.isArray(t)&&"object"==typeof t[Xd]}function At(t){return Array.isArray(t)&&!0===t[Xd]}function Jd(t){return 0!=(4&t.flags)}function er(t){return t.componentOffset>-1}function Cl(t){return 1==(1&t.flags)}function pn(t){return!!t.template}function eh(t){return 0!=(512&t[Z])}function tr(t,e){return t.hasOwnProperty(Xn)?t[Xn]:null}let mI=De.WeakRef??class pI{constructor(e){this.ref=e}deref(){return this.ref}},_I=0,Rn=null,Dl=!1;function tt(t){const e=Rn;return Rn=t,e}class ov{constructor(){this.id=_I++,this.ref=function gI(t){return new mI(t)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[e,i]of this.producers){const n=i.producerNode.deref();if(null!=n&&i.atTrackingVersion===this.trackingVersion){if(n.producerPollStatus(i.seenValueVersion))return!0}else this.producers.delete(e),n?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const e=Dl;Dl=!0;try{for(const[i,n]of this.consumers){const r=n.consumerNode.deref();null!=r&&r.trackingVersion===n.atTrackingVersion?r.onConsumerDependencyMayHaveChanged():(this.consumers.delete(i),r?.producers.delete(this.id))}}finally{Dl=e}}producerAccessed(){if(Dl)throw new Error("");if(null===Rn)return;let e=Rn.producers.get(this.id);void 0===e?(e={consumerNode:Rn.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Rn.trackingVersion},Rn.producers.set(this.id,e),this.consumers.set(Rn.id,e)):(e.seenValueVersion=this.valueVersion,e.atTrackingVersion=Rn.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Rn?.consumerAllowSignalWrites}producerPollStatus(e){return this.valueVersion!==e||(this.onProducerUpdateValueVersion(),this.valueVersion!==e)}}let sv=null;const lv=()=>{};class wI extends ov{constructor(e,i,n){super(),this.watch=e,this.schedule=i,this.dirty=!1,this.cleanupFn=lv,this.registerOnCleanup=r=>{this.cleanupFn=r},this.consumerAllowSignalWrites=n}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const e=tt(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=lv,this.watch(this.registerOnCleanup)}finally{tt(e)}}cleanup(){this.cleanupFn()}}class CI{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}}function It(){return cv}function cv(t){return t.type.prototype.ngOnChanges&&(t.setInput=EI),DI}function DI(){const t=dv(this),e=t?.current;if(e){const i=t.previous;if(i===An)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function EI(t,e,i,n){const r=this.declaredInputs[i],o=dv(t)||function xI(t,e){return t[uv]=e}(t,{previous:An,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new CI(l&&l.currentValue,e,a===An),t[n]=e}It.ngInherit=!0;const uv="__ngSimpleChanges__";function dv(t){return t[uv]||null}const On=function(t,e,i){},hv="svg";function Me(t){for(;Array.isArray(t);)t=t[He];return t}function Sl(t,e){return Me(e[t])}function Tt(t,e){return Me(e[t.index])}function pv(t,e){return t.data[e]}function $r(t,e){return t[e]}function Ht(t,e){const i=e[t];return Mt(i)?i:i[He]}function Si(t,e){return null==e?null:t[e]}function mv(t){t[Hr]=0}function OI(t){1024&t[Z]||(t[Z]|=1024,_v(t,1))}function gv(t){1024&t[Z]&&(t[Z]&=-1025,_v(t,-1))}function _v(t,e){let i=t[ke];if(null===i)return;i[ds]+=e;let n=i;for(i=i[ke];null!==i&&(1===e&&1===n[ds]||-1===e&&0===n[ds]);)i[ds]+=e,n=i,i=i[ke]}const U={lFrame:Av(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function yv(){return U.bindingsEnabled}function zr(){return null!==U.skipHydrationRootTNode}function S(){return U.lFrame.lView}function ce(){return U.lFrame.tView}function ei(t){return U.lFrame.contextLView=t,t[Ue]}function ti(t){return U.lFrame.contextLView=null,t}function at(){let t=wv();for(;null!==t&&64===t.type;)t=t.parent;return t}function wv(){return U.lFrame.currentTNode}function kn(t,e){const i=U.lFrame;i.currentTNode=t,i.isParent=e}function sh(){return U.lFrame.isParent}function ah(){U.lFrame.isParent=!1}function vt(){const t=U.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Gr(){return U.lFrame.bindingIndex++}function ii(t){const e=U.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function zI(t,e){const i=U.lFrame;i.bindingIndex=i.bindingRootIndex=t,lh(e)}function lh(t){U.lFrame.currentDirectiveIndex=t}function ch(t){const e=U.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function xv(){return U.lFrame.currentQueryIndex}function uh(t){U.lFrame.currentQueryIndex=t}function qI(t){const e=t[P];return 2===e.type?e.declTNode:1===e.type?t[dt]:null}function Sv(t,e,i){if(i&te.SkipSelf){let r=e,o=t;for(;!(r=r.parent,null!==r||i&te.Host||(r=qI(o),null===r||(o=o[jr],10&r.type))););if(null===r)return!1;e=r,t=o}const n=U.lFrame=Mv();return n.currentTNode=e,n.lView=t,!0}function dh(t){const e=Mv(),i=t[P];U.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function Mv(){const t=U.lFrame,e=null===t?null:t.child;return null===e?Av(t):e}function Av(t){const 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 null!==t&&(t.child=e),e}function Iv(){const t=U.lFrame;return U.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Tv=Iv;function hh(){const t=Iv();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 bt(){return U.lFrame.selectedIndex}function nr(t){U.lFrame.selectedIndex=t}function Ne(){const t=U.lFrame;return pv(t.tView,t.selectedIndex)}function en(){U.lFrame.currentNamespace=hv}function _s(){!function KI(){U.lFrame.currentNamespace=null}()}let Ov=!0;function Ml(){return Ov}function Mi(t){Ov=t}function Al(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i=n)break}else e[l]<0&&(t[Hr]+=65536),(a>13>16&&(3&t[Z])===e&&(t[Z]+=8192,Pv(a,o)):Pv(a,o)}const qr=-1;class vs{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}}function mh(t){return t!==qr}function bs(t){return 32767&t}function ys(t,e){let i=function nT(t){return t>>16}(t),n=e;for(;i>0;)n=n[jr],i--;return n}let gh=!0;function Rl(t){const e=gh;return gh=t,e}const Nv=255,Fv=5;let iT=0;const Pn={};function Ol(t,e){const i=Lv(t,e);if(-1!==i)return i;const n=e[P];n.firstCreatePass&&(t.injectorIndex=e.length,_h(n.data,t),_h(e,null),_h(n.blueprint,null));const r=kl(t,e),o=t.injectorIndex;if(mh(r)){const s=bs(r),a=ys(r,e),l=a[P].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=r,o}function _h(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Lv(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function kl(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=0,n=null,r=e;for(;null!==r;){if(n=zv(r),null===n)return qr;if(i++,r=r[jr],-1!==n.injectorIndex)return n.injectorIndex|i<<16}return qr}function vh(t,e,i){!function rT(t,e,i){let n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(cs)&&(n=i[cs]),null==n&&(n=i[cs]=iT++);const r=n&Nv;e.data[t+(r>>Fv)]|=1<=0?e&Nv:cT:e}(i);if("function"==typeof o){if(!Sv(e,t,n))return n&te.Host?Vv(r,0,n):Bv(e,i,n,r);try{let s;if(s=o(n),null!=s||n&te.Optional)return s;jd()}finally{Tv()}}else if("number"==typeof o){let s=null,a=Lv(t,e),l=qr,c=n&te.Host?e[$e][dt]:null;for((-1===a||n&te.SkipSelf)&&(l=-1===a?kl(t,e):e[a+8],l!==qr&&$v(n,!1)?(s=e[P],a=bs(l),e=ys(l,e)):a=-1);-1!==a;){const u=e[P];if(Uv(o,a,u.data)){const d=sT(a,e,i,s,n,c);if(d!==Pn)return d}l=e[a+8],l!==qr&&$v(n,e[P].data[a+8]===c)&&Uv(o,a,e)?(s=u,a=bs(l),e=ys(l,e)):a=-1}}return r}function sT(t,e,i,n,r,o){const s=e[P],a=s.data[t+8],u=Pl(a,s,i,null==n?er(a)&&gh:n!=s&&0!=(3&a.type),r&te.Host&&o===a);return null!==u?ir(e,s,u,a):Pn}function Pl(t,e,i,n,r){const o=t.providerIndexes,s=e.data,a=1048575&o,l=t.directiveStart,u=o>>20,h=r?a+u:t.directiveEnd;for(let f=n?a:a+u;f=l&&p.type===i)return f}if(r){const f=s[l];if(f&&pn(f)&&f.type===i)return l}return null}function ir(t,e,i,n){let r=t[i];const o=e.data;if(function JI(t){return t instanceof vs}(r)){const s=r;s.resolving&&function TA(t,e){const i=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new x(-200,`Circular dependency in DI detected for ${t}${i}`)}(function ge(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():W(t)}(o[i]));const a=Rl(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?St(s.injectImpl):null;Sv(t,n,te.Default);try{r=t[i]=s.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&function QI(t,e,i){const{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(n){const s=cv(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}r&&(i.preOrderHooks??=[]).push(0-t,r),o&&((i.preOrderHooks??=[]).push(t,o),(i.preOrderCheckHooks??=[]).push(t,o))}(i,o[i],e)}finally{null!==c&&St(c),Rl(a),s.resolving=!1,Tv()}}return r}function Uv(t,e,i){return!!(i[e+(t>>Fv)]&1<{const e=t.prototype.constructor,i=e[Xn]||bh(e),n=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){const o=r[Xn]||bh(r);if(o&&o!==i)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function bh(t){return Vd(t)?()=>{const e=bh(z(t));return e&&e()}:tr(t)}function zv(t){const e=t[P],i=e.type;return 2===i?e.declTNode:1===i?t[dt]:null}function Cs(t){return function oT(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const i=t.attrs;if(i){const n=i.length;let r=0;for(;r{const n=function yh(t){return function(...i){if(t){const n=t(...i);for(const r in n)this[r]=n[r]}}}(e);function r(...o){if(this instanceof r)return n.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Yr)?l[Yr]:Object.defineProperty(l,Yr,{value:[]})[Yr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function Xr(t,e){t.forEach(i=>Array.isArray(i)?Xr(i,e):e(i))}function qv(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function Nl(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Es(t,e){const i=[];for(let n=0;n=0?t[1|n]=i:(n=~n,function _T(t,e,i,n){let r=t.length;if(r==e)t.push(i,n);else if(1===r)t.push(n,t[0]),t[0]=i;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=i,t[e+1]=n}}(t,n,e,i)),n}function wh(t,e){const i=Jr(t,e);if(i>=0)return t[1|i]}function Jr(t,e){return function Wv(t,e,i){let n=0,r=t.length>>i;for(;r!==n;){const o=n+(r-n>>1),s=t[o<e?r=o:n=o+1}return~(r<|^->||--!>|)/,jT="\u200b$1\u200b";const Sh=new Map;let HT=0;const Ah="__ngContext__";function ht(t,e){Mt(e)?(t[Ah]=e[ps],function $T(t){Sh.set(t[ps],t)}(e)):t[Ah]=e}let Ih;function Th(t,e){return Ih(t,e)}function Ms(t){const e=t[ke];return At(e)?e[ke]:e}function fb(t){return mb(t[hs])}function pb(t){return mb(t[fn])}function mb(t){for(;null!==t&&!At(t);)t=t[fn];return t}function no(t,e,i,n,r){if(null!=n){let o,s=!1;At(n)?o=n:Mt(n)&&(s=!0,n=n[He]);const a=Me(n);0===t&&null!==i?null==r?bb(e,i,a):rr(e,i,a,r||null,!0):1===t&&null!==i?rr(e,i,a,r||null,!0):2===t?function Kl(t,e,i){const n=Yl(t,e);n&&function lR(t,e,i,n){t.removeChild(e,i,n)}(t,n,e,i)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function dR(t,e,i,n,r){const o=i[Tn];o!==Me(i)&&no(e,t,n,o,r);for(let a=st;ae.replace(BT,jT))}(e))}function ql(t,e,i){return t.createElement(e,i)}function _b(t,e){const i=t[Ur],n=i.indexOf(e);gv(e),i.splice(n,1)}function Wl(t,e){if(t.length<=st)return;const i=st+e,n=t[i];if(n){const r=n[fs];null!==r&&r!==t&&_b(r,n),e>0&&(t[i-1][fn]=n[fn]);const o=Nl(t,st+e);!function eR(t,e){Is(t,e,e[Y],2,null,null),e[He]=null,e[dt]=null}(n[P],n);const s=o[In];null!==s&&s.detachView(o[P]),n[ke]=null,n[fn]=null,n[Z]&=-129}return n}function Oh(t,e){if(!(256&e[Z])){const i=e[Y];e[bl]?.destroy(),e[yl]?.destroy(),i.destroyNode&&Is(t,e,i,3,null,null),function iR(t){let e=t[hs];if(!e)return kh(t[P],t);for(;e;){let i=null;if(Mt(e))i=e[hs];else{const n=e[st];n&&(i=n)}if(!i){for(;e&&!e[fn]&&e!==t;)Mt(e)&&kh(e[P],e),e=e[ke];null===e&&(e=t),Mt(e)&&kh(e[P],e),i=e&&e[fn]}e=i}}(e)}}function kh(t,e){if(!(256&e[Z])){e[Z]&=-129,e[Z]|=256,function aR(t,e){let i;if(null!=t&&null!=(i=t.destroyHooks))for(let n=0;n=0?n[s]():n[-s].unsubscribe(),o+=2}else i[o].call(n[i[o+1]]);null!==n&&(e[Vr]=null);const r=e[xi];if(null!==r){e[xi]=null;for(let o=0;o-1){const{encapsulation:o}=t.data[n.directiveStart+r];if(o===Jt.None||o===Jt.Emulated)return null}return Tt(n,i)}}(t,e.parent,i)}function rr(t,e,i,n,r){t.insertBefore(e,i,n,r)}function bb(t,e,i){t.appendChild(e,i)}function yb(t,e,i,n,r){null!==n?rr(t,e,i,n,r):bb(t,e,i)}function Yl(t,e){return t.parentNode(e)}function wb(t,e,i){return Db(t,e,i)}let Nh,Bh,Xl,Db=function Cb(t,e,i){return 40&t.type?Tt(t,i):null};function Zl(t,e,i,n){const r=Ph(t,n,e),o=e[Y],a=wb(n.parent||e[dt],n,e);if(null!=r)if(Array.isArray(i))for(let l=0;lt,createScript:t=>t,createScriptURL:t=>t})}catch{}return Xl}()?.createScriptURL(t)||t}class kb{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${R_})`}}function Ii(t){return t instanceof kb?t.changingThisBreaksApplicationSecurity:t}function Ts(t,e){const i=function DR(t){return t instanceof kb&&t.getTypeName()||null}(t);if(null!=i&&i!==e){if("ResourceURL"===i&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${R_})`)}return i===e}const MR=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var oo=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}(oo||{});function Os(t){const e=ks();return e?e.sanitize(oo.URL,t)||"":Ts(t,"URL")?Ii(t):function Hh(t){return(t=String(t)).match(MR)?t:"unsafe:"+t}(W(t))}function jb(t){const e=ks();if(e)return Ob(e.sanitize(oo.RESOURCE_URL,t)||"");if(Ts(t,"ResourceURL"))return Ob(Ii(t));throw new x(904,!1)}function ks(){const t=S();return t&&t[Br].sanitizer}class M{constructor(e,i){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=A({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ps=new M("ENVIRONMENT_INITIALIZER"),Ub=new M("INJECTOR",-1),$b=new M("INJECTOR_DEF_TYPES");class Gh{get(e,i=as){if(i===as){const n=new Error(`NullInjectorError: No provider for ${Qe(e)}!`);throw n.name="NullInjectorError",n}return i}}function jR(...t){return{\u0275providers:zb(0,t),\u0275fromNgModule:!0}}function zb(t,...e){const i=[],n=new Set;let r;const o=s=>{i.push(s)};return Xr(e,s=>{const a=s;ec(a,o,[],n)&&(r||=[],r.push(a))}),void 0!==r&&Gb(r,o),i}function Gb(t,e){for(let i=0;i{e(o,n)})}}function ec(t,e,i,n){if(!(t=z(t)))return!1;let r=null,o=hl(t);const s=!o&&le(t);if(o||s){if(s&&!s.standalone)return!1;r=t}else{const l=t.ngModule;if(o=hl(l),!o)return!1;r=l}const a=n.has(r);if(s){if(a)return!1;if(n.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)ec(c,e,i,n)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;n.add(r);try{Xr(o.imports,u=>{ec(u,e,i,n)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Gb(c,e)}if(!a){const c=tr(r)||(()=>new r);e({provide:r,useFactory:c,deps:he},r),e({provide:$b,useValue:r,multi:!0},r),e({provide:Ps,useValue:()=>w(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=t;Wh(l,u=>{e(u,c)})}}}return r!==t&&void 0!==t.providers}function Wh(t,e){for(let i of t)Bd(i)&&(i=i.\u0275providers),Array.isArray(i)?Wh(i,e):e(i)}const HR=_e({provide:String,useValue:_e});function Yh(t){return null!==t&&"object"==typeof t&&HR in t}function or(t){return"function"==typeof t}const Zh=new M("Set Injector scope."),tc={},$R={};let Kh;function nc(){return void 0===Kh&&(Kh=new Gh),Kh}class $t{}class ic extends $t{get destroyed(){return this._destroyed}constructor(e,i,n,r){super(),this.parent=i,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xh(e,s=>this.processProvider(s)),this.records.set(Ub,so(void 0,this)),r.has("environment")&&this.records.set($t,so(void 0,this));const o=this.records.get(Zh);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get($b.multi,he,te.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();const i=Di(this),n=St(void 0);try{return e()}finally{Di(i),St(n)}}get(e,i=as,n=te.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(j_))return e[j_](this);n=ml(n);const o=Di(this),s=St(void 0);try{if(!(n&te.SkipSelf)){let l=this.records.get(e);if(void 0===l){const c=function YR(t){return"function"==typeof t||"object"==typeof t&&t instanceof M}(e)&&dl(e);l=c&&this.injectableDefInScope(c)?so(Qh(e),tc):null,this.records.set(e,l)}if(null!=l)return this.hydrate(e,l)}return(n&te.Self?nc():this.parent).get(e,i=n&te.Optional&&i===as?null:i)}catch(a){if("NullInjectorError"===a.name){if((a[pl]=a[pl]||[]).unshift(Qe(e)),o)throw a;return function GA(t,e,i,n){const r=t[pl];throw e[L_]&&r.unshift(e[L_]),t.message=function qA(t,e,i,n=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let r=Qe(e);if(Array.isArray(e))r=e.map(Qe).join(" -> ");else if("object"==typeof e){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Qe(a)))}r=`{${o.join(", ")}}`}return`${i}${n?"("+n+")":""}[${r}]: ${t.replace(jA,"\n ")}`}("\n"+t.message,r,i,n),t.ngTokenPath=r,t[pl]=null,t}(a,e,"R3InjectorError",this.source)}throw a}finally{St(s),Di(o)}}resolveInjectorInitializers(){const e=Di(this),i=St(void 0);try{const r=this.get(Ps.multi,he,te.Self);for(const o of r)o()}finally{Di(e),St(i)}}toString(){const e=[],i=this.records;for(const n of i.keys())e.push(Qe(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(e){let i=or(e=z(e))?e:z(e&&e.provide);const n=function GR(t){return Yh(t)?so(void 0,t.useValue):so(Yb(t),tc)}(e);if(or(e)||!0!==e.multi)this.records.get(i);else{let r=this.records.get(i);r||(r=so(void 0,tc,!0),r.factory=()=>Yd(r.multi),this.records.set(i,r)),i=e,r.multi.push(e)}this.records.set(i,n)}hydrate(e,i){return i.value===tc&&(i.value=$R,i.value=i.factory()),"object"==typeof i.value&&i.value&&function WR(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(e){if(!e.providedIn)return!1;const i=z(e.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){const i=this._onDestroyHooks.indexOf(e);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Qh(t){const e=dl(t),i=null!==e?e.factory:tr(t);if(null!==i)return i;if(t instanceof M)throw new x(204,!1);if(t instanceof Function)return function zR(t){const e=t.length;if(e>0)throw Es(e,"?"),new x(204,!1);const i=function FA(t){return t&&(t[fl]||t[k_])||null}(t);return null!==i?()=>i.factory(t):()=>new t}(t);throw new x(204,!1)}function Yb(t,e,i){let n;if(or(t)){const r=z(t);return tr(r)||Qh(r)}if(Yh(t))n=()=>z(t.useValue);else if(function Wb(t){return!(!t||!t.useFactory)}(t))n=()=>t.useFactory(...Yd(t.deps||[]));else if(function qb(t){return!(!t||!t.useExisting)}(t))n=()=>w(z(t.useExisting));else{const r=z(t&&(t.useClass||t.provide));if(!function qR(t){return!!t.deps}(t))return tr(r)||Qh(r);n=()=>new r(...Yd(t.deps))}return n}function so(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function Xh(t,e){for(const i of t)Array.isArray(i)?Xh(i,e):i&&Bd(i)?Xh(i.\u0275providers,e):e(i)}const rc=new M("AppId",{providedIn:"root",factory:()=>ZR}),ZR="ng",Zb=new M("Platform Initializer"),Ti=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Nn=new M("AnimationModuleType"),Jh=new M("CSP nonce",{providedIn:"root",factory:()=>function ro(){if(void 0!==Bh)return Bh;if(typeof document<"u")return document;throw new x(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Qb=(t,e,i)=>null;function lf(t,e,i=!1){return Qb(t,e,i)}class oO{}class ey{}class aO{resolveComponentFactory(e){throw function sO(t){const e=Error(`No component factory found for ${Qe(t)}.`);return e.ngComponent=t,e}(e)}}let lo=(()=>{class e{}return e.NULL=new aO,e})();function lO(){return co(at(),S())}function co(t,e){return new ve(Tt(t,e))}let ve=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=lO,e})();function cO(t){return t instanceof ve?t.nativeElement:t}class Vs{}let oi=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function uO(){const t=S(),i=Ht(at().index,t);return(Mt(i)?i:t)[Y]}(),e})(),dO=(()=>{var t;class e{}return(t=e).\u0275prov=A({token:t,providedIn:"root",factory:()=>null}),e})();class sr{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const hO=new sr("16.2.2"),df={};function oy(t,e=null,i=null,n){const r=sy(t,e,i,n);return r.resolveInjectorInitializers(),r}function sy(t,e=null,i=null,n,r=new Set){const o=[i||he,jR(t)];return n=n||("object"==typeof t?void 0:Qe(t)),new ic(o,e||nc(),n||null,r)}let Fe=(()=>{var t;class e{static create(n,r){if(Array.isArray(n))return oy({name:""},r,n,"");{const o=n.name??"";return oy({name:o},n.parent,n.providers,o)}}}return(t=e).THROW_IF_NOT_FOUND=as,t.NULL=new Gh,t.\u0275prov=A({token:t,providedIn:"any",factory:()=>w(Ub)}),t.__NG_ELEMENT_ID__=-1,e})();function si(t){return t instanceof Function?t():t}let pf=(()=>{var t;class e{constructor(){this.callbacks=new Set,this.deferredCallbacks=new Set,this.renderDepth=0,this.runningCallbacks=!1}begin(){if(this.runningCallbacks)throw new x(102,!1);this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth)try{this.runningCallbacks=!0;for(const n of this.callbacks)n.invoke()}finally{this.runningCallbacks=!1;for(const n of this.deferredCallbacks)this.callbacks.add(n);this.deferredCallbacks.clear()}}register(n){(this.runningCallbacks?this.deferredCallbacks:this.callbacks).add(n)}unregister(n){this.callbacks.delete(n),this.deferredCallbacks.delete(n)}ngOnDestroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}return(t=e).\u0275prov=A({token:t,providedIn:"root",factory:()=>new t}),e})();function Bs(t){for(;t;){t[Z]|=64;const e=Ms(t);if(eh(t)&&!e)return t;t=e}return null}function mf(t){return t.ngOriginalError}class ar{constructor(){this._console=console}handleError(e){const i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&mf(e);for(;i&&mf(i);)i=mf(i);return i||null}}const dy=new M("",{providedIn:"root",factory:()=>!1});class my extends ov{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(e){this._lView=e}onConsumerDependencyMayHaveChanged(){Bs(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(e,i,n){const r=tt(this);this.trackingVersion++;try{e(i,n)}finally{tt(r)}}destroy(){this.trackingVersion++}}let dc=null;function gy(){return dc??=new my,dc}function _y(t,e){return t[e]??gy()}function vy(t,e){const i=gy();i.hasReadASignal&&(t[e]=dc,i.lView=t,dc=new my)}const K={};function D(t){by(ce(),S(),bt()+t,!1)}function by(t,e,i,n){if(!n)if(3==(3&e[Z])){const o=t.preOrderCheckHooks;null!==o&&Il(e,o,i)}else{const o=t.preOrderHooks;null!==o&&Tl(e,o,0,i)}nr(i)}function _(t,e=te.Default){const i=S();return null===i?w(t,e):jv(at(),i,z(t),e)}function hc(){throw new Error("invalid")}function fc(t,e,i,n,r,o,s,a,l,c,u){const d=e.blueprint.slice();return d[He]=r,d[Z]=140|n,(null!==c||t&&2048&t[Z])&&(d[Z]|=2048),mv(d),d[ke]=d[jr]=t,d[Ue]=i,d[Br]=s||t&&t[Br],d[Y]=a||t&&t[Y],d[Ei]=l||t&&t[Ei]||null,d[dt]=o,d[ps]=function UT(){return HT++}(),d[Jn]=u,d[J_]=c,d[$e]=2==e.type?t[$e]:d,d}function fo(t,e,i,n,r){let o=t.data[e];if(null===o)o=function gf(t,e,i,n,r){const o=wv(),s=sh(),l=t.data[e]=function NO(t,e,i,n,r,o){let s=e?e.injectorIndex:-1,a=0;return zr()&&(a|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,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}}(0,s?o:o&&o.parent,i,e,n,r);return null===t.firstChild&&(t.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(t,e,i,n,r),function $I(){return U.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=i,o.value=n,o.attrs=r;const s=function gs(){const t=U.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return kn(o,!0),o}function js(t,e,i,n){if(0===i)return-1;const r=e.length;for(let o=0;oie&&by(t,e,ie,!1),On(a?2:0,r),a)o.runInContext(i,n,r);else{const c=tt(null);try{i(n,r)}finally{tt(c)}}}finally{a&&null===e[bl]&&vy(e,bl),nr(s),On(a?3:1,r)}}function _f(t,e,i){if(Jd(e)){const n=tt(null);try{const o=e.directiveEnd;for(let s=e.directiveStart;snull;function Dy(t,e,i,n){for(let r in t)if(t.hasOwnProperty(r)){i=null===i?{}:i;const o=t[r];null===n?Ey(i,e,r,o):n.hasOwnProperty(r)&&Ey(i,e,n[r],o)}return i}function Ey(t,e,i,n){t.hasOwnProperty(i)?t[i].push(e,n):t[i]=[e,n]}function zt(t,e,i,n,r,o,s,a){const l=Tt(e,i);let u,c=e.inputs;!a&&null!=c&&(u=c[n])?(xf(t,i,u,n,r),er(e)&&function VO(t,e){const i=Ht(e,t);16&i[Z]||(i[Z]|=64)}(i,e.index)):3&e.type&&(n=function LO(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(n),r=null!=s?s(r,e.value||"",n):r,o.setProperty(l,n,r))}function wf(t,e,i,n){if(yv()){const r=null===n?null:{"":-1},o=function zO(t,e){const i=t.directiveRegistry;let n=null,r=null;if(i)for(let o=0;o0;){const i=t[--e];if("number"==typeof i&&i<0)return i}return 0})(s)!=a&&s.push(a),s.push(i,n,o)}}(t,e,n,js(t,i,r.hostVars,K),r)}function Fn(t,e,i,n,r,o){const s=Tt(t,e);!function Df(t,e,i,n,r,o,s){if(null==o)t.removeAttribute(e,r,i);else{const a=null==s?W(o):s(o,n||"",r);t.setAttribute(e,r,a,i)}}(e[Y],s,o,t.value,i,n,r)}function KO(t,e,i,n,r,o){const s=o[e];if(null!==s)for(let a=0;a{var t;class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const s=typeof Zone>"u"?null:Zone.current,a=new wI(n,u=>{this.all.has(u)&&this.queue.set(u,s)},o);let l;this.all.add(a),a.notify();const c=()=>{a.cleanup(),l?.(),this.all.delete(a),this.queue.delete(a)};return l=r?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return(t=e).\u0275prov=A({token:t,providedIn:"root",factory:()=>new t}),e})();function mc(t,e,i){let n=i?t.styles:null,r=i?t.classes:null,o=0;if(null!==e)for(let s=0;s0){Fy(t,1);const r=t[P].components;null!==r&&Vy(t,r,1)}}function Vy(t,e,i){for(let n=0;n-1&&(Wl(e,n),Nl(i,n))}this._attachedToViewContainer=!1}Oh(this._lView[P],this._lView)}onDestroy(e){!function vv(t,e){if(256==(256&t[Z]))throw new x(911,!1);null===t[xi]&&(t[xi]=[]),t[xi].push(e)}(this._lView,e)}markForCheck(){Bs(this._cdRefInjectingView||this._lView)}detach(){this._lView[Z]&=-129}reattach(){this._lView[Z]|=128}detectChanges(){gc(this._lView[P],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function nR(t,e){Is(t,e,e[Y],2,null,null)}(this._lView[P],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=e}}class ok extends Us{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view;gc(e[P],e,e[Ue],!1)}checkNoChanges(){}get context(){return null}}class By extends lo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const i=le(e);return new $s(i,this.ngModule)}}function jy(t){const e=[];for(let i in t)t.hasOwnProperty(i)&&e.push({propName:t[i],templateName:i});return e}class ak{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=ml(n);const r=this.injector.get(e,df,n);return r!==df||i===df?r:this.parentInjector.get(e,i,n)}}class $s extends ey{get inputs(){const e=this.componentDef,i=e.inputTransforms,n=jy(e.inputs);if(null!==i)for(const r of n)i.hasOwnProperty(r.propName)&&(r.transform=i[r.propName]);return n}get outputs(){return jy(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=function nI(t){return t.map(tI).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,r){let o=(r=r||this.ngModule)instanceof $t?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new ak(e,o):e,a=s.get(Vs,null);if(null===a)throw new x(407,!1);const d={rendererFactory:a,sanitizer:s.get(dO,null),effectManager:s.get(Py,null),afterRenderEventManager:s.get(pf,null)},h=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",p=n?function TO(t,e,i,n){const o=n.get(dy,!1)||i===Jt.ShadowDom,s=t.selectRootElement(e,o);return function RO(t){Cy(t)}(s),s}(h,n,this.componentDef.encapsulation,s):ql(h,f,function sk(t){const e=t.toLowerCase();return"svg"===e?hv:"math"===e?"math":null}(f)),E=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let y=null;null!==p&&(y=lf(p,s,!0));const O=yf(0,null,null,1,0,null,null,null,null,null,null),R=fc(null,O,null,E,null,null,d,h,s,null,y);let $,Ce;dh(R);try{const we=this.componentDef;let ct,Lt=null;we.findHostDirectiveDefs?(ct=[],Lt=new Map,we.findHostDirectiveDefs(we,ct,Lt),ct.push(we)):ct=[we];const Mn=function ck(t,e){const i=t[P],n=ie;return t[n]=e,fo(i,n,2,"#host",null)}(R,p),Cd=function uk(t,e,i,n,r,o,s){const a=r[P];!function dk(t,e,i,n){for(const r of t)e.mergedAttrs=us(e.mergedAttrs,r.hostAttrs);null!==e.mergedAttrs&&(mc(e,e.mergedAttrs,!0),null!==i&&Ib(n,i,e))}(n,t,e,s);let l=null;null!==e&&(l=lf(e,r[Ei]));const c=o.rendererFactory.createRenderer(e,i);let u=16;i.signals?u=4096:i.onPush&&(u=64);const d=fc(r,wy(i),null,u,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&Cf(a,t,n.length-1),pc(r,d),r[t.index]=d}(Mn,p,we,ct,R,d,h);Ce=pv(O,ie),p&&function fk(t,e,i,n){if(n)Qd(t,i,["ng-version",hO.full]);else{const{attrs:r,classes:o}=function iI(t){const e=[],i=[];let n=1,r=2;for(;n0&&Ab(t,i,o.join(" "))}}(h,we,p,n),void 0!==i&&function pk(t,e,i){const n=t.projection=[];for(let r=0;r=0;n--){const r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=us(r.hostAttrs,i=us(i,r.hostAttrs))}}(n)}function _c(t){return t===An?{}:t===he?[]:t}function _k(t,e){const i=t.viewQuery;t.viewQuery=i?(n,r)=>{e(n,r),i(n,r)}:e}function vk(t,e){const i=t.contentQueries;t.contentQueries=i?(n,r,o)=>{e(n,r,o),i(n,r,o)}:e}function bk(t,e){const i=t.hostBindings;t.hostBindings=i?(n,r)=>{e(n,r),i(n,r)}:e}function Gy(t){const e=t.inputConfig,i={};for(const n in e)if(e.hasOwnProperty(n)){const r=e[n];Array.isArray(r)&&r[2]&&(i[n]=r[2])}t.inputTransforms=i}function vc(t){return!!Mf(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Mf(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ln(t,e,i){return t[e]=i}function ft(t,e,i){return!Object.is(t[e],i)&&(t[e]=i,!0)}function lr(t,e,i,n){const r=ft(t,e,i);return ft(t,e+1,n)||r}function qe(t,e,i,n){const r=S();return ft(r,Gr(),e)&&(ce(),Fn(Ne(),r,t,e,i,n)),qe}function mo(t,e,i,n){return ft(t,Gr(),i)?e+W(i)+n:K}function go(t,e,i,n,r,o){const a=lr(t,function ni(){return U.lFrame.bindingIndex}(),i,r);return ii(2),a?e+W(i)+n+W(r)+o:K}function Q(t,e,i,n,r,o,s,a){const l=S(),c=ce(),u=t+ie,d=c.firstCreatePass?function zk(t,e,i,n,r,o,s,a,l){const c=e.consts,u=fo(e,t,4,s||null,Si(c,a));wf(e,i,u,Si(c,l)),Al(e,u);const d=u.tView=yf(2,u,n,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return null!==e.queries&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}(u,c,l,e,i,n,r,o,s):c.data[u];kn(d,!1);const h=o0(c,l,d,t);Ml()&&Zl(c,l,h,d),ht(h,l),pc(l,l[u]=Ay(h,l,h,d)),Cl(d)&&vf(c,l,d),null!=s&&bf(l,d,a)}let o0=function s0(t,e,i,n){return Mi(!0),e[Y].createComment("")};function mn(t){return $r(function UI(){return U.lFrame.contextLView}(),ie+t)}function k(t,e,i){const n=S();return ft(n,Gr(),e)&&zt(ce(),Ne(),n,t,e,n[Y],i,!1),k}function kf(t,e,i,n,r){const s=r?"class":"style";xf(t,i,e.inputs[s],s,n)}function m(t,e,i,n){const r=S(),o=ce(),s=ie+t,a=r[Y],l=o.firstCreatePass?function Yk(t,e,i,n,r,o){const s=e.consts,l=fo(e,t,2,n,Si(s,r));return wf(e,i,l,Si(s,o)),null!==l.attrs&&mc(l,l.attrs,!1),null!==l.mergedAttrs&&mc(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(s,o,r,e,i,n):o.data[s],c=a0(o,r,l,a,e,t);r[s]=c;const u=Cl(l);return kn(l,!0),Ib(a,c,l),32!=(32&l.flags)&&Ml()&&Zl(o,r,c,l),0===function PI(){return U.lFrame.elementDepthCount}()&&ht(c,r),function NI(){U.lFrame.elementDepthCount++}(),u&&(vf(o,r,l),_f(o,l,r)),null!==n&&bf(r,l),m}function g(){let t=at();sh()?ah():(t=t.parent,kn(t,!1));const e=t;(function LI(t){return U.skipHydrationRootTNode===t})(e)&&function HI(){U.skipHydrationRootTNode=null}(),function FI(){U.lFrame.elementDepthCount--}();const i=ce();return i.firstCreatePass&&(Al(i,t),Jd(t)&&i.queries.elementEnd(t)),null!=e.classesWithoutHost&&function eT(t){return 0!=(8&t.flags)}(e)&&kf(i,e,S(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function tT(t){return 0!=(16&t.flags)}(e)&&kf(i,e,S(),e.stylesWithoutHost,!1),g}function I(t,e,i,n){return m(t,e,i,n),g(),I}let a0=(t,e,i,n,r,o)=>(Mi(!0),ql(n,r,function Rv(){return U.lFrame.currentNamespace}()));function li(t,e,i){const n=S(),r=ce(),o=t+ie,s=r.firstCreatePass?function Qk(t,e,i,n,r){const o=e.consts,s=Si(o,n),a=fo(e,t,8,"ng-container",s);return null!==s&&mc(a,s,!0),wf(e,i,a,Si(o,r)),null!==e.queries&&e.queries.elementStart(e,a),a}(o,r,n,e,i):r.data[o];kn(s,!0);const a=l0(r,n,s,t);return n[o]=a,Ml()&&Zl(r,n,a,s),ht(a,n),Cl(s)&&(vf(r,n,s),_f(r,s,n)),null!=i&&bf(n,s),li}function ci(){let t=at();const e=ce();return sh()?ah():(t=t.parent,kn(t,!1)),e.firstCreatePass&&(Al(e,t),Jd(t)&&e.queries.elementEnd(t)),ci}function Pf(t,e,i){return li(t,e,i),ci(),Pf}let l0=(t,e,i,n)=>(Mi(!0),Rh(e[Y],""));function Do(){return S()}function Ys(t){return!!t&&"function"==typeof t.then}function c0(t){return!!t&&"function"==typeof t.subscribe}function B(t,e,i,n){const r=S(),o=ce(),s=at();return u0(o,r,r[Y],s,t,e,n),B}function Nf(t,e){const i=at(),n=S(),r=ce();return u0(r,n,Oy(ch(r.data),i,n),i,t,e),Nf}function u0(t,e,i,n,r,o,s){const a=Cl(n),c=t.firstCreatePass&&Ry(t),u=e[Ue],d=Ty(e);let h=!0;if(3&n.type||s){const v=Tt(n,e),b=s?s(v):v,E=d.length,y=s?R=>s(Me(R[n.index])):n.index;let O=null;if(!s&&a&&(O=function eP(t,e,i,n){const r=t.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(t,e,r,n.index)),null!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=o,O.__ngLastListenerFn__=o,h=!1;else{o=h0(n,e,u,o,!1);const R=i.listen(b,r,o);d.push(o,R),c&&c.push(r,y,E,E+1)}}else o=h0(n,e,u,o,!1);const f=n.outputs;let p;if(h&&null!==f&&(p=f[r])){const v=p.length;if(v)for(let b=0;b-1?Ht(t.index,e):e);let l=d0(e,i,n,s),c=o.__ngNextListenerFn__;for(;c;)l=d0(e,i,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function Le(t=1){return function WI(t){return(U.lFrame.contextLView=function YI(t,e){for(;t>0;)e=e[jr],t--;return e}(t,U.lFrame.contextLView))[Ue]}(t)}function tP(t,e){let i=null;const n=function QA(t){const e=t.attrs;if(null!=e){const i=e.indexOf(5);if(!(1&i))return e[i+1]}return null}(t);for(let r=0;r>17&32767}function Lf(t){return 2|t}function cr(t){return(131068&t)>>2}function Vf(t,e){return-131069&t|e<<2}function Bf(t){return 1|t}function w0(t,e,i,n,r){const o=t[i+1],s=null===e;let a=n?Ri(o):cr(o),l=!1;for(;0!==a&&(!1===l||s);){const u=t[a+1];aP(t[a],e)&&(l=!0,t[a+1]=n?Bf(u):Lf(u)),a=n?Ri(u):cr(u)}l&&(t[i+1]=n?Lf(o):Bf(o))}function aP(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Jr(t,e)>=0}function jf(t,e,i){return gn(t,e,i,!1),jf}function Ot(t,e){return gn(t,e,null,!0),Ot}function gn(t,e,i,n){const r=S(),o=ce(),s=ii(2);o.firstUpdatePass&&function I0(t,e,i,n){const r=t.data;if(null===r[i+1]){const o=r[bt()],s=function A0(t,e){return e>=t.expandoStartIndex}(t,i);(function k0(t,e){return 0!=(t.flags&(e?8:16))})(o,n)&&null===e&&!s&&(e=!1),e=function gP(t,e,i,n){const r=ch(t);let o=n?e.residualClasses:e.residualStyles;if(null===r)0===(n?e.classBindings:e.styleBindings)&&(i=Zs(i=Hf(null,t,e,i,n),e.attrs,n),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==r)if(i=Hf(r,t,e,i,n),null===o){let l=function _P(t,e,i){const n=i?e.classBindings:e.styleBindings;if(0!==cr(n))return t[Ri(n)]}(t,e,n);void 0!==l&&Array.isArray(l)&&(l=Hf(null,t,e,l[1],n),l=Zs(l,e.attrs,n),function vP(t,e,i,n){t[Ri(i?e.classBindings:e.styleBindings)]=n}(t,e,n,l))}else o=function bP(t,e,i){let n;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(c=!0)):u=i,r)if(0!==l){const h=Ri(t[a+1]);t[n+1]=Dc(h,a),0!==h&&(t[h+1]=Vf(t[h+1],n)),t[a+1]=function iP(t,e){return 131071&t|e<<17}(t[a+1],n)}else t[n+1]=Dc(a,0),0!==a&&(t[a+1]=Vf(t[a+1],n)),a=n;else t[n+1]=Dc(l,0),0===a?a=n:t[l+1]=Vf(t[l+1],n),l=n;c&&(t[n+1]=Lf(t[n+1])),w0(t,u,n,!0),w0(t,u,n,!1),function sP(t,e,i,n,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&Jr(o,e)>=0&&(i[n+1]=Bf(i[n+1]))}(e,u,t,n,o),s=Dc(a,l),o?e.classBindings=s:e.styleBindings=s}(r,o,e,i,s,n)}}(o,t,s,n),e!==K&&ft(r,s,e)&&function R0(t,e,i,n,r,o,s,a){if(!(3&e.type))return;const l=t.data,c=l[a+1],u=function rP(t){return 1==(1&t)}(c)?O0(l,e,i,r,cr(c),s):void 0;Ec(u)||(Ec(o)||function nP(t){return 2==(2&t)}(c)&&(o=O0(l,null,i,r,a,s)),function hR(t,e,i,n,r){if(e)r?t.addClass(i,n):t.removeClass(i,n);else{let o=-1===n.indexOf("-")?void 0:Ai.DashCase;null==r?t.removeStyle(i,n,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Ai.Important),t.setStyle(i,n,r,o))}}(n,s,Sl(bt(),i),r,o))}(o,o.data[bt()],r,r[Y],t,r[s+1]=function DP(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=Qe(Ii(t)))),t}(e,i),n,s)}function Hf(t,e,i,n,r){let o=null;const s=i.directiveEnd;let a=i.directiveStylingLast;for(-1===a?a=i.directiveStart:a++;a0;){const l=t[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=i[r+1];h===K&&(h=d?he:void 0);let f=d?wh(h,n):u===n?h:void 0;if(c&&!Ec(f)&&(f=wh(l,n)),Ec(f)&&(a=f,s))return a;const p=t[r+1];r=s?Ri(p):cr(p)}if(null!==e){let l=o?e.residualClasses:e.residualStyles;null!=l&&(a=wh(l,n))}return a}function Ec(t){return void 0!==t}function C(t,e=""){const i=S(),n=ce(),r=t+ie,o=n.firstCreatePass?fo(n,r,1,e,null):n.data[r],s=P0(n,i,o,e,t);i[r]=s,Ml()&&Zl(n,i,s,o),kn(o,!1)}let P0=(t,e,i,n,r)=>(Mi(!0),function Gl(t,e){return t.createText(e)}(e[Y],n));function ee(t){return Ee("",t,""),ee}function Ee(t,e,i){const n=S(),r=mo(n,t,e,i);return r!==K&&ai(n,bt(),r),Ee}function Ks(t,e,i,n,r){const o=S(),s=go(o,t,e,i,n,r);return s!==K&&ai(o,bt(),s),Ks}function xc(t,e,i){const n=S();return ft(n,Gr(),e)&&zt(ce(),Ne(),n,t,e,n[Y],i,!0),xc}function Uf(t,e,i){const n=S();if(ft(n,Gr(),e)){const o=ce(),s=Ne();zt(o,s,n,t,e,Oy(ch(o.data),s,n),i,!0)}return Uf}const ur=void 0;var GP=["en",[["a","p"],["AM","PM"],ur],[["AM","PM"],ur,ur],[["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"]],ur,[["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"]],ur,[["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}",ur,"{1} 'at' {0}",ur],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function zP(t){const i=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===n?1:5}];let So={};function wt(t){const e=function qP(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=X0(e);if(i)return i;const n=e.split("-")[0];if(i=X0(n),i)return i;if("en"===n)return GP;throw new x(701,!1)}function X0(t){return t in So||(So[t]=De.ng&&De.ng.common&&De.ng.common.locales&&De.ng.common.locales[t]),So[t]}var Ae=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}(Ae||{});const Mo="en-US";let J0=Mo;function Gf(t,e,i,n,r){if(t=z(t),Array.isArray(t))for(let o=0;o>20;if(or(t)||!t.multi){const f=new vs(c,r,_),p=Wf(l,e,r?u:u+h,d);-1===p?(vh(Ol(a,s),o,l),qf(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(f),s.push(f)):(i[p]=f,s[p]=f)}else{const f=Wf(l,e,u+h,d),p=Wf(l,e,u,u+h),b=p>=0&&i[p];if(r&&!b||!r&&!(f>=0&&i[f])){vh(Ol(a,s),o,l);const E=function zN(t,e,i,n,r){const o=new vs(t,i,_);return o.multi=[],o.index=e,o.componentProviders=0,Ew(o,r,n&&!i),o}(r?$N:UN,i.length,r,n,c);!r&&b&&(i[p].providerFactory=E),qf(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(E),s.push(E)}else qf(o,t,f>-1?f:p,Ew(i[r?p:f],c,!r&&n));!r&&n&&b&&i[p].componentProviders++}}}function qf(t,e,i,n){const r=or(e),o=function UR(t){return!!t.useClass}(e);if(r||o){const l=(o?z(e.useClass):e).prototype.ngOnDestroy;if(l){const c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const u=c.indexOf(i);-1===u?c.push(i,[n,l]):c[u+1].push(n,l)}else c.push(i,l)}}}function Ew(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function Wf(t,e,i,n){for(let r=i;r{i.providersResolver=(n,r)=>function HN(t,e,i){const n=ce();if(n.firstCreatePass){const r=pn(t);Gf(i,n.data,n.blueprint,r,!0),Gf(e,n.data,n.blueprint,r,!1)}}(n,r?r(t):t,e)}}class dr{}class xw{}class Zf extends dr{constructor(e,i,n){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new By(this);const r=jt(e);this._bootstrapComponents=si(r.bootstrap),this._r3Injector=sy(e,i,[{provide:dr,useValue:this},{provide:lo,useValue:this.componentFactoryResolver},...n],Qe(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Kf extends xw{constructor(e){super(),this.moduleType=e}create(e){return new Zf(this.moduleType,e,[])}}class Sw extends dr{constructor(e){super(),this.componentFactoryResolver=new By(this),this.instance=null;const i=new ic([...e.providers,{provide:dr,useValue:this},{provide:lo,useValue:this.componentFactoryResolver}],e.parent||nc(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function Qf(t,e,i=null){return new Sw({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}let WN=(()=>{var t;class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=zb(0,n.type),o=r.length>0?Qf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return(t=e).\u0275prov=A({token:t,providedIn:"environment",factory:()=>new t(w($t))}),e})();function Tc(t){t.getStandaloneInjector=e=>e.get(WN).getOrCreateStandaloneInjector(t)}function vn(t,e,i){const n=vt()+t,r=S();return r[n]===K?Ln(r,n,i?e.call(i):e()):function zs(t,e){return t[e]}(r,n)}function na(t,e,i,n){return kw(S(),vt(),t,e,i,n)}function ia(t,e,i,n,r){return Pw(S(),vt(),t,e,i,n,r)}function ra(t,e){const i=t[e];return i===K?void 0:i}function kw(t,e,i,n,r,o){const s=e+i;return ft(t,s,r)?Ln(t,s+1,o?n.call(o,r):n(r)):ra(t,s+1)}function Pw(t,e,i,n,r,o,s){const a=e+i;return lr(t,a,r,o)?Ln(t,a+2,s?n.call(s,r,o):n(r,o)):ra(t,a+2)}function ui(t,e){const i=ce();let n;const r=t+ie;i.firstCreatePass?(n=function cF(t,e){if(e)for(let i=e.length-1;i>=0;i--){const n=e[i];if(t===n.name)return n}}(e,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks??=[]).push(r,n.onDestroy)):n=i.data[r];const o=n.factory||(n.factory=tr(n.type)),a=St(_);try{const l=Rl(!1),c=o();return Rl(l),function Wk(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}(i,S(),r,c),c}finally{St(a)}}function hr(t,e,i){const n=t+ie,r=S(),o=$r(r,n);return oa(r,n)?kw(r,vt(),e,o.transform,i,o):o.transform(i)}function Jf(t,e,i,n){const r=t+ie,o=S(),s=$r(o,r);return oa(o,r)?Pw(o,vt(),e,s.transform,i,n,s):s.transform(i,n)}function oa(t,e){return t[P].data[e].pure}function ep(t){return e=>{setTimeout(t,void 0,e)}}const re=class fF extends q{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,i,n){let r=e,o=i||(()=>null),s=n;if(e&&"object"==typeof e){const l=e;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=ep(o),r&&(r=ep(r)),s&&(s=ep(s)));const a=super.subscribe({next:r,error:o,complete:s});return e instanceof Pe&&e.add(a),a}};function pF(){return this._results[Symbol.iterator]()}class fr{get changes(){return this._changes||(this._changes=new re)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=fr.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=pF)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){const n=this;n.dirty=!1;const r=function tn(t){return t.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function mT(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n0&&(i[r-1][fn]=e),n{class e{}return e.__NG_ELEMENT_ID__=bF,e})();const _F=Wt,vF=class extends _F{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){const r=function mF(t,e,i,n){const r=e.tView,a=fc(t,r,i,4096&t[Z]?4096:16,null,e,null,null,null,n?.injector??null,n?.hydrationInfo??null);a[fs]=t[e.index];const c=t[In];return null!==c&&(a[In]=c.createEmbeddedView(r)),Sf(r,a,i),a}(this._declarationLView,this._declarationTContainer,e,{injector:i,hydrationInfo:n});return new Us(r)}};function bF(){return Rc(at(),S())}function Rc(t,e){return 4&t.type?new vF(e,t,co(t,e)):null}let Pt=(()=>{class e{}return e.__NG_ELEMENT_ID__=xF,e})();function xF(){return zw(at(),S())}const SF=Pt,Uw=class extends SF{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return co(this._hostTNode,this._hostLView)}get injector(){return new yt(this._hostTNode,this._hostLView)}get parentInjector(){const e=kl(this._hostTNode,this._hostLView);if(mh(e)){const i=ys(e,this._hostLView),n=bs(e);return new yt(i[P].data[n+8],i)}return new yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const i=$w(this._lContainer);return null!==i&&i[e]||null}get length(){return this._lContainer.length-st}createEmbeddedView(e,i,n){let r,o;"number"==typeof n?r=n:null!=n&&(r=n.index,o=n.injector);const a=e.createEmbeddedViewImpl(i||{},o,null);return this.insertImpl(a,r,false),a}createComponent(e,i,n,r,o){const s=e&&!function Ds(t){return"function"==typeof t}(e);let a;if(s)a=i;else{const v=i||{};a=v.index,n=v.injector,r=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}const l=s?e:new $s(le(e)),c=n||this.parentInjector;if(!o&&null==l.ngModule){const b=(s?c:this.parentInjector).get($t,null);b&&(o=b)}le(l.componentType??{});const f=l.create(c,r,null,o);return this.insertImpl(f.hostView,a,false),f}insert(e,i){return this.insertImpl(e,i,!1)}insertImpl(e,i,n){const r=e._lView;if(function RI(t){return At(t[ke])}(r)){const l=this.indexOf(e);if(-1!==l)this.detach(l);else{const c=r[ke],u=new Uw(c,c[dt],c[ke]);u.detach(u.indexOf(e))}}const s=this._adjustIndex(i),a=this._lContainer;return gF(a,r,s,!n),e.attachToViewContainerRef(),qv(tp(a),s,e),e}move(e,i){return this.insert(e,i)}indexOf(e){const i=$w(this._lContainer);return null!==i?i.indexOf(e):-1}remove(e){const i=this._adjustIndex(e,-1),n=Wl(this._lContainer,i);n&&(Nl(tp(this._lContainer),i),Oh(n[P],n))}detach(e){const i=this._adjustIndex(e,-1),n=Wl(this._lContainer,i);return n&&null!=Nl(tp(this._lContainer),i)?new Us(n):null}_adjustIndex(e,i=0){return e??this.length+i}};function $w(t){return t[8]}function tp(t){return t[8]||(t[8]=[])}function zw(t,e){let i;const n=e[t.index];return At(n)?i=n:(i=Ay(n,e,null,t),e[t.index]=i,pc(e,i)),Gw(i,e,t,n),new Uw(i,t,e)}let Gw=function qw(t,e,i,n){if(t[Tn])return;let r;r=8&i.type?Me(n):function MF(t,e){const i=t[Y],n=i.createComment(""),r=Tt(e,t);return rr(i,Yl(i,r),n,function cR(t,e){return t.nextSibling(e)}(i,r),!1),n}(e,i),t[Tn]=r};class np{constructor(e){this.queryList=e,this.matches=null}clone(){return new np(this.queryList)}setDirty(){this.queryList.setDirty()}}class ip{constructor(e=[]){this.queries=e}createEmbeddedView(e){const i=e.queries;if(null!==i){const n=null!==e.contentQueries?e.contentQueries[0]:i.length,r=[];for(let o=0;o0)n.push(s[a/2]);else{const c=o[a+1],u=e[-l];for(let d=st;d{var t;class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=T(hp,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const s=o();if(Ys(s))n.push(s);else if(c0(s)){const a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),pC=(()=>{var t;class e{log(n){console.log(n)}warn(n){console.warn(n)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"platform"}),e})();const Hn=new M("LocaleId",{providedIn:"root",factory:()=>T(Hn,te.Optional|te.SkipSelf)||function n2(){return typeof $localize<"u"&&$localize.locale||Mo}()}),r2=new M("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Pc=(()=>{var t;class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new xt(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();class s2{constructor(e,i){this.ngModuleFactory=e,this.componentFactories=i}}let mC=(()=>{var t;class e{compileModuleSync(n){return new Kf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=si(jt(n).declarations).reduce((a,l)=>{const c=le(l);return c&&a.push(new $s(c)),a},[]);return new s2(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function bC(...t){}class G{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new re(!1),this.onMicrotaskEmpty=new re(!1),this.onStable=new re(!1),this.onError=new re(!1),typeof Zone>"u")throw new x(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&i,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function S2(){const t="function"==typeof De.requestAnimationFrame;let e=De[t?"requestAnimationFrame":"setTimeout"],i=De[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=i[Zone.__symbol__("OriginalDelegate")];r&&(i=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function I2(t){const e=()=>{!function A2(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(De,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,_p(t),t.isCheckStableRunning=!0,gp(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),_p(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,r,o,s,a)=>{try{return yC(t),i.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),wC(t)}},onInvoke:(i,n,r,o,s,a,l)=>{try{return yC(t),i.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),wC(t)}},onHasTask:(i,n,r,o)=>{i.hasTask(r,o),n===r&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,_p(t),gp(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,n,r,o)=>(i.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!G.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(G.isInAngularZone())throw new x(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,M2,bC,bC);try{return o.runTask(s,i,n)}finally{o.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}}const M2={};function gp(t){if(0==t._nesting&&!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 _p(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function yC(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function wC(t){t._nesting--,gp(t)}class T2{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new re,this.onMicrotaskEmpty=new re,this.onStable=new re,this.onError=new re}run(e,i,n){return e.apply(i,n)}runGuarded(e,i,n){return e.apply(i,n)}runOutsideAngular(e){return e()}runTask(e,i,n,r){return e.apply(i,n)}}const CC=new M("",{providedIn:"root",factory:DC});function DC(){const t=T(G);let e=!0;return Xi(new Te(r=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{r.next(e),r.complete()})}),new Te(r=>{let o;t.runOutsideAngular(()=>{o=t.onStable.subscribe(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,r.next(!0))})})});const s=t.onUnstable.subscribe(()=>{G.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{r.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(T_()))}const EC=new M(""),Fc=new M("");let yp,vp=(()=>{var t;class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,yp||(function R2(t){yp=t}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,r,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,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return(t=e).\u0275fac=function(n){return new(n||t)(w(G),w(bp),w(Fc))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})(),bp=(()=>{var t;class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return yp?.findTestabilityInTree(this,n,r)??null}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"platform"}),e})(),Oi=null;const xC=new M("AllowMultipleToken"),wp=new M("PlatformDestroyListeners"),Cp=new M("appBootstrapListener");class MC{constructor(e,i){this.name=e,this.token=i}}function IC(t,e,i=[]){const n=`Platform: ${e}`,r=new M(n);return(o=[])=>{let s=Dp();if(!s||s.injector.get(xC,!1)){const a=[...i,...o,{provide:r,useValue:!0}];t?t(a):function P2(t){if(Oi&&!Oi.get(xC,!1))throw new x(400,!1);(function SC(){!function bI(t){sv=t}(()=>{throw new x(600,!1)})})(),Oi=t;const e=t.get(RC);(function AC(t){t.get(Zb,null)?.forEach(i=>i())})(t)}(function TC(t=[],e){return Fe.create({name:e,providers:[{provide:Zh,useValue:"platform"},{provide:wp,useValue:new Set([()=>Oi=null])},...t]})}(a,n))}return function F2(t){const e=Dp();if(!e)throw new x(401,!1);return e}()}}function Dp(){return Oi?.get(RC)??null}let RC=(()=>{var t;class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function L2(t="zone.js",e){return"noop"===t?new T2:"zone.js"===t?new G(e):t}(r?.ngZone,function OC(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const s=function qN(t,e,i){return new Zf(t,e,i)}(n.moduleType,this.injector,function LC(t){return[{provide:G,useFactory:t},{provide:Ps,multi:!0,useFactory:()=>{const e=T(B2,{optional:!0});return()=>e.initialize()}},{provide:FC,useFactory:V2},{provide:CC,useFactory:DC}]}(()=>o)),a=s.injector.get(ar,null);return o.runOutsideAngular(()=>{const l=o.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{Lc(this._modules,s),l.unsubscribe()})}),function kC(t,e,i){try{const n=i();return Ys(n)?n.catch(r=>{throw e.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}(a,o,()=>{const l=s.injector.get(fp);return l.runInitializers(),l.donePromise.then(()=>(function ew(t){Xt(t,"Expected localeId to be defined"),"string"==typeof t&&(J0=t.toLowerCase().replace(/_/g,"-"))}(s.injector.get(Hn,Mo)||Mo),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,r=[]){const o=PC({},r);return function O2(t,e,i){const n=new Kf(i);return Promise.resolve(n)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){const r=n.injector.get(ki);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new x(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new x(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(wp,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Fe))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"platform"}),e})();function PC(t,e){return Array.isArray(e)?e.reduce(PC,t):{...t,...e}}let ki=(()=>{var t;class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=T(FC),this.zoneIsStable=T(CC),this.componentTypes=[],this.components=[],this.isStable=T(Pc).hasPendingTasks.pipe(Vt(n=>n?L(!1):this.zoneIsStable),Fd(),T_()),this._injector=T($t)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof ey;if(!this._injector.get(fp).done)throw!o&&function Lr(t){const e=le(t)||ot(t)||_t(t);return null!==e&&e.standalone}(n),new x(405,!1);let a;a=o?n:this._injector.get(lo).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const l=function k2(t){return t.isBoundToModule}(a)?void 0:this._injector.get(dr),u=a.create(Fe.NULL,[],r||a.selector,l),d=u.location.nativeElement,h=u.injector.get(EC,null);return h?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Lc(this.components,u),h?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new x(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Lc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Cp,[]);r.push(...this._bootstrapListeners),r.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),()=>Lc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new x(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function Lc(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}const FC=new M("",{providedIn:"root",factory:()=>T(ar).handleError.bind(void 0)});function V2(){const t=T(G),e=T(ar);return i=>t.runOutsideAngular(()=>e.handleError(i))}let B2=(()=>{var t;class e{constructor(){this.zone=T(G),this.applicationRef=T(ki)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();let sn=(()=>{class e{}return e.__NG_ELEMENT_ID__=H2,e})();function H2(t){return function U2(t,e,i){if(er(t)&&!i){const n=Ht(t.index,e);return new Us(n,n)}return 47&t.type?new Us(e[$e],e):null}(at(),S(),16==(16&t))}class HC{constructor(){}supports(e){return vc(e)}create(e){return new Y2(e)}}const W2=(t,e)=>e;class Y2{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||W2}forEachItem(e){let i;for(i=this._itHead;null!==i;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,r=0,o=null;for(;i||n;){const s=!n||i&&i.currentIndex<$C(n,r,o)?i:n,a=$C(s,r,o),l=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(i=i._next,null==s.previousIndex)r++;else{o||(o=[]);const c=a-r,u=l-r;if(c!=u){for(let h=0;h{s=this._trackByFn(r,a),null!==i&&Object.is(i.trackById,s)?(n&&(i=this._verifyReinsertion(i,a,s,r)),Object.is(i.item,a)||this._addIdentityChange(i,a)):(i=this._mismatch(i,a,s,r),n=!0),i=i._next,r++}),this.length=r;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,r){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,o,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,o,r)):e=this._addAfter(new Z2(i,n),o,r),e}_verifyReinsertion(e,i,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const i=e._next;this._addToRemovals(this._unlink(e)),e=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,i,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){const r=null===i?this._itHead:i._next;return e._next=r,e._prev=i,null===r?this._itTail=e:r._prev=e,null===i?this._itHead=e:i._next=e,null===this._linkedRecords&&(this._linkedRecords=new UC),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const i=e._prev,n=e._next;return null===i?this._itHead=n:i._next=n,null===n?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new UC),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Z2{constructor(e,i){this.item=e,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class K2{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===i||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const i=e._prevDup,n=e._nextDup;return null===i?this._head=n:i._nextDup=n,null===n?this._tail=i:n._prevDup=i,null===this._head}}class UC{constructor(){this.map=new Map}put(e){const i=e.trackById;let n=this.map.get(i);n||(n=new K2,this.map.set(i,n)),n.add(e)}get(e,i){const r=this.map.get(e);return r?r.get(e,i):null}remove(e){const i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $C(t,e,i){const n=t.previousIndex;if(null===n)return n;let r=0;return i&&n{if(i&&i.key===r)this._maybeAddToChanges(i,n),this._appendAfter=i,i=i._next;else{const o=this._getOrCreateRecordForKey(r,n);i=this._insertBeforeOrAppend(i,o)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let n=i;null!==n;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,i){if(e){const n=e._prev;return i._next=e,i._prev=n,e._prev=i,n&&(n._next=i),e===this._mapHead&&(this._mapHead=i),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(e,i){if(this._records.has(e)){const r=this._records.get(e);this._maybeAddToChanges(r,i);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const n=new X2(e);return this._records.set(e,n),n.currentValue=i,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,i){Object.is(i,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=i,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,i){e instanceof Map?e.forEach(i):Object.keys(e).forEach(n=>i(e[n],n))}}class X2{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function GC(){return new jc([new HC])}let jc=(()=>{var t;class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||GC()),deps:[[e,new Vl,new Ll]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new x(901,!1)}}return(t=e).\u0275prov=A({token:t,providedIn:"root",factory:GC}),e})();function qC(){return new la([new zC])}let la=(()=>{var t;class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||qC()),deps:[[e,new Vl,new Ll]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new x(901,!1)}}return(t=e).\u0275prov=A({token:t,providedIn:"root",factory:qC}),e})();const tL=IC(null,"core",[]);let nL=(()=>{var t;class e{constructor(n){}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ki))},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();function Ro(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let Ip=null;function Pi(){return Ip}class gL{}const ne=new M("DocumentToken");let Tp=(()=>{var t;class e{historyGo(n){throw new Error("Not implemented")}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return T(vL)},providedIn:"platform"}),e})();const _L=new M("Location Initialized");let vL=(()=>{var t;class e extends Tp{constructor(){super(),this._doc=T(ne),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Pi().getBaseHref(this._doc)}onPopState(n){const r=Pi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Pi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.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,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return new t},providedIn:"platform"}),e})();function Rp(t,e){if(0==t.length)return e;if(0==e.length)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,2==i?t+e.substring(1):1==i?t+e:t+"/"+e}function eD(t){const e=t.match(/#|\?|$/),i=e&&e.index||t.length;return t.slice(0,i-("/"===t[i-1]?1:0))+t.slice(i)}function di(t){return t&&"?"!==t[0]?"?"+t:t}let gr=(()=>{var t;class e{historyGo(n){throw new Error("Not implemented")}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return T(nD)},providedIn:"root"}),e})();const tD=new M("appBaseHref");let nD=(()=>{var t;class e extends gr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??T(ne).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 Rp(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+di(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,s){const a=this.prepareExternalUrl(o+di(s));this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){const a=this.prepareExternalUrl(o+di(s));this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Tp),w(tD,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),bL=(()=>{var t;class e extends gr{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}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 r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Rp(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,s){let a=this.prepareExternalUrl(o+di(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){let a=this.prepareExternalUrl(o+di(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Tp),w(tD,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})(),ca=(()=>{var t;class e{constructor(n){this._subject=new re,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function CL(t){if(new RegExp("^(https?:)?//").test(t)){const[,i]=t.split(/\/\/[^\/]+/);return i}return t}(eD(iD(r))),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,r=""){return this.path()==this.normalize(n+di(r))}normalize(n){return e.stripTrailingSlash(function wL(t,e){if(!t||!e.startsWith(t))return e;const i=e.substring(t.length);return""===i||["/",";","?","#"].includes(i[0])?i:e}(this._basePath,iD(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+di(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+di(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return(t=e).normalizeQueryParams=di,t.joinWithSlash=Rp,t.stripTrailingSlash=eD,t.\u0275fac=function(n){return new(n||t)(w(gr))},t.\u0275prov=A({token:t,factory:function(){return function yL(){return new ca(w(gr))}()},providedIn:"root"}),e})();function iD(t){return t.replace(/\/index.html$/,"")}const rD={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Uc=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(Uc||{}),ze=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t.Infinity=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}(ze||{});function an(t,e){const i=wt(t),n=i[Ae.NumberSymbols][e];if(typeof n>"u"){if(e===ze.CurrencyDecimal)return i[Ae.NumberSymbols][ze.Decimal];if(e===ze.CurrencyGroup)return i[Ae.NumberSymbols][ze.Group]}return n}function Op(t,e){return wt(t)[Ae.NumberFormats][e]}const ZL=/^(\d+)?\.((\d+)(-(\d+))?)?$/,cD=22,Qc=".",da="0",KL=";",QL=",",Fp="#";function Lp(t,e,i,n,r,o,s=!1){let a="",l=!1;if(isFinite(t)){let c=function iV(t){let n,r,o,s,a,e=Math.abs(t)+"",i=0;for((r=e.indexOf(Qc))>-1&&(e=e.replace(Qc,"")),(o=e.search(/e/i))>0?(r<0&&(r=o),r+=+e.slice(o+1),e=e.substring(0,o)):r<0&&(r=e.length),o=0;e.charAt(o)===da;o++);if(o===(a=e.length))n=[0],r=1;else{for(a--;e.charAt(a)===da;)a--;for(r-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(e.charAt(o))}return r>cD&&(n=n.splice(0,cD-1),i=r-1,r=1),{digits:n,exponent:i,integerLen:r}}(t);s&&(c=function nV(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let u=e.minInt,d=e.minFrac,h=e.maxFrac;if(o){const y=o.match(ZL);if(null===y)throw new Error(`${o} is not a valid digit info`);const O=y[1],R=y[3],$=y[5];null!=O&&(u=Bp(O)),null!=R&&(d=Bp(R)),null!=$?h=Bp($):null!=R&&d>h&&(h=d)}!function rV(t,e,i){if(e>i)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${i}).`);let n=t.digits,r=n.length-t.integerLen;const o=Math.min(Math.max(e,r),i);let s=o+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;r=c?p.pop():l=!1),h>=10?1:0},0);u&&(n.unshift(u),t.integerLen++)}(c,d,h);let f=c.digits,p=c.integerLen;const v=c.exponent;let b=[];for(l=f.every(y=>!y);p0?b=f.splice(p,f.length):(b=f,f=[0]);const E=[];for(f.length>=e.lgSize&&E.unshift(f.splice(-e.lgSize,f.length).join(""));f.length>e.gSize;)E.unshift(f.splice(-e.gSize,f.length).join(""));f.length&&E.unshift(f.join("")),a=E.join(an(i,n)),b.length&&(a+=an(i,r)+b.join("")),v&&(a+=an(i,ze.Exponential)+"+"+v)}else a=an(i,ze.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}function Vp(t,e="-"){const i={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(KL),r=n[0],o=n[1],s=-1!==r.indexOf(Qc)?r.split(Qc):[r.substring(0,r.lastIndexOf(da)+1),r.substring(r.lastIndexOf(da)+1)],a=s[0],l=s[1]||"";i.posPre=a.substring(0,a.indexOf(Fp));for(let u=0;u{var t;class e{constructor(n,r,o,s){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=s,this.initialClasses=fD,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(Hp):fD}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(Hp):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const o=this.stateMap.get(n);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){(n=n.trim()).length>0&&n.split(Hp).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(jc),_(la),_(ve),_(oi))},t.\u0275dir=N({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class aV{constructor(e,i,n,r){this.$implicit=e,this.ngForOf=i,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let _r=(()=>{var t;class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,s,a)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new aV(o.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)r.remove(null===s?void 0:s);else if(null!==s){const l=r.get(s);r.move(l,a),mD(l,o)}});for(let o=0,s=r.length;o{mD(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Pt),_(Wt),_(jc))},t.\u0275dir=N({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function mD(t,e){t.context.$implicit=e.item}let yn=(()=>{var t;class e{constructor(n,r){this._viewContainer=n,this._context=new lV,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){gD("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){gD("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,r){return!0}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Pt),_(Wt))},t.\u0275dir=N({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class lV{constructor(){this.$implicit=null,this.ngIf=null}}function gD(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Qe(e)}'.`)}function wn(t,e){return new x(2100,!1)}let bD=(()=>{var t;class e{constructor(n){this._locale=n}transform(n,r,o){if(!Gp(n))return null;o=o||this._locale;try{return function tV(t,e,i){return Lp(t,Vp(Op(e,Uc.Decimal),an(e,ze.MinusSign)),e,ze.Group,ze.Decimal,i)}(qp(n),o,r)}catch(s){throw wn()}}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Hn,16))},t.\u0275pipe=gt({name:"number",type:t,pure:!0,standalone:!0}),e})(),zp=(()=>{var t;class e{constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",s,a){if(!Gp(n))return null;a=a||this._locale,"boolean"==typeof o&&(o=o?"symbol":"code");let l=r||this._defaultCurrencyCode;"code"!==o&&(l="symbol"===o||"symbol-narrow"===o?function kL(t,e,i="en"){const n=function IL(t){return wt(t)[Ae.Currencies]}(i)[t]||rD[t]||[],r=n[1];return"narrow"===e&&"string"==typeof r?r:n[0]||t}(l,"symbol"===o?"wide":"narrow",a):o);try{return function JL(t,e,i,n,r){const s=Vp(Op(e,Uc.Currency),an(e,ze.MinusSign));return s.minFrac=function NL(t){let e;const i=rD[t];return i&&(e=i[2]),"number"==typeof e?e:2}(n),s.maxFrac=s.minFrac,Lp(t,s,e,ze.CurrencyGroup,ze.CurrencyDecimal,r).replace("\xa4",i).replace("\xa4","").trim()}(qp(n),a,l,r,s)}catch(c){throw wn()}}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Hn,16),_(r2,16))},t.\u0275pipe=gt({name:"currency",type:t,pure:!0,standalone:!0}),e})();function Gp(t){return!(null==t||""===t||t!=t)}function qp(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(`${t} is not a number`);return t}let Cn=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();const yD="browser";function wD(t){return"server"===t}let NV=(()=>{var t;class e{}return(t=e).\u0275prov=A({token:t,providedIn:"root",factory:()=>new FV(w(ne),window)}),e})();class FV{constructor(e,i){this.document=e,this.window=i,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const i=function LV(t,e){const i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if("function"==typeof t.createTreeWalker&&t.body&&"function"==typeof t.body.attachShadow){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}r=n.nextNode()}}return null}(this.document,e);i&&(this.scrollToElement(i),i.focus())}setHistoryScrollRestoration(e){this.supportsScrolling()&&(this.window.history.scrollRestoration=e)}scrollToElement(e){const i=e.getBoundingClientRect(),n=i.left+this.window.pageXOffset,r=i.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class CD{}class sB extends gL{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Zp extends sB{static makeCurrent(){!function mL(t){Ip||(Ip=t)}(new Zp)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return(i=i||this.getDefaultDocument()).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,i){return"window"===i?window:"document"===i?e:"body"===i?e.body:null}getBaseHref(e){const i=function aB(){return fa=fa||document.querySelector("base"),fa?fa.getAttribute("href"):null}();return null==i?null:function lB(t){eu=eu||document.createElement("a"),eu.setAttribute("href",t);const e=eu.pathname;return"/"===e.charAt(0)?e:`/${e}`}(i)}resetBaseElement(){fa=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return hD(document.cookie,e)}}let eu,fa=null,uB=(()=>{var t;class e{build(){return new XMLHttpRequest}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();const Kp=new M("EventManagerPlugins");let MD=(()=>{var t;class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(s=>s.supports(n)),!r)throw new x(5101,!1);return this._eventNameToPlugin.set(n,r),r}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Kp),w(G))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();class AD{constructor(e){this._doc=e}}const Qp="ng-app-id";let ID=(()=>{var t;class e{constructor(n,r,o,s={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=wD(s),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Qp}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const s=o.get(n);return s.usage+=r,s.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,s=o?.get(r);if(s?.parentNode===n)return o.delete(r),s.removeAttribute(Qp),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(Qp,this.appId),a}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const s=this.styleRef,a=s.get(r)?.elements;a?a.push(o):s.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne),w(rc),w(Jh,8),w(Ti))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();const Xp={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Jp=/%COMP%/g,pB=new M("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function RD(t,e){return e.map(i=>i.replace(Jp,t))}let em=(()=>{var t;class e{constructor(n,r,o,s,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=wD(l),this.defaultRenderer=new tm(n,a,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Jt.ShadowDom&&(r={...r,encapsulation:Jt.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof kD?o.applyToHost(n):o instanceof nm&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let s=o.get(r.id);if(!s){const a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(r.encapsulation){case Jt.Emulated:s=new kD(c,u,r,this.appId,d,a,l,h);break;case Jt.ShadowDom:return new vB(c,u,n,r,a,l,this.nonce,h);default:s=new nm(c,u,r,d,a,l,h)}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return(t=e).\u0275fac=function(n){return new(n||t)(w(MD),w(ID),w(rc),w(pB),w(ne),w(Ti),w(G),w(Jh))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();class tm{constructor(e,i,n,r){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(Xp[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(OD(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(OD(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n="string"==typeof e?this.doc.querySelector(e):e;if(!n)throw new x(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,r){if(r){i=r+":"+i;const o=Xp[r];o?e.setAttributeNS(o,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){const r=Xp[n];r?e.removeAttributeNS(r,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,r){r&(Ai.DashCase|Ai.Important)?e.style.setProperty(i,n,r&Ai.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&Ai.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e[i]=n}setValue(e,i){e.nodeValue=i}listen(e,i,n){if("string"==typeof e&&!(e=Pi().getGlobalEventTarget(this.doc,e)))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if("__ngUnwrap__"===i)return e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))&&i.preventDefault()}}}function OD(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class vB extends tm{constructor(e,i,n,r,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=RD(r.id,r.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class nm extends tm{constructor(e,i,n,r,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=l?RD(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class kD extends nm{constructor(e,i,n,r,o,s,a,l){const c=r+"-"+n.id;super(e,i,n,o,s,a,l,c),this.contentAttr=function mB(t){return"_ngcontent-%COMP%".replace(Jp,t)}(c),this.hostAttr=function gB(t){return"_nghost-%COMP%".replace(Jp,t)}(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){const n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}}let bB=(()=>{var t;class e extends AD{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();const PD=["alt","control","meta","shift"],yB={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},wB={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let CB=(()=>{var t;class e extends AD{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Pi().onAndCancel(n,s.domEventName,a))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const s=e._normalizeKey(r.pop());let a="",l=r.indexOf("code");if(l>-1&&(r.splice(l,1),a="code."),PD.forEach(u=>{const d=r.indexOf(u);d>-1&&(r.splice(d,1),a+=u+".")}),a+=s,0!=r.length||0===s.length)return null;const c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,r){let o=yB[n.key]||n.key,s="";return r.indexOf("code.")>-1&&(o=n.code,s="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),PD.forEach(a=>{a!==o&&(0,wB[a])(n)&&(s+=a+".")}),s+=o,s===r)}static eventCallback(n,r,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>r(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();const SB=IC(tL,"browser",[{provide:Ti,useValue:yD},{provide:Zb,useValue:function DB(){Zp.makeCurrent()},multi:!0},{provide:ne,useFactory:function xB(){return function _R(t){Bh=t}(document),document},deps:[]}]),MB=new M(""),LD=[{provide:Fc,useClass:class cB{addToWindow(e){De.getAngularTestability=(n,r=!0)=>{const o=e.findTestabilityInTree(n,r);if(null==o)throw new x(5103,!1);return o},De.getAllAngularTestabilities=()=>e.getAllTestabilities(),De.getAllAngularRootElements=()=>e.getAllRootElements(),De.frameworkStabilizers||(De.frameworkStabilizers=[]),De.frameworkStabilizers.push(n=>{const r=De.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&n(s)};r.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(e,i,n){return null==i?null:e.getTestability(i)??(n?Pi().isShadowRoot(i)?this.findTestabilityInTree(e,i.host,!0):this.findTestabilityInTree(e,i.parentElement,!0):null)}},deps:[]},{provide:EC,useClass:vp,deps:[G,bp,Fc]},{provide:vp,useClass:vp,deps:[G,bp,Fc]}],VD=[{provide:Zh,useValue:"root"},{provide:ar,useFactory:function EB(){return new ar},deps:[]},{provide:Kp,useClass:bB,multi:!0,deps:[ne,G,Ti]},{provide:Kp,useClass:CB,multi:!0,deps:[ne]},em,ID,MD,{provide:Vs,useExisting:em},{provide:CD,useClass:uB,deps:[]},[]];let BD=(()=>{var t;class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:rc,useValue:n.appId}]}}}return(t=e).\u0275fac=function(n){return new(n||t)(w(MB,12))},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[...VD,...LD],imports:[Cn,nL]}),e})(),jD=(()=>{var t;class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne))},t.\u0275prov=A({token:t,factory:function(n){let r=null;return r=n?new n:function IB(){return new jD(w(ne))}(),r},providedIn:"root"}),e})();typeof window<"u"&&window;const{isArray:NB}=Array,{getPrototypeOf:FB,prototype:LB,keys:VB}=Object;function zD(t){if(1===t.length){const e=t[0];if(NB(e))return{args:e,keys:null};if(function BB(t){return t&&"object"==typeof t&&FB(t)===LB}(e)){const i=VB(e);return{args:i.map(n=>e[n]),keys:i}}}return{args:t,keys:null}}const{isArray:jB}=Array;function rm(t){return se(e=>function HB(t,e){return jB(e)?t(...e):t(e)}(t,e))}function GD(t,e){return t.reduce((i,n,r)=>(i[n]=e[r],i),{})}function tu(...t){const e=ss(t),i=S_(t),{args:n,keys:r}=zD(t);if(0===n.length)return Ke([],e);const o=new Te(function UB(t,e,i=wi){return n=>{qD(e,()=>{const{length:r}=t,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=Ke(t[l],e);let u=!1;c.subscribe(Oe(n,d=>{o[l]=d,u||(u=!0,a--),a||n.next(i(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}(n,e,r?s=>GD(r,s):wi));return i?o.pipe(rm(i)):o}function qD(t,e,i){t?Kn(i,t,e):e()}const nu=rs(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function pa(...t){return function $B(){return Nr(1)}()(Ke(t,ss(t)))}function iu(t){return new Te(e=>{ut(t()).subscribe(e)})}function ma(t,e){const i=oe(t)?t:()=>t,n=r=>r.error(i());return new Te(e?r=>e.schedule(n,0,r):n)}function om(){return Be((t,e)=>{let i=null;t._refCount++;const n=Oe(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(i=null);const r=t._connection,o=i;i=null,r&&(!o||r===o)&&r.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(i=t.connect())})}class WD extends Te{constructor(e,i){super(),this.source=e,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,d_(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Pe;const i=this.getSubject();e.add(this.source.subscribe(Oe(i,void 0,()=>{this._teardown(),i.complete()},n=>{this._teardown(),i.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Pe.EMPTY)}return e}refCount(){return om()(this)}}function et(t){return t<=0?()=>dn:Be((e,i)=>{let n=0;e.subscribe(Oe(i,r=>{++n<=t&&(i.next(r),t<=n&&i.complete())}))})}function pi(...t){const e=ss(t);return Be((i,n)=>{(e?pa(t,i,e):pa(t,i)).subscribe(n)})}function Re(t,e){return Be((i,n)=>{let r=0;i.subscribe(Oe(n,o=>t.call(e,o,r++)&&n.next(o)))})}function ru(t){return Be((e,i)=>{let n=!1;e.subscribe(Oe(i,r=>{n=!0,i.next(r)},()=>{n||i.next(t),i.complete()}))})}function YD(t=zB){return Be((e,i)=>{let n=!1;e.subscribe(Oe(i,r=>{n=!0,i.next(r)},()=>n?i.complete():i.error(t())))})}function zB(){return new nu}function vr(t,e){const i=arguments.length>=2;return n=>n.pipe(t?Re((r,o)=>t(r,o,n)):wi,et(1),i?ru(e):YD(()=>new nu))}function Po(t,e){return oe(e)?Ze(t,e,1):Ze(t,1)}function lt(t,e,i){const n=oe(t)||e||i?{next:t,error:e,complete:i}:t;return n?Be((r,o)=>{var s;null===(s=n.subscribe)||void 0===s||s.call(n);let a=!0;r.subscribe(Oe(o,l=>{var c;null===(c=n.next)||void 0===c||c.call(n,l),o.next(l)},()=>{var l;a=!1,null===(l=n.complete)||void 0===l||l.call(n),o.complete()},l=>{var c;a=!1,null===(c=n.error)||void 0===c||c.call(n,l),o.error(l)},()=>{var l,c;a&&(null===(l=n.unsubscribe)||void 0===l||l.call(n)),null===(c=n.finalize)||void 0===c||c.call(n)}))}):wi}function br(t){return Be((e,i)=>{let o,n=null,r=!1;n=e.subscribe(Oe(i,void 0,void 0,s=>{o=ut(t(s,br(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(i)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(i))})}function sm(t){return t<=0?()=>dn:Be((e,i)=>{let n=[];e.subscribe(Oe(i,r=>{n.push(r),t{for(const r of n)i.next(r);i.complete()},void 0,()=>{n=null}))})}function ZD(t){return se(()=>t)}function ga(t){return Be((e,i)=>{try{e.subscribe(i)}finally{i.add(t)}})}function Fi(t){return Be((e,i)=>{ut(t).subscribe(Oe(i,()=>i.complete(),sl)),!i.closed&&e.subscribe(i)})}const J="primary",_a=Symbol("RouteTitle");class YB{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){const i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}}function No(t){return new YB(t)}function ZB(t,e,i){const n=i.path.split("/");if(n.length>t.length||"full"===i.pathMatch&&(e.hasChildren()||n.lengthn[o]===r)}return t===e}function QD(t){return t.length>0?t[t.length-1]:null}function Li(t){return function PB(t){return!!t&&(t instanceof Te||oe(t.lift)&&oe(t.subscribe))}(t)?t:Ys(t)?Ke(Promise.resolve(t)):L(t)}const QB={exact:function eE(t,e,i){if(!yr(t.segments,e.segments)||!ou(t.segments,e.segments,i)||t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children)if(!t.children[n]||!eE(t.children[n],e.children[n],i))return!1;return!0},subset:tE},XD={exact:function XB(t,e){return Un(t,e)},subset:function JB(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>KD(t[i],e[i]))},ignored:()=>!0};function JD(t,e,i){return QB[i.paths](t.root,e.root,i.matrixParams)&&XD[i.queryParams](t.queryParams,e.queryParams)&&!("exact"===i.fragment&&t.fragment!==e.fragment)}function tE(t,e,i){return nE(t,e,e.segments,i)}function nE(t,e,i,n){if(t.segments.length>i.length){const r=t.segments.slice(0,i.length);return!(!yr(r,i)||e.hasChildren()||!ou(r,i,n))}if(t.segments.length===i.length){if(!yr(t.segments,i)||!ou(t.segments,i,n))return!1;for(const r in e.children)if(!t.children[r]||!tE(t.children[r],e.children[r],n))return!1;return!0}{const r=i.slice(0,t.segments.length),o=i.slice(t.segments.length);return!!(yr(t.segments,r)&&ou(t.segments,r,n)&&t.children[J])&&nE(t.children[J],e,o,n)}}function ou(t,e,i){return e.every((n,r)=>XD[i](t[r].parameters,n.parameters))}class Fo{constructor(e=new ye([],{}),i={},n=null){this.root=e,this.queryParams=i,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=No(this.queryParams)),this._queryParamMap}toString(){return nj.serialize(this)}}class ye{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return su(this)}}class va{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap||(this._parameterMap=No(this.parameters)),this._parameterMap}toString(){return oE(this)}}function yr(t,e){return t.length===e.length&&t.every((i,n)=>i.path===e[n].path)}let ba=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return new am},providedIn:"root"}),e})();class am{parse(e){const i=new fj(e);return new Fo(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){const i=`/${ya(e.root,!0)}`,n=function oj(t){const e=Object.keys(t).map(i=>{const n=t[i];return Array.isArray(n)?n.map(r=>`${au(i)}=${au(r)}`).join("&"):`${au(i)}=${au(n)}`}).filter(i=>!!i);return e.length?`?${e.join("&")}`:""}(e.queryParams);return`${i}${n}${"string"==typeof e.fragment?`#${function ij(t){return encodeURI(t)}(e.fragment)}`:""}`}}const nj=new am;function su(t){return t.segments.map(e=>oE(e)).join("/")}function ya(t,e){if(!t.hasChildren())return su(t);if(e){const i=t.children[J]?ya(t.children[J],!1):"",n=[];return Object.entries(t.children).forEach(([r,o])=>{r!==J&&n.push(`${r}:${ya(o,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}{const i=function tj(t,e){let i=[];return Object.entries(t.children).forEach(([n,r])=>{n===J&&(i=i.concat(e(r,n)))}),Object.entries(t.children).forEach(([n,r])=>{n!==J&&(i=i.concat(e(r,n)))}),i}(t,(n,r)=>r===J?[ya(t.children[J],!1)]:[`${r}:${ya(n,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[J]?`${su(t)}/${i[0]}`:`${su(t)}/(${i.join("//")})`}}function iE(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function au(t){return iE(t).replace(/%3B/gi,";")}function lm(t){return iE(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function lu(t){return decodeURIComponent(t)}function rE(t){return lu(t.replace(/\+/g,"%20"))}function oE(t){return`${lm(t.path)}${function rj(t){return Object.keys(t).map(e=>`;${lm(e)}=${lm(t[e])}`).join("")}(t.parameters)}`}const sj=/^[^\/()?;#]+/;function cm(t){const e=t.match(sj);return e?e[0]:""}const aj=/^[^\/()?;=#]+/,cj=/^[^=?&#]+/,dj=/^[^&#]+/;class fj{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ye([],{}):new ye([],this.parseChildren())}parseQueryParams(){const 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("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(n[J]=new ye(e,i)),n}parseSegment(){const e=cm(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new x(4009,!1);return this.capture(e),new va(lu(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const i=function lj(t){const e=t.match(aj);return e?e[0]:""}(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){const r=cm(this.remaining);r&&(n=r,this.capture(n))}e[lu(i)]=lu(n)}parseQueryParam(e){const i=function uj(t){const e=t.match(cj);return e?e[0]:""}(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){const s=function hj(t){const e=t.match(dj);return e?e[0]:""}(this.remaining);s&&(n=s,this.capture(n))}const r=rE(i),o=rE(n);if(e.hasOwnProperty(r)){let s=e[r];Array.isArray(s)||(s=[s],e[r]=s),s.push(o)}else e[r]=o}parseParens(e){const i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=cm(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new x(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=J);const s=this.parseChildren();i[o]=1===Object.keys(s).length?s[J]:new ye([],s),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new x(4011,!1)}}function sE(t){return t.segments.length>0?new ye([],{[J]:t}):t}function aE(t){const e={};for(const n of Object.keys(t.children)){const o=aE(t.children[n]);if(n===J&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}return function pj(t){if(1===t.numberOfChildren&&t.children[J]){const e=t.children[J];return new ye(t.segments.concat(e.segments),e.children)}return t}(new ye(t.segments,e))}function wr(t){return t instanceof Fo}function lE(t){let e;const r=sE(function i(o){const s={};for(const l of o.children){const c=i(l);s[l.outlet]=c}const a=new ye(o.url,s);return o===t&&(e=a),a}(t.root));return e??r}function cE(t,e,i,n){let r=t;for(;r.parent;)r=r.parent;if(0===e.length)return um(r,r,r,i,n);const o=function gj(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new dE(!0,0,t);let e=0,i=!1;const n=t.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?i=!0:".."===a?e++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new dE(i,e,n)}(e);if(o.toRoot())return um(r,r,new ye([],{}),i,n);const s=function _j(t,e,i){if(t.isAbsolute)return new uu(e,!0,0);if(!i)return new uu(e,!1,NaN);if(null===i.parent)return new uu(i,!0,0);const n=cu(t.commands[0])?0:1;return function vj(t,e,i){let n=t,r=e,o=i;for(;o>r;){if(o-=r,n=n.parent,!n)throw new x(4005,!1);r=n.segments.length}return new uu(n,!1,r-o)}(i,i.segments.length-1+n,t.numberOfDoubleDots)}(o,r,t),a=s.processChildren?Ca(s.segmentGroup,s.index,o.commands):hE(s.segmentGroup,s.index,o.commands);return um(r,s.segmentGroup,a,i,n)}function cu(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function wa(t){return"object"==typeof t&&null!=t&&t.outlets}function um(t,e,i,n,r){let s,o={};n&&Object.entries(n).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=t===e?i:uE(t,e,i);const a=sE(aE(s));return new Fo(a,o,r)}function uE(t,e,i){const n={};return Object.entries(t.children).forEach(([r,o])=>{n[r]=o===e?i:uE(o,e,i)}),new ye(t.segments,n)}class dE{constructor(e,i,n){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=n,e&&n.length>0&&cu(n[0]))throw new x(4003,!1);const r=n.find(wa);if(r&&r!==QD(n))throw new x(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class uu{constructor(e,i,n){this.segmentGroup=e,this.processChildren=i,this.index=n}}function hE(t,e,i){if(t||(t=new ye([],{})),0===t.segments.length&&t.hasChildren())return Ca(t,e,i);const n=function yj(t,e,i){let n=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=i.length)return o;const s=t.segments[r],a=i[n];if(wa(a))break;const l=`${a}`,c=n0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!pE(l,c,s))return o;n+=2}else{if(!pE(l,{},s))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(t,e,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndexo!==J)&&t.children[J]&&1===t.numberOfChildren&&0===t.children[J].segments.length){const o=Ca(t.children[J],e,i);return new ye(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=hE(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{void 0===n[o]&&(r[o]=s)}),new ye(t.segments,r)}}function dm(t,e,i){const n=t.segments.slice(0,e);let r=0;for(;r{"string"==typeof n&&(n=[n]),null!==n&&(e[i]=dm(new ye([],{}),0,n))}),e}function fE(t){const e={};return Object.entries(t).forEach(([i,n])=>e[i]=`${n}`),e}function pE(t,e,i){return t==i.path&&Un(e,i.parameters)}const Da="imperative";class $n{constructor(e,i){this.id=e,this.url=i}}class du extends $n{constructor(e,i,n="imperative",r=null){super(e,i),this.type=0,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Vi extends $n{constructor(e,i,n){super(e,i),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ea extends $n{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Lo extends $n{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=16}}class hu extends $n{constructor(e,i,n,r){super(e,i),this.error=n,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class mE extends $n{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Cj extends $n{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Dj extends $n{constructor(e,i,n,r,o){super(e,i),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ej extends $n{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xj extends $n{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Sj{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Mj{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Aj{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ij{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tj{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rj{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gE{constructor(e,i,n){this.routerEvent=e,this.position=i,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class hm{}class fm{constructor(e){this.url=e}}class Oj{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new xa,this.attachRef=null}}let xa=(()=>{var t;class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Oj,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();class _E{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){const i=pm(e,this._root);return i?i.children.map(n=>n.value):[]}firstChild(e){const i=pm(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){const i=mm(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return mm(e,this._root).map(i=>i.value)}}function pm(t,e){if(t===e.value)return e;for(const i of e.children){const n=pm(t,i);if(n)return n}return null}function mm(t,e){if(t===e.value)return[e];for(const i of e.children){const n=mm(t,i);if(n.length)return n.unshift(e),n}return[]}class mi{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}}function Vo(t){const e={};return t&&t.children.forEach(i=>e[i.value.outlet]=i),e}class vE extends _E{constructor(e,i){super(e),this.snapshot=i,gm(this,e)}toString(){return this.snapshot.toString()}}function bE(t,e){const i=function kj(t,e){const s=new fu([],{},{},"",{},J,e,null,{});return new wE("",new mi(s,[]))}(0,e),n=new xt([new va("",{})]),r=new xt({}),o=new xt({}),s=new xt({}),a=new xt(""),l=new Bo(n,r,s,a,o,J,e,i.root);return l.snapshot=i.root,new vE(new mi(l,[]),i)}class Bo{constructor(e,i,n,r,o,s,a,l){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(se(c=>c[_a]))??L(void 0),this.url=e,this.params=i,this.queryParams=n,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(se(e=>No(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(se(e=>No(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function yE(t,e="emptyOnly"){const i=t.pathFromRoot;let n=0;if("always"!==e)for(n=i.length-1;n>=1;){const r=i[n],o=i[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(o.component)break;n--}}return function Pj(t){return t.reduce((e,i)=>({params:{...e.params,...i.params},data:{...e.data,...i.data},resolve:{...i.data,...e.resolve,...i.routeConfig?.data,...i._resolvedData}}),{params:{},data:{},resolve:{}})}(i.slice(n))}class fu{get title(){return this.data?.[_a]}constructor(e,i,n,r,o,s,a,l,c){this.url=e,this.params=i,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=No(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=No(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class wE extends _E{constructor(e,i){super(i),this.url=e,gm(this,i)}toString(){return CE(this._root)}}function gm(t,e){e.value._routerState=t,e.children.forEach(i=>gm(t,i))}function CE(t){const e=t.children.length>0?` { ${t.children.map(CE).join(", ")} } `:"";return`${t.value}${e}`}function _m(t){if(t.snapshot){const e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,Un(e.queryParams,i.queryParams)||t.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&t.fragmentSubject.next(i.fragment),Un(e.params,i.params)||t.paramsSubject.next(i.params),function KB(t,e){if(t.length!==e.length)return!1;for(let i=0;iUn(i.parameters,e[n].parameters))}(t.url,e.url);return i&&!(!t.parent!=!e.parent)&&(!t.parent||vm(t.parent,e.parent))}let bm=(()=>{var t;class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=J,this.activateEvents=new re,this.deactivateEvents=new re,this.attachEvents=new re,this.detachEvents=new re,this.parentContexts=T(xa),this.location=T(Pt),this.changeDetector=T(sn),this.environmentInjector=T($t),this.inputBinder=T(pu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new x(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new x(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new x(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new x(4013,!1);this._activatedRoute=n;const o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new Nj(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[It]}),e})();class Nj{constructor(e,i,n){this.route=e,this.childContexts=i,this.parent=n}get(e,i){return e===Bo?this.route:e===xa?this.childContexts:this.parent.get(e,i)}}const pu=new M("");let DE=(()=>{var t;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){const{activatedRoute:r}=n,o=tu([r.queryParams,r.params,r.data]).pipe(Vt(([s,a,l],c)=>(l={...s,...a,...l},0===c?L(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const a=function pL(t){const e=le(t);if(!e)return null;const i=new $s(e);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}(r.component);if(a)for(const{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();function Sa(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){const n=i.value;n._futureSnapshot=e.value;const r=function Lj(t,e,i){return e.children.map(n=>{for(const r of i.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return Sa(t,n,r);return Sa(t,n)})}(t,e,i);return new mi(n,r)}{if(t.shouldAttach(e.value)){const o=t.retrieve(e.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Sa(t,a)),s}}const n=function Vj(t){return new Bo(new xt(t.url),new xt(t.params),new xt(t.queryParams),new xt(t.fragment),new xt(t.data),t.outlet,t.component,t)}(e.value),r=e.children.map(o=>Sa(t,o));return new mi(n,r)}}const ym="ngNavigationCancelingError";function EE(t,e){const{redirectTo:i,navigationBehaviorOptions:n}=wr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=xE(!1,0,e);return r.url=i,r.navigationBehaviorOptions=n,r}function xE(t,e,i){const n=new Error("NavigationCancelingError: "+(t||""));return n[ym]=!0,n.cancellationCode=e,i&&(n.url=i),n}function SE(t){return t&&t[ym]}let ME=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["ng-component"]],standalone:!0,features:[Tc],decls:1,vars:0,template:function(n,r){1&n&&I(0,"router-outlet")},dependencies:[bm],encapsulation:2}),e})();function wm(t){const e=t.children&&t.children.map(wm),i=e?{...t,children:e}:{...t};return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==J&&(i.component=ME),i}function Dn(t){return t.outlet||J}function Ma(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){const i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}class qj{constructor(e,i,n,r,o){this.routeReuseStrategy=e,this.futureState=i,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(e){const i=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,n,e),_m(this.futureState.root),this.activateChildRoutes(i,n,e)}deactivateChildRoutes(e,i,n){const r=Vo(i);e.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],n),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,i,n){const r=e.value,o=i?i.value:null;if(r===o)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,i,s.children)}else this.deactivateChildRoutes(e,i,n);else o&&this.deactivateRouteAndItsChildren(i,n)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){const n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Vo(e);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(n&&n.outlet){const s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,i){const n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Vo(e);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,i,n){const r=Vo(i);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new Rj(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Ij(e.value.snapshot))}activateRoutes(e,i,n){const r=e.value,o=i?i.value:null;if(_m(r),r===o)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,s.children)}else this.activateChildRoutes(e,i,n);else if(r.component){const s=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.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),_m(a.route.value),this.activateChildRoutes(e,null,s.children)}else{const a=Ma(r.snapshot);s.attachRef=null,s.route=r,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}}class AE{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class mu{constructor(e,i){this.component=e,this.route=i}}function Wj(t,e,i){const n=t._root;return Aa(n,e?e._root:null,i,[n.value])}function jo(t,e){const i=Symbol(),n=e.get(t,i);return n===i?"function"!=typeof t||function NA(t){return null!==dl(t)}(t)?e.get(t):t:n}function Aa(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Vo(e);return t.children.forEach(s=>{(function Zj(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=e?e.value:null,a=i?i.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function Kj(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!yr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!yr(t.url,e.url)||!Un(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vm(t,e)||!Un(t.queryParams,e.queryParams);default:return!vm(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new AE(n)):(o.data=s.data,o._resolvedData=s._resolvedData),Aa(t,e,o.component?a?a.children:null:i,n,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new mu(a.outlet.component,s))}else s&&Ia(e,a,r),r.canActivateChecks.push(new AE(n)),Aa(t,null,o.component?a?a.children:null:i,n,r)})(s,o[s.value.outlet],i,n.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ia(a,i.getContext(s),r)),r}function Ia(t,e,i){const n=Vo(t),r=t.value;Object.entries(n).forEach(([o,s])=>{Ia(s,r.component?e?e.children.getContext(o):null:e,i)}),i.canDeactivateChecks.push(new mu(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}function Ta(t){return"function"==typeof t}function IE(t){return t instanceof nu||"EmptyError"===t?.name}const gu=Symbol("INITIAL_VALUE");function Ho(){return Vt(t=>tu(t.map(e=>e.pipe(et(1),pi(gu)))).pipe(se(e=>{for(const i of e)if(!0!==i){if(i===gu)return gu;if(!1===i||i instanceof Fo)return i}return!0}),Re(e=>e!==gu),et(1)))}function TE(t){return function j1(...t){return l_(t)}(lt(e=>{if(wr(e))throw EE(0,e)}),se(e=>!0===e))}class _u{constructor(e){this.segmentGroup=e||null}}class RE{constructor(e){this.urlTree=e}}function Uo(t){return ma(new _u(t))}function OE(t){return ma(new RE(t))}class _3{constructor(e,i){this.urlSerializer=e,this.urlTree=i}noMatchError(e){return new x(4002,!1)}lineralizeSegments(e,i){let n=[],r=i.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return L(n);if(r.numberOfChildren>1||!r.children[J])return ma(new x(4e3,!1));r=r.children[J]}}applyRedirectCommands(e,i,n){return this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,n)}applyRedirectCreateUrlTree(e,i,n,r){const o=this.createSegmentGroup(e,i.root,n,r);return new Fo(o,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){const n={};return Object.entries(e).forEach(([r,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);n[r]=i[a]}else n[r]=o}),n}createSegmentGroup(e,i,n,r){const o=this.createSegments(e,i.segments,n,r);let s={};return Object.entries(i.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,r)}),new ye(o,s)}createSegments(e,i,n,r){return i.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,r):this.findOrReturn(o,n))}findPosParam(e,i,n){const r=n[i.path.substring(1)];if(!r)throw new x(4001,!1);return r}findOrReturn(e,i){let n=0;for(const r of i){if(r.path===e.path)return i.splice(n),r;n++}return e}}const Cm={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function v3(t,e,i,n,r){const o=Dm(t,e,i);return o.matched?(n=function jj(t,e){return t.providers&&!t._injector&&(t._injector=Qf(t.providers,e,`Route: ${t.path}`)),t._injector??e}(e,n),function p3(t,e,i,n){const r=e.canMatch;return r&&0!==r.length?L(r.map(s=>{const a=jo(s,t);return Li(function n3(t){return t&&Ta(t.canMatch)}(a)?a.canMatch(e,i):t.runInContext(()=>a(e,i)))})).pipe(Ho(),TE()):L(!0)}(n,e,i).pipe(se(s=>!0===s?o:{...Cm}))):L(o)}function Dm(t,e,i){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||i.length>0)?{...Cm}:{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};const r=(e.matcher||ZB)(i,t,e);if(!r)return{...Cm};const o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function kE(t,e,i,n){return i.length>0&&function w3(t,e,i){return i.some(n=>vu(t,e,n)&&Dn(n)!==J)}(t,i,n)?{segmentGroup:new ye(e,y3(n,new ye(i,t.children))),slicedSegments:[]}:0===i.length&&function C3(t,e,i){return i.some(n=>vu(t,e,n))}(t,i,n)?{segmentGroup:new ye(t.segments,b3(t,0,i,n,t.children)),slicedSegments:i}:{segmentGroup:new ye(t.segments,t.children),slicedSegments:i}}function b3(t,e,i,n,r){const o={};for(const s of n)if(vu(t,i,s)&&!r[Dn(s)]){const a=new ye([],{});o[Dn(s)]=a}return{...r,...o}}function y3(t,e){const i={};i[J]=e;for(const n of t)if(""===n.path&&Dn(n)!==J){const r=new ye([],{});i[Dn(n)]=r}return i}function vu(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path}class S3{constructor(e,i,n,r,o,s,a){this.injector=e,this.configLoader=i,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new _3(this.urlSerializer,this.urlTree)}noMatchError(e){return new x(4002,!1)}recognize(){const e=kE(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,e,J).pipe(br(i=>{if(i instanceof RE)return this.allowRedirects=!1,this.urlTree=i.urlTree,this.match(i.urlTree);throw i instanceof _u?this.noMatchError(i):i}),se(i=>{const n=new fu([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},J,this.rootComponentType,null,{}),r=new mi(n,i),o=new wE("",r),s=function mj(t,e,i=null,n=null){return cE(lE(t),e,i,n)}(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e.root,J).pipe(br(n=>{throw n instanceof _u?this.noMatchError(n):n}))}inheritParamsAndData(e){const i=e.value,n=yE(i,this.paramsInheritanceStrategy);i.params=Object.freeze(n.params),i.data=Object.freeze(n.data),e.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(e,i,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(e,i,n):this.processSegment(e,i,n,n.segments,r,!0)}processChildren(e,i,n){const r=[];for(const o of Object.keys(n.children))"primary"===o?r.unshift(o):r.push(o);return Ke(r).pipe(Po(o=>{const s=n.children[o],a=function zj(t,e){const i=t.filter(n=>Dn(n)===e);return i.push(...t.filter(n=>Dn(n)!==e)),i}(i,o);return this.processSegmentGroup(e,a,s,o)}),function qB(t,e){return Be(function GB(t,e,i,n,r){return(o,s)=>{let a=i,l=e,c=0;o.subscribe(Oe(s,u=>{const d=c++;l=a?t(l,u,d):(a=!0,u),n&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}(t,e,arguments.length>=2,!0))}((o,s)=>(o.push(...s),o)),ru(null),function WB(t,e){const i=arguments.length>=2;return n=>n.pipe(t?Re((r,o)=>t(r,o,n)):wi,sm(1),i?ru(e):YD(()=>new nu))}(),Ze(o=>{if(null===o)return Uo(n);const s=PE(o);return function M3(t){t.sort((e,i)=>e.value.outlet===J?-1:i.value.outlet===J?1:e.value.outlet.localeCompare(i.value.outlet))}(s),L(s)}))}processSegment(e,i,n,r,o,s){return Ke(i).pipe(Po(a=>this.processSegmentAgainstRoute(a._injector??e,i,a,n,r,o,s).pipe(br(l=>{if(l instanceof _u)return L(null);throw l}))),vr(a=>!!a),br(a=>{if(IE(a))return function E3(t,e,i){return 0===e.length&&!t.children[i]}(n,r,o)?L([]):Uo(n);throw a}))}processSegmentAgainstRoute(e,i,n,r,o,s,a){return function D3(t,e,i,n){return!!(Dn(t)===n||n!==J&&vu(e,i,t))&&("**"===t.path||Dm(e,t,i).matched)}(n,r,o,s)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(e,r,n,o,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,n,o,s):Uo(r):Uo(r)}expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,i,n,r){const o=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?OE(o):this.applyRedirects.lineralizeSegments(n,o).pipe(Ze(s=>{const a=new ye(s,{});return this.processSegment(e,i,a,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=Dm(i,r,o);if(!a)return Uo(i);const d=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?OE(d):this.applyRedirects.lineralizeSegments(r,d).pipe(Ze(h=>this.processSegment(e,n,i,h.concat(c),s,!1)))}matchSegmentAgainstRoute(e,i,n,r,o,s){let a;if("**"===n.path){const l=r.length>0?QD(r).parameters:{};a=L({snapshot:new fu(r,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,NE(n),Dn(n),n.component??n._loadedComponent??null,n,FE(n)),consumedSegments:[],remainingSegments:[]}),i.children={}}else a=v3(i,n,r,e).pipe(se(({matched:l,consumedSegments:c,remainingSegments:u,parameters:d})=>l?{snapshot:new fu(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,NE(n),Dn(n),n.component??n._loadedComponent??null,n,FE(n)),consumedSegments:c,remainingSegments:u}:null));return a.pipe(Vt(l=>null===l?Uo(i):this.getChildConfig(e=n._injector??e,n,r).pipe(Vt(({routes:c})=>{const u=n._loadedInjector??e,{snapshot:d,consumedSegments:h,remainingSegments:f}=l,{segmentGroup:p,slicedSegments:v}=kE(i,h,f,c);if(0===v.length&&p.hasChildren())return this.processChildren(u,c,p).pipe(se(E=>null===E?null:[new mi(d,E)]));if(0===c.length&&0===v.length)return L([new mi(d,[])]);const b=Dn(n)===o;return this.processSegment(u,c,p,v,b?J:o,!0).pipe(se(E=>[new mi(d,E)]))}))))}getChildConfig(e,i,n){return i.children?L({routes:i.children,injector:e}):i.loadChildren?void 0!==i._loadedRoutes?L({routes:i._loadedRoutes,injector:i._loadedInjector}):function f3(t,e,i,n){const r=e.canLoad;return void 0===r||0===r.length?L(!0):L(r.map(s=>{const a=jo(s,t);return Li(function Xj(t){return t&&Ta(t.canLoad)}(a)?a.canLoad(e,i):t.runInContext(()=>a(e,i)))})).pipe(Ho(),TE())}(e,i,n).pipe(Ze(r=>r?this.configLoader.loadChildren(e,i).pipe(lt(o=>{i._loadedRoutes=o.routes,i._loadedInjector=o.injector})):function g3(t){return ma(xE(!1,3))}())):L({routes:[],injector:e})}}function A3(t){const e=t.value.routeConfig;return e&&""===e.path}function PE(t){const e=[],i=new Set;for(const n of t){if(!A3(n)){e.push(n);continue}const r=e.find(o=>n.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...n.children),i.add(r)):e.push(n)}for(const n of i){const r=PE(n.children);e.push(new mi(n.value,r))}return e.filter(n=>!i.has(n))}function NE(t){return t.data||{}}function FE(t){return t.resolve||{}}function LE(t){return"string"==typeof t.title||null===t.title}function Em(t){return Vt(e=>{const i=t(e);return i?Ke(i).pipe(se(()=>e)):L(e)})}const $o=new M("ROUTES");let xm=(()=>{var t;class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=T(mC)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return L(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=Li(n.loadComponent()).pipe(se(VE),lt(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),ga(()=>{this.componentLoaders.delete(n)})),o=new WD(r,()=>new q).pipe(om());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return L({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const s=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(se(l=>{this.onLoadEndListener&&this.onLoadEndListener(r);let c,u;return Array.isArray(l)?u=l:(c=l.create(n).injector,u=c.get($o,[],te.Self|te.Optional).flat()),{routes:u.map(wm),injector:c}}),ga(()=>{this.childrenLoaders.delete(r)})),a=new WD(s,()=>new q).pipe(om());return this.childrenLoaders.set(r,a),a}loadModuleFactoryOrRoutes(n){return Li(n()).pipe(se(VE),Ze(r=>r instanceof xw||Array.isArray(r)?L(r):Ke(this.compiler.compileModuleAsync(r))))}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function VE(t){return function N3(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let bu=(()=>{var t;class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new q,this.transitionAbortSubject=new q,this.configLoader=T(xm),this.environmentInjector=T($t),this.urlSerializer=T(ba),this.rootContexts=T(xa),this.inputBindingEnabled=null!==T(pu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>L(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new Mj(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new Sj(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n,r,o){return this.transitions=new xt({id:0,currentUrlTree:r,currentRawUrl:r,currentBrowserUrl:r,extractedUrl:n.urlHandlingStrategy.extract(r),urlAfterRedirects:n.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Da,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Re(s=>0!==s.id),se(s=>({...s,extractedUrl:n.urlHandlingStrategy.extract(s.rawUrl)})),Vt(s=>{this.currentTransition=s;let a=!1,l=!1;return L(s).pipe(lt(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Vt(c=>{const u=c.currentBrowserUrl.toString(),d=!n.navigated||c.extractedUrl.toString()!==u||u!==c.currentUrlTree.toString();if(!d&&"reload"!==(c.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const f="";return this.events.next(new Lo(c.id,this.urlSerializer.serialize(c.rawUrl),f,0)),c.resolve(null),dn}if(n.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return L(c).pipe(Vt(f=>{const p=this.transitions?.getValue();return this.events.next(new du(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),p!==this.transitions?.getValue()?dn:Promise.resolve(f)}),function I3(t,e,i,n,r,o){return Ze(s=>function x3(t,e,i,n,r,o,s="emptyOnly"){return new S3(t,e,i,n,r,s,o).recognize()}(t,e,i,n,s.extractedUrl,r,o).pipe(se(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),lt(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:f.urlAfterRedirects};const p=new mE(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(p)}));if(d&&n.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){const{id:f,extractedUrl:p,source:v,restoredState:b,extras:E}=c,y=new du(f,this.urlSerializer.serialize(p),v,b);this.events.next(y);const O=bE(0,this.rootComponentType).snapshot;return this.currentTransition=s={...c,targetSnapshot:O,urlAfterRedirects:p,extras:{...E,skipLocationChange:!1,replaceUrl:!1}},L(s)}{const f="";return this.events.next(new Lo(c.id,this.urlSerializer.serialize(c.extractedUrl),f,1)),c.resolve(null),dn}}),lt(c=>{const u=new Cj(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),se(c=>(this.currentTransition=s={...c,guards:Wj(c.targetSnapshot,c.currentSnapshot,this.rootContexts)},s)),function o3(t,e){return Ze(i=>{const{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=i;return 0===s.length&&0===o.length?L({...i,guardsResult:!0}):function s3(t,e,i,n){return Ke(t).pipe(Ze(r=>function h3(t,e,i,n,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?L(o.map(a=>{const l=Ma(e)??r,c=jo(a,l);return Li(function t3(t){return t&&Ta(t.canDeactivate)}(c)?c.canDeactivate(t,e,i,n):l.runInContext(()=>c(t,e,i,n))).pipe(vr())})).pipe(Ho()):L(!0)}(r.component,r.route,i,e,n)),vr(r=>!0!==r,!0))}(s,n,r,t).pipe(Ze(a=>a&&function Qj(t){return"boolean"==typeof t}(a)?function a3(t,e,i,n){return Ke(e).pipe(Po(r=>pa(function c3(t,e){return null!==t&&e&&e(new Aj(t)),L(!0)}(r.route.parent,n),function l3(t,e){return null!==t&&e&&e(new Tj(t)),L(!0)}(r.route,n),function d3(t,e,i){const n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>function Yj(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(s)).filter(s=>null!==s).map(s=>iu(()=>L(s.guards.map(l=>{const c=Ma(s.node)??i,u=jo(l,c);return Li(function e3(t){return t&&Ta(t.canActivateChild)}(u)?u.canActivateChild(n,t):c.runInContext(()=>u(n,t))).pipe(vr())})).pipe(Ho())));return L(o).pipe(Ho())}(t,r.path,i),function u3(t,e,i){const n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||0===n.length)return L(!0);const r=n.map(o=>iu(()=>{const s=Ma(e)??i,a=jo(o,s);return Li(function Jj(t){return t&&Ta(t.canActivate)}(a)?a.canActivate(e,t):s.runInContext(()=>a(e,t))).pipe(vr())}));return L(r).pipe(Ho())}(t,r.route,i))),vr(r=>!0!==r,!0))}(n,o,t,e):L(a)),se(a=>({...i,guardsResult:a})))})}(this.environmentInjector,c=>this.events.next(c)),lt(c=>{if(s.guardsResult=c.guardsResult,wr(c.guardsResult))throw EE(0,c.guardsResult);const u=new Dj(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),Re(c=>!!c.guardsResult||(this.cancelNavigationTransition(c,"",3),!1)),Em(c=>{if(c.guards.canActivateChecks.length)return L(c).pipe(lt(u=>{const d=new Ej(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),Vt(u=>{let d=!1;return L(u).pipe(function T3(t,e){return Ze(i=>{const{targetSnapshot:n,guards:{canActivateChecks:r}}=i;if(!r.length)return L(i);let o=0;return Ke(r).pipe(Po(s=>function R3(t,e,i,n){const r=t.routeConfig,o=t._resolve;return void 0!==r?.title&&!LE(r)&&(o[_a]=r.title),function O3(t,e,i,n){const r=function k3(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===r.length)return L({});const o={};return Ke(r).pipe(Ze(s=>function P3(t,e,i,n){const r=Ma(e)??n,o=jo(t,r);return Li(o.resolve?o.resolve(e,i):r.runInContext(()=>o(e,i)))}(t[s],e,i,n).pipe(vr(),lt(a=>{o[s]=a}))),sm(1),ZD(o),br(s=>IE(s)?dn:ma(s)))}(o,t,e,n).pipe(se(s=>(t._resolvedData=s,t.data=yE(t,i).resolve,r&&LE(r)&&(t.data[_a]=r.title),null)))}(s.route,n,t,e)),lt(()=>o++),sm(1),Ze(s=>o===r.length?L(i):dn))})}(n.paramsInheritanceStrategy,this.environmentInjector),lt({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",2)}}))}),lt(u=>{const d=new xj(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),Em(c=>{const u=d=>{const h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(lt(f=>{d.component=f}),se(()=>{})));for(const f of d.children)h.push(...u(f));return h};return tu(u(c.targetSnapshot.root)).pipe(ru(),et(1))}),Em(()=>this.afterPreactivation()),se(c=>{const u=function Fj(t,e,i){const n=Sa(t,e._root,i?i._root:void 0);return new vE(n,e)}(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s={...c,targetRouterState:u},s}),lt(()=>{this.events.next(new hm)}),((t,e,i,n)=>se(r=>(new qj(e,r.targetRouterState,r.currentRouterState,i,n).activate(t),r)))(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),et(1),lt({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Vi(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),n.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Fi(this.transitionAbortSubject.pipe(lt(c=>{throw c}))),ga(()=>{a||l||this.cancelNavigationTransition(s,"",1),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),br(c=>{if(l=!0,SE(c))this.events.next(new Ea(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),function Bj(t){return SE(t)&&wr(t.url)}(c)?this.events.next(new fm(c.url)):s.resolve(!1);else{this.events.next(new hu(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(u){s.reject(u)}}return dn}))}))}cancelNavigationTransition(n,r,o){const s=new Ea(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(s),n.resolve(!1)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function BE(t){return t!==Da}let jE=(()=>{var t;class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(s=>s.outlet===J);return r}getResolvedTitleForRoute(n){return n.data[_a]}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return T(F3)},providedIn:"root"}),e})(),F3=(()=>{var t;class e extends jE{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(jD))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),L3=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return T(B3)},providedIn:"root"}),e})();class V3{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}}let B3=(()=>{var t;class e extends V3{}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();const yu=new M("",{providedIn:"root",factory:()=>({})});let j3=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:function(){return T(H3)},providedIn:"root"}),e})(),H3=(()=>{var t;class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();var Ra=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ra||{});function HE(t,e){t.events.pipe(Re(i=>i instanceof Vi||i instanceof Ea||i instanceof hu||i instanceof Lo),se(i=>i instanceof Vi||i instanceof Lo?Ra.COMPLETE:i instanceof Ea&&(0===i.code||1===i.code)?Ra.REDIRECTING:Ra.FAILED),Re(i=>i!==Ra.REDIRECTING),et(1)).subscribe(()=>{e()})}function U3(t){throw t}function $3(t,e,i){return e.parse("/")}const z3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},G3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let nt=(()=>{var t;class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=T(pC),this.isNgZoneEnabled=!1,this._events=new q,this.options=T(yu,{optional:!0})||{},this.pendingTasks=T(Pc),this.errorHandler=this.options.errorHandler||U3,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||$3,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=T(j3),this.routeReuseStrategy=T(L3),this.titleStrategy=T(jE),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=T($o,{optional:!0})?.flat()??[],this.navigationTransitions=T(bu),this.urlSerializer=T(ba),this.location=T(ca),this.componentInputBindingEnabled=!!T(pu,{optional:!0}),this.eventsSubscription=new Pe,this.isNgZoneEnabled=T(G)instanceof G&&G.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Fo,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=bE(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const{currentTransition:o}=this.navigationTransitions;if(null===o)return void(UE(r)&&this._events.next(r));if(r instanceof du)BE(o.source)&&(this.browserUrlTree=o.extractedUrl);else if(r instanceof Lo)this.rawUrlTree=o.rawUrl;else if(r instanceof mE){if("eager"===this.urlUpdateStrategy){if(!o.extras.skipLocationChange){const s=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl);this.setBrowserUrl(s,o)}this.browserUrlTree=o.urlAfterRedirects}}else if(r instanceof hm)this.currentUrlTree=o.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),this.routerState=o.targetRouterState,"deferred"===this.urlUpdateStrategy&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o),this.browserUrlTree=o.urlAfterRedirects);else if(r instanceof Ea)0!==r.code&&1!==r.code&&(this.navigated=!0),(3===r.code||2===r.code)&&this.restoreHistory(o);else if(r instanceof fm){const s=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),a={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||BE(o.source)};this.scheduleNavigation(s,Da,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}r instanceof hu&&this.restoreHistory(o,!0),r instanceof Vi&&(this.navigated=!0),UE(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Da,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,r,n.state)},0)}))}navigateToSyncWithBrowser(n,r,o){const s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){const c={...o};delete c.navigationId,delete c.\u0275routerPageId,0!==Object.keys(c).length&&(s.state=c)}const l=this.parseUrl(n);this.scheduleNavigation(l,r,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(wm),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){const{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:a;let h,d=null;switch(l){case"merge":d={...this.currentUrlTree.queryParams,...s};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}null!==d&&(d=this.removeEmptyProps(d));try{h=lE(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),h=this.currentUrlTree.root}return cE(h,n,d,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=wr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Da,null,r)}navigate(n,r={skipLocationChange:!1}){return function q3(t){for(let e=0;e{const s=n[o];return null!=s&&(r[o]=s),r},{})}scheduleNavigation(n,r,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,u;a?(l=a.resolve,c=a.reject,u=a.promise):u=new Promise((h,f)=>{l=h,c=f});const d=this.pendingTasks.add();return HE(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:n,extras:s,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(h=>Promise.reject(h))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const a={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",a)}else{const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",s)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-this.browserPageId;0!==s?this.location.historyGo(s):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===s&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function UE(t){return!(t instanceof hm||t instanceof fm)}let Bi=(()=>{var t;class e{constructor(n,r,o,s,a,l){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new q,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===c||"area"===c,this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Vi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,s,a){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||r||o||s||a||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function Hb(t,e,i){return function BR(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?jb:Os}(e,i)(t)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){const o=this.renderer,s=this.el.nativeElement;null!==r?o.setAttribute(s,n,r):o.removeAttribute(s,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(nt),_(Bo),Cs("tabindex"),_(oi),_(ve),_(gr))},t.\u0275dir=N({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,r){1&n&&B("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&n&&qe("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Ro],skipLocationChange:["skipLocationChange","skipLocationChange",Ro],replaceUrl:["replaceUrl","replaceUrl",Ro],routerLink:"routerLink"},standalone:!0,features:[Gy,It]}),e})(),Sm=(()=>{var t;class e{get isActive(){return this._isActive}constructor(n,r,o,s,a){this.router=n,this.element=r,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new re,this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof Vi&&this.update()})}ngAfterContentInit(){L(this.links.changes,L(null)).pipe(Nr()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Ke(n).pipe(Nr()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){const r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){const r=function W3(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>!!o.urlTree&&n.isActive(o.urlTree,r)}hasActiveLinks(){const n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(nt),_(ve),_(oi),_(sn),_(Bi,8))},t.\u0275dir=N({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&pr(o,Bi,5),2&n){let s;rn(s=on())&&(r.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[It]}),e})();class $E{}let Y3=(()=>{var t;class e{constructor(n,r,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Re(n=>n instanceof Vi),Po(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const s of r){s.providers&&!s._injector&&(s._injector=Qf(s.providers,n,`Route: ${s.path}`));const a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return Ke(o).pipe(Nr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):L(null);const s=o.pipe(Ze(a=>null===a?L(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));return r.loadComponent&&!r._loadedComponent?Ke([s,this.loader.loadComponent(r)]).pipe(Nr()):s})}}return(t=e).\u0275fac=function(n){return new(n||t)(w(nt),w(mC),w($t),w($E),w(xm))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();const Mm=new M("");let zE=(()=>{var t;class e{constructor(n,r,o,s,a={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof du?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Vi?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Lo&&0===n.code&&(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 gE&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new gE(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(t=e).\u0275fac=function(n){hc()},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();function gi(t,e){return{\u0275kind:t,\u0275providers:e}}function qE(){const t=T(Fe);return e=>{const i=t.get(ki);if(e!==i.components[0])return;const n=t.get(nt),r=t.get(WE);1===t.get(Am)&&n.initialNavigation(),t.get(YE,null,te.Optional)?.setUpPreloading(),t.get(Mm,null,te.Optional)?.init(),n.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const WE=new M("",{factory:()=>new q}),Am=new M("",{providedIn:"root",factory:()=>1}),YE=new M("");function X3(t){return gi(0,[{provide:YE,useExisting:Y3},{provide:$E,useExisting:t}])}const ZE=new M("ROUTER_FORROOT_GUARD"),e5=[ca,{provide:ba,useClass:am},nt,xa,{provide:Bo,useFactory:function GE(t){return t.routerState.root},deps:[nt]},xm,[]];function t5(){return new MC("Router",nt)}let zo=(()=>{var t;class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[e5,[],{provide:$o,multi:!0,useValue:n},{provide:ZE,useFactory:s5,deps:[[nt,new Ll,new Vl]]},{provide:yu,useValue:r||{}},r?.useHash?{provide:gr,useClass:bL}:{provide:gr,useClass:nD},{provide:Mm,useFactory:()=>{const t=T(NV),e=T(G),i=T(yu),n=T(bu),r=T(ba);return i.scrollOffset&&t.setOffset(i.scrollOffset),new zE(r,n,t,e,i)}},r?.preloadingStrategy?X3(r.preloadingStrategy).\u0275providers:[],{provide:MC,multi:!0,useFactory:t5},r?.initialNavigation?a5(r):[],r?.bindToComponentInputs?gi(8,[DE,{provide:pu,useExisting:DE}]).\u0275providers:[],[{provide:KE,useFactory:qE},{provide:Cp,multi:!0,useExisting:KE}]]}}static forChild(n){return{ngModule:e,providers:[{provide:$o,multi:!0,useValue:n}]}}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ZE,8))},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();function s5(t){return"guarded"}function a5(t){return["disabled"===t.initialNavigation?gi(3,[{provide:hp,multi:!0,useFactory:()=>{const e=T(nt);return()=>{e.setUpLocationChangeListener()}}},{provide:Am,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?gi(2,[{provide:Am,useValue:0},{provide:hp,multi:!0,deps:[Fe],useFactory:e=>{const i=e.get(_L,Promise.resolve());return()=>i.then(()=>new Promise(n=>{const r=e.get(nt),o=e.get(WE);HE(r,()=>{n(!0)}),e.get(bu).afterPreactivation=()=>(n(!0),o.closed?L(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const KE=new M("");class wu{}class Cu{}class zn{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?"string"==typeof e?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach(i=>{const n=i.indexOf(":");if(n>0){const r=i.slice(0,n),o=r.toLowerCase(),s=i.slice(n+1).trim();this.maybeSetNormalizedName(r,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((i,n)=>{this.setHeaderEntries(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof zn?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(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){const i=new zn;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof zn?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){const i=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,i);const r=("a"===e.op?this.headers.get(i):void 0)||[];r.push(...n),this.headers.set(i,r);break;case"d":const o=e.value;if(o){let s=this.headers.get(i);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,s)}else this.headers.delete(i),this.normalizedNames.delete(i)}}setHeaderEntries(e,i){const n=(Array.isArray(i)?i:[i]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}}class c5{encodeKey(e){return QE(e)}encodeValue(e){return QE(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const d5=/%(\d[a-f0-9])/gi,h5={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function QE(t){return encodeURIComponent(t).replace(d5,(e,i)=>h5[i]??e)}function Du(t){return`${t}`}class ji{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new c5,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function u5(t,e){const i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=i.get(s)||[];l.push(a),i.set(s,l)}),i}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(i=>{const n=e.fromObject[i],r=Array.isArray(n)?n.map(Du):[Du(n)];this.map.set(i,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const i=this.map.get(e);return i?i[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,i){return this.clone({param:e,value:i,op:"a"})}appendAll(e){const i=[];return Object.keys(e).forEach(n=>{const r=e[n];Array.isArray(r)?r.forEach(o=>{i.push({param:n,value:o,op:"a"})}):i.push({param:n,value:r,op:"a"})}),this.clone(i)}set(e,i){return this.clone({param:e,value:i,op:"s"})}delete(e,i){return this.clone({param:e,value:i,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const i=this.encoder.encodeKey(e);return this.map.get(e).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const i=new ji({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(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":const i=("a"===e.op?this.map.get(e.param):void 0)||[];i.push(Du(e.value)),this.map.set(e.param,i);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let n=this.map.get(e.param)||[];const r=n.indexOf(Du(e.value));-1!==r&&n.splice(r,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class f5{constructor(){this.map=new Map}set(e,i){return this.map.set(e,i),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 XE(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function JE(t){return typeof Blob<"u"&&t instanceof Blob}function ex(t){return typeof FormData<"u"&&t instanceof FormData}class Oa{constructor(e,i,n,r){let o;if(this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function p5(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):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.headers||(this.headers=new zn),this.context||(this.context=new f5),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=i;else{const a=i.indexOf("?");this.urlWithParams=i+(-1===a?"?":ad.set(h,e.setHeaders[h]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((d,h)=>d.set(h,e.setParams[h]),c)),new Oa(i,n,o,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:s})}}var Go=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}(Go||{});class Im{constructor(e,i=200,n="OK"){this.headers=e.headers||new zn,this.status=void 0!==e.status?e.status:i,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class Tm extends Im{constructor(e={}){super(e),this.type=Go.ResponseHeader}clone(e={}){return new Tm({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class qo extends Im{constructor(e={}){super(e),this.type=Go.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new qo({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class tx extends Im{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function Rm(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}}let Eu=(()=>{var t;class e{constructor(n){this.handler=n}request(n,r,o={}){let s;if(n instanceof Oa)s=n;else{let c,u;c=o.headers instanceof zn?o.headers:new zn(o.headers),o.params&&(u=o.params instanceof ji?o.params:new ji({fromObject:o.params})),s=new Oa(n,r,void 0!==o.body?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const a=L(s).pipe(Po(c=>this.handler.handle(c)));if(n instanceof Oa||"events"===o.observe)return a;const l=a.pipe(Re(c=>c instanceof qo));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(se(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(se(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(se(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return l.pipe(se(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new ji).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Rm(o,r))}post(n,r,o={}){return this.request("POST",n,Rm(o,r))}put(n,r,o={}){return this.request("PUT",n,Rm(o,r))}}return(t=e).\u0275fac=function(n){return new(n||t)(w(wu))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();function rx(t,e){return e(t)}function _5(t,e){return(i,n)=>e.intercept(i,{handle:r=>t(r,n)})}const b5=new M(""),ka=new M(""),ox=new M("");function y5(){let t=null;return(e,i)=>{null===t&&(t=(T(b5,{optional:!0})??[]).reduceRight(_5,rx));const n=T(Pc),r=n.add();return t(e,i).pipe(ga(()=>n.remove(r)))}}let sx=(()=>{var t;class e extends wu{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=T(Pc)}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(ka),...this.injector.get(ox,[])]));this.chain=o.reduceRight((s,a)=>function v5(t,e,i){return(n,r)=>i.runInContext(()=>e(n,o=>t(o,r)))}(s,a,this.injector),rx)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(ga(()=>this.pendingTasks.remove(r)))}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Cu),w($t))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();const E5=/^\)\]\}',?\n/;let lx=(()=>{var t;class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new x(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Ke(r.\u0275loadImpl()):L(null)).pipe(Vt(()=>new Te(s=>{const a=r.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((b,E)=>a.setRequestHeader(b,E.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const b=n.detectContentTypeHeader();null!==b&&a.setRequestHeader("Content-Type",b)}if(n.responseType){const b=n.responseType.toLowerCase();a.responseType="json"!==b?b:"text"}const l=n.serializeBody();let c=null;const u=()=>{if(null!==c)return c;const b=a.statusText||"OK",E=new zn(a.getAllResponseHeaders()),y=function x5(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(a)||n.url;return c=new Tm({headers:E,status:a.status,statusText:b,url:y}),c},d=()=>{let{headers:b,status:E,statusText:y,url:O}=u(),R=null;204!==E&&(R=typeof a.response>"u"?a.responseText:a.response),0===E&&(E=R?200:0);let $=E>=200&&E<300;if("json"===n.responseType&&"string"==typeof R){const Ce=R;R=R.replace(E5,"");try{R=""!==R?JSON.parse(R):null}catch(we){R=Ce,$&&($=!1,R={error:we,text:R})}}$?(s.next(new qo({body:R,headers:b,status:E,statusText:y,url:O||void 0})),s.complete()):s.error(new tx({error:R,headers:b,status:E,statusText:y,url:O||void 0}))},h=b=>{const{url:E}=u(),y=new tx({error:b,status:a.status||0,statusText:a.statusText||"Unknown Error",url:E||void 0});s.error(y)};let f=!1;const p=b=>{f||(s.next(u()),f=!0);let E={type:Go.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),"text"===n.responseType&&a.responseText&&(E.partialText=a.responseText),s.next(E)},v=b=>{let E={type:Go.UploadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),s.next(E)};return a.addEventListener("load",d),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),n.reportProgress&&(a.addEventListener("progress",p),null!==l&&a.upload&&a.upload.addEventListener("progress",v)),a.send(l),s.next({type:Go.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",d),a.removeEventListener("timeout",h),n.reportProgress&&(a.removeEventListener("progress",p),null!==l&&a.upload&&a.upload.removeEventListener("progress",v)),a.readyState!==a.DONE&&a.abort()}})))}}return(t=e).\u0275fac=function(n){return new(n||t)(w(CD))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();const Om=new M("XSRF_ENABLED"),cx=new M("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ux=new M("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class dx{}let A5=(()=>{var t;class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=hD(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne),w(Ti),w(cx))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();function I5(t,e){const i=t.url.toLowerCase();if(!T(Om)||"GET"===t.method||"HEAD"===t.method||i.startsWith("http://")||i.startsWith("https://"))return e(t);const n=T(dx).getToken(),r=T(ux);return null!=n&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),e(t)}var Hi=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Hi||{});function Cr(t,e){return{\u0275kind:t,\u0275providers:e}}function T5(...t){const e=[Eu,lx,sx,{provide:wu,useExisting:sx},{provide:Cu,useExisting:lx},{provide:ka,useValue:I5,multi:!0},{provide:Om,useValue:!0},{provide:dx,useClass:A5}];for(const i of t)e.push(...i.\u0275providers);return function qh(t){return{\u0275providers:t}}(e)}const hx=new M("LEGACY_INTERCEPTOR_FN");let km,fx=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[T5(Cr(Hi.LegacyInterceptors,[{provide:hx,useFactory:y5},{provide:ka,useExisting:hx,multi:!0}]))]}),e})(),Ui=(()=>{var t;class e{constructor(n){this._http=n,this.baseUrl="http://api.fijo.site"}validateUserLogin(n){return this._http.post(`${this.baseUrl}/api/auth/login`,n)}registerUser(n){return this._http.post(`${this.baseUrl}/api/auth/register`,n)}storeDataSession(n){const r=new Date;r.setDate(r.getDate()+1),localStorage.setItem("user",JSON.stringify(n)),localStorage.setItem("logged","true"),localStorage.setItem("session_expire",r.toISOString().slice(0,19).replace("T"," "))}isSessionExpired(){const n=localStorage.getItem("session_expire");return new Date>=new Date(n)}logout(){localStorage.removeItem("user"),localStorage.removeItem("logged"),localStorage.removeItem("session_expire")}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Eu))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();try{km=typeof Intl<"u"&&Intl.v8BreakIterator}catch{km=!1}let Pa,Dr,Pm,Ft=(()=>{var t;class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function PV(t){return t===yD}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!km)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ti))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function Na(t){return function L5(){if(null==Pa&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Pa=!0}))}finally{Pa=Pa||!1}return Pa}()?t:!!t.capture}function V5(){if(null==Dr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Dr=!1,Dr;if("scrollBehavior"in document.documentElement.style)Dr=!0;else{const t=Element.prototype.scrollTo;Dr=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return Dr}function Nm(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function $i(t){return t.composedPath?t.composedPath()[0]:t.target}function Fm(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Fa(t,...e){return e.length?e.some(i=>t[i]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class t4 extends Pe{constructor(e,i){super()}schedule(e,i=0){return this}}const Mu={setInterval(t,e,...i){const{delegate:n}=Mu;return n?.setInterval?n.setInterval(t,e,...i):setInterval(t,e,...i)},clearInterval(t){const{delegate:e}=Mu;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};class jm extends t4{constructor(e,i){super(e,i),this.scheduler=e,this.work=i,this.pending=!1}schedule(e,i=0){var n;if(this.closed)return this;this.state=e;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,i)),this.pending=!0,this.delay=i,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(o,this.id,i),this}requestAsyncId(e,i,n=0){return Mu.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,i,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return i;null!=i&&Mu.clearInterval(i)}execute(e,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,i);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,i){let r,n=!1;try{this.work(e)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:e,scheduler:i}=this,{actions:n}=i;this.work=this.state=this.scheduler=null,this.pending=!1,Pr(n,this),null!=e&&(this.id=this.recycleAsyncId(i,e,null)),this.delay=null,super.unsubscribe()}}}const bx={now:()=>(bx.delegate||Date).now(),delegate:void 0};class La{constructor(e,i=La.now){this.schedulerActionCtor=e,this.now=i}schedule(e,i=0,n){return new this.schedulerActionCtor(this,e).schedule(n,i)}}La.now=bx.now;class Hm extends La{constructor(e,i=La.now){super(e,i),this.actions=[],this._active=!1}flush(e){const{actions:i}=this;if(this._active)return void i.push(e);let n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=i.shift());if(this._active=!1,n){for(;e=i.shift();)e.unsubscribe();throw n}}}const Au=new Hm(jm),n4=Au;function yx(t,e=Au){return Be((i,n)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,n.next(c)}};function l(){const c=s+t,u=e.now();if(u{o=c,s=e.now(),r||(r=e.schedule(l,t),n.add(r))},()=>{a(),n.complete()},void 0,()=>{o=r=null}))})}function wx(t){return Re((e,i)=>t<=i)}function En(t){return null!=t&&"false"!=`${t}`}function Um(t,e=0){return function i4(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function Iu(t){return Array.isArray(t)?t:[t]}function Ye(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Yo(t){return t instanceof ve?t.nativeElement:t}let r4=(()=>{var t;class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),o4=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[r4]}),e})();const Cx=new Set;let Er,Dx=(()=>{var t;class e{constructor(n,r){this._platform=n,this._nonce=r,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):a4}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&function s4(t,e){if(!Cx.has(t))try{Er||(Er=document.createElement("style"),e&&(Er.nonce=e),Er.setAttribute("type","text/css"),document.head.appendChild(Er)),Er.sheet&&(Er.sheet.insertRule(`@media ${t} {body{ }}`,0),Cx.add(t))}catch(i){console.error(i)}}(n,this._nonce),this._matchMedia(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ft),w(Jh,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function a4(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Tu=(()=>{var t;class e{constructor(n,r){this._mediaMatcher=n,this._zone=r,this._queries=new Map,this._destroySubject=new q}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Ex(Iu(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let s=tu(Ex(Iu(n)).map(a=>this._registerQuery(a).observable));return s=pa(s.pipe(et(1)),s.pipe(wx(1),yx(0))),s.pipe(se(a=>{const l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:u})=>{l.matches=l.matches||c,l.breakpoints[u]=c}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);const r=this._mediaMatcher.matchMedia(n),s={observable:new Te(a=>{const l=c=>this._zone.run(()=>a.next(c));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(pi(r),se(({matches:a})=>({query:n,matches:a})),Fi(this._destroySubject)),mql:r};return this._queries.set(n,s),s}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Dx),w(G))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function Ex(t){return t.map(e=>e.split(",")).reduce((e,i)=>e.concat(i)).map(e=>e.trim())}class d4{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new q,this._typeaheadSubscription=Pe.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=i=>i.disabled,this._pressedLetters=[],this.tabOut=new q,this.change=new q,e instanceof fr&&(this._itemChangesSubscription=e.changes.subscribe(i=>{if(this._activeItem){const r=i.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(lt(i=>this._pressedLetters.push(i)),yx(e),Re(()=>this._pressedLetters.length>0),se(()=>this._pressedLetters.join(""))).subscribe(i=>{const n=this._getItemsArray();for(let r=1;r!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(i){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&i<=90||i>=48&&i<=57)&&this._letterKeyStream.next(String.fromCharCode(i))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const i=this._getItemsArray(),n="number"==typeof e?e:i.indexOf(e);this._activeItem=i[n]??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const i=this._getItemsArray();for(let n=1;n<=i.length;n++){const r=(this._activeItemIndex+e*n+i.length)%i.length;if(!this._skipPredicateFn(i[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,i){const n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=i])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof fr?this._items.toArray():this._items}}class Mx extends d4{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let Ru=(()=>{var t;class e{constructor(n){this._platform=n}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return function f4(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(n)&&"visible"===getComputedStyle(n).visibility}isTabbable(n){if(!this._platform.isBrowser)return!1;const r=function h4(t){try{return t.frameElement}catch{return null}}(function w4(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(n));if(r&&(-1===Ix(r)||!this.isVisible(r)))return!1;let o=n.nodeName.toLowerCase(),s=Ix(n);return n.hasAttribute("contenteditable")?-1!==s:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function b4(t){let e=t.nodeName.toLowerCase(),i="input"===e&&t.type;return"text"===i||"password"===i||"select"===e||"textarea"===e}(n))&&("audio"===o?!!n.hasAttribute("controls")&&-1!==s:"video"===o?-1!==s&&(null!==s||this._platform.FIREFOX||n.hasAttribute("controls")):n.tabIndex>=0)}isFocusable(n,r){return function y4(t){return!function m4(t){return function _4(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function p4(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function g4(t){return function v4(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||Ax(t))}(n)&&!this.isDisabled(n)&&(r?.ignoreVisibility||this.isVisible(n))}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ft))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function Ax(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return!(!e||isNaN(parseInt(e,10)))}function Ix(t){if(!Ax(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class C4{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,i,n,r,o=!1){this._element=e,this._checker=i,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){const e=this._startAnchor,i=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),i&&(i.removeEventListener("focus",this.endAnchorListener),i.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){const i=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return"start"==e?i.length?i[0]:this._getFirstTabbableElement(this._element):i.length?i[i.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){const i=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(i){if(!this._checker.isFocusable(i)){const n=this._getFirstTabbableElement(i);return n?.focus(e),!!n}return i.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){const i=this._getRegionBoundary("start");return i&&i.focus(e),!!i}focusLastTabbableElement(e){const i=this._getRegionBoundary("end");return i&&i.focus(e),!!i}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;const i=e.children;for(let n=0;n=0;n--){const r=i[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(i[n]):null;if(r)return r}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,i){e?i.setAttribute("tabindex","0"):i.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(et(1)).subscribe(e)}}let $m=(()=>{var t;class e{constructor(n,r,o){this._checker=n,this._ngZone=r,this._document=o}create(n,r=!1){return new C4(n,this._checker,this._ngZone,this._document,r)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ru),w(G),w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function zm(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function Gm(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}const D4=new M("cdk-input-modality-detector-options"),E4={ignoreKeys:[18,17,224,91,16]},Zo=Na({passive:!0,capture:!0});let x4=(()=>{var t;class e{get mostRecentModality(){return this._modality.value}constructor(n,r,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new xt(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=$i(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(zm(a)?"keyboard":"mouse"),this._mostRecentTarget=$i(a))},this._onTouchstart=a=>{Gm(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=$i(a))},this._options={...E4,...s},this.modalityDetected=this._modality.pipe(wx(1)),this.modalityChanged=this.modalityDetected.pipe(Fd()),n.isBrowser&&r.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Zo),o.addEventListener("mousedown",this._onMousedown,Zo),o.addEventListener("touchstart",this._onTouchstart,Zo)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Zo),document.removeEventListener("mousedown",this._onMousedown,Zo),document.removeEventListener("touchstart",this._onTouchstart,Zo))}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ft),w(G),w(ne),w(D4,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();const S4=new M("liveAnnouncerElement",{providedIn:"root",factory:function M4(){return null}}),A4=new M("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let I4=0,Rx=(()=>{var t;class e{constructor(n,r,o,s){this._ngZone=r,this._defaultOptions=s,this._document=o,this._liveElement=n||this._createLiveElement()}announce(n,...r){const o=this._defaultOptions;let s,a;return 1===r.length&&"number"==typeof r[0]?a=r[0]:[s,a]=r,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),null==a&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=n,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{var t;class e{constructor(n,r,o,s,a){this._ngZone=n,this._platform=r,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new q,this._rootNodeFocusAndBlurListener=l=>{for(let u=$i(l);u;u=u.parentElement)"focus"===l.type?this._onFocus(l,u):this._onBlur(l,u)},this._document=s,this._detectionMode=a?.detectionMode||0}monitor(n,r=!1){const o=Yo(n);if(!this._platform.isBrowser||1!==o.nodeType)return L();const s=function j5(t){if(function B5(){if(null==Pm){const t=typeof document<"u"?document.head:null;Pm=!(!t||!t.createShadowRoot&&!t.attachShadow)}return Pm}()){const e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return r&&(a.checkChildren=!0),a.subject;const l={checkChildren:r,subject:new q,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(n){const r=Yo(n),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(n,r,o){const s=Yo(n);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,r,c)):(this._setOrigin(r),"function"==typeof s.focus&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return 1===this._detectionMode||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,r){n.classList.toggle("cdk-focused",!!r),n.classList.toggle("cdk-touch-focused","touch"===r),n.classList.toggle("cdk-keyboard-focused","keyboard"===r),n.classList.toggle("cdk-mouse-focused","mouse"===r),n.classList.toggle("cdk-program-focused","program"===r)}_setOrigin(n,r=!1){this._ngZone.runOutsideAngular(()=>{this._origin=n,this._originFromTouchInteraction="touch"===n&&r,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(n,r){const o=this._elementInfo.get(r),s=$i(n);!o||!o.checkChildren&&r!==s||this._originChanged(r,this._getFocusOrigin(s),o)}_onBlur(n,r){const o=this._elementInfo.get(r);!o||o.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(n,r){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(r))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;const r=n.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ou),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ou)}),this._rootNodeFocusListenerCount.set(r,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Fi(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){const r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){const o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ou),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ou),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,r,o){this._setClasses(n,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(n){const r=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&r.push([s,o])}),r}_isLastInteractionFromInputLabel(n){const{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!r||r===n||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName||n.disabled)return!1;const s=n.labels;if(s)for(let a=0;a{var t;class e{constructor(n,r){this._platform=n,this._document=r,this._breakpointSubscription=T(Tu).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);const r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const n=this._document.body.classList;n.remove(qm,Ox,kx),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();1===r?n.add(qm,Ox):2===r&&n.add(qm,kx)}}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ft),w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),R4=(()=>{var t;class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Px))},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[o4]}),e})();const O4=new M("cdk-dir-doc",{providedIn:"root",factory:function k4(){return T(ne)}}),P4=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ku=(()=>{var t;class e{constructor(n){this.value="ltr",this.change=new re,n&&(this.value=function N4(t){const e=t?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&navigator?.language?P4.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return(t=e).\u0275fac=function(n){return new(n||t)(w(O4,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),Va=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();const L4=new M("mat-sanity-checks",{providedIn:"root",factory:function F4(){return!0}});let xn=(()=>{var t;class e{constructor(n,r,o){this._sanityChecks=r,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return!Fm()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[n])}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Px),w(L4,8),w(ne))},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Va,Va]}),e})();function Vx(t){return class extends t{get disabled(){return this._disabled}set disabled(e){this._disabled=En(e)}constructor(...e){super(...e),this._disabled=!1}}}function V4(t,e){return class extends t{get color(){return this._color}set color(i){const n=i||this.defaultColor;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...i){super(...i),this.defaultColor=e,this.color=e}}}function Bx(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=En(e)}constructor(...e){super(...e),this._disableRipple=!1}}}function B4(t,e=0){return class extends t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(i){this._tabIndex=null!=i?Um(i):this.defaultTabIndex}constructor(...i){super(...i),this._tabIndex=e,this.defaultTabIndex=e}}}class H4{constructor(e,i,n,r=!1){this._renderer=e,this.element=i,this.config=n,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const jx=Na({passive:!0,capture:!0});class U4{constructor(){this._events=new Map,this._delegateEventHandler=e=>{const i=$i(e);i&&this._events.get(e.type)?.forEach((n,r)=>{(r===i||r.contains(i))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,i,n,r){const o=this._events.get(i);if(o){const s=o.get(n);s?s.add(r):o.set(n,new Set([r]))}else this._events.set(i,new Map([[n,new Set([r])]])),e.runOutsideAngular(()=>{document.addEventListener(i,this._delegateEventHandler,jx)})}removeHandler(e,i,n){const r=this._events.get(e);if(!r)return;const o=r.get(i);o&&(o.delete(n),0===o.size&&r.delete(i),0===r.size&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,jx)))}}const Hx={enterDuration:225,exitDuration:150},Ux=Na({passive:!0,capture:!0}),$x=["mousedown","touchstart"],zx=["mouseup","mouseleave","touchend","touchcancel"];class ja{constructor(e,i,n,r){this._target=e,this._ngZone=i,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Yo(n))}fadeInRipple(e,i,n={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...Hx,...n.animation};n.centered&&(e=r.left+r.width/2,i=r.top+r.height/2);const s=n.radius||function z4(t,e,i){const n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),r=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+r*r)}(e,i,r),a=e-r.left,l=i-r.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-s+"px",u.style.top=l-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"px",null!=n.color&&(u.style.backgroundColor=n.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);const d=window.getComputedStyle(u),f=d.transitionDuration,p="none"===d.transitionProperty||"0s"===f||"0s, 0s"===f||0===r.width&&0===r.height,v=new H4(this,u,n,p);u.style.transform="scale3d(1, 1, 1)",v.state=0,n.persistent||(this._mostRecentTransientRipple=v);let b=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const E=()=>this._finishRippleTransition(v),y=()=>this._destroyRipple(v);u.addEventListener("transitionend",E),u.addEventListener("transitioncancel",y),b={onTransitionEnd:E,onTransitionCancel:y}}),this._activeRipples.set(v,b),(p||!c)&&this._finishRippleTransition(v),v}fadeOutRipple(e){if(2===e.state||3===e.state)return;const i=e.element,n={...Hx,...e.config.animation};i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){const i=Yo(e);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,$x.forEach(n=>{ja._eventManager.addHandler(this._ngZone,n,i,this)}))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{zx.forEach(i=>{this._triggerElement.addEventListener(i,this,Ux)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){0===e.state?this._startFadeOutTransition(e):2===e.state&&this._destroyRipple(e)}_startFadeOutTransition(e){const i=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=1,!n&&(!i||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){const i=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,null!==i&&(e.element.removeEventListener("transitionend",i.onTransitionEnd),e.element.removeEventListener("transitioncancel",i.onTransitionCancel)),e.element.remove()}_onMousedown(e){const i=zm(e),n=this._lastTouchStartEvent&&Date.now(){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const e=this._triggerElement;e&&($x.forEach(i=>ja._eventManager.removeHandler(i,e,this)),this._pointerUpEventsRegistered&&zx.forEach(i=>e.removeEventListener(i,this,Ux)))}}ja._eventManager=new U4;const Gx=new M("mat-ripple-global-options");let qx=(()=>{var t;class e{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,r,o,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new ja(this,r,n,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(n,r=0,o){return"number"==typeof n?this._rippleRenderer.fadeInRipple(n,r,{...this.rippleConfig,...o}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...n})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_(G),_(Ft),_(Gx,8),_(Nn,8))},t.\u0275dir=N({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,r){2&n&&Ot("mat-ripple-unbounded",r.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),e})(),Wx=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[xn,xn]}),e})();const Yx={capture:!0},Zx=["focus","click","mouseenter","touchstart"],Wm="mat-ripple-loader-uninitialized",Ym="mat-ripple-loader-class-name",Kx="mat-ripple-loader-centered",Pu="mat-ripple-loader-disabled";let G4=(()=>{var t;class e{constructor(){this._document=T(ne,{optional:!0}),this._animationMode=T(Nn,{optional:!0}),this._globalRippleOptions=T(Gx,{optional:!0}),this._platform=T(Ft),this._ngZone=T(G),this._onInteraction=n=>{if(!(n.target instanceof HTMLElement))return;const o=n.target.closest(`[${Wm}]`);o&&this.createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(const n of Zx)this._document?.addEventListener(n,this._onInteraction,Yx)})}ngOnDestroy(){for(const n of Zx)this._document?.removeEventListener(n,this._onInteraction,Yx)}configureRipple(n,r){n.setAttribute(Wm,""),(r.className||!n.hasAttribute(Ym))&&n.setAttribute(Ym,r.className||""),r.centered&&n.setAttribute(Kx,""),r.disabled&&n.setAttribute(Pu,"")}getRipple(n){return n.matRipple?n.matRipple:this.createRipple(n)}setDisabled(n,r){const o=n.matRipple;o?o.disabled=r:r?n.setAttribute(Pu,""):n.removeAttribute(Pu)}createRipple(n){if(!this._document)return;n.querySelector(".mat-ripple")?.remove();const r=this._document.createElement("span");r.classList.add("mat-ripple",n.getAttribute(Ym)),n.append(r);const o=new qx(new ve(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=n,o.centered=n.hasAttribute(Kx),o.disabled=n.hasAttribute(Pu),this.attachRipple(n,o),o}attachRipple(n,r){n.removeAttribute(Wm),n.matRipple=r}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();const q4=["mat-button",""],W4=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Y4=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Z4=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],K4=V4(Vx(Bx(class{constructor(t){this._elementRef=t}})));let Q4=(()=>{var t;class e extends K4{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(n){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,n)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=En(n),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=En(n),this._updateRippleDisabled()}constructor(n,r,o,s){super(n),this._platform=r,this._ngZone=o,this._animationMode=s,this._focusMonitor=T(xr),this._rippleLoader=T(G4),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const a=n.nativeElement.classList;for(const l of Z4)this._hasHostAttributes(l.selector)&&l.mdcClasses.forEach(c=>{a.add(c)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(n="program",r){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,r):this._elementRef.nativeElement.focus(r)}_hasHostAttributes(...n){return n.some(r=>this._elementRef.nativeElement.hasAttribute(r))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}}return(t=e).\u0275fac=function(n){hc()},t.\u0275dir=N({type:t,features:[X]}),e})(),Qx=(()=>{var t;class e extends Q4{constructor(n,r,o,s){super(n,r,o,s)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_(Ft),_(G),_(Nn,8))},t.\u0275cmp=fe({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(n,r){2&n&&(qe("disabled",r.disabled||null),Ot("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[X],attrs:q4,ngContentSelectors:Y4,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){1&n&&(Eo(W4),I(0,"span",0),Gt(1),m(2,"span",1),Gt(3,1),g(),Gt(4,2),I(5,"span",2)(6,"span",3)),2&n&&Ot("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),e})(),Xx=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[xn,Wx,xn]}),e})();class Jx{}class eH{}const _i="*";function Ko(t,e){return{type:7,name:t,definitions:e,options:{}}}function vi(t,e=null){return{type:4,styles:e,timings:t}}function tS(t,e=null){return{type:2,steps:t,options:e}}function it(t){return{type:6,styles:t,offset:null}}function Gn(t,e,i){return{type:0,name:t,styles:e,options:i}}function bi(t,e,i=null){return{type:1,expr:t,animation:e,options:i}}class Ha{constructor(e=0,i=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+i}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const i="start"==e?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}}class rS{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let i=0,n=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++i==o&&this._onFinish()}),s.onDestroy(()=>{++n==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const i=e*this.totalTime;this.players.forEach(n=>{const r=n.totalTime?Math.min(1,i/n.totalTime):1;n.setPosition(r)})}getPosition(){const e=this.players.reduce((i,n)=>null===i||n.totalTime>i.totalTime?n:i,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const i="start"==e?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}}class Km{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class Ua extends Km{constructor(e,i,n,r,o){super(),this.component=e,this.viewContainerRef=i,this.injector=n,this.componentFactoryResolver=r,this.projectableNodes=o}}class $a extends Km{constructor(e,i,n,r){super(),this.templateRef=e,this.viewContainerRef=i,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,i=this.context){return this.context=i,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class tH extends Km{constructor(e){super(),this.element=e instanceof ve?e.nativeElement:e}}class Nu{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof Ua?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof $a?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof tH?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class nH extends Nu{constructor(e,i,n,r,o){super(),this.outletElement=e,this._componentFactoryResolver=i,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){const n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(n,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=n.create(e.injector||this._defaultInjector||Fe.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=e,r}attachTemplatePortal(e){let i=e.viewContainerRef,n=i.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=i.indexOf(n);-1!==r&&i.remove(r)}),this._attachedPortal=e,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let Qo=(()=>{var t;class e extends Nu{constructor(n,r,o){super(),this._componentFactoryResolver=n,this._viewContainerRef=r,this._isInitialized=!1,this.attached=new re,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");s.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(n){this.hasAttached()&&!n&&!this._isInitialized||(this.hasAttached()&&super.detach(),n&&super.attach(n),this._attachedPortal=n||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(n){n.setAttachedHost(this);const r=null!=n.viewContainerRef?n.viewContainerRef:this._viewContainerRef,s=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),a=r.createComponent(s,r.length,n.injector||r.injector,n.projectableNodes||void 0);return r!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=n,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(n){n.setAttachedHost(this);const r=this._viewContainerRef.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=n,this._attachedRef=r,this.attached.emit(r),r}_getRootNode(){const n=this._viewContainerRef.element.nativeElement;return n.nodeType===n.ELEMENT_NODE?n:n.parentNode}}return(t=e).\u0275fac=function(n){return new(n||t)(_(lo),_(Pt),_(ne))},t.\u0275dir=N({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[X]}),e})(),Xo=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();const iH=["addListener","removeListener"],rH=["addEventListener","removeEventListener"],oH=["on","off"];function za(t,e,i,n){if(oe(i)&&(n=i,i=void 0),n)return za(t,e,i).pipe(rm(n));const[r,o]=function lH(t){return oe(t.addEventListener)&&oe(t.removeEventListener)}(t)?rH.map(s=>a=>t[s](e,a,i)):function sH(t){return oe(t.addListener)&&oe(t.removeListener)}(t)?iH.map(oS(t,e)):function aH(t){return oe(t.on)&&oe(t.off)}(t)?oH.map(oS(t,e)):[];if(!r&&kd(t))return Ze(s=>za(s,e,i))(ut(t));if(!r)throw new TypeError("Invalid event target");return new Te(s=>{const a=(...l)=>s.next(1o(a)})}function oS(t,e){return i=>n=>t[i](e,n)}const Ga={schedule(t){let e=requestAnimationFrame,i=cancelAnimationFrame;const{delegate:n}=Ga;n&&(e=n.requestAnimationFrame,i=n.cancelAnimationFrame);const r=e(o=>{i=void 0,t(o)});return new Pe(()=>i?.(r))},requestAnimationFrame(...t){const{delegate:e}=Ga;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:e}=Ga;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};new class uH extends Hm{flush(e){this._active=!0;const i=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===i&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===i&&n.shift();)e.unsubscribe();throw r}}}(class cH extends jm{constructor(e,i){super(e,i),this.scheduler=e,this.work=i}requestAsyncId(e,i,n=0){return null!==n&&n>0?super.requestAsyncId(e,i,n):(e.actions.push(this),e._scheduled||(e._scheduled=Ga.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,i,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,i,n);const{actions:o}=e;null!=i&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==i&&(Ga.cancelAnimationFrame(i),e._scheduled=void 0)}});let Qm,hH=1;const Fu={};function sS(t){return t in Fu&&(delete Fu[t],!0)}const fH={setImmediate(t){const e=hH++;return Fu[e]=!0,Qm||(Qm=Promise.resolve()),Qm.then(()=>sS(e)&&t()),e},clearImmediate(t){sS(t)}},{setImmediate:pH,clearImmediate:mH}=fH,Lu={setImmediate(...t){const{delegate:e}=Lu;return(e?.setImmediate||pH)(...t)},clearImmediate(t){const{delegate:e}=Lu;return(e?.clearImmediate||mH)(t)},delegate:void 0},Xm=new class _H extends Hm{flush(e){this._active=!0;const i=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===i&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===i&&n.shift();)e.unsubscribe();throw r}}}(class gH extends jm{constructor(e,i){super(e,i),this.scheduler=e,this.work=i}requestAsyncId(e,i,n=0){return null!==n&&n>0?super.requestAsyncId(e,i,n):(e.actions.push(this),e._scheduled||(e._scheduled=Lu.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,i,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,i,n);const{actions:o}=e;null!=i&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==i&&(Lu.clearImmediate(i),e._scheduled===i&&(e._scheduled=void 0))}});function aS(t=0,e,i=n4){let n=-1;return null!=e&&(x_(e)?i=e:n=e),new Te(r=>{let o=function bH(t){return t instanceof Date&&!isNaN(t)}(t)?+t-i.now():t;o<0&&(o=0);let s=0;return i.schedule(function(){r.closed||(r.next(s++),0<=n?this.schedule(void 0,n):r.complete())},o)})}function lS(t,e=Au){return function vH(t){return Be((e,i)=>{let n=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;const c=r;r=null,i.next(c)}s&&i.complete()},l=()=>{o=null,s&&i.complete()};e.subscribe(Oe(i,c=>{n=!0,r=c,o||ut(t(c)).subscribe(o=Oe(i,a,l))},()=>{s=!0,(!n||!o||o.closed)&&i.complete()}))})}(()=>aS(t,e))}let wH=(()=>{var t;class e{constructor(n,r,o){this._ngZone=n,this._platform=r,this._scrolled=new q,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new Te(r=>{this._globalSubscription||this._addGlobalListener();const o=n>0?this._scrolled.pipe(lS(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):L()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){const o=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(Re(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(n){const r=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,n)&&r.push(s)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,r){let o=Yo(r),s=n.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>za(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(G),w(Ft),w(ne,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),cS=(()=>{var t;class e{constructor(n,r,o){this._platform=n,this._change=new q,this._changeListener=s=>{this._change.next(s)},this._document=o,r.runOutsideAngular(()=>{if(n.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){const n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,r=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect();return{top:-s.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,left:-s.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(lS(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Ft),w(G),w(ne,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),Jm=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})(),uS=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Va,Jm,Va,Jm]}),e})();const dS=V5();class DH{constructor(e,i){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=i}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Ye(-this._previousScrollPosition.left),e.style.top=Ye(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,n=e.style,r=this._document.body.style,o=n.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),dS&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),dS&&(n.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const i=this._document.body,n=this._viewportRuler.getViewportSize();return i.scrollHeight>n.height||i.scrollWidth>n.width}}class EH{constructor(e,i,n,r){this._scrollDispatcher=e,this._ngZone=i,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0).pipe(Re(i=>!i||!this._overlayRef.overlayElement.contains(i.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const i=this._viewportRuler.getViewportScrollPosition().top;Math.abs(i-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class hS{enable(){}disable(){}attach(){}}function eg(t,e){return e.some(i=>t.bottomi.bottom||t.righti.right)}function fS(t,e){return e.some(i=>t.topi.bottom||t.lefti.right)}class xH{constructor(e,i,n,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const i=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();eg(i,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let SH=(()=>{var t;class e{constructor(n,r,o,s){this._scrollDispatcher=n,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new hS,this.close=a=>new EH(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new DH(this._viewportRuler,this._document),this.reposition=a=>new xH(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}}return(t=e).\u0275fac=function(n){return new(n||t)(w(wH),w(cS),w(G),w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();class Vu{constructor(e){if(this.scrollStrategy=new hS,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const i=Object.keys(e);for(const n of i)void 0!==e[n]&&(this[n]=e[n])}}}class MH{constructor(e,i){this.connectionPair=e,this.scrollableViewProperties=i}}let pS=(()=>{var t;class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){const r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),AH=(()=>{var t;class e extends pS{constructor(n,r){super(n),this._ngZone=r,this._keydownListener=o=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){const l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne),w(G,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),IH=(()=>{var t;class e extends pS{constructor(n,r,o){super(n),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=$i(s)},this._clickListener=s=>{const a=$i(s),l="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let u=c.length-1;u>-1;u--){const d=c[u];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(a)||d.overlayElement.contains(l))break;const h=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(s)):h.next(s)}}}add(n){if(super.add(n),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne),w(Ft),w(G,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),Bu=(()=>{var t;class e{constructor(n,r){this._platform=r,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const n="cdk-overlay-container";if(this._platform.isBrowser||Fm()){const o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let s=0;sthis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new q,this._outsidePointerEvents=new q,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const i=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(et(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof i?.onDestroy&&i.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),i}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config={...this._config,...e},this._updateElementSize()}setDirection(e){this._config={...this._config,direction:e},this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=Ye(this._config.width),e.height=Ye(this._config.height),e.minWidth=Ye(this._config.minWidth),e.minHeight=Ye(this._config.minHeight),e.maxWidth=Ye(this._config.maxWidth),e.maxHeight=Ye(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const e=this._backdropElement;if(e){if(this._animationsDisabled)return void this._disposeBackdrop(e);e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,i,n){const r=Iu(i||[]).filter(o=>!!o);r.length&&(n?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(Fi(Xi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const mS="cdk-overlay-connected-position-bounding-box",TH=/([A-Za-z%]+)$/;class RH{get positions(){return this._preferredPositions}constructor(e,i,n,r,o){this._viewportRuler=i,this._document=n,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new q,this._resizeSubscription=Pe.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._validatePositions(),e.hostElement.classList.add(mS),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._originRect,i=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,r,a),c=this._getOverlayPoint(l,i,a),u=this._getOverlayFit(c,i,n,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,n)?o.push({position:a,origin:l,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Sr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(mS),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const i=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,i)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,i,n){let r,o;if("center"==n.originX)r=e.left+e.width/2;else{const s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;r="start"==n.originX?s:a}return i.left<0&&(r-=i.left),o="center"==n.originY?e.top+e.height/2:"top"==n.originY?e.top:e.bottom,i.top<0&&(o-=i.top),{x:r,y:o}}_getOverlayPoint(e,i,n){let r,o;return r="center"==n.overlayX?-i.width/2:"start"===n.overlayX?this._isRtl()?-i.width:0:this._isRtl()?0:-i.width,o="center"==n.overlayY?-i.height/2:"top"==n.overlayY?0:-i.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,i,n,r){const o=_S(i);let{x:s,y:a}=e,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let h=0-a,f=a+o.height-n.height,p=this._subtractOverflows(o.width,0-s,s+o.width-n.width),v=this._subtractOverflows(o.height,h,f),b=p*v;return{visibleArea:b,isCompletelyWithinViewport:o.width*o.height===b,fitsInViewportVertically:v===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(e,i,n){if(this._hasFlexibleDimensions){const r=n.bottom-i.y,o=n.right-i.x,s=gS(this._overlayRef.getConfig().minHeight),a=gS(this._overlayRef.getConfig().minWidth);return(e.fitsInViewportVertically||null!=s&&s<=r)&&(e.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(e,i,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const r=_S(i),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),a=Math.max(e.y+r.height-o.height,0),l=Math.max(o.top-n.top-e.y,0),c=Math.max(o.left-n.left-e.x,0);let u=0,d=0;return u=r.width<=o.width?c||-s:e.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-p/2)}if("end"===i.overlayX&&!r||"start"===i.overlayX&&r)h=n.width-e.x+this._viewportMargin,u=e.x-this._viewportMargin;else if("start"===i.overlayX&&!r||"end"===i.overlayX&&r)d=e.x,u=n.right-e.x;else{const f=Math.min(n.right-e.x+n.left,e.x),p=this._lastBoundingBoxSize.width;u=2*f,d=e.x-f,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=e.x-p/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:o}}_setBoundingBoxStyles(e,i){const n=this._calculateBoundingBoxRect(e,i);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Ye(n.height),r.top=Ye(n.top),r.bottom=Ye(n.bottom),r.width=Ye(n.width),r.left=Ye(n.left),r.right=Ye(n.right),r.alignItems="center"===i.overlayX?"center":"end"===i.overlayX?"flex-end":"flex-start",r.justifyContent="center"===i.overlayY?"center":"bottom"===i.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Ye(o)),s&&(r.maxWidth=Ye(s))}this._lastBoundingBoxSize=n,Sr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Sr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Sr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,i){const n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();Sr(n,this._getExactOverlayY(i,e,u)),Sr(n,this._getExactOverlayX(i,e,u))}else n.position="static";let a="",l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),n.transform=a.trim(),s.maxHeight&&(r?n.maxHeight=Ye(s.maxHeight):o&&(n.maxHeight="")),s.maxWidth&&(r?n.maxWidth=Ye(s.maxWidth):o&&(n.maxWidth="")),Sr(this._pane.style,n)}_getExactOverlayY(e,i,n){let r={top:"",bottom:""},o=this._getOverlayPoint(i,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),"bottom"===e.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Ye(o.y),r}_getExactOverlayX(e,i,n){let s,r={left:"",right:""},o=this._getOverlayPoint(i,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),s=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Ye(o.x),r}_getScrollVisibility(){const e=this._getOriginRect(),i=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:fS(e,n),isOriginOutsideView:eg(e,n),isOverlayClipped:fS(i,n),isOverlayOutsideView:eg(i,n)}}_subtractOverflows(e,...i){return i.reduce((n,r)=>n-Math.max(r,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,i=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+i-this._viewportMargin,width:e-2*this._viewportMargin,height:i-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,i){return"x"===i?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Iu(e).forEach(i=>{""!==i&&-1===this._appliedPanelClasses.indexOf(i)&&(this._appliedPanelClasses.push(i),this._pane.classList.add(i))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof ve)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const i=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+i,height:n,width:i}}}function Sr(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function gS(t){if("number"!=typeof t&&null!=t){const[e,i]=t.split(TH);return i&&"px"!==i?null:parseFloat(e)}return t||null}function _S(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const vS="cdk-global-overlay-wrapper";class OH{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){const i=e.getConfig();this._overlayRef=e,this._width&&!i.width&&e.updateSize({width:this._width}),this._height&&!i.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(vS),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=n,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",v="";l?v="flex-start":"center"===u?(v="center",h?p=d:f=d):h?"left"===u||"end"===u?(v="flex-end",f=d):("right"===u||"start"===u)&&(v="flex-start",p=d):"left"===u||"start"===u?(v="flex-start",f=d):("right"===u||"end"===u)&&(v="flex-end",p=d),e.position=this._cssPosition,e.marginLeft=l?"0":f,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":p,i.justifyContent=v,i.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement,n=i.style;i.classList.remove(vS),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let kH=(()=>{var t;class e{constructor(n,r,o,s){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=s}global(){return new OH}flexibleConnectedTo(n){return new RH(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(cS),w(ne),w(Ft),w(Bu))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),PH=0,qn=(()=>{var t;class e{constructor(n,r,o,s,a,l,c,u,d,h,f,p){this.scrollStrategies=n,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=u,this._directionality=d,this._location=h,this._outsideClickDispatcher=f,this._animationsModuleType=p}create(n){const r=this._createHostElement(),o=this._createPaneElement(r),s=this._createPortalOutlet(o),a=new Vu(n);return a.direction=a.direction||this._directionality.value,new qa(s,r,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(n){const r=this._document.createElement("div");return r.id="cdk-overlay-"+PH++,r.classList.add("cdk-overlay-pane"),n.appendChild(r),r}_createHostElement(){const n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(ki)),new nH(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(SH),w(Bu),w(lo),w(kH),w(AH),w(Fe),w(G),w(ne),w(ku),w(ca),w(IH),w(Nn,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();const LH={provide:new M("cdk-connected-overlay-scroll-strategy"),deps:[qn],useFactory:function FH(t){return()=>t.scrollStrategies.reposition()}};let ju=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[qn,LH],imports:[Va,Xo,uS,uS]}),e})();function VH(t,e){if(1&t){const i=Do();m(0,"div",2)(1,"button",3),B("click",function(){return ei(i),ti(Le().action())}),C(2),g()()}if(2&t){const i=Le();D(2),Ee(" ",i.data.action," ")}}const BH=["label"];function jH(t,e){}const HH=Math.pow(2,31)-1;class tg{constructor(e,i){this._overlayRef=i,this._afterDismissed=new q,this._afterOpened=new q,this._onAction=new q,this._dismissedByAction=!1,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,HH))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const bS=new M("MatSnackBarData");class Hu{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let UH=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),e})(),$H=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),e})(),zH=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),e})(),GH=(()=>{var t;class e{constructor(n,r){this.snackBarRef=n,this.data=r}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return(t=e).\u0275fac=function(n){return new(n||t)(_(tg),_(bS))},t.\u0275cmp=fe({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,r){1&n&&(m(0,"div",0),C(1),g(),Q(2,VH,3,1,"div",1)),2&n&&(D(1),Ee(" ",r.data.message,"\n"),D(1),k("ngIf",r.hasAction))},dependencies:[yn,Qx,UH,$H,zH],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),e})();const qH={snackBarState:Ko("state",[Gn("void, hidden",it({transform:"scale(0.8)",opacity:0})),Gn("visible",it({transform:"scale(1)",opacity:1})),bi("* => visible",vi("150ms cubic-bezier(0, 0, 0.2, 1)")),bi("* => void, * => hidden",vi("75ms cubic-bezier(0.4, 0.0, 1, 1)",it({opacity:0})))])};let WH=0,YH=(()=>{var t;class e extends Nu{constructor(n,r,o,s,a){super(),this._ngZone=n,this._elementRef=r,this._changeDetectorRef=o,this._platform=s,this.snackBarConfig=a,this._document=T(ne),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new q,this._onExit=new q,this._onEnter=new q,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+WH++,this.attachDomPortal=l=>{this._assertNotAttached();const c=this._portalOutlet.attachDomPortal(l);return this._afterPortalAttached(),c},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(n){this._assertNotAttached();const r=this._portalOutlet.attachComponentPortal(n);return this._afterPortalAttached(),r}attachTemplatePortal(n){this._assertNotAttached();const r=this._portalOutlet.attachTemplatePortal(n);return this._afterPortalAttached(),r}onAnimationEnd(n){const{fromState:r,toState:o}=n;if(("void"===o&&"void"!==r||"hidden"===o)&&this._completeExit(),"visible"===o){const s=this._onEnter;this._ngZone.run(()=>{s.next(),s.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(et(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const n=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(o=>n.classList.add(o)):n.classList.add(r)),this._exposeToModals()}_exposeToModals(){const n=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{const r=n.getAttribute("aria-owns");if(r){const o=r.replace(this._liveElementId,"").trim();o.length>0?n.setAttribute("aria-owns",o):n.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const n=this._elementRef.nativeElement.querySelector("[aria-hidden]"),r=this._elementRef.nativeElement.querySelector("[aria-live]");if(n&&r){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&n.contains(document.activeElement)&&(o=document.activeElement),n.removeAttribute("aria-hidden"),r.appendChild(n),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(G),_(ve),_(sn),_(Ft),_(Hu))},t.\u0275dir=N({type:t,viewQuery:function(n,r){if(1&n&&Ao(Qo,7),2&n){let o;rn(o=on())&&(r._portalOutlet=o.first)}},features:[X]}),e})(),ZH=(()=>{var t;class e extends YH{_afterPortalAttached(){super._afterPortalAttached();const n=this._label.nativeElement,r="mdc-snackbar__label";n.classList.toggle(r,!n.querySelector(`.${r}`))}}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275cmp=fe({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(n,r){if(1&n&&Ao(BH,7),2&n){let o;rn(o=on())&&(r._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(n,r){1&n&&Nf("@state.done",function(s){return r.onAnimationEnd(s)}),2&n&&Uf("@state",r._animationState)},features:[X],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1,2)(3,"div",3),Q(4,jH,0,0,"ng-template",4),g(),I(5,"div"),g()()),2&n&&(D(5),qe("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[Qo],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;--mdc-snackbar-container-shape:4px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[qH.snackBarState]}}),e})(),yS=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[ju,Xo,Cn,Xx,xn,xn]}),e})();const wS=new M("mat-snack-bar-default-options",{providedIn:"root",factory:function KH(){return new Hu}});let QH=(()=>{var t;class e{get _openedSnackBarRef(){const n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}constructor(n,r,o,s,a,l){this._overlay=n,this._live=r,this._injector=o,this._breakpointObserver=s,this._parentSnackBar=a,this._defaultConfig=l,this._snackBarRefAtThisLevel=null}openFromComponent(n,r){return this._attach(n,r)}openFromTemplate(n,r){return this._attach(n,r)}open(n,r="",o){const s={...this._defaultConfig,...o};return s.data={message:n,action:r},s.announcementMessage===n&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(n,r){const s=Fe.create({parent:r&&r.viewContainerRef&&r.viewContainerRef.injector||this._injector,providers:[{provide:Hu,useValue:r}]}),a=new Ua(this.snackBarContainerComponent,r.viewContainerRef,s),l=n.attach(a);return l.instance.snackBarConfig=r,l.instance}_attach(n,r){const o={...new Hu,...this._defaultConfig,...r},s=this._createOverlay(o),a=this._attachSnackBarContainer(s,o),l=new tg(a,s);if(n instanceof Wt){const c=new $a(n,null,{$implicit:o.data,snackBarRef:l});l.instance=a.attachTemplatePortal(c)}else{const c=this._createInjector(o,l),u=new Ua(n,void 0,c),d=a.attachComponentPortal(u);l.instance=d.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Fi(s.detachments())).subscribe(c=>{s.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),o.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(l,o),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(n,r){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),r.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter(),r.duration&&r.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(r.duration))}_createOverlay(n){const r=new Vu;r.direction=n.direction;let o=this._overlay.position().global();const s="rtl"===n.direction,a="left"===n.horizontalPosition||"start"===n.horizontalPosition&&!s||"end"===n.horizontalPosition&&s,l=!a&&"center"!==n.horizontalPosition;return a?o.left("0"):l?o.right("0"):o.centerHorizontally(),"top"===n.verticalPosition?o.top("0"):o.bottom("0"),r.positionStrategy=o,this._overlay.create(r)}_createInjector(n,r){return Fe.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:tg,useValue:r},{provide:bS,useValue:n.data}]})}}return(t=e).\u0275fac=function(n){return new(n||t)(w(qn),w(Rx),w(Fe),w(Tu),w(t,12),w(wS))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})(),ng=(()=>{var t;class e extends QH{constructor(n,r,o,s,a,l){super(n,r,o,s,a,l),this.simpleSnackBarComponent=GH,this.snackBarContainerComponent=ZH,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return(t=e).\u0275fac=function(n){return new(n||t)(w(qn),w(Rx),w(Fe),w(Tu),w(t,12),w(wS))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:yS}),e})(),CS=(()=>{var t;class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(oi),_(ve))},t.\u0275dir=N({type:t}),e})(),Mr=(()=>{var t;class e extends CS{}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275dir=N({type:t,features:[X]}),e})();const Wn=new M("NgValueAccessor"),e8={provide:Wn,useExisting:Se(()=>Jo),multi:!0},n8=new M("CompositionEventMode");let Jo=(()=>{var t;class e extends CS{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function t8(){const t=Pi()?Pi().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_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)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(oi),_(ve),_(n8,8))},t.\u0275dir=N({type:t,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(n,r){1&n&&B("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[be([e8]),X]}),e})();function zi(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}const pt=new M("NgValidators"),Gi=new M("NgAsyncValidators");function Uu(t){return null}function kS(t){return null!=t}function PS(t){return Ys(t)?Ke(t):t}function NS(t){let e={};return t.forEach(i=>{e=null!=i?{...e,...i}:e}),0===Object.keys(e).length?null:e}function FS(t,e){return e.map(i=>i(t))}function LS(t){return t.map(e=>function r8(t){return!t.validate}(e)?e:i=>e.validate(i))}function ig(t){return null!=t?function VS(t){if(!t)return null;const e=t.filter(kS);return 0==e.length?null:function(i){return NS(FS(i,e))}}(LS(t)):null}function rg(t){return null!=t?function BS(t){if(!t)return null;const e=t.filter(kS);return 0==e.length?null:function(i){return function XH(...t){const e=S_(t),{args:i,keys:n}=zD(t),r=new Te(o=>{const{length:s}=i;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(n?GD(n,a):a),o.complete())}))}});return e?r.pipe(rm(e)):r}(FS(i,e).map(PS)).pipe(se(NS))}}(LS(t)):null}function jS(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function og(t){return t?Array.isArray(t)?t:[t]:[]}function $u(t,e){return Array.isArray(t)?t.includes(e):t===e}function $S(t,e){const i=og(e);return og(t).forEach(r=>{$u(i,r)||i.push(r)}),i}function zS(t,e){return og(e).filter(i=>!$u(t,i))}class GS{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=ig(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=rg(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,i){return!!this.control&&this.control.hasError(e,i)}getError(e,i){return this.control?this.control.getError(e,i):null}}class Et extends GS{get formDirective(){return null}get path(){return null}}class qi extends GS{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class qS{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}}let zu=(()=>{var t;class e extends qS{constructor(n){super(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(qi,2))},t.\u0275dir=N({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Ot("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[X]}),e})(),Gu=(()=>{var t;class e extends qS{constructor(n){super(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Et,10))},t.\u0275dir=N({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&Ot("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[X]}),e})();const Wa="VALID",Wu="INVALID",es="PENDING",Ya="DISABLED";function lg(t){return(Yu(t)?t.validators:t)||null}function cg(t,e){return(Yu(e)?e.asyncValidators:t)||null}function Yu(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class KS{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}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===Wa}get invalid(){return this.status===Wu}get pending(){return this.status==es}get disabled(){return this.status===Ya}get enabled(){return this.status!==Ya}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($S(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators($S(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(zS(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(zS(e,this._rawAsyncValidators))}hasValidator(e){return $u(this._rawValidators,e)}hasAsyncValidator(e){return $u(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=es,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const i=this._parentMarkedDirty(e.onlySelf);this.status=Ya,this.errors=null,this._forEachChild(n=>{n.disable({...e,onlySelf:!0})}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:i}),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){const i=this._parentMarkedDirty(e.onlySelf);this.status=Wa,this._forEachChild(n=>{n.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:i}),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wa||this.status===es)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ya:Wa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=es,this._hasOwnPendingAsyncValidator=!0;const i=PS(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(!1!==i.emitEvent)}get(e){let i=e;return null==i||(Array.isArray(i)||(i=i.split(".")),0===i.length)?null:i.reduce((n,r)=>n&&n._find(r),this)}getError(e,i){const n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new re,this.statusChanges=new re}_calculateStatus(){return this._allControlsDisabled()?Ya:this.errors?Wu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(es)?es:this._anyControlsHaveStatus(Wu)?Wu:Wa}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Yu(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=function l8(t){return Array.isArray(t)?ig(t):t||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function c8(t){return Array.isArray(t)?rg(t):t||null}(this._rawAsyncValidators)}}class ug extends KS{constructor(e,i,n){super(lg(i),cg(n,i)),this.controls=e,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,i){return this.controls[e]?this.controls[e]:(this.controls[e]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(e,i,n={}){this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(e,i,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],i&&this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,i={}){(function ZS(t,e,i){t._forEachChild((n,r)=>{if(void 0===i[r])throw new x(1002,"")})})(this,0,e),Object.keys(e).forEach(n=>{(function YS(t,e,i){const n=t.controls;if(!(e?Object.keys(n):n).length)throw new x(1e3,"");if(!n[i])throw new x(1001,"")})(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(e,i={}){null!=e&&(Object.keys(e).forEach(n=>{const r=this.controls[n];r&&r.patchValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(e={},i={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(e,i,n)=>(e[n]=i.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(i,n)=>!!n._syncPendingControls()||i);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(i=>{const n=this.controls[i];n&&e(n,i)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[i,n]of Object.entries(this.controls))if(this.contains(i)&&e(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(i,n,r)=>((n.enabled||this.disabled)&&(i[r]=n.value),i))}_reduceChildren(e,i){let n=e;return this._forEachChild((r,o)=>{n=i(n,r,o)}),n}_allControlsDisabled(){for(const 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}}const ts=new M("CallSetDisabledState",{providedIn:"root",factory:()=>Zu}),Zu="always";function Za(t,e,i=Zu){dg(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||"always"===i)&&e.valueAccessor.setDisabledState?.(t.disabled),function h8(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&QS(t,e)})}(t,e),function p8(t,e){const i=(n,r)=>{e.valueAccessor.writeValue(n),r&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}(t,e),function f8(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&QS(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function d8(t,e){if(e.valueAccessor.setDisabledState){const i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}(t,e)}function Xu(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function dg(t,e){const i=function HS(t){return t._rawValidators}(t);null!==e.validator?t.setValidators(jS(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const n=function US(t){return t._rawAsyncValidators}(t);null!==e.asyncValidator?t.setAsyncValidators(jS(n,e.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);const r=()=>t.updateValueAndValidity();Xu(e._rawValidators,r),Xu(e._rawAsyncValidators,r)}function QS(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}const b8={provide:Et,useExisting:Se(()=>ns)},Ka=(()=>Promise.resolve())();let ns=(()=>{var t;class e extends Et{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new re,this.form=new ug({},ig(n),rg(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Ka.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Za(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Ka.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Ka.then(()=>{const r=this._findContainer(n.path),o=new ug({});(function XS(t,e){dg(t,e)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Ka.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Ka.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function JS(t,e){t._syncPendingControls(),e.forEach(i=>{const n=i.control;"submit"===n.updateOn&&n._pendingChange&&(i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}}return(t=e).\u0275fac=function(n){return new(n||t)(_(pt,10),_(Gi,10),_(ts,8))},t.\u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&B("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[be([b8]),X]}),e})();function eM(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}function tM(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const nM=class extends KS{constructor(e=null,i,n){super(lg(i),cg(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Yu(i)&&(i.nonNullable||i.initialValueIsDefault)&&(this.defaultValue=tM(e)?e.value:e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==i.emitModelToViewChange&&this._onChange.forEach(n=>n(this.value,!1!==i.emitViewToModelChange)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){eM(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){eM(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){tM(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}},C8={provide:qi,useExisting:Se(()=>Qa)},oM=(()=>Promise.resolve())();let Qa=(()=>{var t;class e extends qi{constructor(n,r,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new nM,this._registered=!1,this.name="",this.update=new re,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function pg(t,e){if(!e)return null;let i,n,r;return Array.isArray(e),e.forEach(o=>{o.constructor===Jo?i=o:function _8(t){return Object.getPrototypeOf(t.constructor)===Mr}(o)?n=o:r=o}),r||n||i||null}(0,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function fg(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Za(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){oM.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&Ro(r);oM.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Ku(t,e){return[...e.path,t]}(n,this._parent):[n]}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Et,9),_(pt,10),_(Gi,10),_(Wn,10),_(sn,8),_(ts,8))},t.\u0275dir=N({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[be([C8]),X,It]}),e})(),ed=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const D8={provide:Wn,useExisting:Se(()=>mg),multi:!0};let mg=(()=>{var t;class e extends Mr{writeValue(n){this.setProperty("value",n??"")}registerOnChange(n){this.onChange=r=>{n(""==r?null:parseFloat(r))}}}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275dir=N({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){1&n&&B("input",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},features:[be([D8]),X]}),e})(),sM=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();function gM(t){return"number"==typeof t?t:parseFloat(t)}let Ar=(()=>{var t;class e{constructor(){this._validator=Uu}ngOnChanges(n){if(this.inputName in n){const r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Uu,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,features:[It]}),e})();const V8={provide:pt,useExisting:Se(()=>wg),multi:!0};let wg=(()=>{var t;class e extends Ar{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=n=>gM(n),this.createValidator=n=>function SS(t){return e=>{if(zi(e.value)||zi(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}(n)}}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275dir=N({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(n,r){2&n&&qe("max",r._enabled?r.max:null)},inputs:{max:"max"},features:[be([V8]),X]}),e})();const B8={provide:pt,useExisting:Se(()=>Cg),multi:!0};let Cg=(()=>{var t;class e extends Ar{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=n=>gM(n),this.createValidator=n=>function xS(t){return e=>{if(zi(e.value)||zi(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[sM]}),e})(),Y8=(()=>{var t;class e{static withConfig(n){return{ngModule:e,providers:[{provide:ts,useValue:n.callSetDisabledState??Zu}]}}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[q8]}),e})();function Z8(t,e){1&t&&(en(),m(0,"svg",23),I(1,"path",24),g())}function K8(t,e){1&t&&(en(),m(0,"svg",25),I(1,"path",26)(2,"path",27)(3,"path",28),g())}let CM=(()=>{var t;class e{constructor(n,r,o){this._snackBar=n,this._authService=r,this._router=o,this.loginFormModel={email:"",password:""},this.showPassword=!1}onLoginSubmit(){this.validateData(this.loginFormModel)&&this._authService.validateUserLogin(this.loginFormModel).subscribe(n=>{200==n.status?(this.openSnackBar(n.message),this._authService.storeDataSession(n.body),this._router.navigate(["/account/profile"])):this.openSnackBar(n.message)})}validateData(n){return n.email&&n.password?new RegExp("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$").test(n.email)?!(n.password.length<8&&(this.openSnackBar("La contrase\xf1a debe tener al menos 8 caracteres"),1)):(this.openSnackBar("El correo electr\xf3nico no es v\xe1lido"),!1):(this.openSnackBar("Todos los campos son requeridos"),!1)}openSnackBar(n){this._snackBar.open(n,"Aceptar",{horizontalPosition:"center",verticalPosition:"bottom",duration:3e3})}togglePasswordVisibility(){this.showPassword=!this.showPassword}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ng),_(Ui),_(nt))},t.\u0275cmp=fe({type:t,selectors:[["app-login-form"]],decls:29,vars:5,consts:[[1,"text-slate-800","font-Poppins","font-medium","text-3xl"],[3,"ngSubmit"],["id","loginForm",1,"mt-10"],[1,"relative","w-80","md:w-96"],[1,"absolute","inset-y-0","left-0","flex","items-center","pl-3.5","pointer-events-none"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 16",1,"w-4","h-4","text-gray-400"],["d","m10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z"],["d","M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z"],["type","text","name","email","placeholder","correo@electronico.com",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","pl-10","p-2.5",3,"ngModel","ngModelChange"],[1,"relative","w-80","md:w-96","mt-5"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 20",1,"w-4","h-4","text-gray-400"],["d","M14 7h-1.5V4.5a4.5 4.5 0 1 0-9 0V7H2a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-5 8a1 1 0 1 1-2 0v-3a1 1 0 1 1 2 0v3Zm1.5-8h-5V4.5a2.5 2.5 0 1 1 5 0V7Z"],["name","password","placeholder","********",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","pl-10","p-2.5",3,"type","ngModel","ngModelChange"],["type","button",1,"absolute","right-0","inset-y-0","pr-2.5",3,"click"],["class","w-6 h-6 text-gray-400","aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 14",4,"ngIf"],["class","w-6 h-6 text-gray-400","aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",4,"ngIf"],[1,"w-80","md:w-96","text-right","mt-3"],["href","#",1,"text-sm","font-medium","text-Intense-Turquoise","font-Poppins","hover:text-Serene-Blue"],[1,"w-80","md:w-96","mt-5"],["type","submit",1,"font-bold","text-white","bg-Bright-Cyan","hover:bg-Intense-Turquoise","focus:ring-4","focus:ring-blue-300","rounded-lg","text-sm","w-full","py-2.5"],[1,"mt-5","flex"],[1,"text-sm","text-slate-800","font-Poppins","mr-2"],["routerLink","/register","href","#",1,"text-sm","font-medium","text-Intense-Turquoise","font-Poppins","hover:text-Serene-Blue"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 14",1,"w-6","h-6","text-gray-400"],["d","M10 0C4.612 0 0 5.336 0 7c0 1.742 3.546 7 10 7 6.454 0 10-5.258 10-7 0-1.664-4.612-7-10-7Zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-6","h-6","text-gray-400"],["d","m2 13.587 3.055-3.055A4.913 4.913 0 0 1 5 10a5.006 5.006 0 0 1 5-5c.178.008.356.026.532.054l1.744-1.744A8.973 8.973 0 0 0 10 3C4.612 3 0 8.336 0 10a6.49 6.49 0 0 0 2 3.587Z"],["d","m12.7 8.714 6.007-6.007a1 1 0 1 0-1.414-1.414L11.286 7.3a2.98 2.98 0 0 0-.588-.21l-.035-.01a2.981 2.981 0 0 0-3.584 3.583c0 .012.008.022.01.033.05.204.12.401.211.59l-6.007 6.007a1 1 0 1 0 1.414 1.414L8.714 12.7c.189.091.386.162.59.211.011 0 .021.007.033.01a2.981 2.981 0 0 0 3.584-3.584c0-.012-.008-.023-.011-.035a3.05 3.05 0 0 0-.21-.588Z"],["d","M17.821 6.593 14.964 9.45a4.952 4.952 0 0 1-5.514 5.514L7.665 16.75c.767.165 1.55.25 2.335.251 6.453 0 10-5.258 10-7 0-1.166-1.637-2.874-2.179-3.407Z"]],template:function(n,r){1&n&&(m(0,"h2",0),C(1," Inicia sesi\xf3n\n"),g(),m(2,"form",1),B("ngSubmit",function(){return r.onLoginSubmit()}),m(3,"div",2)(4,"div",3)(5,"div",4),en(),m(6,"svg",5),I(7,"path",6)(8,"path",7),g()(),_s(),m(9,"input",8),B("ngModelChange",function(s){return r.loginFormModel.email=s}),g()(),m(10,"div",9)(11,"div",4),en(),m(12,"svg",10),I(13,"path",11),g()(),_s(),m(14,"input",12),B("ngModelChange",function(s){return r.loginFormModel.password=s}),g(),m(15,"button",13),B("click",function(){return r.togglePasswordVisibility()}),Q(16,Z8,2,0,"svg",14),Q(17,K8,4,0,"svg",15),g()()(),m(18,"div",16)(19,"a",17),C(20," \xbfOlvidaste tu contrase\xf1a? "),g()(),m(21,"div",18)(22,"button",19),C(23," Continuar "),g()()(),m(24,"div",20)(25,"p",21),C(26,"\xbfNo tienes cuenta?"),g(),m(27,"a",22),C(28," Reg\xedstrate "),g()()),2&n&&(D(9),k("ngModel",r.loginFormModel.email),D(5),qt("type",r.showPassword?"text":"password"),k("ngModel",r.loginFormModel.password),D(2),k("ngIf",!r.showPassword),D(1),k("ngIf",r.showPassword))},dependencies:[yn,ed,Jo,zu,Gu,Qa,ns,Bi],encapsulation:2}),e})(),Q8=(()=>{var t;class e{constructor(n,r){this._authService=n,this._router=r}ngOnInit(){this._authService.isSessionExpired()?(this._router.navigate(["/login"]),this._authService.logout()):this._router.navigate(["/"])}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Ui),_(nt))},t.\u0275cmp=fe({type:t,selectors:[["app-login-page"]],decls:8,vars:0,consts:[[1,"h-full","md:w-full","flex","flex-row"],[1,"bg-Bright-Cyan","hidden","md:flex","md:w-1/2","flex-col","items-center","justify-center"],[1,"w-10/12","text-4xl","shadow-sm","font-Poppins","font-medium","text-white","mb-10"],["src","/assets/img/login_aside.svg",1,"w-96"],[1,"w-full","h-full","flex","flex-col","justify-center","items-center","bg-slate-100","login-bg-pattern"],["src","/assets/img/login_header.svg","alt","Login",1,"w-1/2","md:h-1/5","mb-16"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1)(2,"h2",2),C(3," Aqu\xed ir\xeda un slogan bien HD "),g(),I(4,"img",3),g(),m(5,"div",4),I(6,"img",5)(7,"app-login-form"),g()())},dependencies:[CM],styles:[".login-bg-pattern[_ngcontent-%COMP%]{background-color:#fff;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%239C92AC' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E\")}"]}),e})();function X8(t,e){1&t&&(en(),m(0,"svg",25),I(1,"path",26),g())}function J8(t,e){1&t&&(en(),m(0,"svg",27),I(1,"path",28)(2,"path",29)(3,"path",30),g())}function eU(t,e){1&t&&(en(),m(0,"svg",25),I(1,"path",26),g())}function tU(t,e){1&t&&(en(),m(0,"svg",27),I(1,"path",28)(2,"path",29)(3,"path",30),g())}const nU=function(){return["/login"]};let iU=(()=>{var t;class e{constructor(n,r,o){this._snackBar=n,this._router=r,this._authService=o,this.registerFormModel={email:"",password:"",confirmPassword:"",firstName:"",lastName:""},this.showPassword=!1,this.showconfirmPassword=!1}ngOnInit(){this._authService.isSessionExpired()||this._router.navigate(["/"])}onRegisterSubmit(){this.validateData(this.registerFormModel)&&(console.log("registerFormModel",this.registerFormModel),this._router.navigate(["/register/personal"],{state:{data:this.registerFormModel}}))}validateData(n){const r=new RegExp("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$"),o=new RegExp("^[a-zA-Z\xc0-\xff\xf1\xd1 ]+$");return n.email&&n.password&&n.confirmPassword&&n.firstName&&n.lastName?n.password!==n.confirmPassword?(this.openSnackBar("Las contrase\xf1as no coinciden"),!1):r.test(n.email)?!(!o.test(n.firstName)||!o.test(n.lastName))||(this.openSnackBar("Los nombres y apellidos solo pueden contener letras"),!1):(this.openSnackBar("El correo es inv\xe1lido"),!1):(this.openSnackBar("Todos los campos son requeridos"),!1)}openSnackBar(n){this._snackBar.open(n,"Aceptar",{horizontalPosition:"center",verticalPosition:"bottom",duration:5e3})}togglePasswordVisibility(n){1===n?this.showPassword=!this.showPassword:this.showconfirmPassword=!this.showconfirmPassword}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ng),_(nt),_(Ui))},t.\u0275cmp=fe({type:t,selectors:[["app-register-page"]],decls:36,vars:13,consts:[[1,"h-full","md:w-full","flex","flex-row"],[1,"bg-Bright-Cyan","hidden","md:flex","md:w-1/2","flex-col","items-center","justify-center"],[1,"w-10/12","text-4xl","shadow-sm","font-Poppins","font-medium","text-white","mb-10"],["src","/assets/img/register_aside.svg",1,"w-96"],[1,"w-full","h-full","flex","flex-col","justify-center","items-center","bg-slate-100","login-bg-pattern"],["src","/assets/img/register_header.svg","alt","Login",1,"w-1/2","md:h-1/5"],[1,"mt-16","text-slate-800","font-Poppins","font-medium","text-3xl"],[3,"ngSubmit"],["id","registerForms",1,"mt-10"],[1,"flex","flex-row","justify-between"],[1,"w-[155px]","md:w-[185px]"],["type","text","name","email","placeholder","Nombre(s)",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],["type","text","name","email","placeholder","Apellidos",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],[1,"relative","w-80","md:w-96","mt-5"],["type","text","name","email","placeholder","correo@electronico.com",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],["name","password","placeholder","Contrase\xf1a",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"type","ngModel","ngModelChange"],["type","button",1,"absolute","right-0","inset-y-0","pr-2.5",3,"click"],["class","w-6 h-6 text-gray-400","aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 14",4,"ngIf"],["class","w-6 h-6 text-gray-400","aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",4,"ngIf"],["name","password","placeholder","Confirmar contrase\xf1a",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"type","ngModel","ngModelChange"],[1,"w-80","md:w-96","mt-5"],["type","submit",1,"font-bold","text-white","bg-Bright-Cyan","hover:bg-Intense-Turquoise","focus:ring-4","focus:ring-blue-300","rounded-lg","text-sm","w-full","py-2.5"],[1,"mt-5","flex"],[1,"text-sm","text-slate-800","font-Poppins","mr-2"],["routerLinkActive","router-link-active",1,"text-sm","font-medium","text-Intense-Turquoise","font-Poppins","hover:text-Serene-Blue",3,"routerLink"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 14",1,"w-6","h-6","text-gray-400"],["d","M10 0C4.612 0 0 5.336 0 7c0 1.742 3.546 7 10 7 6.454 0 10-5.258 10-7 0-1.664-4.612-7-10-7Zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-6","h-6","text-gray-400"],["d","m2 13.587 3.055-3.055A4.913 4.913 0 0 1 5 10a5.006 5.006 0 0 1 5-5c.178.008.356.026.532.054l1.744-1.744A8.973 8.973 0 0 0 10 3C4.612 3 0 8.336 0 10a6.49 6.49 0 0 0 2 3.587Z"],["d","m12.7 8.714 6.007-6.007a1 1 0 1 0-1.414-1.414L11.286 7.3a2.98 2.98 0 0 0-.588-.21l-.035-.01a2.981 2.981 0 0 0-3.584 3.583c0 .012.008.022.01.033.05.204.12.401.211.59l-6.007 6.007a1 1 0 1 0 1.414 1.414L8.714 12.7c.189.091.386.162.59.211.011 0 .021.007.033.01a2.981 2.981 0 0 0 3.584-3.584c0-.012-.008-.023-.011-.035a3.05 3.05 0 0 0-.21-.588Z"],["d","M17.821 6.593 14.964 9.45a4.952 4.952 0 0 1-5.514 5.514L7.665 16.75c.767.165 1.55.25 2.335.251 6.453 0 10-5.258 10-7 0-1.166-1.637-2.874-2.179-3.407Z"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1)(2,"h2",2),C(3," Aqu\xed ir\xeda un slogan bien HD "),g(),I(4,"img",3),g(),m(5,"div",4),I(6,"img",5),m(7,"h2",6),C(8," Crear una cuenta "),g(),m(9,"form",7),B("ngSubmit",function(){return r.onRegisterSubmit()}),m(10,"div",8)(11,"div",9)(12,"div",10)(13,"input",11),B("ngModelChange",function(s){return r.registerFormModel.firstName=s}),g()(),m(14,"div",10)(15,"input",12),B("ngModelChange",function(s){return r.registerFormModel.lastName=s}),g()()(),m(16,"div",13)(17,"input",14),B("ngModelChange",function(s){return r.registerFormModel.email=s}),g()(),m(18,"div",13)(19,"input",15),B("ngModelChange",function(s){return r.registerFormModel.password=s}),g(),m(20,"button",16),B("click",function(){return r.togglePasswordVisibility(1)}),Q(21,X8,2,0,"svg",17),Q(22,J8,4,0,"svg",18),g()(),m(23,"div",13)(24,"input",19),B("ngModelChange",function(s){return r.registerFormModel.confirmPassword=s}),g(),m(25,"button",16),B("click",function(){return r.togglePasswordVisibility(2)}),Q(26,eU,2,0,"svg",17),Q(27,tU,4,0,"svg",18),g()()(),m(28,"div",20)(29,"button",21),C(30," Crear cuenta "),g()()(),m(31,"div",22)(32,"p",23),C(33," \xbfYa tienes cuenta? "),g(),m(34,"a",24),C(35," Inicia sesi\xf3n "),g()()()()),2&n&&(D(13),k("ngModel",r.registerFormModel.firstName),D(2),k("ngModel",r.registerFormModel.lastName),D(2),k("ngModel",r.registerFormModel.email),D(2),qt("type",r.showPassword?"text":"password"),k("ngModel",r.registerFormModel.password),D(2),k("ngIf",!r.showPassword),D(1),k("ngIf",r.showPassword),D(2),qt("type",r.showconfirmPassword?"text":"password"),k("ngModel",r.registerFormModel.confirmPassword),D(2),k("ngIf",!r.showconfirmPassword),D(1),k("ngIf",r.showconfirmPassword),D(7),k("routerLink",vn(12,nU)))},dependencies:[yn,ed,Jo,zu,Gu,Qa,ns,Bi,Sm],styles:[".login-bg-pattern[_ngcontent-%COMP%]{background-color:#fff;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%239C92AC' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E\")}"]}),e})();function rU(t,e){1&t&&(li(0),m(1,"a",39),I(2,"i",6),m(3,"span",7),C(4,"Trabajos"),g(),I(5,"div",8),g(),ci())}function oU(t,e){1&t&&(li(0),m(1,"a",40),C(2," Crear cuenta "),g(),m(3,"a",41),C(4," Iniciar sesi\xf3n "),g(),ci())}function sU(t,e){if(1&t&&(m(0,"div",45)(1,"span"),C(2),g(),m(3,"span"),C(4),g()()),2&t){const i=Le(2);D(2),ee(i.name[0]),D(2),ee(i.lastName[0])}}function aU(t,e){if(1&t&&(m(0,"div",46)(1,"span"),C(2),g(),m(3,"span"),C(4),g()()),2&t){const i=Le(2);D(2),ee(i.name[0]),D(2),ee(i.lastName[0])}}function lU(t,e){if(1&t&&(m(0,"a",42),Q(1,sU,5,2,"div",43),g(),Q(2,aU,5,2,"ng-template",null,44,jn)),2&t){const i=mn(3),n=Le();D(1),k("ngIf",0==n.gender)("ngIfElse",i)}}const cU=function(t){return{"bg-white drop-shadow-md":t}};let uU=(()=>{var t;class e{constructor(n,r){this._authService=n,this._router=r,this.sesionActive=!1,this.gender=1,this.name="Felipe",this.lastName="Ramirez",this.scroll=!1,za(document,"scroll").subscribe(o=>this.scroll=0!==document.documentElement.scrollTop)}ngOnInit(){this._authService.isSessionExpired()?(this._router.navigate(["/login"]),this._authService.logout()):this._router.navigate(["/account/profile"])}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Ui),_(nt))},t.\u0275cmp=fe({type:t,selectors:[["ng-component"]],decls:44,vars:6,consts:[[1,"w-full","h-full","relative","bg-[#F1F5F9]"],[1,"z-50","fixed","top-0","left-0","w-full","flex"],[1,"px-5","py-[10px]","flex","flex-row","justify-between","items-center","h-[100px]","w-full","transition-all","duration-300",3,"ngClass"],[1,"flex","flex-row","space-x-5","items-center","h-[100px]"],["src","https://swebtoon-phinf.pstatic.net/20170906_183/1504692085933eq4Rf_JPEG/thumbnail.jpg","alt","",1,"w-16","hidden","desktop:block"],["href","/",1,"flex","relative","items-center","h-full","group","transition-all","duration-300"],[1,"fa-solid","fa-star","text-Serene-Blue","group-hover:text-Intense-Turquoise","transition-all","duration-300"],[1,"ml-[5px]","text-xl","text-Serene-Blue","group-hover:text-Intense-Turquoise","transition-all","duration-300"],[1,"absolute","bottom-7","w-full","h-[2px]","opacity-0","group-hover:opacity-100","bg-Intense-Turquoise","transition-all","duration-300"],[4,"ngIf"],[1,"space-x-[10px]"],[4,"ngIf","ngIfElse"],["profile",""],[1,"translate-y-[100px]"],[1,"relative","h-[82%]","w-full","py-5"],[1,"absolute","ml-[5%]"],["src","assets/img/landing_check.svg","alt","",1,"w-[80%]","opacity-50"],[1,"absolute","flex","top-72","ml-[10%]","w-[36%]","h-full","items-center"],[1,"abstolute","text-7xl","text-shadow"],[1,"absolute","right-0","mr-[15%]"],[1,"w-[30rem]","h-[32rem]","bg-white","rounded-lg","drop-shadow-md"],[1,"w-full","h-full","flex","flex-col","items-center","justify-center"],[1,"relative","flex","flex-col","translate-y-[36rem]","w-full","overflow-x-hidden","h-[80%]","bg-[#D4E0ED]","py-5"],[1,"flex","flex-row","space-x-[90px]"],["src","assets/img/companies/evcon.png","alt","",1,"h-[100px]"],["src","assets/img/companies/BASF-Logo.png","alt","",1,"h-[100px]"],["src","assets/img/companies/carza-logo.png","alt","",1,"h-[100px]"],["src","assets/img/companies/cisco-logo.png","alt","",1,"h-[100px]"],["src","assets/img/companies/DHL_Express_Logo.png","alt","",1,"h-[100px]"],[1,"relative","flex","w-full","h-full","items-center","justify-center","py-4"],["src","assets/img/landing-companies.svg","alt","",1,"w-[30%]","opacity-50"],[1,"absolute","z-20","text-7xl","text-shadow","w-[80%]","text-center","h-full"],[1,"absolute","mt-16"],[1,"flex","flex-row-reverse","place-self-end","w-full","space-x-[90px]"],["src","assets/img/companies/Stellantis.png","alt","",1,"h-[100px]"],["src","assets/img/companies/pg-logo.png","alt","",1,"h-[100px]"],["src","assets/img/companies/BBVA_USA_Logo.png","alt","",1,"h-[100px]"],["src","assets/img/companies/Bosch-logo.png","alt","",1,"h-[100px]"],["src","assets/img/companies/Nestle_textlogo_blue.png","alt","",1,"h-[100px]"],["href","jobs",1,"flex","relative","items-center","h-full","group","transition-all","duration-300"],["routerLink","/register",1,"px-5","py-[10px]","rounded-3xl","hover:bg-[#D4E0ED]","text-lg","transition-all","duration-300"],["routerLink","/login",1,"px-5","py-[10px]","border","border-Midnight-Blue","rounded-3xl","hover:bg-[#D4E0ED]","text-lg","transition-all","duration-300"],["href","#"],["class","h-16 w-16 flex justify-center items-center rounded-full bg-pink-400 text-white text-3xl",4,"ngIf","ngIfElse"],["men",""],[1,"h-16","w-16","flex","justify-center","items-center","rounded-full","bg-pink-400","text-white","text-3xl"],[1,"h-16","w-16","flex","justify-center","items-center","rounded-full","bg-blue-400","text-white","text-3xl"]],template:function(n,r){if(1&n&&(m(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),I(4,"img",4),m(5,"a",5),I(6,"i",6),m(7,"span",7),C(8,"Inicio"),g(),I(9,"div",8),g(),Q(10,rU,6,0,"ng-container",9),g(),m(11,"div",10),Q(12,oU,5,0,"ng-container",11),Q(13,lU,4,2,"ng-template",null,12,jn),g()()(),m(15,"div",13)(16,"div",14)(17,"div",15),I(18,"img",16),g(),m(19,"div",17)(20,"h1",18),C(21,"Visita los \xfaltimos empleos, empresas, noticias y m\xe1s"),g()(),m(22,"div",19)(23,"div",20)(24,"div",21),I(25,"app-login-form"),g()()()(),m(26,"div",22)(27,"div",23),I(28,"img",24)(29,"img",25)(30,"img",26)(31,"img",27)(32,"img",28),g(),m(33,"div",29),I(34,"img",30),m(35,"div",31)(36,"h1",32),C(37," Encuentra el trabajo de tus sue\xf1os, en la empresa de tus sue\xf1os "),g()()(),m(38,"div",33),I(39,"img",34)(40,"img",35)(41,"img",36)(42,"img",37)(43,"img",38),g()()()()),2&n){const o=mn(14);D(2),k("ngClass",na(4,cU,1==r.scroll)),D(8),k("ngIf",1==r.sesionActive),D(2),k("ngIf",0==r.sesionActive)("ngIfElse",o)}},dependencies:[ko,yn,Bi,CM],styles:[".text-shadow[_ngcontent-%COMP%]{text-shadow:0 0 2px #dbdbdb81,-2px -2px 0 #dbdbdb81,2px -2px 0 #dbdbdb81,-2px 2px 0 #dbdbdb81,2px 2px 0 #dbdbdb81}"]}),e})(),Eg=(()=>{var t;class e{constructor(n){this._http=n,this.baseUrl="http://api.fijo.site",this.idJob=new xt(0),this.inputJobList=[{jobID:0,jobImg:"/assets/img/companies/FEMSA_Logo.png",jobTitle:"Desarrollador Frontend",jobPayment:15e3,jobFrecuencyPayment:"Quincenal",jobLocation:"Ciudad de M\xe9xico, CDMX, Por Ah\xed",jobEnterprise:"Grupo FEMSA",jobContractType:"Contrato por tiempo indeterminado",jobTime:"Tiempo completo",jobType:"Presencial",jobDescription:"Empresa 100% Mexicana. Lider en Desarrollo, solicita: Desarrollador Front End Responsabilidades: Traducir dise\xf1os a lenguaje de programaci\xf3n. Dominar los lenguajes de programaci\xf3n HTML, CSS y JavaScript para poder aplicar el dise\xf1o a la web o app que se proponga.",jobEnterpriseRate:5},{jobID:1,jobImg:"/assets/img/companies/Banco_Santander_Logotipo.png",jobTitle:"Desarrollador Backend",jobPayment:4e4,jobFrecuencyPayment:"Mensual",jobLocation:"Ciudad de M\xe9xico, CDMX, Lago Zurich",jobEnterprise:"Banco Santander",jobContractType:"Contrato por tiempo indeterminado",jobTime:"Medio tiempo",jobType:"Remoto",jobDescription:"Empresa 100% Mexicana. Lider en Desarrollo, solicita: Desarrollador Back End Responsabilidades: Hacer cosas de Backend.",jobEnterpriseRate:4.5}]}getJobs(){return this._http.get(`${this.baseUrl}/api/jobs/getall`)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Eu))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),td=(()=>{var t;class e{constructor(n){this._http=n,this.statesList=["Aguascalientes","Baja California","Baja California Sur","Campeche","Chiapas","Chihuahua","Ciudad de M\xe9xico","Coahuila","Colima","Durango","Estado de M\xe9xico","Guanajuato","Guerrero","Hidalgo","Jalisco","Michoac\xe1n de Ocampo","Morelos","Nayarit","Nuevo Le\xf3n","Oaxaca","Puebla","Quer\xe9taro","Quintana Roo","San Luis Potos\xed","Sinaloa","Sonora","Tabasco","Tamaulipas","Tlaxcala","Veracruz","Yucat\xe1n","Zacatecas"]}citiesOfState(n){return this._http.post("https://countriesnow.space/api/v0.1/countries/state/cities",{country:"Mexico",state:n})}getAccountData(){const n=localStorage.getItem("user");return JSON.parse(n)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Eu))},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})();function dU(t,e){1&t&&(li(0),m(1,"a",11),I(2,"i",4),m(3,"span",5),C(4,"Trabajos"),g(),I(5,"div",6),g(),ci())}function hU(t,e){1&t&&(li(0),m(1,"a",12),C(2," Crear cuenta "),g(),m(3,"a",13),C(4," Iniciar sesi\xf3n "),g(),ci())}function fU(t,e){if(1&t&&(m(0,"div",17)(1,"span"),C(2),g(),m(3,"span"),C(4),g()()),2&t){const i=Le(2);D(2),ee(i.AccountData.firstName[0]),D(2),ee(i.AccountData.lastName[0])}}function pU(t,e){if(1&t&&(m(0,"div",18)(1,"span"),C(2),g(),m(3,"span"),C(4),g()()),2&t){const i=Le(2);D(2),ee(i.AccountData.firstName[0]),D(2),ee(i.AccountData.lastName[0])}}function mU(t,e){if(1&t&&(m(0,"a",14),Q(1,fU,5,2,"div",15),g(),Q(2,pU,5,2,"ng-template",null,16,jn)),2&t){const i=mn(3),n=Le();D(1),k("ngIf",0==n.gender)("ngIfElse",i)}}let xg=(()=>{var t;class e{constructor(n,r){this.AuthService=n,this._accountService=r,this._authService=!1,this.gender=1,this.name="Felipe",this.lastName="Ramirez",this.scroll=!1,this._authService=this.AuthService.isSessionExpired(),za(document,"scroll").subscribe(o=>this.scroll=0!==document.documentElement.scrollTop)}get AccountData(){return this._accountService.getAccountData()}getUserLogo(){let n="";const r=this.AccountData.firstName.split(" "),o=this.AccountData.lastName.split(" ");return n+=r[0].charAt(0),n+=o[0].charAt(0),n.toUpperCase()}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Ui),_(td))},t.\u0275cmp=fe({type:t,selectors:[["shared-navigation-bar"]],decls:13,vars:3,consts:[[1,"px-5","py-[10px]","flex","flex-row","justify-between","items-center","h-[100px]","w-full","transition-all","duration-300"],[1,"flex","flex-row","space-x-5","items-center","h-[100px]"],["src","/assets/img/logo.png","alt","",1,"w-16","hidden","desktop:block"],["href","/",1,"flex","relative","items-center","h-full","group","transition-all","duration-300"],[1,"fa-solid","fa-star","text-Serene-Blue","group-hover:text-Intense-Turquoise","transition-all","duration-300"],[1,"ml-[5px]","text-xl","text-Serene-Blue","group-hover:text-Intense-Turquoise","transition-all","duration-300"],[1,"absolute","bottom-7","w-full","h-[2px]","opacity-0","group-hover:opacity-100","bg-Intense-Turquoise","transition-all","duration-300"],[4,"ngIf"],[1,"space-x-[10px]"],[4,"ngIf","ngIfElse"],["profile",""],["href","jobs",1,"flex","relative","items-center","h-full","group","transition-all","duration-300"],["routerLink","/register",1,"px-5","py-[10px]","rounded-3xl","hover:bg-[#D4E0ED]","text-lg","transition-all","duration-300"],["routerLink","/login",1,"px-5","py-[10px]","border","border-Midnight-Blue","rounded-3xl","hover:bg-[#D4E0ED]","text-lg","transition-all","duration-300"],["href","#"],["class","h-16 w-16 flex justify-center items-center rounded-full bg-pink-500 text-white text-3xl font-medium",4,"ngIf","ngIfElse"],["men",""],[1,"h-16","w-16","flex","justify-center","items-center","rounded-full","bg-pink-500","text-white","text-3xl","font-medium"],[1,"h-16","w-16","flex","justify-center","items-center","rounded-full","bg-cyan-500","text-white","text-3xl","font-medium"]],template:function(n,r){if(1&n&&(m(0,"div",0)(1,"div",1),I(2,"img",2),m(3,"a",3),I(4,"i",4),m(5,"span",5),C(6,"Inicio"),g(),I(7,"div",6),g(),Q(8,dU,6,0,"ng-container",7),g(),m(9,"div",8),Q(10,hU,5,0,"ng-container",9),Q(11,mU,4,2,"ng-template",null,10,jn),g()()),2&n){const o=mn(12);D(8),k("ngIf",0==r._authService),D(2),k("ngIf",1==r._authService)("ngIfElse",o)}},dependencies:[yn,Bi]}),e})(),DM=(()=>{var t;class e{constructor(){this._listeners=[]}notify(n,r){for(let o of this._listeners)o(n,r)}listen(n){return this._listeners.push(n),()=>{this._listeners=this._listeners.filter(r=>n!==r)}}ngOnDestroy(){this._listeners=[]}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac,providedIn:"root"}),e})(),gU=0;const Sg=new M("CdkAccordion");let _U=(()=>{var t;class e{constructor(){this._stateChanges=new q,this._openCloseAllActions=new q,this.id="cdk-accordion-"+gU++,this._multi=!1}get multi(){return this._multi}set multi(n){this._multi=En(n)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(n){this._stateChanges.next(n)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[be([{provide:Sg,useExisting:t}]),It]}),e})(),vU=0,bU=(()=>{var t;class e{get expanded(){return this._expanded}set expanded(n){n=En(n),this._expanded!==n&&(this._expanded=n,this.expandedChange.emit(n),n?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(n){this._disabled=En(n)}constructor(n,r,o){this.accordion=n,this._changeDetectorRef=r,this._expansionDispatcher=o,this._openCloseAllSubscription=Pe.EMPTY,this.closed=new re,this.opened=new re,this.destroyed=new re,this.expandedChange=new re,this.id="cdk-accordion-child-"+vU++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=o.listen((s,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==s&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(n=>{this.disabled||(this.expanded=n)})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Sg,12),_(sn),_(DM))},t.\u0275dir=N({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[be([{provide:Sg,useValue:void 0}])]}),e})(),yU=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({}),e})();const wU=["body"];function CU(t,e){}const DU=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],EU=["mat-expansion-panel-header","*","mat-action-row"];function xU(t,e){1&t&&I(0,"span",2),2&t&&k("@indicatorRotate",Le()._getExpandedState())}const SU=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],MU=["mat-panel-title","mat-panel-description","*"],Mg=new M("MAT_ACCORDION"),EM="225ms cubic-bezier(0.4,0.0,0.2,1)",xM={indicatorRotate:Ko("indicatorRotate",[Gn("collapsed, void",it({transform:"rotate(0deg)"})),Gn("expanded",it({transform:"rotate(180deg)"})),bi("expanded <=> collapsed, void => collapsed",vi(EM))]),bodyExpansion:Ko("bodyExpansion",[Gn("collapsed, void",it({height:"0px",visibility:"hidden"})),Gn("expanded",it({height:"*",visibility:""})),bi("expanded <=> collapsed, void => collapsed",vi(EM))])},SM=new M("MAT_EXPANSION_PANEL");let AU=(()=>{var t;class e{constructor(n,r){this._template=n,this._expansionPanel=r}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Wt),_(SM,8))},t.\u0275dir=N({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),e})(),IU=0;const MM=new M("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let AM=(()=>{var t;class e extends bU{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(n){this._hideToggle=En(n)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(n){this._togglePosition=n}constructor(n,r,o,s,a,l,c){super(n,r,o),this._viewContainerRef=s,this._animationMode=l,this._hideToggle=!1,this.afterExpand=new re,this.afterCollapse=new re,this._inputChanges=new q,this._headerId="mat-expansion-panel-header-"+IU++,this._bodyAnimationDone=new q,this.accordion=n,this._document=a,this._bodyAnimationDone.pipe(Fd((u,d)=>u.fromState===d.fromState&&u.toState===d.toState)).subscribe(u=>{"void"!==u.fromState&&("expanded"===u.toState?this.afterExpand.emit():"collapsed"===u.toState&&this.afterCollapse.emit())}),c&&(this.hideToggle=c.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(pi(null),Re(()=>this.expanded&&!this._portal),et(1)).subscribe(()=>{this._portal=new $a(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(n){this._inputChanges.next(n)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const n=this._document.activeElement,r=this._body.nativeElement;return n===r||r.contains(n)}return!1}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Mg,12),_(sn),_(DM),_(Pt),_(ne),_(Nn,8),_(MM,8))},t.\u0275cmp=fe({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(n,r,o){if(1&n&&pr(o,AU,5),2&n){let s;rn(s=on())&&(r._lazyContent=s.first)}},viewQuery:function(n,r){if(1&n&&Ao(wU,5),2&n){let o;rn(o=on())&&(r._body=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(n,r){2&n&&Ot("mat-expanded",r.expanded)("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[be([{provide:Mg,useValue:void 0},{provide:SM,useExisting:t}]),X,It],ngContentSelectors:EU,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(n,r){1&n&&(Eo(DU),Gt(0),m(1,"div",0,1),B("@bodyExpansion.done",function(s){return r._bodyAnimationDone.next(s)}),m(3,"div",2),Gt(4,1),Q(5,CU,0,0,"ng-template",3),g(),Gt(6,2),g()),2&n&&(D(1),k("@bodyExpansion",r._getExpandedState())("id",r.id),qe("aria-labelledby",r._headerId),D(4),k("cdkPortalOutlet",r._portal))},dependencies:[Qo],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[xM.bodyExpansion]},changeDetection:0}),e})();class TU{}const RU=B4(TU);let IM=(()=>{var t;class e extends RU{constructor(n,r,o,s,a,l,c){super(),this.panel=n,this._element=r,this._focusMonitor=o,this._changeDetectorRef=s,this._animationMode=l,this._parentChangeSubscription=Pe.EMPTY;const u=n.accordion?n.accordion._stateChanges.pipe(Re(d=>!(!d.hideToggle&&!d.togglePosition))):dn;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=Xi(n.opened,n.closed,u,n._inputChanges.pipe(Re(d=>!!(d.hideToggle||d.disabled||d.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),n.closed.pipe(Re(()=>n._containsFocus())).subscribe(()=>o.focusVia(r,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const n=this._isExpanded();return n&&this.expandedHeight?this.expandedHeight:!n&&this.collapsedHeight?this.collapsedHeight:null}_keydown(n){switch(n.keyCode){case 32:case 13:Fa(n)||(n.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(n))}}focus(n,r){n?this._focusMonitor.focusVia(this._element,n,r):this._element.nativeElement.focus(r)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(n=>{n&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(AM,1),_(ve),_(xr),_(sn),_(MM,8),_(Nn,8),Cs("tabindex"))},t.\u0275cmp=fe({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(n,r){1&n&&B("click",function(){return r._toggle()})("keydown",function(s){return r._keydown(s)}),2&n&&(qe("id",r.panel._headerId)("tabindex",r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),jf("height",r._getHeaderHeight()),Ot("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after","after"===r._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===r._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===r._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[X],ngContentSelectors:MU,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(n,r){1&n&&(Eo(SU),m(0,"span",0),Gt(1),Gt(2,1),Gt(3,2),g(),Q(4,xU,1,1,"span",1)),2&n&&(Ot("mat-content-hide-toggle",!r._showToggle()),D(4),k("ngIf",r._showToggle()))},dependencies:[yn],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[xM.indicatorRotate]},changeDetection:0}),e})(),OU=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e})(),kU=(()=>{var t;class e extends _U{constructor(){super(...arguments),this._ownHeaders=new fr,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(n){this._hideToggle=En(n)}ngAfterContentInit(){this._headers.changes.pipe(pi(this._headers)).subscribe(n=>{this._ownHeaders.reset(n.filter(r=>r.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Mx(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(n){this._keyManager.onKeydown(n)}_handleHeaderFocus(n){this._keyManager.updateActiveItem(n)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275dir=N({type:t,selectors:[["mat-accordion"]],contentQueries:function(n,r,o){if(1&n&&pr(o,IM,5),2&n){let s;rn(s=on())&&(r._headers=s)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(n,r){2&n&&Ot("mat-accordion-multi",r.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[be([{provide:Mg,useExisting:t}]),X]}),e})(),PU=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Cn,xn,yU,Xo]}),e})();function NU(t,e){if(1&t){const i=Do();m(0,"mat-expansion-panel",4),B("click",function(){const o=ei(i).$implicit;return ti(Le(2).sendDataCard(o.jobID))}),m(1,"mat-expansion-panel-header",5)(2,"mat-panel-title"),C(3),m(4,"div",6)(5,"p"),C(6),g(),m(7,"p"),I(8,"i",7),C(9),ui(10,"number"),g(),m(11,"p"),C(12),g()()()(),I(13,"hr"),m(14,"div",8)(15,"div",9)(16,"p"),C(17),g()(),m(18,"div",10),I(19,"img",11),g()(),I(20,"hr"),m(21,"div",12)(22,"div",13)(23,"div",14)(24,"span"),C(25),ui(26,"currency"),g(),C(27," ("),m(28,"span"),C(29),g(),C(30,") "),g(),m(31,"div",14),C(32),g(),m(33,"div",14),C(34),g(),m(35,"div",14),C(36),g()(),m(37,"div"),C(38),g()()()}if(2&t){const i=e.$implicit;D(3),Ee(" ",i.jobTitle," "),D(3),ee(i.jobEnterprise),D(3),Ee(" ",Jf(10,12,i.jobEnterpriseRate,"1.1"),""),D(3),ee(i.jobLocation),D(5),ee(i.jobTitle),D(2),k("src",i.jobImg,Os),D(6),ee(hr(26,15,i.jobPayment)),D(4),ee(i.jobFrecuencyPayment),D(3),Ee(" ",i.jobContractType," "),D(2),Ee(" ",i.jobTime," "),D(2),Ee(" ",i.jobType," "),D(2),Ee(" ",i.jobDescription," ")}}function FU(t,e){if(1&t&&(li(0),Q(1,NU,39,17,"mat-expansion-panel",3),ci()),2&t){const i=Le();D(1),k("ngForOf",i.jobList)}}function LU(t,e){if(1&t){const i=Do();li(0),m(1,"mat-expansion-panel",16),B("click",function(){const o=ei(i).$implicit;return ti(Le(2).sendDataCard(o.jobID))}),m(2,"mat-expansion-panel-header",5)(3,"mat-panel-title"),C(4),m(5,"div",6)(6,"p"),C(7),g(),m(8,"p"),I(9,"i",7),C(10),ui(11,"number"),g(),m(12,"p"),C(13),g()()()(),I(14,"hr"),m(15,"div",8)(16,"div",9)(17,"p"),C(18),g()(),m(19,"div",10),I(20,"img",11),g()(),I(21,"hr"),m(22,"div",12)(23,"div",13)(24,"div",14)(25,"span"),C(26),ui(27,"currency"),g(),C(28," ("),m(29,"span"),C(30),g(),C(31,") "),g(),m(32,"div",14),C(33),g(),m(34,"div",14),C(35),g(),m(36,"div",14),C(37),g()(),m(38,"div"),C(39),g()()(),ci()}if(2&t){const i=e.$implicit;D(4),Ee(" ",i.jobTitle," "),D(3),ee(i.jobEnterprise),D(3),Ee(" ",Jf(11,12,i.jobEnterpriseRate,"1.1"),""),D(3),ee(i.jobLocation),D(5),ee(i.jobTitle),D(2),k("src",i.jobImg,Os),D(6),ee(hr(27,15,i.jobPayment)),D(4),ee(i.jobFrecuencyPayment),D(3),Ee(" ",i.jobContractType," "),D(2),Ee(" ",i.jobTime," "),D(2),Ee(" ",i.jobType," "),D(2),Ee(" ",i.jobDescription," ")}}function VU(t,e){1&t&&Q(0,LU,40,17,"ng-container",15),2&t&&k("ngForOf",Le().jobList)}let TM=(()=>{var t;class e{constructor(n){this.JobsService=n,this.panelOpenState=!1,this.jobList=[],this.sizeOfDisplay="mobile",this.idJobSelected=0,this.outputJobData=new re}ngOnInit(){this.JobsService.idJob.next(this.idJobSelected)}sendDataCard(n){this.idJobSelected=n,this.JobsService.idJob.next(this.idJobSelected),console.log(this.jobList[n].jobID)}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Eg))},t.\u0275cmp=fe({type:t,selectors:[["job-expansion"]],inputs:{jobList:"jobList",sizeOfDisplay:"sizeOfDisplay"},outputs:{outputJobData:"outputJobData"},standalone:!0,features:[Tc],decls:4,vars:2,consts:[[1,"mat-accordion","text-xl"],[4,"ngIf","ngIfElse"],["sinExpand",""],["class","mat-expansion-panel",3,"click",4,"ngFor","ngForOf"],[1,"mat-expansion-panel",3,"click"],[1,"mat-expansion-panel-header"],[1,"mat-panel-description"],[1,"fa-solid","fa-star","text-yellow-400"],[1,"content-mat-accordion"],[1,"content-mat-accordion-info"],[1,"content-mat-accordion-img"],["src","","alt","",3,"src"],[1,"content-mat-accordion-data","block","md:hidden"],[1,"content-mat-accordion-category"],[1,"category-content-mat"],[4,"ngFor","ngForOf"],["disabled","",1,"mat-expansion-panel",3,"click"]],template:function(n,r){if(1&n&&(m(0,"mat-accordion",0),Q(1,FU,2,1,"ng-container",1),Q(2,VU,1,1,"ng-template",null,2,jn),g()),2&n){const o=mn(3);D(1),k("ngIf","mobile"==r.sizeOfDisplay)("ngIfElse",o)}},dependencies:[PU,kU,AM,IM,OU,Cn,_r,yn,bD,zp],styles:["mat-expansion-panel-header[_ngcontent-%COMP%]{width:100%;height:110px;padding:20px 10px}.mat-expansion-panel-header.mat-expanded[_ngcontent-%COMP%]{height:110px}mat-panel-title[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;align-items:center}.mat-panel-description[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}.content-mat-accordion[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%;height:100%;padding-top:12px;padding-bottom:12px}.content-mat-accordion-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;height:100%}.content-mat-accordion-img[_ngcontent-%COMP%]{width:30%;height:100%}.content-mat-accordion-data[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-start}.content-mat-accordion-category[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;margin:12px 0}.category-content-mat[_ngcontent-%COMP%]{height:100%;border-radius:25px;border:1px blue solid;padding:4px 8px;margin-bottom:4px;margin-right:8px}mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:#000}mat-expansion-panel[_ngcontent-%COMP%] mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]:hover{background-color:#f5f5f5}"]}),e})();function RM(t,e){return e?i=>pa(e.pipe(et(1),function BU(){return Be((t,e)=>{t.subscribe(Oe(e,sl))})}()),i.pipe(RM(t))):Ze((i,n)=>ut(t(i,n)).pipe(et(1),ZD(i)))}function OM(t,e=Au){const i=aS(t,e);return RM(()=>i)}const jU=["mat-menu-item",""];function HU(t,e){1&t&&(en(),m(0,"svg",3),I(1,"polygon",4),g())}const UU=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],$U=["mat-icon, [matMenuItemIcon]","*"];function zU(t,e){if(1&t){const i=Do();m(0,"div",0),B("keydown",function(r){return ei(i),ti(Le()._handleKeydown(r))})("click",function(){return ei(i),ti(Le().closed.emit("click"))})("@transformMenu.start",function(r){return ei(i),ti(Le()._onAnimationStart(r))})("@transformMenu.done",function(r){return ei(i),ti(Le()._onAnimationDone(r))}),m(1,"div",1),Gt(2),g()()}if(2&t){const i=Le();k("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),qe("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}const GU=["*"],Ag=new M("MAT_MENU_PANEL"),qU=Bx(Vx(class{}));let nd=(()=>{var t;class e extends qU{constructor(n,r,o,s,a){super(),this._elementRef=n,this._document=r,this._focusMonitor=o,this._parentMenu=s,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new q,this._focused=new q,this._highlighted=!1,this._triggersSubmenu=!1,s?.addItem?.(this)}focus(n,r){this._focusMonitor&&n?this._focusMonitor.focusVia(this._getHostElement(),n,r):this._getHostElement().focus(r),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(n){this.disabled&&(n.preventDefault(),n.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const n=this._elementRef.nativeElement.cloneNode(!0),r=n.querySelectorAll("mat-icon, .material-icons");for(let o=0;o enter",vi("120ms cubic-bezier(0, 0, 0.2, 1)",it({opacity:1,transform:"scale(1)"}))),bi("* => void",vi("100ms 25ms linear",it({opacity:0})))]),fadeInItems:Ko("fadeInItems",[Gn("showing",it({opacity:1})),bi("void => *",[it({opacity:0}),vi("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let YU=0;const kM=new M("mat-menu-default-options",{providedIn:"root",factory:function ZU(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Xa=(()=>{var t;class e{get xPosition(){return this._xPosition}set xPosition(n){this._xPosition=n,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(n){this._yPosition=n,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(n){this._overlapTrigger=En(n)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(n){this._hasBackdrop=En(n)}set panelClass(n){const r=this._previousPanelClass;r&&r.length&&r.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=n,n&&n.length&&(n.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(n){this.panelClass=n}constructor(n,r,o,s){this._elementRef=n,this._ngZone=r,this._changeDetectorRef=s,this._directDescendantItems=new fr,this._classList={},this._panelAnimationState="void",this._animationDone=new q,this.closed=new re,this.close=this.closed,this.panelId="mat-menu-panel-"+YU++,this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this._overlapTrigger=o.overlapTrigger,this._hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Mx(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(pi(this._directDescendantItems),Vt(n=>Xi(...n.map(r=>r._focused)))).subscribe(n=>this._keyManager.updateActiveItem(n)),this._directDescendantItems.changes.subscribe(n=>{const r=this._keyManager;if("enter"===this._panelAnimationState&&r.activeItem?._hasFocus()){const o=n.toArray(),s=Math.max(0,Math.min(o.length-1,r.activeItemIndex||0));o[s]&&!o[s].disabled?r.setActiveItem(s):r.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(pi(this._directDescendantItems),Vt(r=>Xi(...r.map(o=>o._hovered))))}addItem(n){}removeItem(n){}_handleKeydown(n){const r=n.keyCode,o=this._keyManager;switch(r){case 27:Fa(n)||(n.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===r||40===r)&&o.setFocusOrigin("keyboard"),void o.onKeydown(n)}n.stopPropagation()}focusFirstItem(n="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(et(1)).subscribe(()=>{let r=null;if(this._directDescendantItems.length&&(r=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!r||!r.contains(document.activeElement)){const o=this._keyManager;o.setFocusOrigin(n).setFirstItemActive(),!o.activeItem&&r&&r.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(n){const r=Math.min(this._baseElevation+n,24),o=`${this._elevationPrefix}${r}`,s=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!s||s===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(n=this.xPosition,r=this.yPosition){const o=this._classList;o["mat-menu-before"]="before"===n,o["mat-menu-after"]="after"===n,o["mat-menu-above"]="above"===r,o["mat-menu-below"]="below"===r,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(n){this._animationDone.next(n),this._isAnimating=!1}_onAnimationStart(n){this._isAnimating=!0,"enter"===n.toState&&0===this._keyManager.activeItemIndex&&(n.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(pi(this._allItems)).subscribe(n=>{this._directDescendantItems.reset(n.filter(r=>r._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_(G),_(kM),_(sn))},t.\u0275dir=N({type:t,contentQueries:function(n,r,o){if(1&n&&(pr(o,WU,5),pr(o,nd,5),pr(o,nd,4)),2&n){let s;rn(s=on())&&(r.lazyContent=s.first),rn(s=on())&&(r._allItems=s),rn(s=on())&&(r.items=s)}},viewQuery:function(n,r){if(1&n&&Ao(Wt,5),2&n){let o;rn(o=on())&&(r.templateRef=o.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),e})(),KU=(()=>{var t;class e extends Xa{constructor(n,r,o,s){super(n,r,o,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_(G),_(kM),_(sn))},t.\u0275cmp=fe({type:t,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(n,r){2&n&&qe("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[be([{provide:Ag,useExisting:t}]),X],ngContentSelectors:GU,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(n,r){1&n&&(Eo(),Q(0,zU,3,6,"ng-template"))},dependencies:[ko],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[id.transformMenu,id.fadeInItems]},changeDetection:0}),e})();const PM=new M("mat-menu-scroll-strategy"),XU={provide:PM,deps:[qn],useFactory:function QU(t){return()=>t.scrollStrategies.reposition()}},NM=Na({passive:!0});let JU=(()=>{var t;class e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(n){this.menu=n}get menu(){return this._menu}set menu(n){n!==this._menu&&(this._menu=n,this._menuCloseSubscription.unsubscribe(),n&&(this._menuCloseSubscription=n.close.subscribe(r=>{this._destroyMenu(r),("click"===r||"tab"===r)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(r)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(n,r,o,s,a,l,c,u,d){this._overlay=n,this._element=r,this._viewContainerRef=o,this._menuItemInstance=l,this._dir=c,this._focusMonitor=u,this._ngZone=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Pe.EMPTY,this._hoverSubscription=Pe.EMPTY,this._menuCloseSubscription=Pe.EMPTY,this._changeDetectorRef=T(sn),this._handleTouchStart=h=>{Gm(h)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new re,this.onMenuOpen=this.menuOpened,this.menuClosed=new re,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=a instanceof Xa?a:void 0,r.nativeElement.addEventListener("touchstart",this._handleTouchStart,NM)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,NM),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const n=this.menu;if(this._menuOpen||!n)return;const r=this._createOverlay(n),o=r.getConfig(),s=o.positionStrategy;this._setPosition(n,s),o.hasBackdrop=null==n.hasBackdrop?!this.triggersSubmenu():n.hasBackdrop,r.attach(this._getPortal(n)),n.lazyContent&&n.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(n),n instanceof Xa&&(n._startAnimation(),n._directDescendantItems.changes.pipe(Fi(n.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(n,r){this._focusMonitor&&n?this._focusMonitor.focusVia(this._element,n,r):this._element.nativeElement.focus(r)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(n){if(!this._overlayRef||!this.menuOpen)return;const r=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===n||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,r instanceof Xa?(r._resetAnimation(),r.lazyContent?r._animationDone.pipe(Re(o=>"void"===o.toState),et(1),Fi(r.lazyContent._attached)).subscribe({next:()=>r.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),r?.lazyContent?.detach())}_initMenu(n){n.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,n.direction=this.dir,this._setMenuElevation(n),n.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(n){if(n.setElevation){let r=0,o=n.parentMenu;for(;o;)r++,o=o.parentMenu;n.setElevation(r)}}_setIsMenuOpen(n){n!==this._menuOpen&&(this._menuOpen=n,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(n),this._changeDetectorRef.markForCheck())}_createOverlay(n){if(!this._overlayRef){const r=this._getOverlayConfig(n);this._subscribeToPositions(n,r.positionStrategy),this._overlayRef=this._overlay.create(r),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(n){return new Vu({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:n.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:n.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(n,r){n.setPositionClasses&&r.positionChanges.subscribe(o=>{const s="start"===o.connectionPair.overlayX?"after":"before",a="top"===o.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>n.setPositionClasses(s,a)):n.setPositionClasses(s,a)})}_setPosition(n,r){let[o,s]="before"===n.xPosition?["end","start"]:["start","end"],[a,l]="above"===n.yPosition?["bottom","top"]:["top","bottom"],[c,u]=[a,l],[d,h]=[o,s],f=0;if(this.triggersSubmenu()){if(h=o="before"===n.xPosition?"start":"end",s=d="end"===o?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const p=this._parentMaterialMenu.items.first;this._parentInnerPadding=p?p._getHostElement().offsetTop:0}f="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else n.overlapTrigger||(c="top"===a?"bottom":"top",u="top"===l?"bottom":"top");r.withPositions([{originX:o,originY:c,overlayX:d,overlayY:a,offsetY:f},{originX:s,originY:c,overlayX:h,overlayY:a,offsetY:f},{originX:o,originY:u,overlayX:d,overlayY:l,offsetY:-f},{originX:s,originY:u,overlayX:h,overlayY:l,offsetY:-f}])}_menuClosingActions(){const n=this._overlayRef.backdropClick(),r=this._overlayRef.detachments();return Xi(n,this._parentMaterialMenu?this._parentMaterialMenu.closed:L(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Re(a=>a!==this._menuItemInstance),Re(()=>this._menuOpen)):L(),r)}_handleMousedown(n){zm(n)||(this._openedBy=0===n.button?"mouse":void 0,this.triggersSubmenu()&&n.preventDefault())}_handleKeydown(n){const r=n.keyCode;(13===r||32===r)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===r&&"ltr"===this.dir||37===r&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(n){this.triggersSubmenu()?(n.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Re(n=>n===this._menuItemInstance&&!n.disabled),OM(0,Xm)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Xa&&this.menu._isAnimating?this.menu._animationDone.pipe(et(1),OM(0,Xm),Fi(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(n){return(!this._portal||this._portal.templateRef!==n.templateRef)&&(this._portal=new $a(n.templateRef,this._viewContainerRef)),this._portal}}return(t=e).\u0275fac=function(n){return new(n||t)(_(qn),_(ve),_(Pt),_(PM),_(Ag,8),_(nd,10),_(ku,8),_(xr),_(G))},t.\u0275dir=N({type:t,hostVars:3,hostBindings:function(n,r){1&n&&B("click",function(s){return r._handleClick(s)})("mousedown",function(s){return r._handleMousedown(s)})("keydown",function(s){return r._handleKeydown(s)}),2&n&&qe("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),e})(),e$=(()=>{var t;class e extends JU{}return(t=e).\u0275fac=function(){let i;return function(r){return(i||(i=Ge(t)))(r||t)}}(),t.\u0275dir=N({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[X]}),e})(),t$=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[XU],imports:[Cn,Wx,xn,ju,Jm,xn]}),e})();function n$(t,e){if(1&t&&(m(0,"button",4),C(1),g()),2&t){const i=e.$implicit;D(1),ee(i)}}let FM=(()=>{var t;class e{constructor(){this.labelMenu="",this.filterOptions=[""]}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["filter-dropdown"]],inputs:{labelMenu:"labelMenu",filterOptions:"filterOptions"},standalone:!0,features:[Tc],decls:4,vars:3,consts:[["mat-button","",1,"dropdown-icon",3,"matMenuTriggerFor","textContent"],[1,"dropdown-menu"],["menu","matMenu"],["mat-menu-item","",4,"ngFor","ngForOf"],["mat-menu-item",""]],template:function(n,r){1&n&&(I(0,"button",0),m(1,"mat-menu",1,2),Q(3,n$,2,1,"button",3),g()),2&n&&(k("matMenuTriggerFor",mn(2))("textContent",r.labelMenu),D(3),k("ngForOf",r.filterOptions))},dependencies:[Xx,Qx,t$,KU,nd,e$,Cn,_r],styles:['.dropdown-icon[_ngcontent-%COMP%]{background-color:#fff;border-radius:25px;filter:drop-shadow(0px 2px 2px rgba(0,0,0,.25));padding:5px 14px;margin-bottom:10px;margin-right:10px} .cdk-overlay-pane{max-height:305px!important;transform:translateY(10px)}.dropdown-icon[_ngcontent-%COMP%]:hover{background-color:#f8f8f8}.dropdown-icon[_ngcontent-%COMP%]:after{content:"";display:block;background:url(https://static.thenounproject.com/png/344375-200.png) no-repeat;width:14px;height:14px;background-size:100%;position:float;float:right;margin-left:10px}']}),e})(),i$=(()=>{var t;class e{constructor(n){this.JobsService=n,this.jobList=[],this.jobSelected=0,this.jobList=this.JobsService.inputJobList}ngOnInit(){this.JobsService.idJob.subscribe(n=>{this.jobSelected=n,console.log(this.jobSelected)})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Eg))},t.\u0275cmp=fe({type:t,selectors:[["card-detail-job"]],inputs:{jobList:"jobList",jobSelected:"jobSelected"},decls:36,vars:12,consts:[[1,"bg-white","h-full","w-full","p-5","rounded-lg","border","border-gray-300","overflow-y-auto"],[1,"w-[30%]","py-5"],["src","","alt","",3,"src"],[1,"text-xl","space-y-2.5"],[1,"font-medium"],[1,"flex","flex-row","justify-start","flex-wrap","space-x-2","text-base","font-normal"],[1,"flex","flex-row","justify-start","my-2"],[1,"px-[15px]","py-[5px]","rounded-3xl","bg-Intense-Turquoise","hover:bg-[#0A585C]","text-base","text-white","transition-all","duration-300"],[1,"pt-3"],[1,"text-base"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1),I(2,"img",2),g(),m(3,"div",3)(4,"p",4),C(5),g(),m(6,"p",4)(7,"span"),C(8),ui(9,"currency"),g(),C(10),g(),m(11,"div",5)(12,"p"),C(13),g(),m(14,"p"),C(15,"\u2022"),g(),m(16,"p"),C(17),g()(),m(18,"div",5)(19,"p"),C(20),g(),m(21,"p"),C(22,"\u2022"),g(),m(23,"p"),C(24),g(),m(25,"p"),C(26,"\u2022"),g(),m(27,"p"),C(28),g()(),m(29,"div",6)(30,"button",7),C(31," Postularme "),g()(),m(32,"div",8),I(33,"hr"),g(),m(34,"div",9),C(35),g()()()),2&n&&(D(2),k("src",r.jobList[r.jobSelected].jobImg,Os),D(3),ee(r.jobList[r.jobSelected].jobTitle),D(3),ee(hr(9,10,r.jobList[r.jobSelected].jobPayment)),D(2),Ee(" (",r.jobList[r.jobSelected].jobFrecuencyPayment,")"),D(3),ee(r.jobList[r.jobSelected].jobLocation),D(4),ee(r.jobList[r.jobSelected].jobEnterprise),D(3),ee(r.jobList[r.jobSelected].jobContractType),D(4),ee(r.jobList[r.jobSelected].jobTime),D(4),ee(r.jobList[r.jobSelected].jobType),D(7),Ee(" ",r.jobList[r.jobSelected].jobDescription," "))},dependencies:[zp]}),e})();const r$=function(){return["Relevancia","Fecha","Salario"]},o$=function(){return["Urgente","Desde ayer","\xdaltimos 3 d\xedas","\xdaltima semana","\xdalitmos 15 d\xedas","\xdaltimo mes"]},s$=function(){return["Inform\xe1tica / Telecomunicaciones","Hosteler\xeda / Turismo","Adminsitraci\xf3n / Oficina","Dise\xf1o / Artes gr\xe1ficas","Otros"]},a$=function(){return["Presencial","H\xedbrido","Remoto"]},l$=function(){return["Sin experiencia","1 a\xf1o","2 a\xf1os","3-4 a\xf1os","5-10 a\xf1os","M\xe1s de 10 a\xf1os"]},c$=function(){return["M\xe1s de $ 5,000","M\xe1s de $ 10,000","M\xe1s de $ 15,000","M\xe1s de $ 20,000","M\xe1s de $ 30,000","M\xe1s de $ 40,000","M\xe1s de $ 50,000","M\xe1s de $ 65,000","M\xe1s de $ 80,000"]},u$=function(){return["Tiempo completo","Media tiempo","Por horas"]},d$=function(){return["Por tiempo indeterminado","Por tiempo determinado","Otro tipo de contrato"]};let h$=(()=>{var t;class e{recieveDataCard(n){console.log("Llamada a recieveDataCard")}constructor(n,r,o){this.breakpointObserver=n,this.MediaMatcher=r,this.JobsService=o,this.sizeDisplay="mobile",this.inputJobList=[],this.idJob=0,this.inputJobData=this.inputJobList[this.idJob],this.mediaQuery(),this.inputJobList=this.JobsService.inputJobList}mediaQuery(){this.breakpointObserver.observe(["(min-width: 0px) and (max-width: 1023px)"]).subscribe(n=>{n.matches&&(this.sizeDisplay="mobile",console.log("Small"))}),this.breakpointObserver.observe(["(min-width: 1024px)"]).subscribe(n=>{n.matches&&(this.sizeDisplay="desktop",console.log("Web"))})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(Tu),_(Dx),_(Eg))},t.\u0275cmp=fe({type:t,selectors:[["ng-component"]],decls:32,vars:20,consts:[[1,"w-full","relative","bg-[#F1F5F9]"],[1,"w-full","flex","flex-col","desktop:flex-row","desktop:justify-center"],[1,"mx-5","mt-5","desktop:w-1/3","relative"],["type","text","placeholder","\xbfQu\xe9 empleo est\xe1s buscando?",1,"w-full","h-12","rounded-full","px-4","outline-none","drop-shadow-sm","hover:drop-shadow-lg","focus-within:drop-shadow-lg","transition-all","duration-200","ease-in-out"],[1,"w-10","h-10","absolute","right-1","top-1","flex","justify-center","items-center","bg-Intense-Turquoise","hover:bg-[#0A585C]","p-2","rounded-full","transition-all","duration-200","ease-in-out","hover:cursor-pointer"],[1,"fa-solid","fa-search","text-xl","text-white"],[1,"mx-5","mt-5","relative","w-1/3","hidden","lg:block"],["type","text","placeholder","\xbfD\xf3nde?",1,"w-full","h-12","rounded-full","px-4","outline-none","drop-shadow-sm","hover:drop-shadow-lg","focus-within:drop-shadow-lg","transition-all","duration-200","ease-in-out"],[1,"mx-5","my-5","relative","flex","flex-row","flex-wrap","justify-start"],["labelMenu","Ordenar por",3,"filterOptions"],["labelMenu","Fecha",3,"filterOptions"],["labelMenu","Categor\xeda",3,"filterOptions"],["labelMenu","Modalidad de trabajo",3,"filterOptions"],["labelMenu","Experiencia",3,"filterOptions"],["labelMenu","Salario",3,"filterOptions"],["labelMenu","Jornada",3,"filterOptions"],["labelMenu","Tipo de contrato",3,"filterOptions"],[1,"flex","flex-row","w-full","px-5","my-5","desktop:sticky","desktop:h-full"],[1,"relative","flex","flex-col","justify-start","pt-5","desktop:w-[40%]","overflow-y-auto"],[1,"w-full","h-20","bg-white","flex","flex-row","justify-center","items-center"],[1,"font-semibold"],[1,"mx-1"],[3,"jobList","sizeOfDisplay"],[1,"hidden","h-screen","p-5","desktop:block","desktop:w-[60%]","desktop:sticky"],[3,"jobSelected","jobList","outputJobData"]],template:function(n,r){1&n&&(m(0,"div",0),I(1,"shared-navigation-bar"),m(2,"div",1)(3,"div",2),I(4,"input",3),m(5,"span",4),I(6,"i",5),g()(),m(7,"div",6),I(8,"input",7),m(9,"span",4),I(10,"i",5),g()()(),m(11,"div",8),I(12,"filter-dropdown",9)(13,"filter-dropdown",10)(14,"filter-dropdown",11)(15,"filter-dropdown",12)(16,"filter-dropdown",13)(17,"filter-dropdown",14)(18,"filter-dropdown",15)(19,"filter-dropdown",16),g(),m(20,"div",17)(21,"div",18)(22,"div",19)(23,"span",20),C(24,"350"),g(),m(25,"span",21),C(26,"Trabajos de"),g(),m(27,"span",20),C(28,"Desarrollador web"),g()(),I(29,"job-expansion",22),g(),m(30,"div",23)(31,"card-detail-job",24),B("outputJobData",function(){return r.recieveDataCard(r.idJob)}),g()()()()),2&n&&(D(12),k("filterOptions",vn(12,r$)),D(1),k("filterOptions",vn(13,o$)),D(1),k("filterOptions",vn(14,s$)),D(1),k("filterOptions",vn(15,a$)),D(1),k("filterOptions",vn(16,l$)),D(1),k("filterOptions",vn(17,c$)),D(1),k("filterOptions",vn(18,u$)),D(1),k("filterOptions",vn(19,d$)),D(10),k("jobList",r.inputJobList)("sizeOfDisplay",r.sizeDisplay),D(2),k("jobSelected",r.idJob)("jobList",r.inputJobList))},dependencies:[xg,TM,FM,i$]}),e})();const f$=function(){return["/login"]};let p$=(()=>{var t;class e{constructor(n,r,o){this._snackBar=n,this._router=r,this._authService=o,this.personalInfoFormModel={address:"",city:"",state:"",zipCode:"",country:"",phone:"",role:1,age:0,gender:0},this.dataContact={},this.dataContact=this._router.getCurrentNavigation()?.extras?.state?.data||{},this.personalInfoFormModel={...this.personalInfoFormModel,...this.dataContact}}onRegisterSubmit(){this.validateData(this.personalInfoFormModel)&&(console.log("registerPersonalFormModel",this.personalInfoFormModel),this._authService.registerUser(this.personalInfoFormModel).subscribe(n=>{this.openSnackBar(n.message),200==n.status&&this._router.navigate(["/login"])}))}validateData(n){return new RegExp("^[a-zA-Z\xc0-\xff\xf1\xd1 ]+$"),n.address&&n.city&&n.state&&n.zipCode&&n.country?n.address.length<5?(this.openSnackBar("La direcci\xf3n debe tener al menos 5 caracteres"),!1):n.city.length<3?(this.openSnackBar("La ciudad debe tener al menos 3 caracteres"),!1):n.state.length<3?(this.openSnackBar("El estado debe tener al menos 3 caracteres"),!1):n.zipCode.length<4?(this.openSnackBar("El c\xf3digo postal debe tener al menos 4 caracteres"),!1):!(n.country.length<3&&(this.openSnackBar("El pa\xeds debe tener al menos 3 caracteres"),1)):(this.openSnackBar("Todos los campos son requeridos"),!1)}openSnackBar(n){this._snackBar.open(n,"Aceptar",{horizontalPosition:"center",verticalPosition:"bottom",duration:5e3})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ng),_(nt),_(Ui))},t.\u0275cmp=fe({type:t,selectors:[["app-register-personal"]],decls:37,vars:9,consts:[[1,"h-full","md:w-full","flex","flex-row"],[1,"bg-Bright-Cyan","hidden","md:flex","md:w-1/2","flex-col","items-center","justify-center"],[1,"w-10/12","text-4xl","shadow-sm","font-Poppins","font-medium","text-white","mb-10"],["src","/assets/img/register_aside.svg",1,"w-96"],[1,"w-full","h-full","flex","flex-col","justify-center","items-center","bg-slate-100","login-bg-pattern"],["src","/assets/img/persInfo_header.svg","alt","Login",1,"w-1/2","md:h-1/5"],[1,"mt-16","text-slate-800","font-Poppins","font-medium","text-3xl"],[3,"ngSubmit"],["id","registerForms",1,"mt-10"],[1,"relative","w-80","md:w-96"],["type","text","name","address","placeholder","Direcci\xf3n",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],[1,"flex","flex-row","justify-between","mt-5"],[1,"w-[155px]","md:w-[185px]"],["type","text","name","city","placeholder","Ciudad",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],["type","text","name","state","placeholder","Estado",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],["type","text","name","zipCode","placeholder","C\xf3digo postal",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],["type","text","name","country","placeholder","Pa\xeds",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],[1,"h-[1px]","my-4","border-0","bg-gray-300"],["min","1","max","100","type","number","name","Age","placeholder","Ingrese su edad",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],["type","text","name","Phone","placeholder","(999) 111 2233",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","p-2.5",3,"ngModel","ngModelChange"],[1,"w-80","md:w-96","mt-5"],["type","submit",1,"font-bold","text-white","bg-Bright-Cyan","hover:bg-Intense-Turquoise","focus:ring-4","focus:ring-blue-300","rounded-lg","text-sm","w-full","py-2.5"],[1,"mt-5","flex"],[1,"text-sm","text-slate-800","font-Poppins","mr-2"],["routerLinkActive","router-link-active",1,"text-sm","font-medium","text-Intense-Turquoise","font-Poppins","hover:text-Serene-Blue",3,"routerLink"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1)(2,"h2",2),C(3," Aqu\xed ir\xeda un slogan bien HD "),g(),I(4,"img",3),g(),m(5,"div",4),I(6,"img",5),m(7,"h2",6),C(8," Datos personales "),g(),m(9,"form",7),B("ngSubmit",function(){return r.onRegisterSubmit()}),m(10,"div",8)(11,"div",9)(12,"input",10),B("ngModelChange",function(s){return r.personalInfoFormModel.address=s}),g()(),m(13,"div",11)(14,"div",12)(15,"input",13),B("ngModelChange",function(s){return r.personalInfoFormModel.city=s}),g()(),m(16,"div",12)(17,"input",14),B("ngModelChange",function(s){return r.personalInfoFormModel.state=s}),g()()(),m(18,"div",11)(19,"div",12)(20,"input",15),B("ngModelChange",function(s){return r.personalInfoFormModel.zipCode=s}),g()(),m(21,"div",12)(22,"input",16),B("ngModelChange",function(s){return r.personalInfoFormModel.country=s}),g()()(),I(23,"hr",17),m(24,"div",11)(25,"div",12)(26,"input",18),B("ngModelChange",function(s){return r.personalInfoFormModel.age=s}),g()(),m(27,"div",12)(28,"input",19),B("ngModelChange",function(s){return r.personalInfoFormModel.phone=s}),g()()()(),m(29,"div",20)(30,"button",21),C(31," Crear cuenta "),g()()(),m(32,"div",22)(33,"p",23),C(34," \xbfYa tienes cuenta? "),g(),m(35,"a",24),C(36," Inicia sesi\xf3n "),g()()()()),2&n&&(D(12),k("ngModel",r.personalInfoFormModel.address),D(3),k("ngModel",r.personalInfoFormModel.city),D(2),k("ngModel",r.personalInfoFormModel.state),D(3),k("ngModel",r.personalInfoFormModel.zipCode),D(2),k("ngModel",r.personalInfoFormModel.country),D(4),k("ngModel",r.personalInfoFormModel.age),D(2),k("ngModel",r.personalInfoFormModel.phone),D(7),k("routerLink",vn(8,f$)))},dependencies:[ed,Jo,mg,zu,Gu,Cg,wg,Qa,ns,Bi,Sm]}),e})();function m$(t,e){}class rd{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let LM=(()=>{var t;class e extends Nu{constructor(n,r,o,s,a,l,c,u){super(),this._elementRef=n,this._focusTrapFactory=r,this._config=s,this._interactivityChecker=a,this._ngZone=l,this._overlayRef=c,this._focusMonitor=u,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=d=>{this._portalOutlet.hasAttached();const h=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),h},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(n){this._portalOutlet.hasAttached();const r=this._portalOutlet.attachComponentPortal(n);return this._contentAttached(),r}attachTemplatePortal(n){this._portalOutlet.hasAttached();const r=this._portalOutlet.attachTemplatePortal(n);return this._contentAttached(),r}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(n,r){this._interactivityChecker.isFocusable(n)||(n.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{n.removeEventListener("blur",o),n.removeEventListener("mousedown",o),n.removeAttribute("tabindex")};n.addEventListener("blur",o),n.addEventListener("mousedown",o)})),n.focus(r)}_focusByCssSelector(n,r){let o=this._elementRef.nativeElement.querySelector(n);o&&this._forceFocus(o,r)}_trapFocus(){const n=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||n.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(r=>{r||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const n=this._config.restoreFocus;let r=null;if("string"==typeof n?r=this._document.querySelector(n):"boolean"==typeof n?r=n?this._elementFocusedBeforeDialogWasOpened:null:n&&(r=n),this._config.restoreFocus&&r&&"function"==typeof r.focus){const o=Nm(),s=this._elementRef.nativeElement;(!o||o===this._document.body||o===s||s.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const n=this._elementRef.nativeElement,r=Nm();return n===r||n.contains(r)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Nm())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_($m),_(ne,8),_(rd),_(Ru),_(G),_(qa),_(xr))},t.\u0275cmp=fe({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(n,r){if(1&n&&Ao(Qo,7),2&n){let o;rn(o=on())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,r){2&n&&qe("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[X],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,r){1&n&&Q(0,m$,0,0,"ng-template",0)},dependencies:[Qo],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),e})();class Ig{constructor(e,i){this.overlayRef=e,this.config=i,this.closed=new q,this.disableClose=i.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=i.id,this.keydownEvents.subscribe(n=>{27===n.keyCode&&!this.disableClose&&!Fa(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{!1!==i.closeOnOverlayDetachments&&this.close()})}close(e,i){if(this.containerInstance){const n=this.closed;this.containerInstance._closeInteractionType=i?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(e),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",i=""){return this.overlayRef.updateSize({width:e,height:i}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}}const VM=new M("DialogScrollStrategy"),g$=new M("DialogData"),_$=new M("DefaultDialogConfig"),b$={provide:VM,deps:[qn],useFactory:function v$(t){return()=>t.scrollStrategies.block()}};let y$=0,BM=(()=>{var t;class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(n,r,o,s,a,l){this._overlay=n,this._injector=r,this._defaultOptions=o,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new q,this._afterOpenedAtThisLevel=new q,this._ariaHiddenElements=new Map,this.afterAllClosed=iu(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(pi(void 0))),this._scrollStrategy=l}open(n,r){(r={...this._defaultOptions||new rd,...r}).id=r.id||"cdk-dialog-"+y$++,r.id&&this.getDialogById(r.id);const s=this._getOverlayConfig(r),a=this._overlay.create(s),l=new Ig(a,r),c=this._attachContainer(a,l,r);return l.containerInstance=c,this._attachDialogContent(n,l,c,r),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){Tg(this.openDialogs,n=>n.close())}getDialogById(n){return this.openDialogs.find(r=>r.id===n)}ngOnDestroy(){Tg(this._openDialogsAtThisLevel,n=>{!1===n.config.closeOnDestroy&&this._removeOpenDialog(n,!1)}),Tg(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(n){const r=new Vu({positionStrategy:n.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,width:n.width,height:n.height,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(r.backdropClass=n.backdropClass),r}_attachContainer(n,r,o){const s=o.injector||o.viewContainerRef?.injector,a=[{provide:rd,useValue:o},{provide:Ig,useValue:r},{provide:qa,useValue:n}];let l;o.container?"function"==typeof o.container?l=o.container:(l=o.container.type,a.push(...o.container.providers(o))):l=LM;const c=new Ua(l,o.viewContainerRef,Fe.create({parent:s||this._injector,providers:a}),o.componentFactoryResolver);return n.attach(c).instance}_attachDialogContent(n,r,o,s){if(n instanceof Wt){const a=this._createInjector(s,r,o,void 0);let l={$implicit:s.data,dialogRef:r};s.templateContext&&(l={...l,..."function"==typeof s.templateContext?s.templateContext():s.templateContext}),o.attachTemplatePortal(new $a(n,null,l,a))}else{const a=this._createInjector(s,r,o,this._injector),l=o.attachComponentPortal(new Ua(n,s.viewContainerRef,a,s.componentFactoryResolver));r.componentRef=l,r.componentInstance=l.instance}}_createInjector(n,r,o,s){const a=n.injector||n.viewContainerRef?.injector,l=[{provide:g$,useValue:n.data},{provide:Ig,useValue:r}];return n.providers&&("function"==typeof n.providers?l.push(...n.providers(r,n,o)):l.push(...n.providers)),n.direction&&(!a||!a.get(ku,null,{optional:!0}))&&l.push({provide:ku,useValue:{value:n.direction,change:L()}}),Fe.create({parent:a||s,providers:l})}_removeOpenDialog(n,r){const o=this.openDialogs.indexOf(n);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const n=this._overlayContainer.getContainerElement();if(n.parentElement){const r=n.parentElement.children;for(let o=r.length-1;o>-1;o--){const s=r[o];s!==n&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return(t=e).\u0275fac=function(n){return new(n||t)(w(qn),w(Fe),w(_$,8),w(t,12),w(Bu),w(VM))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();function Tg(t,e){let i=t.length;for(;i--;)e(t[i])}let w$=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[BM,b$],imports:[ju,Xo,R4,Xo]}),e})();function C$(t,e){}class od{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const Rg="mdc-dialog--open",jM="mdc-dialog--opening",HM="mdc-dialog--closing";let x$=(()=>{var t;class e extends LM{constructor(n,r,o,s,a,l,c,u){super(n,r,o,s,a,l,c,u),this._animationStateChanged=new re}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(n){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_($m),_(ne,8),_(od),_(Ru),_(G),_(qa),_(xr))},t.\u0275cmp=fe({type:t,selectors:[["ng-component"]],features:[X],decls:0,vars:0,template:function(n,r){},encapsulation:2}),e})();const UM="--mat-dialog-transition-duration";function $M(t){return null==t?null:"number"==typeof t?t:t.endsWith("ms")?Um(t.substring(0,t.length-2)):t.endsWith("s")?1e3*Um(t.substring(0,t.length-1)):"0"===t?0:null}let S$=(()=>{var t;class e extends x${constructor(n,r,o,s,a,l,c,u,d){super(n,r,o,s,a,l,c,d),this._animationMode=u,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?$M(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?$M(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(UM,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(jM,Rg)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Rg),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Rg),this._animationsEnabled?(this._hostElement.style.setProperty(UM,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(HM)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(jM,HM)}_waitForAnimationToComplete(n,r){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,n)}_requestAnimationFrame(n){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(n):n()})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(ve),_($m),_(ne,8),_(od),_(Ru),_(G),_(qa),_(Nn,8),_(xr))},t.\u0275cmp=fe({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(n,r){2&n&&(xc("id",r._config.id),qe("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),Ot("_mat-animation-noopable",!r._animationsEnabled))},features:[X],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1),Q(2,C$,0,0,"ng-template",2),g()())},dependencies:[Qo],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),e})();class zM{constructor(e,i,n){this._ref=e,this._containerInstance=n,this._afterOpened=new q,this._beforeClosed=new q,this._state=0,this.disableClose=i.disableClose,this.id=e.id,n._animationStateChanged.pipe(Re(r=>"opened"===r.state),et(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(Re(r=>"closed"===r.state),et(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Xi(this.backdropClick(),this.keydownEvents().pipe(Re(r=>27===r.keyCode&&!this.disableClose&&!Fa(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),function M$(t,e,i){t._closeInteractionType=e,t.close(i)}(this,"keydown"===r.type?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Re(i=>"closing"===i.state),et(1)).subscribe(i=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let i=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?i.left(e.left):i.right(e.right):i.centerHorizontally(),e&&(e.top||e.bottom)?e.top?i.top(e.top):i.bottom(e.bottom):i.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",i=""){return this._ref.updateSize(e,i),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const GM=new M("MatMdcDialogData"),A$=new M("mat-mdc-dialog-default-options"),qM=new M("mat-mdc-dialog-scroll-strategy"),T$={provide:qM,deps:[qn],useFactory:function I$(t){return()=>t.scrollStrategies.block()}};let R$=0,O$=(()=>{var t;class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(n,r,o,s,a,l,c,u,d,h){this._overlay=n,this._defaultOptions=o,this._parentDialog=s,this._dialogRefConstructor=c,this._dialogContainerType=u,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new q,this._afterOpenedAtThisLevel=new q,this._idPrefix="mat-dialog-",this.dialogConfigClass=od,this.afterAllClosed=iu(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(pi(void 0))),this._scrollStrategy=l,this._dialog=r.get(BM)}open(n,r){let o;(r={...this._defaultOptions||new od,...r}).id=r.id||`${this._idPrefix}${R$++}`,r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();const s=this._dialog.open(n,{...r,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:r},{provide:rd,useValue:r}]},templateContext:()=>({dialogRef:o}),providers:(a,l,c)=>(o=new this._dialogRefConstructor(a,r,c),o.updatePosition(r?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])});return o.componentRef=s.componentRef,o.componentInstance=s.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{const a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(n){return this.openDialogs.find(r=>r.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(n){let r=n.length;for(;r--;)n[r].close()}}return(t=e).\u0275fac=function(n){hc()},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})(),sd=(()=>{var t;class e extends O${constructor(n,r,o,s,a,l,c,u){super(n,r,s,l,c,a,zM,S$,GM,u),this._idPrefix="mat-mdc-dialog-"}}return(t=e).\u0275fac=function(n){return new(n||t)(w(qn),w(Fe),w(ca,8),w(A$,8),w(qM),w(t,12),w(Bu),w(Nn,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})(),k$=0,P$=(()=>{var t;class e{constructor(n,r,o){this._dialogRef=n,this._elementRef=r,this._dialog=o,this.id="mat-mdc-dialog-title-"+k$++}ngOnInit(){this._dialogRef||(this._dialogRef=function L$(t,e){let i=t.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-mdc-dialog-container");)i=i.parentElement;return i?e.find(n=>n.id===i.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const n=this._dialogRef?._containerInstance?._ariaLabelledByQueue;n&&Promise.resolve().then(()=>{const r=n.indexOf(this.id);r>-1&&n.splice(r,1)})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(zM,8),_(ve),_(sd))},t.\u0275dir=N({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(n,r){2&n&&xc("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e})(),N$=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),e})(),F$=(()=>{var t;class e{constructor(){this.align="start"}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(n,r){2&n&&Ot("mat-mdc-dialog-actions-align-center","center"===r.align)("mat-mdc-dialog-actions-align-end","end"===r.align)},inputs:{align:"align"}}),e})(),V$=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[sd,T$],imports:[w$,ju,Xo,xn,xn]}),e})();function B$(t,e){1&t&&Pf(0)}function j$(t,e){1&t&&I(0,"input",30)}function H$(t,e){if(1&t&&(m(0,"option",31),C(1),g()),2&t){const i=e.$implicit;qt("value",i),D(1),Ee(" ",i," ")}}function U$(t,e){if(1&t&&(m(0,"option",31),C(1),g()),2&t){const i=e.$implicit;qt("value",i),D(1),Ee(" ",i," ")}}function $$(t,e){if(1&t){const i=Do();m(0,"div",10)(1,"div",11)(2,"div",12),en(),m(3,"svg",13),I(4,"path",14),g()(),_s(),I(5,"input",15),g(),m(6,"div",11)(7,"div",12),en(),m(8,"svg",13),I(9,"path",14),g()(),_s(),I(10,"input",16),g()(),m(11,"div",17)(12,"div",18)(13,"span",19),C(14,"Hombre"),g(),m(15,"label",20),Q(16,j$,1,0,"input",21),I(17,"div",22),g(),m(18,"span",23),C(19,"Mujer"),g()(),m(20,"div",18),I(21,"input",24),g()(),m(22,"div",25)(23,"select",26),B("change",function(r){return ei(i),ti(Le().onChangeState(r))}),m(24,"option",27),C(25,"Seleccione un estado"),g(),Q(26,H$,2,2,"option",28),g(),m(27,"select",29)(28,"option",27),C(29,"Seleccione una ciudad"),g(),Q(30,U$,2,2,"option",28),g()()}if(2&t){const i=Le();D(5),qt("value",i.data.user.firstName),D(5),qt("value",i.data.user.lastName),D(6),k("ngIf",i.data.user.gender),D(5),qt("value",i.data.user.age),D(5),k("ngForOf",i.stateList),D(4),k("ngForOf",i.cities)}}function z$(t,e){1&t&&(m(0,"p"),C(1,"Datos CONTACTO"),g())}function G$(t,e){1&t&&(m(0,"p"),C(1,"Datos PERSONALES"),g())}function q$(t,e){1&t&&(m(0,"p"),C(1,"Datos EXPERIENCIA"),g())}let W$=(()=>{var t;class e{constructor(n,r,o){this.data=n,this.dialog=r,this._accountService=o,this.cities=[]}closeDialog(){this.dialog.closeAll()}get stateList(){return this._accountService.statesList}onChangeState(n){this._accountService.citiesOfState(n.target.value).subscribe(r=>{this.cities=r.data})}saveData(){}}return(t=e).\u0275fac=function(n){return new(n||t)(_(GM),_(sd),_(td))},t.\u0275cmp=fe({type:t,selectors:[["app-profile-form"]],decls:17,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf","ngIfThen","ngIfElse"],["mat-dialog-actions","",1,"space-x-4"],["mat-button","","type","button",1,"px-5","py-2.5","text-red-900","border-2","border-red-900","hover:bg-gray-100","font-medium","rounded-lg","text-sm",3,"click"],["mat-button","","type","button",1,"px-5","py-2.5","text-white","bg-Bright-Cyan","hover:bg-Intense-Turquoise","font-medium","rounded-lg","text-sm"],["profile",""],["contact",""],["personal",""],["experience",""],[1,"flex","flex-row","space-x-5","mb-5"],[1,"relative","w-80","md:w-96"],[1,"absolute","inset-y-0","left-0","flex","items-center","pl-3.5","pointer-events-none"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-5","h-5"],["stroke-linecap","round","stroke-linejoin","round","d","M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z"],["type","text","name","name","placeholder","Nombre(s)",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","pl-10","p-2.5",3,"value"],["type","text","name","lastName","placeholder","Apellidos",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","block","w-full","pl-10","p-2.5",3,"value"],[1,"flex","flex-row","w-full","mb-5","space-x-5"],[1,"w-full"],[1,"mr-3","text-sm","font-medium","text-gray-900"],[1,"relative","inline-flex","items-center","cursor-pointer"],["then","","checked","","type","checkbox","class","sr-only peer",4,"ngIf"],[1,"w-11","h-6","bg-cyan-500","peer-focus:outline-none","rounded-full","peer","peer-checked:after:translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-[2px]","after:left-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-pink-500"],[1,"ml-3","text-sm","font-medium","text-gray-900"],["min","1","max","100","type","number","id","age","placeholder","Seleccione su edad","required","",1,"block","w-full","p-2.5","bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500",3,"value"],[1,"flex","flex-row","mb-5","space-x-5"],["id","state",1,"block","w-full","p-2.5","bg-gray-50","rounded-lg","border","border-gray-300","text-gray-900","text-sm","focus:ring-blue-500","focus:border-blue-500",3,"change"],["selected","","disabled",""],[3,"value",4,"ngFor","ngForOf"],["id","city",1,"block","w-full","p-2.5","bg-gray-50","rounded-lg","border","border-gray-300","text-gray-900","text-sm","focus:ring-blue-500","focus:border-blue-500"],["then","","checked","","type","checkbox",1,"sr-only","peer"],[3,"value"]],template:function(n,r){if(1&n&&(m(0,"h1",0),C(1,"Actualizar perfil"),g(),m(2,"div",1),Q(3,B$,1,0,"ng-container",2),g(),m(4,"div",3)(5,"button",4),B("click",function(){return r.closeDialog()}),C(6," Cancelar "),g(),m(7,"button",5),C(8," Actualizar "),g()(),Q(9,$$,31,6,"ng-template",null,6,jn),Q(11,z$,2,0,"ng-template",null,7,jn),Q(13,G$,2,0,"ng-template",null,8,jn),Q(15,q$,2,0,"ng-template",null,9,jn)),2&n){const o=mn(10),s=mn(12),a=mn(14),l=mn(16);D(3),k("ngIf",1===r.data.type)("ngIfThen",o)("ngIfElse",2===r.data.type?a:3===r.data.type?s:l)}},dependencies:[_r,yn,P$,N$,F$]}),e})(),Y$=(()=>{var t;class e{transform(n){let r=new Date(n),o=r.getMonth(),s=r.getFullYear(),a="";switch(o){case 0:a="Enero";break;case 1:a="Febrero";break;case 2:a="Marzo";break;case 3:a="Abril";break;case 4:a="Mayo";break;case 5:a="Junio";break;case 6:a="Julio";break;case 7:a="Agosto";break;case 8:a="Septiembre";break;case 9:a="Octubre";break;case 10:a="Noviembre";break;case 11:a="Diciembre"}return`${a}, ${s}`}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275pipe=gt({name:"dateFix",type:t,pure:!0}),e})();function Z$(t,e){if(1&t&&(m(0,"p",21),C(1),ui(2,"dateFix"),g()),2&t){const i=Le().$implicit;D(1),Ee("",hr(2,1,i.start)," - Actual")}}function K$(t,e){if(1&t&&(m(0,"p",21),C(1),ui(2,"dateFix"),ui(3,"dateFix"),g()),2&t){const i=Le().$implicit;D(1),Ks("",hr(2,2,i.start)," - ",hr(3,4,i.end),"")}}function Q$(t,e){if(1&t&&(m(0,"div",18)(1,"div",11)(2,"p",15),C(3),g(),Q(4,Z$,3,3,"p",19),Q(5,K$,4,6,"p",19),m(6,"p",20),C(7),g()(),I(8,"hr"),g()),2&t){const i=e.$implicit;D(3),Ks("",i.position," en ",i.business,""),D(1),k("ngIf",i.current),D(1),k("ngIf",!i.current),D(2),Ee(" ",i.description," ")}}const X$=function(t,e){return{"bg-cyan-500":t,"bg-pink-500":e}};let J$=(()=>{var t;class e{constructor(n,r,o,s){this._accountService=n,this._authService=r,this._router=o,this._dialogRef=s}get AccountData(){return this._accountService.getAccountData()}getUserLogo(){let n="";const r=this.AccountData.firstName.split(" "),o=this.AccountData.lastName.split(" ");return n+=r[0].charAt(0),n+=o[0].charAt(0),n.toUpperCase()}ngOnInit(){console.log(this.AccountData),this._authService.isSessionExpired()&&(this._router.navigate(["/login"]),this._authService.logout())}openDialog(n){this._dialogRef.open(W$,{data:{type:n,user:this.AccountData},width:"600px"}).afterClosed().subscribe(o=>{})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(td),_(Ui),_(nt),_(sd))},t.\u0275cmp=fe({type:t,selectors:[["app-profile-page"]],decls:54,vars:16,consts:[[1,"font-Poppins","w-full"],[1,"flex","flex-col","p-4","space-y-5","md:ml-44","md:mr-44","md:items-start","select-none"],[1,"w-full","md:flex","md:flex-row","md:space-y-0","md:space-x-5","space-y-5"],[1,"bg-white","rounded-md","shadow-md","p-3","w-full","transform","hover:md:-translate-y-1","hover:md:shadow-lg","cursor-pointer",3,"click"],[1,"text-xl","font-bold","text-Bright-Cyan"],[1,"flex","flex-col","items-center","space-y-2"],[1,"rounded-full",3,"ngClass"],[1,"text-6xl","h-32","w-32","flex","justify-center","items-center","font-semibold","text-white"],[1,"font-medium","text-xl"],[1,"w-40","flex","flex-row","justify-between","text-base","text-slate-700"],[1,"text-base","text-slate-700"],[1,"flex","flex-col"],[1,"md:flex","md:flex-row","md:space-y-0","md:space-x-5","space-y-5"],[1,"flex","flex-col","space-y-3"],[1,"text-xs","text-slate-400"],[1,"text-base","font-light"],[1,"text-base","font-light","line-clamp-5"],["class","flex flex-col space-y-6",4,"ngFor","ngForOf"],[1,"flex","flex-col","space-y-6"],["class","text-xs font-light text-slate-400 mb-2",4,"ngIf"],[1,"text-base","font-light","line-clamp-4"],[1,"text-xs","font-light","text-slate-400","mb-2"]],template:function(n,r){1&n&&(I(0,"shared-navigation-bar"),m(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),B("click",function(){return r.openDialog(1)}),m(5,"h2",4),C(6,"Perfil"),g(),m(7,"div",5)(8,"div",6)(9,"p",7),C(10),g()(),m(11,"h3",8),C(12),g(),m(13,"div",9)(14,"p"),C(15),g(),m(16,"p"),C(17," \u2022 "),g(),m(18,"p"),C(19),g()(),m(20,"p",10),C(21),g()()(),m(22,"div",3),B("click",function(){return r.openDialog(2)}),m(23,"h2",4),C(24,"Datos de contacto"),g(),m(25,"div",11)(26,"p"),C(27),g(),m(28,"p"),C(29),g()()()(),m(30,"div",12)(31,"div",3),B("click",function(){return r.openDialog(3)}),m(32,"h2",4),C(33," Informaci\xf3n personal "),g(),m(34,"div",13)(35,"div",11)(36,"p",14),C(37,"Puesto"),g(),m(38,"p",15),C(39),g()(),m(40,"div",11)(41,"p",14),C(42,"Salario aproximado"),g(),m(43,"p",15),C(44),g()(),m(45,"div",11)(46,"p",14),C(47,"Acerca de mi"),g(),m(48,"p",16),C(49),g()()()(),m(50,"div",3),B("click",function(){return r.openDialog(4)}),m(51,"h2",4),C(52," Experiencia profesional "),g(),Q(53,Q$,9,5,"div",17),g()()()()),2&n&&(D(8),k("ngClass",ia(13,X$,!r.AccountData.gender,r.AccountData.gender)),D(2),ee(r.getUserLogo()),D(2),ee(r.AccountData.firstName+" "+r.AccountData.lastName),D(3),ee(0==r.AccountData.gender?"Hombre":"Mujer"),D(4),Ee("",r.AccountData.age," a\xf1os"),D(2),Ks("",r.AccountData.city,", ",r.AccountData.state,""),D(6),ee(r.AccountData.phone),D(2),ee(r.AccountData.email),D(10),ee(r.AccountData.career),D(5),Ee("$",r.AccountData.salary,""),D(5),ee(r.AccountData.about),D(4),k("ngForOf",r.AccountData.experience))},dependencies:[ko,_r,yn,xg,Y$],encapsulation:2}),e})();const Og=function(t,e){return{"text-Bright-Cyan":t,"text-gray-400":e}};let ez=(()=>{var t;class e{constructor(){this.idxSubmenu=0,this.idx=new re}changeIndex(n){this.idxSubmenu=n,this.idx.emit(this.idxSubmenu)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["app-jobs-submenu"]],outputs:{idx:"idx"},decls:13,vars:12,consts:[[1,"select-none","cursor-pointer","font-Poppins","bg-white","container","mx-auto","shadow-sm","border-gray-200","border","flex","flex-col","text-center","md:flex-row","justify-center"],[1,"block","px-4","py-2","text-xl","border-l-2","border-r-2",3,"ngClass","click"],[1,"fa-solid","fa-briefcase","mr-3"],[1,"font-medium"],[1,"block","px-4","py-2","text-xl","border-r-2",3,"ngClass","click"],[1,"fa-solid","fa-users","mr-3"],[1,"fa-solid","fa-gear","mr-3"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1),B("click",function(){return r.changeIndex(0)}),I(2,"i",2),m(3,"span",3),C(4,"MIS EMPLEOS"),g()(),m(5,"div",4),B("click",function(){return r.changeIndex(1)}),I(6,"i",5),m(7,"span",3),C(8,"POSTULANTES"),g()(),m(9,"div",4),B("click",function(){return r.changeIndex(2)}),I(10,"i",6),m(11,"span",3),C(12,"CONFIGURACI\xd3N"),g()()()),2&n&&(D(1),k("ngClass",ia(3,Og,0===r.idxSubmenu,0!==r.idxSubmenu)),D(4),k("ngClass",ia(6,Og,1===r.idxSubmenu,1!==r.idxSubmenu)),D(4),k("ngClass",ia(9,Og,2===r.idxSubmenu,2!==r.idxSubmenu)))},dependencies:[ko],encapsulation:2}),e})(),tz=(()=>{var t;class e{constructor(){this.jobData={}}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["app-job-card"]],inputs:{jobData:"jobData"},decls:22,vars:6,consts:[[1,"relative"],[1,"text-lg","font-semibold","text-slate-900","line-clamp-1",3,"title"],[1,"flex","flex-row","items-center","space-x-2"],[1,"fa-solid","fa-circle-info","text-slate-400"],[1,"w-full","text-sm","text-slate-500","line-clamp-1"],[1,"fa-solid","fa-location-dot","text-slate-400","ml-[2px]","mr-[2px]"],[1,"fa-solid","fa-dollar-sign","text-slate-400","ml-1"],[1,"fa-solid","fa-calendar-days","text-slate-400"],[1,"absolute","bottom-0","right-0","cursor-pointer"],[1,"bg-orange-400","hover:bg-orange-300","text-white","rounded-md","px-2","py-1","text-sm","font-semibold"],[1,"fa-solid","fa-pen-to-square"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"h2",1),C(2),g(),m(3,"div",2),I(4,"i",3),m(5,"p",4),C(6),g()(),m(7,"div",2),I(8,"i",5),m(9,"p",4),C(10),g()(),m(11,"div",2),I(12,"i",6),m(13,"p",4),C(14),g()(),m(15,"div",2),I(16,"i",7),m(17,"p",4),C(18),g()(),m(19,"div",8)(20,"button",9),I(21,"i",10),g()()()),2&n&&(D(1),qt("title",r.jobData.JOBTITLE),D(1),ee(r.jobData.JOBTITLE),D(4),ee(r.jobData.JOBDESCRIPTION),D(4),ee(r.jobData.LOCATION),D(4),ee(r.jobData.SALARY),D(4),ee(r.jobData.CREATION_DATE))},encapsulation:2}),e})();function nz(t,e){1&t&&I(0,"app-job-card",8),2&t&&k("jobData",e.$implicit)}let iz=(()=>{var t;class e{constructor(){this.JobLists=[{JID:1,JOBTITLE:"Desarrollador Frontend",JOBDESCRIPTION:"Bsarrollo web.",LOCATION:"Ciudad emplo",REQUERIMENTS:"Requisit efectiva.",BENEFITS:"Beneficios: Salares de capacitaci\xf3n, ambiente de trabajo colaborativo.",STARTDATE:"25-09-2002",EMPLOYMENTTYPE:"Tiempleto",SALARY:"$50,000-$60,000 anuales",APPLICATION:"21-08-2025",CONTACT:"Para consulta(123) 456-7890",STATUS:1,EID_FK:1,CREATION_DATE:"25-09-2002"},{JID:1,JOBTITLE:"Desarrollador Backend",JOBDESCRIPTION:"Bsarrollo web.",LOCATION:"Ciudad emplo",REQUERIMENTS:"Requisit efectiva.",BENEFITS:"Beneficios: Salares de capacitaci\xf3n, ambiente de trabajo colaborativo.",STARTDATE:"25-09-2002",EMPLOYMENTTYPE:"Tiempleto",SALARY:"$50,000-$60,000 anuales",APPLICATION:"21-08-2025",CONTACT:"Para consulta(123) 456-7890",STATUS:1,EID_FK:1,CREATION_DATE:"25-09-2002"},{JID:1,JOBTITLE:"Analista de datos",JOBDESCRIPTION:"Bsarrollo web.",LOCATION:"Ciudad emplo",REQUERIMENTS:"Requisit efectiva.",BENEFITS:"Beneficios: Salares de capacitaci\xf3n, ambiente de trabajo colaborativo.",STARTDATE:"25-09-2002",EMPLOYMENTTYPE:"Tiempleto",SALARY:"$50,000-$60,000 anuales",APPLICATION:"21-08-2025",CONTACT:"Para consulta(123) 456-7890",STATUS:1,EID_FK:1,CREATION_DATE:"25-09-2002"},{JID:1,JOBTITLE:"Nombre de empleo largo para probar el front",JOBDESCRIPTION:"Bsarrollo web.",LOCATION:"Ciudad emplo",REQUERIMENTS:"Requisit efectiva.",BENEFITS:"Beneficios: Salares de capacitaci\xf3n, ambiente de trabajo colaborativo.",STARTDATE:"25-09-2002",EMPLOYMENTTYPE:"Tiempleto",SALARY:"$50,000-$60,000 anuales",APPLICATION:"21-08-2025",CONTACT:"Para consulta(123) 456-7890",STATUS:1,EID_FK:1,CREATION_DATE:"25-09-2002"},{JID:1,JOBTITLE:"Nombre del empleo largo",JOBDESCRIPTION:"Bsarrollo web.",LOCATION:"Ciudad emplo",REQUERIMENTS:"Requisit efectiva.",BENEFITS:"Beneficios: Salares de capacitaci\xf3n, ambiente de trabajo colaborativo.",STARTDATE:"25-09-2002",EMPLOYMENTTYPE:"Tiempleto",SALARY:"$50,000-$60,000 anuales",APPLICATION:"21-08-2025",CONTACT:"Para consulta(123) 456-7890",STATUS:1,EID_FK:1,CREATION_DATE:"25-09-2002"},{JID:1,JOBTITLE:"Prueba de la longitud del empleo",JOBDESCRIPTION:"Bsarrollo web.",LOCATION:"Ciudad emplo",REQUERIMENTS:"Requisit efectiva.",BENEFITS:"Beneficios: Salares de capacitaci\xf3n, ambiente de trabajo colaborativo.",STARTDATE:"25-09-2002",EMPLOYMENTTYPE:"Tiempleto",SALARY:"$50,000-$60,000 anuales",APPLICATION:"21-08-2025",CONTACT:"Para consulta(123) 456-7890",STATUS:1,EID_FK:1,CREATION_DATE:"25-09-2002"}]}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["app-jobs-list"]],decls:25,vars:1,consts:[[1,"grid","grid-cols-1","md:grid-cols-4","gap-4","select-none","justify-center","font-Poppins","bg-white","container","mx-auto","shadow-sm","m-3","p-3","border-gray-200","border"],["class","border rounded-md shadow-sm p-2",3,"jobData",4,"ngFor","ngForOf"],["aria-label","Pagination",1,"flex","justify-end","mt-5","m-3","container","mx-auto"],[1,"inline-flex","right-0","-space-x-px","text-sm"],["href","#",1,"flex","items-center","justify-center","px-3","h-8","ml-0","leading-tight","text-gray-500","bg-white","border","border-gray-300","rounded-l-lg","hover:bg-gray-100","hover:text-gray-700"],["href","#",1,"flex","items-center","justify-center","px-3","h-8","leading-tight","text-gray-500","bg-white","border","border-gray-300","hover:bg-gray-100","hover:text-gray-700"],["href","#","aria-current","page",1,"flex","items-center","justify-center","px-3","h-8","text-blue-600","border","border-gray-300","bg-blue-50","hover:bg-blue-100","hover:text-blue-700"],["href","#",1,"flex","items-center","justify-center","px-3","h-8","leading-tight","text-gray-500","bg-white","border","border-gray-300","rounded-r-lg","hover:bg-gray-100","hover:text-gray-700"],[1,"border","rounded-md","shadow-sm","p-2",3,"jobData"]],template:function(n,r){1&n&&(m(0,"div",0),Q(1,nz,1,1,"app-job-card",1),g(),m(2,"nav",2)(3,"ul",3)(4,"li")(5,"a",4),C(6,"Previous"),g()(),m(7,"li")(8,"a",5),C(9,"1"),g()(),m(10,"li")(11,"a",5),C(12,"2"),g()(),m(13,"li")(14,"a",6),C(15,"3"),g()(),m(16,"li")(17,"a",5),C(18,"4"),g()(),m(19,"li")(20,"a",5),C(21,"5"),g()(),m(22,"li")(23,"a",7),C(24,"Next"),g()()()()),2&n&&(D(1),k("ngForOf",r.JobLists))},dependencies:[_r,tz],encapsulation:2}),e})(),rz=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["app-job-applicantlist"]],decls:53,vars:0,consts:[[1,"select-none","justify-center","font-Poppins","bg-white","container","mx-auto","shadow-sm","m-3","p-3","border-gray-200","border"],[1,"w-full","relative","overflow-x-auto","shadow-md","sm:rounded-lg"],[1,"w-full","text-sm","text-left","text-gray-500"],[1,"text-xs","text-white","uppercase","bg-Bright-Cyan"],["scope","col",1,"px-6","py-3"],[1,"bg-white","border-b"],["scope","row",1,"px-6","py-2","font-medium","text-gray-900","whitespace-nowrap"],[1,"px-4","py-4"],[1,"flex","space-x-2","px-4","py-4"],[1,"bg-green-500","hover:bg-green-400","text-white","rounded-md","px-2","py-1","text-sm","font-semibold"],[1,"fa-solid","fa-eye"],[1,"bg-red-500","hover:bg-red-400","text-white","rounded-md","px-2","py-1","text-sm","font-semibold"],[1,"fa-solid","fa-trash"],["aria-label","Pagination",1,"flex","justify-end","mt-5"],[1,"inline-flex","right-0","-space-x-px","text-sm"],["href","#",1,"flex","items-center","justify-center","px-3","h-8","ml-0","leading-tight","text-gray-500","bg-white","border","border-gray-300","rounded-l-lg","hover:bg-gray-100","hover:text-gray-700"],["href","#",1,"flex","items-center","justify-center","px-3","h-8","leading-tight","text-gray-500","bg-white","border","border-gray-300","hover:bg-gray-100","hover:text-gray-700"],["href","#","aria-current","page",1,"flex","items-center","justify-center","px-3","h-8","text-blue-600","border","border-gray-300","bg-blue-50","hover:bg-blue-100","hover:text-blue-700"],["href","#",1,"flex","items-center","justify-center","px-3","h-8","leading-tight","text-gray-500","bg-white","border","border-gray-300","rounded-r-lg","hover:bg-gray-100","hover:text-gray-700"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"div",1)(2,"table",2)(3,"thead",3)(4,"tr")(5,"th",4),C(6," Empleo "),g(),m(7,"th",4),C(8," Nombre(s) "),g(),m(9,"th",4),C(10," Apellidos "),g(),m(11,"th",4),C(12," Fecha postulaci\xf3n "),g(),m(13,"th",4),C(14," Acciones "),g()()(),m(15,"tbody")(16,"tr",5)(17,"th",6),C(18," Desarrollador Frontend "),g(),m(19,"td",7),C(20," Joseph Ian "),g(),m(21,"td",7),C(22," Gonzalez Cabrales "),g(),m(23,"td",7),C(24," 01/10/2023 "),g(),m(25,"td",8)(26,"button",9),I(27,"i",10),g(),m(28,"button",11),I(29,"i",12),g()()()()()(),m(30,"nav",13)(31,"ul",14)(32,"li")(33,"a",15),C(34,"Previous"),g()(),m(35,"li")(36,"a",16),C(37,"1"),g()(),m(38,"li")(39,"a",16),C(40,"2"),g()(),m(41,"li")(42,"a",17),C(43,"3"),g()(),m(44,"li")(45,"a",16),C(46,"4"),g()(),m(47,"li")(48,"a",16),C(49,"5"),g()(),m(50,"li")(51,"a",18),C(52,"Next"),g()()()()())},encapsulation:2}),e})();function oz(t,e){if(1&t&&(m(0,"option",24),C(1),g()),2&t){const i=e.$implicit;qt("value",i),D(1),Ee(" ",i," ")}}function sz(t,e){if(1&t&&(m(0,"option",24),C(1),g()),2&t){const i=e.$implicit;qt("value",i),D(1),Ee(" ",i," ")}}let az=(()=>{var t;class e{constructor(n){this._accountService=n,this.cities=[]}get stateList(){return this._accountService.statesList}onChangeState(n){this._accountService.citiesOfState(n.target.value).subscribe(r=>{this.cities=r.data})}}return(t=e).\u0275fac=function(n){return new(n||t)(_(td))},t.\u0275cmp=fe({type:t,selectors:[["app-jobs-config"]],decls:48,vars:3,consts:[[1,"select-none","justify-center","font-Poppins","bg-white","container","mx-auto","shadow-sm","m-3","p-3","border-gray-200","border"],[1,"flex","flex-col","space-y-5"],[1,"w-full","flex","flex-row","space-x-5"],[1,"w-full"],["for","bName",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["placeholder","Nombre de la empresa","required","","autocomplete","off","type","text","id","bName",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","email",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["placeholder","Correo de la empresa","required","","autocomplete","off","type","text","id","email",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","state",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["id","state",1,"block","w-full","p-2.5","bg-gray-50","rounded-lg","border","border-gray-300","text-gray-900","text-sm","focus:ring-blue-500","focus:border-blue-500",3,"change"],["selected","","disabled",""],[3,"value",4,"ngFor","ngForOf"],["for","city",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["id","city",1,"block","w-full","p-2.5","bg-gray-50","rounded-lg","border","border-gray-300","text-gray-900","text-sm","focus:ring-blue-500","focus:border-blue-500",3,"disabled"],["for","address",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["placeholder","Nombre calle #0000, C.P. 000000","required","","autocomplete","off","type","text","id","address",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","about",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["rows","5","placeholder","Descripci\xf3n de mi empresa","required","","autocomplete","off","type","text","id","about",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"flex","flex-col"],["for","website",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["placeholder","Sitio web empresa","required","","autocomplete","off","type","text","id","website",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","linkedin",1,"block","mb-2","text-sm","font-medium","text-gray-900"],["placeholder","Linkedin","required","","autocomplete","off","type","text","id","linkedin",1,"bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","submit",1,"text-white","bg-Bright-Cyan","hover:bg-Intense-Turquoise","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","w-full","sm:w-auto","px-5","py-2.5","text-center"],[3,"value"]],template:function(n,r){1&n&&(m(0,"div",0)(1,"form",1)(2,"div",2)(3,"div",3)(4,"label",4),C(5,"Nombre empresa"),g(),I(6,"input",5),g(),m(7,"div",3)(8,"label",6),C(9,"Correo electr\xf3nico"),g(),I(10,"input",7),g()(),m(11,"div",2)(12,"div",3)(13,"label",8),C(14,"Seleccione un estado"),g(),m(15,"select",9),B("change",function(s){return r.onChangeState(s)}),m(16,"option",10),C(17,"Seleccione un estado"),g(),Q(18,oz,2,2,"option",11),g()(),m(19,"div",3)(20,"label",12),C(21,"Seleccione una Ciudad"),g(),m(22,"select",13)(23,"option",10),C(24,"Seleccione una ciudad"),g(),Q(25,sz,2,2,"option",11),g()()(),m(26,"div",2)(27,"div",3)(28,"label",14),C(29,"Direcci\xf3n"),g(),I(30,"input",15),g()(),m(31,"div",2)(32,"div",3)(33,"label",16),C(34,"Acerca de"),g(),I(35,"textarea",17),g()(),m(36,"div",18)(37,"div",2)(38,"div",3)(39,"label",19),C(40,"Sitio web"),g(),I(41,"input",20),g(),m(42,"div",3)(43,"label",21),C(44,"LinkedIn"),g(),I(45,"input",22),g()()(),m(46,"button",23),C(47," Guardar "),g()()()),2&n&&(D(18),k("ngForOf",r.stateList),D(4),k("disabled",0===r.cities.length),D(3),k("ngForOf",r.cities))},dependencies:[_r],encapsulation:2}),e})();const kg=function(t){return{hidden:t}},lz=[{path:"",component:uU},{path:"/login",component:Q8},{path:"/register",component:iU},{path:"/jobs/management",component:(()=>{var t;class e{constructor(){this.idx=0}changeIndex(n){this.idx=n}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["app-jobs-page"]],inputs:{idx:"idx"},decls:5,vars:9,consts:[[3,"idx"],[3,"ngClass"]],template:function(n,r){1&n&&(I(0,"shared-navigation-bar"),m(1,"app-jobs-submenu",0),B("idx",function(s){return r.changeIndex(s)}),g(),I(2,"app-jobs-list",1)(3,"app-job-applicantlist",1)(4,"app-jobs-config",1)),2&n&&(D(2),k("ngClass",na(3,kg,0!==r.idx)),D(1),k("ngClass",na(5,kg,1!==r.idx)),D(1),k("ngClass",na(7,kg,2!==r.idx)))},dependencies:[ko,xg,ez,iz,rz,az],encapsulation:2}),e})()},{path:"/jobs",component:h$},{path:"/register/personal",component:p$},{path:"/account/profile",component:J$}];let cz=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[zo.forRoot(lz,{useHash:!1}),zo]}),e})(),uz=(()=>{var t;class e{constructor(){this.title="FiJo-App"}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275cmp=fe({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(n,r){1&n&&I(0,"router-outlet")},dependencies:[bm]}),e})();function YM(t){return new x(3e3,!1)}function Wi(t){switch(t.length){case 0:return new Ha;case 1:return t[0];default:return new rS(t)}}function ZM(t,e,i=new Map,n=new Map){const r=[],o=[];let s=-1,a=null;if(e.forEach(l=>{const c=l.get("offset"),u=c==s,d=u&&a||new Map;l.forEach((h,f)=>{let p=f,v=h;if("offset"!==f)switch(p=t.normalizePropertyName(p,r),v){case"!":v=i.get(f);break;case _i:v=n.get(f);break;default:v=t.normalizeStyleValue(f,p,v,r)}d.set(p,v)}),u||o.push(d),a=d,s=c}),r.length)throw function kz(t){return new x(3502,!1)}();return o}function Pg(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&Ng(i,"start",t)));break;case"done":t.onDone(()=>n(i&&Ng(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&Ng(i,"destroy",t)))}}function Ng(t,e,i){const o=Fg(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,i.totalTime??t.totalTime,!!i.disabled),s=t._data;return null!=s&&(o._data=s),o}function Fg(t,e,i,n,r="",o=0,s){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:r,totalTime:o,disabled:!!s}}function Zt(t,e,i){let n=t.get(e);return n||t.set(e,n=i),n}function KM(t){const e=t.indexOf(":");return[t.substring(1,e),t.slice(e+1)]}const Gz=(()=>typeof document>"u"?null:document.documentElement)();function Lg(t){const e=t.parentNode||t.host||null;return e===Gz?null:e}let Ir=null,QM=!1;function XM(t,e){for(;e;){if(e===t)return!0;e=Lg(e)}return!1}function JM(t,e,i){if(i)return Array.from(t.querySelectorAll(e));const n=t.querySelector(e);return n?[n]:[]}let e1=(()=>{var t;class e{validateStyleProperty(n){return function Wz(t){Ir||(Ir=function Yz(){return typeof document<"u"?document.body:null}()||{},QM=!!Ir.style&&"WebkitAppearance"in Ir.style);let e=!0;return Ir.style&&!function qz(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in Ir.style,!e&&QM&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Ir.style)),e}(n)}matchesElement(n,r){return!1}containsElement(n,r){return XM(n,r)}getParentElement(n){return Lg(n)}query(n,r,o){return JM(n,r,o)}computeStyle(n,r,o){return o||""}animate(n,r,o,s,a,l=[],c){return new Ha(o,s)}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})(),Vg=(()=>{class e{}return e.NOOP=new e1,e})();const Zz=1e3,Bg="ng-enter",ad="ng-leave",ld="ng-trigger",cd=".ng-trigger",n1="ng-animating",jg=".ng-animating";function yi(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Hg(parseFloat(e[1]),e[2])}function Hg(t,e){return"s"===e?t*Zz:t}function ud(t,e,i){return t.hasOwnProperty("duration")?t:function Qz(t,e,i){let r,o=0,s="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push(YM()),{duration:0,delay:0,easing:""};r=Hg(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Hg(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=t;if(!i){let a=!1,l=e.length;r<0&&(e.push(function dz(){return new x(3100,!1)}()),a=!0),o<0&&(e.push(function hz(){return new x(3101,!1)}()),a=!0),a&&e.splice(l,0,YM())}return{duration:r,delay:o,easing:s}}(t,e,i)}function Ja(t,e={}){return Object.keys(t).forEach(i=>{e[i]=t[i]}),e}function r1(t){const e=new Map;return Object.keys(t).forEach(i=>{e.set(i,t[i])}),e}function Yi(t,e=new Map,i){if(i)for(let[n,r]of i)e.set(n,r);for(let[n,r]of t)e.set(n,r);return e}function Yn(t,e,i){e.forEach((n,r)=>{const o=$g(r);i&&!i.has(r)&&i.set(r,t.style[o]),t.style[o]=n})}function Tr(t,e){e.forEach((i,n)=>{const r=$g(n);t.style[r]=""})}function el(t){return Array.isArray(t)?1==t.length?t[0]:tS(t):t}const Ug=new RegExp("{{\\s*(.+?)\\s*}}","g");function s1(t){let e=[];if("string"==typeof t){let i;for(;i=Ug.exec(t);)e.push(i[1]);Ug.lastIndex=0}return e}function tl(t,e,i){const n=t.toString(),r=n.replace(Ug,(o,s)=>{let a=e[s];return null==a&&(i.push(function pz(t){return new x(3003,!1)}()),a=""),a.toString()});return r==n?t:r}function dd(t){const e=[];let i=t.next();for(;!i.done;)e.push(i.value),i=t.next();return e}const e6=/-+([a-z0-9])/g;function $g(t){return t.replace(e6,(...e)=>e[1].toUpperCase())}function Kt(t,e,i){switch(e.type){case 7:return t.visitTrigger(e,i);case 0:return t.visitState(e,i);case 1:return t.visitTransition(e,i);case 2:return t.visitSequence(e,i);case 3:return t.visitGroup(e,i);case 4:return t.visitAnimate(e,i);case 5:return t.visitKeyframes(e,i);case 6:return t.visitStyle(e,i);case 8:return t.visitReference(e,i);case 9:return t.visitAnimateChild(e,i);case 10:return t.visitAnimateRef(e,i);case 11:return t.visitQuery(e,i);case 12:return t.visitStagger(e,i);default:throw function mz(t){return new x(3004,!1)}()}}function a1(t,e){return window.getComputedStyle(t)[e]}const hd="*";function i6(t,e){const i=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(n=>function r6(t,e,i){if(":"==t[0]){const l=function o6(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n) *"}}(t,i);if("function"==typeof l)return void e.push(l);t=l}const n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(function Az(t){return new x(3015,!1)}()),e;const r=n[1],o=n[2],s=n[3];e.push(l1(r,s));"<"==o[0]&&!(r==hd&&s==hd)&&e.push(l1(s,r))}(n,i,e)):i.push(t),i}const fd=new Set(["true","1"]),pd=new Set(["false","0"]);function l1(t,e){const i=fd.has(t)||pd.has(t),n=fd.has(e)||pd.has(e);return(r,o)=>{let s=t==hd||t==r,a=e==hd||e==o;return!s&&i&&"boolean"==typeof r&&(s=r?fd.has(t):pd.has(t)),!a&&n&&"boolean"==typeof o&&(a=o?fd.has(e):pd.has(e)),s&&a}}const s6=new RegExp("s*:selfs*,?","g");function zg(t,e,i,n){return new a6(t).build(e,i,n)}class a6{constructor(e){this._driver=e}build(e,i,n){const r=new u6(i);return this._resetContextStyleTimingState(r),Kt(this,el(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,i){let n=i.queryCount=0,r=i.depCount=0;const o=[],s=[];return"@"==e.name.charAt(0)&&i.errors.push(function _z(){return new x(3006,!1)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(i),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,i))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,i);n+=l.queryCount,r+=l.depCount,s.push(l)}else i.errors.push(function vz(){return new x(3007,!1)}())}),{type:7,name:e.name,states:o,transitions:s,queryCount:n,depCount:r,options:null}}visitState(e,i){const n=this.visitStyle(e.styles,i),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const o=new Set,s=r||{};n.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{s1(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(dd(o.values()),i.errors.push(function bz(t,e){return new x(3008,!1)}()))}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,i){i.queryCount=0,i.depCount=0;const n=Kt(this,el(e.animation),i);return{type:1,matchers:i6(e.expr,i.errors),animation:n,queryCount:i.queryCount,depCount:i.depCount,options:Rr(e.options)}}visitSequence(e,i){return{type:2,steps:e.steps.map(n=>Kt(this,n,i)),options:Rr(e.options)}}visitGroup(e,i){const n=i.currentTime;let r=0;const o=e.steps.map(s=>{i.currentTime=n;const a=Kt(this,s,i);return r=Math.max(r,i.currentTime),a});return i.currentTime=r,{type:3,steps:o,options:Rr(e.options)}}visitAnimate(e,i){const n=function h6(t,e){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return Gg(ud(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Gg(0,0,"");return o.dynamic=!0,o.strValue=i,o}const r=ud(i,e);return Gg(r.duration,r.delay,r.easing)}(e.timings,i.errors);i.currentAnimateTimings=n;let r,o=e.styles?e.styles:it({});if(5==o.type)r=this.visitKeyframes(o,i);else{let s=e.styles,a=!1;if(!s){a=!0;const c={};n.easing&&(c.easing=n.easing),s=it(c)}i.currentTime+=n.duration+n.delay;const l=this.visitStyle(s,i);l.isEmptyStep=a,r=l}return i.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(e,i){const n=this._makeStyleAst(e,i);return this._validateStyleAst(n,i),n}_makeStyleAst(e,i){const n=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)"string"==typeof a?a===_i?n.push(a):i.errors.push(new x(3002,!1)):n.push(r1(a));let o=!1,s=null;return n.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:n,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,i){const n=i.currentAnimateTimings;let r=i.currentTime,o=i.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=i.collectedStyles.get(i.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(i.errors.push(function wz(t,e,i,n,r){return new x(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),i.options&&function Jz(t,e,i){const n=e.params||{},r=s1(t);r.length&&r.forEach(o=>{n.hasOwnProperty(o)||i.push(function fz(t){return new x(3001,!1)}())})}(a,i.options,i.errors)})})}visitKeyframes(e,i){const n={type:5,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(function Cz(){return new x(3011,!1)}()),n;let o=0;const s=[];let a=!1,l=!1,c=0;const u=e.steps.map(E=>{const y=this._makeStyleAst(E,i);let O=null!=y.offset?y.offset:function d6(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(i=>{if(i instanceof Map&&i.has("offset")){const n=i;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const i=t;e=parseFloat(i.get("offset")),i.delete("offset")}return e}(y.styles),R=0;return null!=O&&(o++,R=y.offset=O),l=l||R<0||R>1,a=a||R0&&o{const O=h>0?y==f?1:h*y:s[y],R=O*b;i.currentTime=p+v.delay+R,v.duration=R,this._validateStyleAst(E,i),E.offset=O,n.styles.push(E)}),n}visitReference(e,i){return{type:8,animation:Kt(this,el(e.animation),i),options:Rr(e.options)}}visitAnimateChild(e,i){return i.depCount++,{type:9,options:Rr(e.options)}}visitAnimateRef(e,i){return{type:10,animation:this.visitReference(e.animation,i),options:Rr(e.options)}}visitQuery(e,i){const n=i.currentQuerySelector,r=e.options||{};i.queryCount++,i.currentQuery=e;const[o,s]=function l6(t){const e=!!t.split(/\s*,\s*/).find(i=>":self"==i);return e&&(t=t.replace(s6,"")),t=t.replace(/@\*/g,cd).replace(/@\w+/g,i=>cd+"-"+i.slice(1)).replace(/:animating/g,jg),[t,e]}(e.selector);i.currentQuerySelector=n.length?n+" "+o:o,Zt(i.collectedStyles,i.currentQuerySelector,new Map);const a=Kt(this,el(e.animation),i);return i.currentQuery=null,i.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Rr(e.options)}}visitStagger(e,i){i.currentQuery||i.errors.push(function Sz(){return new x(3013,!1)}());const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:ud(e.timings,i.errors,!0);return{type:12,animation:Kt(this,el(e.animation),i),timings:n,options:null}}}class u6{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Rr(t){return t?(t=Ja(t)).params&&(t.params=function c6(t){return t?Ja(t):null}(t.params)):t={},t}function Gg(t,e,i){return{duration:t,delay:e,easing:i}}function qg(t,e,i,n,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class md{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,i){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...i)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const m6=new RegExp(":enter","g"),_6=new RegExp(":leave","g");function Wg(t,e,i,n,r,o=new Map,s=new Map,a,l,c=[]){return(new v6).buildKeyframes(t,e,i,n,r,o,s,a,l,c)}class v6{buildKeyframes(e,i,n,r,o,s,a,l,c,u=[]){c=c||new md;const d=new Yg(e,i,c,r,o,u,[]);d.options=l;const h=l.delay?yi(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),Kt(this,n,d);const f=d.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let v=f.length-1;v>=0;v--){const b=f[v];if(b.element===i){p=b;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[qg(i,[],[],[],0,h,"",!1)]}visitTrigger(e,i){}visitState(e,i){}visitTransition(e,i){}visitAnimateChild(e,i){const n=i.subInstructions.get(i.element);if(n){const r=i.createSubContext(e.options),o=i.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);o!=s&&i.transformIntoNewTimeline(s)}i.previousNode=e}visitAnimateRef(e,i){const n=i.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],i,n),this.visitReference(e.animation,n),i.transformIntoNewTimeline(n.currentTimeline.currentTime),i.previousNode=e}_applyAnimationRefDelays(e,i,n){for(const r of e){const o=r?.delay;if(o){const s="number"==typeof o?o:yi(tl(o,r?.params??{},i.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,i,n){let o=i.currentTimeline.currentTime;const s=null!=n.duration?yi(n.duration):null,a=null!=n.delay?yi(n.delay):null;return 0!==s&&e.forEach(l=>{const c=i.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,i){i.updateOptions(e.options,!0),Kt(this,e.animation,i),i.previousNode=e}visitSequence(e,i){const n=i.subContextCount;let r=i;const o=e.options;if(o&&(o.params||o.delay)&&(r=i.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=gd);const s=yi(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>Kt(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),i.previousNode=e}visitGroup(e,i){const n=[];let r=i.currentTimeline.currentTime;const o=e.options&&e.options.delay?yi(e.options.delay):0;e.steps.forEach(s=>{const a=i.createSubContext(e.options);o&&a.delayNextStep(o),Kt(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(s=>i.currentTimeline.mergeTimelineCollectedStyles(s)),i.transformIntoNewTimeline(r),i.previousNode=e}_visitTiming(e,i){if(e.dynamic){const n=e.strValue;return ud(i.params?tl(n,i.params,i.errors):n,i.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,i){const n=i.currentAnimateTimings=this._visitTiming(e.timings,i),r=i.currentTimeline;n.delay&&(i.incrementTime(n.delay),r.snapshotCurrentStyles());const o=e.style;5==o.type?this.visitKeyframes(o,i):(i.incrementTime(n.duration),this.visitStyle(o,i),r.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=e}visitStyle(e,i){const n=i.currentTimeline,r=i.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();const o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,i.errors,i.options),i.previousNode=e}visitKeyframes(e,i){const n=i.currentAnimateTimings,r=i.currentTimeline.duration,o=n.duration,a=i.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,i.errors,i.options),a.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(a),i.transformIntoNewTimeline(r+o),i.previousNode=e}visitQuery(e,i){const n=i.currentTimeline.currentTime,r=e.options||{},o=r.delay?yi(r.delay):0;o&&(6===i.previousNode.type||0==n&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=gd);let s=n;const a=i.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,i.errors);i.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{i.currentQueryIndex=u;const d=i.createSubContext(e.options,c);o&&d.delayNextStep(o),c===i.element&&(l=d.currentTimeline),Kt(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(s),l&&(i.currentTimeline.mergeTimelineCollectedStyles(l),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=e}visitStagger(e,i){const n=i.parentContext,r=i.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(i.currentQueryTotal-1);let l=s*i.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=n.currentStaggerTime}const u=i.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;Kt(this,e.animation,i),i.previousNode=e,n.currentStaggerTime=r.currentTime-d+(r.startTime-n.currentTimeline.startTime)}}const gd={};class Yg{constructor(e,i,n,r,o,s,a,l){this._driver=e,this.element=i,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=gd,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new _d(this._driver,i,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,i){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=yi(n.duration)),null!=n.delay&&(r.delay=yi(n.delay));const o=n.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!i||!s.hasOwnProperty(a))&&(s[a]=tl(o[a],s,this.errors))})}}_copyOptions(){const e={};if(this.options){const i=this.options.params;if(i){const n=e.params={};Object.keys(i).forEach(r=>{n[r]=i[r]})}}return e}createSubContext(e=null,i,n){const r=i||this.element,o=new Yg(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=gd,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,i,n){const r={duration:i??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new b6(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,i,n,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(m6,"."+this._enterClassName)).replace(_6,"."+this._leaveClassName);let c=this._driver.query(this.element,e,1!=n);0!==n&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),a.push(...c)}return!o&&0==a.length&&s.push(function Mz(t){return new x(3014,!1)}()),a}}class _d{constructor(e,i,n,r){this._driver=e,this.element=i,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const i=1===this._keyframes.size&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+e),i&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,i){return this.applyStylesToKeyframe(),new _d(this._driver,e,i||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,i){this._localTimelineStyles.set(e,i),this._globalTimelineStyles.set(e,i),this._styleSummary.set(e,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||_i),this._currentKeyframe.set(i,_i);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,i,n,r){i&&this._previousKeyframe.set("easing",i);const o=r&&r.params||{},s=function y6(t,e){const i=new Map;let n;return t.forEach(r=>{if("*"===r){n=n||e.keys();for(let o of n)i.set(o,_i)}else Yi(r,i)}),i}(e,this._globalTimelineStyles);for(let[a,l]of s){const c=tl(l,o,n);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??_i),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,i)=>{this._currentKeyframe.set(i,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,e)}))}snapshotCurrentStyles(){for(let[e,i]of this._localTimelineStyles)this._pendingStyles.set(e,i),this._updateStyle(e,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let i in this._currentKeyframe)e.push(i);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((i,n)=>{const r=this._styleSummary.get(n);(!r||i.time>r.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,i=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=Yi(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?e.add(d):u===_i&&i.add(d)}),n||c.set("offset",l/this.duration),r.push(c)});const o=e.size?dd(e.values()):[],s=i.size?dd(i.values()):[];if(n){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return qg(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class b6 extends _d{constructor(e,i,n,r,o,s,a=!1){super(e,i,s.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:i,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&i){const o=[],s=n+i,a=i/s,l=Yi(e[0]);l.set("offset",0),o.push(l);const c=Yi(e[0]);c.set("offset",d1(a)),o.push(c);const u=e.length-1;for(let d=1;d<=u;d++){let h=Yi(e[d]);const f=h.get("offset");h.set("offset",d1((i+f*n)/s)),o.push(h)}n=s,i=0,r="",e=o}return qg(this.element,e,this.preStyleProps,this.postStyleProps,n,i,r,!0)}}function d1(t,e=3){const i=Math.pow(10,e-1);return Math.round(t*i)/i}class Zg{}const w6=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class C6 extends Zg{normalizePropertyName(e,i){return $g(e)}normalizeStyleValue(e,i,n,r){let o="";const s=n.toString().trim();if(w6.has(i)&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{const a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function gz(t,e){return new x(3005,!1)}())}return s+o}}function h1(t,e,i,n,r,o,s,a,l,c,u,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:i,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const Kg={};class f1{constructor(e,i,n){this._triggerName=e,this.ast=i,this._stateStyles=n}match(e,i,n,r){return function D6(t,e,i,n,r){return t.some(o=>o(e,i,n,r))}(this.ast.matchers,e,i,n,r)}buildStyles(e,i,n){let r=this._stateStyles.get("*");return void 0!==e&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(i,n):new Map}build(e,i,n,r,o,s,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||Kg,p=this.buildStyles(n,a&&a.params||Kg,d),v=l&&l.params||Kg,b=this.buildStyles(r,v,d),E=new Set,y=new Map,O=new Map,R="void"===r,$={params:E6(v,h),delay:this.ast.options?.delay},Ce=u?[]:Wg(e,i,this.ast.animation,o,s,p,b,$,c,d);let we=0;if(Ce.forEach(Lt=>{we=Math.max(Lt.duration+Lt.delay,we)}),d.length)return h1(i,this._triggerName,n,r,R,p,b,[],[],y,O,we,d);Ce.forEach(Lt=>{const Mn=Lt.element,Cd=Zt(y,Mn,new Set);Lt.preStyleProps.forEach(Or=>Cd.add(Or));const il=Zt(O,Mn,new Set);Lt.postStyleProps.forEach(Or=>il.add(Or)),Mn!==i&&E.add(Mn)});const ct=dd(E.values());return h1(i,this._triggerName,n,r,R,p,b,Ce,ct,y,O,we)}}function E6(t,e){const i=Ja(e);for(const n in t)t.hasOwnProperty(n)&&null!=t[n]&&(i[n]=t[n]);return i}class x6{constructor(e,i,n){this.styles=e,this.defaultParams=i,this.normalizer=n}buildStyles(e,i){const n=new Map,r=Ja(this.defaultParams);return Object.keys(e).forEach(o=>{const s=e[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=tl(s,r,i));const l=this.normalizer.normalizePropertyName(a,i);s=this.normalizer.normalizeStyleValue(a,l,s,i),n.set(a,s)})}),n}}class M6{constructor(e,i,n){this.name=e,this.ast=i,this._normalizer=n,this.transitionFactories=[],this.states=new Map,i.states.forEach(r=>{this.states.set(r.name,new x6(r.style,r.options&&r.options.params||{},n))}),p1(this.states,"true","1"),p1(this.states,"false","0"),i.transitions.forEach(r=>{this.transitionFactories.push(new f1(e,r,this.states))}),this.fallbackTransition=function A6(t,e,i){return new f1(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,i,n,r){return this.transitionFactories.find(s=>s.match(e,i,n,r))||null}matchStyles(e,i,n){return this.fallbackTransition.buildStyles(e,i,n)}}function p1(t,e,i){t.has(e)?t.has(i)||t.set(i,t.get(e)):t.has(i)&&t.set(e,t.get(i))}const I6=new md;class T6{constructor(e,i,n){this.bodyNode=e,this._driver=i,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,i){const n=[],o=zg(this._driver,i,n,[]);if(n.length)throw function Pz(t){return new x(3503,!1)}();this._animations.set(e,o)}_buildPlayer(e,i,n){const r=e.element,o=ZM(this._normalizer,e.keyframes,i,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,i,n={}){const r=[],o=this._animations.get(e);let s;const a=new Map;if(o?(s=Wg(this._driver,i,o,Bg,ad,new Map,new Map,n,I6,r),s.forEach(u=>{const d=Zt(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(r.push(function Nz(){return new x(3300,!1)}()),s=[]),r.length)throw function Fz(t){return new x(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,_i))})});const c=Wi(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const i=this._getPlayer(e);i.destroy(),this._playersById.delete(e);const n=this.players.indexOf(i);n>=0&&this.players.splice(n,1)}_getPlayer(e){const i=this._playersById.get(e);if(!i)throw function Lz(t){return new x(3301,!1)}();return i}listen(e,i,n,r){const o=Fg(i,"","","");return Pg(this._getPlayer(e),n,o,r),()=>{}}command(e,i,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n)return void this.create(e,i,r[0]||{});const o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const m1="ng-animate-queued",Qg="ng-animate-disabled",N6=[],g1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},F6={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Sn="__ng_removed";class Xg{get params(){return this.options.params}constructor(e,i=""){this.namespaceId=i;const n=e&&e.hasOwnProperty("value");if(this.value=function j6(t){return t??null}(n?e.value:e),n){const o=Ja(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const i=e.params;if(i){const n=this.options.params;Object.keys(i).forEach(r=>{null==n[r]&&(n[r]=i[r])})}}}const nl="void",Jg=new Xg(nl);class L6{constructor(e,i,n){this.id=e,this.hostElement=i,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,cn(i,this._hostClassName)}listen(e,i,n,r){if(!this._triggers.has(i))throw function Vz(t,e){return new x(3302,!1)}();if(null==n||0==n.length)throw function Bz(t){return new x(3303,!1)}();if(!function H6(t){return"start"==t||"done"==t}(n))throw function jz(t,e){return new x(3400,!1)}();const o=Zt(this._elementListeners,e,[]),s={name:i,phase:n,callback:r};o.push(s);const a=Zt(this._engine.statesByElement,e,new Map);return a.has(i)||(cn(e,ld),cn(e,ld+"-"+i),a.set(i,Jg)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(i)||a.delete(i)})}}register(e,i){return!this._triggers.has(e)&&(this._triggers.set(e,i),!0)}_getTrigger(e){const i=this._triggers.get(e);if(!i)throw function Hz(t){return new x(3401,!1)}();return i}trigger(e,i,n,r=!0){const o=this._getTrigger(i),s=new e_(this.id,i,e);let a=this._engine.statesByElement.get(e);a||(cn(e,ld),cn(e,ld+"-"+i),this._engine.statesByElement.set(e,a=new Map));let l=a.get(i);const c=new Xg(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(i,c),l||(l=Jg),c.value!==nl&&l.value===c.value){if(!function z6(t,e){const i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let r=0;r{Tr(e,b),Yn(e,E)})}return}const h=Zt(this._engine.playersByElement,e,[]);h.forEach(v=>{v.namespaceId==this.id&&v.triggerName==i&&v.queued&&v.destroy()});let f=o.matchTransition(l.value,c.value,e,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(cn(e,m1),s.onStart(()=>{is(e,m1)})),s.onDone(()=>{let v=this.players.indexOf(s);v>=0&&this.players.splice(v,1);const b=this._engine.playersByElement.get(e);if(b){let E=b.indexOf(s);E>=0&&b.splice(E,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(i=>i.delete(e)),this._elementListeners.forEach((i,n)=>{this._elementListeners.set(n,i.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const i=this._engine.playersByElement.get(e);i&&(i.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,i){const n=this._engine.driver.query(e,cd,!0);n.forEach(r=>{if(r[Sn])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,i,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,i,n,r){const o=this._engine.statesByElement.get(e),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(e,c,nl,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,i,s),n&&Wi(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const i=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(i&&n){const r=new Set;i.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=n.get(s)||Jg,u=new Xg(nl),d=new e_(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,i){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,i),this.triggerLeaveAnimation(e,i,!0))return;let r=!1;if(n.totalAnimations){const o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,i);else{const o=e[Sn];(!o||o===g1)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,i))}}insertNode(e,i){cn(e,this._hostClassName)}drainQueuedTransitions(e){const i=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){const l=Fg(o,n.triggerName,n.fromState.value,n.toState.value);l._data=e,Pg(n.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):i.push(n)}),this._queue=[],i.sort((n,r)=>{const o=n.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(e){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}}class V6{_onRemovalComplete(e,i){this.onRemovalComplete(e,i)}constructor(e,i,n){this.bodyNode=e,this.driver=i,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const e=[];return this._namespaceList.forEach(i=>{i.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,i){const n=new L6(e,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(n,i):(this.newHostElements.set(i,n),this.collectEnterElement(i)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,i){const n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(i);for(;a;){const l=r.get(a);if(l){const c=n.indexOf(l);n.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||n.unshift(e)}else n.push(e);return r.set(i,e),e}register(e,i){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,i)),n}registerTrigger(e,i,n){let r=this._namespaceLookup[e];r&&r.register(i,n)&&this.totalAnimations++}destroy(e,i){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);const r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(i),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const i=new Set,n=this.statesByElement.get(e);if(n)for(let r of n.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&i.add(o)}return i}trigger(e,i,n,r){if(vd(i)){const o=this._fetchNamespace(e);if(o)return o.trigger(i,n,r),!0}return!1}insertNode(e,i,n,r){if(!vd(i))return;const o=i[Sn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(i);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(i,n)}r&&this.collectEnterElement(i)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,i){i?this.disabledNodes.has(e)||(this.disabledNodes.add(e),cn(e,Qg)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),is(e,Qg))}removeNode(e,i,n){if(vd(i)){const r=e?this._fetchNamespace(e):null;r?r.removeNode(i,n):this.markElementAsRemoved(e,i,!1,n);const o=this.namespacesByHostElement.get(i);o&&o.id!==e&&o.removeNode(i,n)}else this._onRemovalComplete(i,n)}markElementAsRemoved(e,i,n,r,o){this.collectedLeaveElements.push(i),i[Sn]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,i,n,r,o){return vd(i)?this._fetchNamespace(e).listen(i,n,r,o):()=>{}}_buildInstruction(e,i,n,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,i,o)}destroyInnerAnimations(e){let i=this.driver.query(e,cd,!0);i.forEach(n=>this.destroyActiveAnimationsForElement(n)),0!=this.playersByQueriedElement.size&&(i=this.driver.query(e,jg,!0),i.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){const i=this.playersByElement.get(e);i&&i.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){const i=this.playersByQueriedElement.get(e);i&&i.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Wi(this.players).onDone(()=>e());e()})}processLeaveNode(e){const i=e[Sn];if(i&&i.setForRemoval){if(e[Sn]=g1,i.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(i.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}e.classList?.contains(Qg)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){const n=this._whenQuietFns;this._whenQuietFns=[],i.length?Wi(i).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(e){throw function Uz(t){return new x(3402,!1)}()}_flushAnimations(e,i){const n=new md,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(F=>{u.add(F);const V=this.driver.query(F,".ng-animate-queued",!0);for(let j=0;j{const j=Bg+v++;p.set(V,j),F.forEach(de=>cn(de,j))});const b=[],E=new Set,y=new Set;for(let F=0;FE.add(de)):y.add(V))}const O=new Map,R=b1(h,Array.from(E));R.forEach((F,V)=>{const j=ad+v++;O.set(V,j),F.forEach(de=>cn(de,j))}),e.push(()=>{f.forEach((F,V)=>{const j=p.get(V);F.forEach(de=>is(de,j))}),R.forEach((F,V)=>{const j=O.get(V);F.forEach(de=>is(de,j))}),b.forEach(F=>{this.processLeaveNode(F)})});const $=[],Ce=[];for(let F=this._namespaceList.length-1;F>=0;F--)this._namespaceList[F].drainQueuedTransitions(i).forEach(j=>{const de=j.player,rt=j.element;if($.push(de),this.collectedEnterElements.length){const mt=rt[Sn];if(mt&&mt.setForMove){if(mt.previousTriggersValues&&mt.previousTriggersValues.has(j.triggerName)){const kr=mt.previousTriggersValues.get(j.triggerName),un=this.statesByElement.get(j.element);if(un&&un.has(j.triggerName)){const Dd=un.get(j.triggerName);Dd.value=kr,un.set(j.triggerName,Dd)}}return void de.destroy()}}const Zn=!d||!this.driver.containsElement(d,rt),Qt=O.get(rt),Zi=p.get(rt),Ve=this._buildInstruction(j,n,Zi,Qt,Zn);if(Ve.errors&&Ve.errors.length)return void Ce.push(Ve);if(Zn)return de.onStart(()=>Tr(rt,Ve.fromStyles)),de.onDestroy(()=>Yn(rt,Ve.toStyles)),void r.push(de);if(j.isFallbackTransition)return de.onStart(()=>Tr(rt,Ve.fromStyles)),de.onDestroy(()=>Yn(rt,Ve.toStyles)),void r.push(de);const R1=[];Ve.timelines.forEach(mt=>{mt.stretchStartingKeyframe=!0,this.disabledNodes.has(mt.element)||R1.push(mt)}),Ve.timelines=R1,n.append(rt,Ve.timelines),s.push({instruction:Ve,player:de,element:rt}),Ve.queriedElements.forEach(mt=>Zt(a,mt,[]).push(de)),Ve.preStyleProps.forEach((mt,kr)=>{if(mt.size){let un=l.get(kr);un||l.set(kr,un=new Set),mt.forEach((Dd,i_)=>un.add(i_))}}),Ve.postStyleProps.forEach((mt,kr)=>{let un=c.get(kr);un||c.set(kr,un=new Set),mt.forEach((Dd,i_)=>un.add(i_))})});if(Ce.length){const F=[];Ce.forEach(V=>{F.push(function $z(t,e){return new x(3505,!1)}())}),$.forEach(V=>V.destroy()),this.reportError(F)}const we=new Map,ct=new Map;s.forEach(F=>{const V=F.element;n.has(V)&&(ct.set(V,V),this._beforeAnimationBuild(F.player.namespaceId,F.instruction,we))}),r.forEach(F=>{const V=F.element;this._getPreviousPlayers(V,!1,F.namespaceId,F.triggerName,null).forEach(de=>{Zt(we,V,[]).push(de),de.destroy()})});const Lt=b.filter(F=>w1(F,l,c)),Mn=new Map;v1(Mn,this.driver,y,c,_i).forEach(F=>{w1(F,l,c)&&Lt.push(F)});const il=new Map;f.forEach((F,V)=>{v1(il,this.driver,new Set(F),l,"!")}),Lt.forEach(F=>{const V=Mn.get(F),j=il.get(F);Mn.set(F,new Map([...V?.entries()??[],...j?.entries()??[]]))});const Or=[],I1=[],T1={};s.forEach(F=>{const{element:V,player:j,instruction:de}=F;if(n.has(V)){if(u.has(V))return j.onDestroy(()=>Yn(V,de.toStyles)),j.disabled=!0,j.overrideTotalTime(de.totalTime),void r.push(j);let rt=T1;if(ct.size>1){let Qt=V;const Zi=[];for(;Qt=Qt.parentNode;){const Ve=ct.get(Qt);if(Ve){rt=Ve;break}Zi.push(Qt)}Zi.forEach(Ve=>ct.set(Ve,rt))}const Zn=this._buildAnimation(j.namespaceId,de,we,o,il,Mn);if(j.setRealPlayer(Zn),rt===T1)Or.push(j);else{const Qt=this.playersByElement.get(rt);Qt&&Qt.length&&(j.parentPlayer=Wi(Qt)),r.push(j)}}else Tr(V,de.fromStyles),j.onDestroy(()=>Yn(V,de.toStyles)),I1.push(j),u.has(V)&&r.push(j)}),I1.forEach(F=>{const V=o.get(F.element);if(V&&V.length){const j=Wi(V);F.setRealPlayer(j)}}),r.forEach(F=>{F.parentPlayer?F.syncPlayerEvents(F.parentPlayer):F.destroy()});for(let F=0;F!Zn.destroyed);rt.length?U6(this,V,rt):this.processLeaveNode(V)}return b.length=0,Or.forEach(F=>{this.players.push(F),F.onDone(()=>{F.destroy();const V=this.players.indexOf(F);this.players.splice(V,1)}),F.play()}),Or}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,i,n,r,o){let s=[];if(i){const a=this.playersByQueriedElement.get(e);a&&(s=a)}else{const a=this.playersByElement.get(e);if(a){const l=!o||o==nl;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(n||r)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,i,n){const o=i.element,s=i.isRemovalTransition?void 0:e,a=i.isRemovalTransition?void 0:i.triggerName;for(const l of i.timelines){const c=l.element,u=c!==o,d=Zt(n,c,[]);this._getPreviousPlayers(c,u,s,a,i.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}Tr(o,i.fromStyles)}_buildAnimation(e,i,n,r,o,s){const a=i.triggerName,l=i.element,c=[],u=new Set,d=new Set,h=i.timelines.map(p=>{const v=p.element;u.add(v);const b=v[Sn];if(b&&b.removedBeforeQueried)return new Ha(p.duration,p.delay);const E=v!==l,y=function $6(t){const e=[];return y1(t,e),e}((n.get(v)||N6).map(we=>we.getRealPlayer())).filter(we=>!!we.element&&we.element===v),O=o.get(v),R=s.get(v),$=ZM(this._normalizer,p.keyframes,O,R),Ce=this._buildPlayer(p,$,y);if(p.subTimeline&&r&&d.add(v),E){const we=new e_(e,a,v);we.setRealPlayer(Ce),c.push(we)}return Ce});c.forEach(p=>{Zt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function B6(t,e,i){let n=t.get(e);if(n){if(n.length){const r=n.indexOf(i);n.splice(r,1)}0==n.length&&t.delete(e)}return n}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>cn(p,n1));const f=Wi(h);return f.onDestroy(()=>{u.forEach(p=>is(p,n1)),Yn(l,i.toStyles)}),d.forEach(p=>{Zt(r,p,[]).push(f)}),f}_buildPlayer(e,i,n){return i.length>0?this.driver.animate(e.element,i,e.duration,e.delay,e.easing,n):new Ha(e.duration,e.delay)}}class e_{constructor(e,i,n){this.namespaceId=e,this.triggerName=i,this.element=n,this._player=new Ha,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((i,n)=>{i.forEach(r=>Pg(e,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const i=this._player;i.triggerCallback&&e.onStart(()=>i.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,i){Zt(this._queuedCallbacks,e,[]).push(i)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const i=this._player;i.triggerCallback&&i.triggerCallback(e)}}function vd(t){return t&&1===t.nodeType}function _1(t,e){const i=t.style.display;return t.style.display=e??"none",i}function v1(t,e,i,n,r){const o=[];i.forEach(l=>o.push(_1(l)));const s=[];n.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=e.computeStyle(c,d,r);u.set(d,h),(!h||0==h.length)&&(c[Sn]=F6,s.push(c))}),t.set(c,u)});let a=0;return i.forEach(l=>_1(l,o[a++])),s}function b1(t,e){const i=new Map;if(t.forEach(a=>i.set(a,[])),0==e.length)return i;const r=new Set(e),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=i.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return e.forEach(a=>{const l=s(a);1!==l&&i.get(l).push(a)}),i}function cn(t,e){t.classList?.add(e)}function is(t,e){t.classList?.remove(e)}function U6(t,e,i){Wi(i).onDone(()=>t.processLeaveNode(e))}function y1(t,e){for(let i=0;ir.add(o)):e.set(t,n),i.delete(t),!0}class bd{constructor(e,i,n){this.bodyNode=e,this._driver=i,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new V6(e,i,n),this._timelineEngine=new T6(e,i,n),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(e,i,n,r,o){const s=e+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],u=zg(this._driver,o,l,[]);if(l.length)throw function Oz(t,e){return new x(3404,!1)}();a=function S6(t,e,i){return new M6(t,e,i)}(r,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(i,r,a)}register(e,i){this._transitionEngine.register(e,i)}destroy(e,i){this._transitionEngine.destroy(e,i)}onInsert(e,i,n,r){this._transitionEngine.insertNode(e,i,n,r)}onRemove(e,i,n){this._transitionEngine.removeNode(e,i,n)}disableAnimations(e,i){this._transitionEngine.markElementAsDisabled(e,i)}process(e,i,n,r){if("@"==n.charAt(0)){const[o,s]=KM(n);this._timelineEngine.command(o,i,s,r)}else this._transitionEngine.trigger(e,i,n,r)}listen(e,i,n,r,o){if("@"==n.charAt(0)){const[s,a]=KM(n);return this._timelineEngine.listen(s,i,a,o)}return this._transitionEngine.listen(e,i,n,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}}let q6=(()=>{class e{constructor(n,r,o){this._element=n,this._startStyles=r,this._endStyles=o,this._state=0;let s=e.initialStylesByElement.get(n);s||e.initialStylesByElement.set(n,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Yn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Yn(this._element,this._initialStyles),this._endStyles&&(Yn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Tr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Tr(this._element,this._endStyles),this._endStyles=null),Yn(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function t_(t){let e=null;return t.forEach((i,n)=>{(function W6(t){return"display"===t||"position"===t})(n)&&(e=e||new Map,e.set(n,i))}),e}class C1{constructor(e,i,n,r){this.element=e,this.keyframes=i,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const i=[];return e.forEach(n=>{i.push(Object.fromEntries(n))}),i}_triggerWebAnimation(e,i,n){return e.animate(this._convertKeyframesToObject(i),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{"offset"!==r&&e.set(r,this._finished?n:a1(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){const i="start"===e?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}}class Y6{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,i){return!1}containsElement(e,i){return XM(e,i)}getParentElement(e){return Lg(e)}query(e,i,n){return JM(e,i,n)}computeStyle(e,i,n){return window.getComputedStyle(e)[i]}animate(e,i,n,r,o,s=[]){const l={duration:n,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(f=>f instanceof C1);(function t6(t,e){return 0===t||0===e})(n,r)&&u.forEach(f=>{f.currentSnapshot.forEach((p,v)=>c.set(v,p))});let d=function Xz(t){return t.length?t[0]instanceof Map?t:t.map(e=>r1(e)):[]}(i).map(f=>Yi(f));d=function n6(t,e,i){if(i.size&&e.length){let n=e[0],r=[];if(i.forEach((o,s)=>{n.has(s)||r.push(s),n.set(s,o)}),r.length)for(let o=1;os.set(a,a1(t,a)))}}return e}(e,d,c);const h=function G6(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=t_(e[0]),e.length>1&&(n=t_(e[e.length-1]))):e instanceof Map&&(i=t_(e)),i||n?new q6(t,i,n):null}(e,d);return new C1(e,d,l,h)}}let Z6=(()=>{var t;class e extends Jx{constructor(n,r){super(),this._nextAnimationId=0,this._renderer=n.createRenderer(r.body,{id:"0",encapsulation:Jt.None,styles:[],data:{animation:[]}})}build(n){const r=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(n)?tS(n):n;return D1(this._renderer,null,r,"register",[o]),new K6(r,this._renderer)}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Vs),w(ne))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();class K6 extends eH{constructor(e,i){super(),this._id=e,this._renderer=i}create(e,i){return new Q6(this._id,e,i||{},this._renderer)}}class Q6{constructor(e,i,n,r){this.id=e,this.element=i,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,i){return this._renderer.listen(this.element,`@@${this.id}:${e}`,i)}_command(e,...i){return D1(this._renderer,this.element,this.id,e,i)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function D1(t,e,i,n,r){return t.setProperty(e,`@@${i}:${n}`,r)}const E1="@.disabled";let X6=(()=>{var t;class e{constructor(n,r,o){this.delegate=n,this.engine=r,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,r.onRemovalComplete=(s,a)=>{const l=a?.parentNode(s);l&&a.removeChild(l,s)}}createRenderer(n,r){const s=this.delegate.createRenderer(n,r);if(!(n&&r&&r.data&&r.data.animation)){let d=this._rendererCache.get(s);return d||(d=new x1("",s,this.engine,()=>this._rendererCache.delete(s)),this._rendererCache.set(s,d)),d}const a=r.id,l=r.id+"-"+this._currentId;this._currentId++,this.engine.register(l,n);const c=d=>{Array.isArray(d)?d.forEach(c):this.engine.registerTrigger(a,l,n,d.name,d)};return r.data.animation.forEach(c),new J6(this,l,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,r,o){n>=0&&nr(o)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[a,l]=s;a(l)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,o]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return(t=e).\u0275fac=function(n){return new(n||t)(w(Vs),w(bd),w(G))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})();class x1{constructor(e,i,n,r){this.namespaceId=e,this.delegate=i,this.engine=n,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,i){return this.delegate.createElement(e,i)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,i){this.delegate.appendChild(e,i),this.engine.onInsert(this.namespaceId,i,e,!1)}insertBefore(e,i,n,r=!0){this.delegate.insertBefore(e,i,n),this.engine.onInsert(this.namespaceId,i,e,r)}removeChild(e,i,n){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(e,i){return this.delegate.selectRootElement(e,i)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,i,n,r){this.delegate.setAttribute(e,i,n,r)}removeAttribute(e,i,n){this.delegate.removeAttribute(e,i,n)}addClass(e,i){this.delegate.addClass(e,i)}removeClass(e,i){this.delegate.removeClass(e,i)}setStyle(e,i,n,r){this.delegate.setStyle(e,i,n,r)}removeStyle(e,i,n){this.delegate.removeStyle(e,i,n)}setProperty(e,i,n){"@"==i.charAt(0)&&i==E1?this.disableAnimations(e,!!n):this.delegate.setProperty(e,i,n)}setValue(e,i){this.delegate.setValue(e,i)}listen(e,i,n){return this.delegate.listen(e,i,n)}disableAnimations(e,i){this.engine.disableAnimations(e,i)}}class J6 extends x1{constructor(e,i,n,r,o){super(i,n,r,o),this.factory=e,this.namespaceId=i}setProperty(e,i,n){"@"==i.charAt(0)?"."==i.charAt(1)&&i==E1?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,i.slice(1),n):this.delegate.setProperty(e,i,n)}listen(e,i,n){if("@"==i.charAt(0)){const r=function e9(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(e);let o=i.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function t9(t){const e=t.indexOf(".");return[t.substring(0,e),t.slice(e+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,n,a)})}return this.delegate.listen(e,i,n)}}const S1=[{provide:Jx,useClass:Z6},{provide:Zg,useFactory:function i9(){return new C6}},{provide:bd,useClass:(()=>{var t;class e extends bd{constructor(n,r,o,s){super(n.body,r,o)}ngOnDestroy(){this.flush()}}return(t=e).\u0275fac=function(n){return new(n||t)(w(ne),w(Vg),w(Zg),w(ki))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),e})()},{provide:Vs,useFactory:function r9(t,e,i){return new X6(t,e,i)},deps:[em,bd,G]}],n_=[{provide:Vg,useFactory:()=>new Y6},{provide:Nn,useValue:"BrowserAnimations"},...S1],M1=[{provide:Vg,useClass:e1},{provide:Nn,useValue:"NoopAnimations"},...S1];let o9=(()=>{var t;class e{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?M1:n_}}}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:n_,imports:[BD]}),e})(),A1=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({providers:[Ui],imports:[Cn,fx,Y8,yS,zo]}),e})(),wd=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Cn,zo]}),e})(),s9=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Cn,zo,wd,A1]}),e})(),a9=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Cn,wd,V$]}),e})(),l9=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t}),t.\u0275inj=ae({imports:[Cn,zo,wd,fx,TM,FM]}),e})(),c9=(()=>{var t;class e{}return(t=e).\u0275fac=function(n){return new(n||t)},t.\u0275mod=ue({type:t,bootstrap:[uz]}),t.\u0275inj=ae({imports:[BD,cz,o9,wd,A1,s9,a9,l9]}),e})();SB().bootstrapModule(c9).catch(t=>console.error(t))}},oe=>{oe(oe.s=188)}]); \ No newline at end of file diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 08cfe48..8c5cad1 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -11,12 +11,12 @@ import { JobsPageManagementComponent } from './jobs/pages/jobs-page-management/j const routes: Routes = [ { path: '', component: LandingPageComponent }, - { path: 'login', component: LoginPageComponent }, - { path: 'register', component: RegisterPageComponent }, - { path: 'jobs/management', component: JobsPageManagementComponent}, - { path: 'jobs', component: JobsPageComponent}, - { path: 'register/personal', component: RegisterPersonalComponent }, - { path: 'account/profile', component: ProfilePageComponent } + { path: '/login', component: LoginPageComponent }, + { path: '/register', component: RegisterPageComponent }, + { path: '/jobs/management', component: JobsPageManagementComponent}, + { path: '/jobs', component: JobsPageComponent}, + { path: '/register/personal', component: RegisterPersonalComponent }, + { path: '/account/profile', component: ProfilePageComponent } ]; @NgModule({