From a723667fd0ba04a2c9f4a8d1f0c38ed648f18549 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 13 Feb 2024 21:20:14 +0000 Subject: [PATCH] deploy: 2d6479da6b65997817a54ede8582d08c3b977d7d --- dev/index.html | 2 +- dev/main-G3Y4O6PD.js | 773 ------------------ dev/main-HUSM6D2N.js | 773 ++++++++++++++++++ ...ills-RX4V3J3S.js => polyfills-RT5I6R6G.js} | 4 +- 4 files changed, 776 insertions(+), 776 deletions(-) delete mode 100644 dev/main-G3Y4O6PD.js create mode 100644 dev/main-HUSM6D2N.js rename dev/{polyfills-RX4V3J3S.js => polyfills-RT5I6R6G.js} (71%) diff --git a/dev/index.html b/dev/index.html index abede37..e6fc5ca 100644 --- a/dev/index.html +++ b/dev/index.html @@ -11,5 +11,5 @@ - + diff --git a/dev/main-G3Y4O6PD.js b/dev/main-G3Y4O6PD.js deleted file mode 100644 index 91a3a10..0000000 --- a/dev/main-G3Y4O6PD.js +++ /dev/null @@ -1,773 +0,0 @@ -var Lv=Object.defineProperty,Pv=Object.defineProperties;var Vv=Object.getOwnPropertyDescriptors;var Va=Object.getOwnPropertySymbols;var Qm=Object.prototype.hasOwnProperty,Km=Object.prototype.propertyIsEnumerable;var Ym=(t,e,n)=>e in t?Lv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,D=(t,e)=>{for(var n in e||={})Qm.call(e,n)&&Ym(t,n,e[n]);if(Va)for(var n of Va(e))Km.call(e,n)&&Ym(t,n,e[n]);return t},Ie=(t,e)=>Pv(t,Vv(e));var Ld=(t,e)=>{var n={};for(var i in t)Qm.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&Va)for(var i of Va(t))e.indexOf(i)<0&&Km.call(t,i)&&(n[i]=t[i]);return n};var Xm=null;var Pd=1,Jm=Symbol("SIGNAL");function ct(t){let e=Xm;return Xm=t,e}var e0={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function jv(t){if(!(Hd(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Pd)){if(!t.producerMustRecompute(t)&&!Vd(t)){t.dirty=!1,t.lastCleanEpoch=Pd;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Pd}}function t0(t){return t&&(t.nextProducerIndex=0),ct(t)}function i0(t,e){if(ct(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Hd(t))for(let n=t.nextProducerIndex;nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Vd(t){ja(t);for(let e=0;e0}function ja(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Hv(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Bv(){throw new Error}var Uv=Bv;function r0(t){Uv=t}function $(t){return typeof t=="function"}function Mr(t){let n=t(i=>{Error.call(i),i.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Ha=Mr(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((i,r)=>`${r+1}) ${i.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ln(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var ve=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:i}=this;if($(i))try{i()}catch(o){e=o instanceof Ha?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{o0(o)}catch(s){e=e??[],s instanceof Ha?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Ha(e)}}add(e){var n;if(e&&e!==this)if(this.closed)o0(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&Ln(n,e)}remove(e){let{_finalizers:n}=this;n&&Ln(n,e),e instanceof t&&e._removeParent(this)}};ve.EMPTY=(()=>{let t=new ve;return t.closed=!0,t})();var Bd=ve.EMPTY;function Ba(t){return t instanceof ve||t&&"closed"in t&&$(t.remove)&&$(t.add)&&$(t.unsubscribe)}function o0(t){$(t)?t():t.unsubscribe()}var Zt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ir={setTimeout(t,e,...n){let{delegate:i}=Ir;return i?.setTimeout?i.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=Ir;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Ua(t){Ir.setTimeout(()=>{let{onUnhandledError:e}=Zt;if(e)e(t);else throw t})}function Ho(){}var s0=Ud("C",void 0,void 0);function a0(t){return Ud("E",void 0,t)}function c0(t){return Ud("N",t,void 0)}function Ud(t,e,n){return{kind:t,value:e,error:n}}var Pn=null;function Sr(t){if(Zt.useDeprecatedSynchronousErrorHandling){let e=!Pn;if(e&&(Pn={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:i}=Pn;if(Pn=null,n)throw i}}else t()}function l0(t){Zt.useDeprecatedSynchronousErrorHandling&&Pn&&(Pn.errorThrown=!0,Pn.error=t)}var Vn=class extends ve{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Ba(e)&&e.add(this)):this.destination=Wv}static create(e,n,i){return new Ni(e,n,i)}next(e){this.isStopped?qd(c0(e),this):this._next(e)}error(e){this.isStopped?qd(a0(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?qd(s0,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()}}},$v=Function.prototype.bind;function $d(t,e){return $v.call(t,e)}var Wd=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(i){$a(i)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(i){$a(i)}else $a(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){$a(n)}}},Ni=class extends Vn{constructor(e,n,i){super();let r;if($(e)||!e)r={next:e??void 0,error:n??void 0,complete:i??void 0};else{let o;this&&Zt.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&$d(e.next,o),error:e.error&&$d(e.error,o),complete:e.complete&&$d(e.complete,o)}):r=e}this.destination=new Wd(r)}};function $a(t){Zt.useDeprecatedSynchronousErrorHandling?l0(t):Ua(t)}function qv(t){throw t}function qd(t,e){let{onStoppedNotification:n}=Zt;n&&Ir.setTimeout(()=>n(t,e))}var Wv={closed:!0,next:Ho,error:qv,complete:Ho};var kr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function bt(t){return t}function Gd(...t){return Zd(t)}function Zd(t){return t.length===0?bt:t.length===1?t[0]:function(n){return t.reduce((i,r)=>r(i),n)}}var K=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let i=new t;return i.source=this,i.operator=n,i}subscribe(n,i,r){let o=Zv(n)?n:new Ni(n,i,r);return Sr(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return i=d0(i),new i((r,o)=>{let s=new Ni({next:a=>{try{n(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(n){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(n)}[kr](){return this}pipe(...n){return Zd(n)(this)}toPromise(n){return n=d0(n),new n((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=e=>new t(e),t})();function d0(t){var e;return(e=t??Zt.Promise)!==null&&e!==void 0?e:Promise}function Gv(t){return t&&$(t.next)&&$(t.error)&&$(t.complete)}function Zv(t){return t&&t instanceof Vn||Gv(t)&&Ba(t)}function Yd(t){return $(t?.lift)}function X(t){return e=>{if(Yd(e))return e.lift(function(n){try{return t(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function G(t,e,n,i,r){return new Qd(t,e,n,i,r)}var Qd=class extends Vn{constructor(e,n,i,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){e.error(c)}}:super._next,this._error=r?function(a){try{r(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Tr(){return X((t,e)=>{let n=null;t._refCount++;let i=G(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let r=t._connection,o=n;n=null,r&&(!o||r===o)&&r.unsubscribe(),e.unsubscribe()});t.subscribe(i),i.closed||(n=t.connect())})}var nn=class extends K{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Yd(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ve;let n=this.getSubject();e.add(this.source.subscribe(G(n,void 0,()=>{this._teardown(),n.complete()},i=>{this._teardown(),n.error(i)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ve.EMPTY)}return e}refCount(){return Tr()(this)}};var u0=Mr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var H=(()=>{class t extends K{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let i=new qa(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new u0}next(n){Sr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(n)}})}error(n){Sr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){Sr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:i,isStopped:r,observers:o}=this;return i||r?Bd:(this.currentObservers=null,o.push(n),new ve(()=>{this.currentObservers=null,Ln(o,n)}))}_checkFinalizedStatuses(n){let{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){let n=new K;return n.source=this,n}}return t.create=(e,n)=>new qa(e,n),t})(),qa=class extends H{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,e)}error(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&i!==void 0?i:Bd}};var We=class extends H{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:i}=this;if(e)throw n;return this._throwIfClosed(),i}next(e){super.next(this._value=e)}};var Bo={now(){return(Bo.delegate||Date).now()},delegate:void 0};var Wa=class extends H{constructor(e=1/0,n=1/0,i=Bo){super(),this._bufferSize=e,this._windowTime=n,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,n)}next(e){let{isStopped:n,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;n||(i.push(e),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(e),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;st.complete());function Qa(t){return t&&$(t.schedule)}function Kd(t){return t[t.length-1]}function Ka(t){return $(Kd(t))?t.pop():void 0}function ai(t){return Qa(Kd(t))?t.pop():void 0}function m0(t,e){return typeof Kd(t)=="number"?t.pop():e}function p0(t,e,n,i){function r(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(d){try{l(i.next(d))}catch(u){s(u)}}function c(d){try{l(i.throw(d))}catch(u){s(u)}}function l(d){d.done?o(d.value):r(d.value).then(a,c)}l((i=i.apply(t,e||[])).next())})}function h0(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function jn(t){return this instanceof jn?(this.v=t,this):new jn(t)}function g0(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(t,e||[]),r,o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(f){i[f]&&(r[f]=function(m){return new Promise(function(p,v){o.push([f,m,p,v])>1||a(f,m)})})}function a(f,m){try{c(i[f](m))}catch(p){u(o[0][3],p)}}function c(f){f.value instanceof jn?Promise.resolve(f.value.v).then(l,d):u(o[0][2],f)}function l(f){a("next",f)}function d(f){a("throw",f)}function u(f,m){f(m),o.shift(),o.length&&a(o[0][0],o[0][1])}}function v0(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof h0=="function"?h0(t):t[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=t[o]&&function(s){return new Promise(function(a,c){s=t[o](s),r(a,c,s.done,s.value)})}}function r(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}}var Nr=t=>t&&typeof t.length=="number"&&typeof t!="function";function Xa(t){return $(t?.then)}function Ja(t){return $(t[kr])}function ec(t){return Symbol.asyncIterator&&$(t?.[Symbol.asyncIterator])}function tc(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Yv(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ic=Yv();function nc(t){return $(t?.[ic])}function rc(t){return g0(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:i,done:r}=yield jn(n.read());if(r)return yield jn(void 0);yield yield jn(i)}}finally{n.releaseLock()}})}function oc(t){return $(t?.getReader)}function Se(t){if(t instanceof K)return t;if(t!=null){if(Ja(t))return Qv(t);if(Nr(t))return Kv(t);if(Xa(t))return Xv(t);if(ec(t))return b0(t);if(nc(t))return Jv(t);if(oc(t))return eb(t)}throw tc(t)}function Qv(t){return new K(e=>{let n=t[kr]();if($(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Kv(t){return new K(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Ua)})}function Jv(t){return new K(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function b0(t){return new K(e=>{tb(t,e).catch(n=>e.error(n))})}function eb(t){return b0(rc(t))}function tb(t,e){var n,i,r,o;return p0(this,void 0,void 0,function*(){try{for(n=v0(t);i=yield n.next(),!i.done;){let s=i.value;if(e.next(s),e.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}e.complete()})}function Mt(t,e,n,i=0,r=!1){let o=e.schedule(function(){n(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function sc(t,e=0){return X((n,i)=>{n.subscribe(G(i,r=>Mt(i,t,()=>i.next(r),e),()=>Mt(i,t,()=>i.complete(),e),r=>Mt(i,t,()=>i.error(r),e)))})}function ac(t,e=0){return X((n,i)=>{i.add(t.schedule(()=>n.subscribe(i),e))})}function _0(t,e){return Se(t).pipe(ac(e),sc(e))}function y0(t,e){return Se(t).pipe(ac(e),sc(e))}function w0(t,e){return new K(n=>{let i=0;return e.schedule(function(){i===t.length?n.complete():(n.next(t[i++]),n.closed||this.schedule())})})}function x0(t,e){return new K(n=>{let i;return Mt(n,e,()=>{i=t[ic](),Mt(n,e,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){n.error(s);return}o?n.complete():n.next(r)},0,!0)}),()=>$(i?.return)&&i.return()})}function cc(t,e){if(!t)throw new Error("Iterable cannot be null");return new K(n=>{Mt(n,e,()=>{let i=t[Symbol.asyncIterator]();Mt(n,e,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function C0(t,e){return cc(rc(t),e)}function D0(t,e){if(t!=null){if(Ja(t))return _0(t,e);if(Nr(t))return w0(t,e);if(Xa(t))return y0(t,e);if(ec(t))return cc(t,e);if(nc(t))return x0(t,e);if(oc(t))return C0(t,e)}throw tc(t)}function xe(t,e){return e?D0(t,e):Se(t)}function A(...t){let e=ai(t);return xe(t,e)}function rn(t,e){let n=$(t)?t:()=>t,i=r=>r.error(n());return new K(e?r=>e.schedule(i,0,r):i)}function Hn(t){return!!t&&(t instanceof K||$(t.lift)&&$(t.subscribe))}var Ri=Mr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function E0(t){return t instanceof Date&&!isNaN(t)}function P(t,e){return X((n,i)=>{let r=0;n.subscribe(G(i,o=>{i.next(t.call(e,o,r++))}))})}var{isArray:ib}=Array;function nb(t,e){return ib(e)?t(...e):t(e)}function Rr(t){return P(e=>nb(t,e))}var{isArray:rb}=Array,{getPrototypeOf:ob,prototype:sb,keys:ab}=Object;function lc(t){if(t.length===1){let e=t[0];if(rb(e))return{args:e,keys:null};if(cb(e)){let n=ab(e);return{args:n.map(i=>e[i]),keys:n}}}return{args:t,keys:null}}function cb(t){return t&&typeof t=="object"&&ob(t)===sb}function dc(t,e){return t.reduce((n,i,r)=>(n[i]=e[r],n),{})}function Bn(...t){let e=ai(t),n=Ka(t),{args:i,keys:r}=lc(t);if(i.length===0)return xe([],e);let o=new K(lb(i,e,r?s=>dc(r,s):bt));return n?o.pipe(Rr(n)):o}function lb(t,e,n=bt){return i=>{M0(e,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let c=0;c{let l=xe(t[c],e),d=!1;l.subscribe(G(i,u=>{o[c]=u,d||(d=!0,a--),a||i.next(n(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function M0(t,e,n){t?Mt(n,t,e):e()}function I0(t,e,n,i,r,o,s,a){let c=[],l=0,d=0,u=!1,f=()=>{u&&!c.length&&!l&&e.complete()},m=v=>l{o&&e.next(v),l++;let _=!1;Se(n(v,d++)).subscribe(G(e,y=>{r?.(y),o?m(y):e.next(y)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&lp(y)):p(y)}f()}catch(y){e.error(y)}}))};return t.subscribe(G(e,m,()=>{u=!0,f()})),()=>{a?.()}}function Ue(t,e,n=1/0){return $(e)?Ue((i,r)=>P((o,s)=>e(i,o,r,s))(Se(t(i,r))),n):(typeof e=="number"&&(n=e),X((i,r)=>I0(i,r,t,n)))}function ci(t=1/0){return Ue(bt,t)}function S0(){return ci(1)}function on(...t){return S0()(xe(t,ai(t)))}function Or(t){return new K(e=>{Se(t()).subscribe(e)})}function qo(...t){let e=Ka(t),{args:n,keys:i}=lc(t),r=new K(o=>{let{length:s}=n;if(!s){o.complete();return}let a=new Array(s),c=s,l=s;for(let d=0;d{u||(u=!0,l--),a[d]=f},()=>c--,void 0,()=>{(!c||!u)&&(l||o.next(i?dc(i,a):a),o.complete())}))}});return e?r.pipe(Rr(e)):r}var db=["addListener","removeListener"],ub=["addEventListener","removeEventListener"],fb=["on","off"];function Wo(t,e,n,i){if($(n)&&(i=n,n=void 0),i)return Wo(t,e,n).pipe(Rr(i));let[r,o]=pb(t)?ub.map(s=>a=>t[s](e,a,n)):mb(t)?db.map(k0(t,e)):hb(t)?fb.map(k0(t,e)):[];if(!r&&Nr(t))return Ue(s=>Wo(s,e,n))(Se(t));if(!r)throw new TypeError("Invalid event target");return new K(s=>{let a=(...c)=>s.next(1o(a)})}function k0(t,e){return n=>i=>t[n](e,i)}function mb(t){return $(t.addListener)&&$(t.removeListener)}function hb(t){return $(t.on)&&$(t.off)}function pb(t){return $(t.addEventListener)&&$(t.removeEventListener)}function T0(t=0,e,n=f0){let i=-1;return e!=null&&(Qa(e)?n=e:i=e),new K(r=>{let o=E0(t)?+t-n.now():t;o<0&&(o=0);let s=0;return n.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function Oi(...t){let e=ai(t),n=m0(t,1/0),i=t;return i.length?i.length===1?Se(i[0]):ci(n)(xe(i,e)):Et}function Ae(t,e){return X((n,i)=>{let r=0;n.subscribe(G(i,o=>t.call(e,o,r++)&&i.next(o)))})}function A0(t){return X((e,n)=>{let i=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let l=r;r=null,n.next(l)}s&&n.complete()},c=()=>{o=null,s&&n.complete()};e.subscribe(G(n,l=>{i=!0,r=l,o||Se(t(l)).subscribe(o=G(n,a,c))},()=>{s=!0,(!i||!o||o.closed)&&n.complete()}))})}function uc(t,e=$o){return A0(()=>T0(t,e))}function Yt(t){return X((e,n)=>{let i=null,r=!1,o;i=e.subscribe(G(n,void 0,void 0,s=>{o=Se(t(s,Yt(t)(e))),i?(i.unsubscribe(),i=null,o.subscribe(n)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(n))})}function N0(t,e,n,i,r){return(o,s)=>{let a=n,c=e,l=0;o.subscribe(G(s,d=>{let u=l++;c=a?t(c,d,u):(a=!0,d),i&&s.next(c)},r&&(()=>{a&&s.next(c),s.complete()})))}}function Fi(t,e){return $(e)?Ue(t,e,1):Ue(t,1)}function Go(t,e=$o){return X((n,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let l=o;o=null,i.next(l)}};function c(){let l=s+t,d=e.now();if(d{o=l,s=e.now(),r||(r=e.schedule(c,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function sn(t){return X((e,n)=>{let i=!1;e.subscribe(G(n,r=>{i=!0,n.next(r)},()=>{i||n.next(t),n.complete()}))})}function Ve(t){return t<=0?()=>Et:X((e,n)=>{let i=0;e.subscribe(G(n,r=>{++i<=t&&(n.next(r),t<=i&&n.complete())}))})}function Xd(t){return P(()=>t)}function Fr(t,e=bt){return t=t??gb,X((n,i)=>{let r,o=!0;n.subscribe(G(i,s=>{let a=e(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function gb(t,e){return t===e}function fc(t=vb){return X((e,n)=>{let i=!1;e.subscribe(G(n,r=>{i=!0,n.next(r)},()=>i?n.complete():n.error(t())))})}function vb(){return new Ri}function li(t){return X((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function di(t,e){let n=arguments.length>=2;return i=>i.pipe(t?Ae((r,o)=>t(r,o,i)):bt,Ve(1),n?sn(e):fc(()=>new Ri))}function zr(t){return t<=0?()=>Et:X((e,n)=>{let i=[];e.subscribe(G(n,r=>{i.push(r),t{for(let r of i)n.next(r);n.complete()},void 0,()=>{i=null}))})}function Jd(t,e){let n=arguments.length>=2;return i=>i.pipe(t?Ae((r,o)=>t(r,o,i)):bt,zr(1),n?sn(e):fc(()=>new Ri))}function e2(t,e){return X(N0(t,e,arguments.length>=2,!0))}function Zo(t={}){let{connector:e=()=>new H,resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,c,l=0,d=!1,u=!1,f=()=>{a?.unsubscribe(),a=void 0},m=()=>{f(),s=c=void 0,d=u=!1},p=()=>{let v=s;m(),v?.unsubscribe()};return X((v,_)=>{l++,!u&&!d&&f();let y=c=c??e();_.add(()=>{l--,l===0&&!u&&!d&&(a=t2(p,r))}),y.subscribe(_),!s&&l>0&&(s=new Ni({next:k=>y.next(k),error:k=>{u=!0,f(),a=t2(m,n,k),y.error(k)},complete:()=>{d=!0,f(),a=t2(m,i),y.complete()}}),Se(v).subscribe(s))})(o)}}function t2(t,e,...n){if(e===!0){t();return}if(e===!1)return;let i=new Ni({next:()=>{i.unsubscribe(),t()}});return Se(e(...n)).subscribe(i)}function mc(t,e,n){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:e=1/0,refCount:r=!1,scheduler:n}=t:i=t??1/0,Zo({connector:()=>new Wa(i,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Yo(t){return Ae((e,n)=>t<=n)}function zi(...t){let e=ai(t);return X((n,i)=>{(e?on(t,n,e):on(t,n)).subscribe(i)})}function rt(t,e){return X((n,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();n.subscribe(G(i,c=>{r?.unsubscribe();let l=0,d=o++;Se(t(c,d)).subscribe(r=G(i,u=>i.next(e?e(c,u,d,l++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function le(t){return X((e,n)=>{Se(t).subscribe(G(n,()=>n.complete(),Ho)),!n.closed&&e.subscribe(n)})}function i2(t,e=!1){return X((n,i)=>{let r=0;n.subscribe(G(i,o=>{let s=t(o,r++);(s||e)&&i.next(o),!s&&i.complete()}))})}function ze(t,e,n){let i=$(t)||e||n?{next:t,error:e,complete:n}:t;return i?X((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(G(o,c=>{var l;(l=i.next)===null||l===void 0||l.call(i,c),o.next(c)},()=>{var c;a=!1,(c=i.complete)===null||c===void 0||c.call(i),o.complete()},c=>{var l;a=!1,(l=i.error)===null||l===void 0||l.call(i,c),o.error(c)},()=>{var c,l;a&&((c=i.unsubscribe)===null||c===void 0||c.call(i)),(l=i.finalize)===null||l===void 0||l.call(i)}))}):bt}var _h="https://g.co/ng/security#xss",E=class extends Error{constructor(e,n){super(Yc(e,n)),this.code=e}};function Yc(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Ne(t){for(let e in t)if(t[e]===Ne)return e;throw Error("Could not find renamed property on target object.")}function bb(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function yt(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(yt).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` -`);return n===-1?e:e.substring(0,n)}function b2(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var _b=Ne({__forward_ref__:Ne});function us(t){return t.__forward_ref__=us,t.toString=function(){return yt(this())},t}function _t(t){return yh(t)?t():t}function yh(t){return typeof t=="function"&&t.hasOwnProperty(_b)&&t.__forward_ref__===us}function wh(t){return t&&!!t.\u0275providers}var yb=Ne({\u0275cmp:Ne}),wb=Ne({\u0275dir:Ne}),xb=Ne({\u0275pipe:Ne}),Cb=Ne({\u0275mod:Ne}),Ic=Ne({\u0275fac:Ne}),Qo=Ne({__NG_ELEMENT_ID__:Ne}),R0=Ne({__NG_ENV_ID__:Ne});function fs(t){return typeof t=="string"?t:t==null?"":String(t)}function Db(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():fs(t)}function Eb(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new E(-200,`Circular dependency in DI detected for ${t}${n}`)}function D3(t,e){throw new E(-201,!1)}function Mb(t,e){t==null&&Ib(e,t,null,"!=")}function Ib(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+(i==null?"":` [Expected=> ${n} ${i} ${e} <=Actual]`))}function w(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function F(t){return{providers:t.providers||[],imports:t.imports||[]}}function Qc(t){return O0(t,Ch)||O0(t,Dh)}function xh(t){return Qc(t)!==null}function O0(t,e){return t.hasOwnProperty(e)?t[e]:null}function Sb(t){let e=t&&(t[Ch]||t[Dh]);return e||null}function F0(t){return t&&(t.hasOwnProperty(z0)||t.hasOwnProperty(kb))?t[z0]:null}var Ch=Ne({\u0275prov:Ne}),z0=Ne({\u0275inj:Ne}),Dh=Ne({ngInjectableDef:Ne}),kb=Ne({ngInjectorDef:Ne}),de=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}(de||{}),_2;function Eh(){return _2}function It(t){let e=_2;return _2=t,e}function Mh(t,e,n){let i=Qc(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(n&de.Optional)return null;if(e!==void 0)return e;D3(t,"Injector")}var lt=globalThis;var C=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=w({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var Tb={},Xo=Tb,y2="__NG_DI_FLAG__",Sc="ngTempTokenPath",Ab="ngTokenPath",Nb=/\n/gm,Rb="\u0275",L0="__source",Hr;function Ob(){return Hr}function an(t){let e=Hr;return Hr=t,e}function Fb(t,e=de.Default){if(Hr===void 0)throw new E(-203,!1);return Hr===null?Mh(t,void 0,e):Hr.get(t,e&de.Optional?null:void 0,e)}function g(t,e=de.Default){return(Eh()||Fb)(_t(t),e)}function b(t,e=de.Default){return g(t,Kc(e))}function Kc(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function w2(t){let e=[];for(let n=0;n ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):yt(a)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(Nb,` - `)}`}function ms(t){return{toString:t}.toString()}var Sh=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Sh||{}),hi=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(hi||{}),Ur={},St=[],x=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(x||{});function kh(t,e,n){let i=t.length;for(;;){let r=t.indexOf(e,n);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=e.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}n=r+1}}function x2(t,e,n){let i=0;for(;ie){s=o-1;break}}}for(;oo?f="":f=r[u+1].toLowerCase();let m=i&8?f:null;if(m&&kh(m,l,0)!==-1||i&2&&l!==f){if(Qt(i))return!1;s=!0}}}}return Qt(i)||s}function Qt(t){return(t&1)===0}function Ub(t,e,n,i){if(e===null)return-1;let r=0;if(i||!n){let o=!1;for(;r-1)for(n++;n0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!Qt(s)&&(e+=V0(o,r),r=""),i=s,o=o||!Qt(i);n++}return r!==""&&(e+=V0(o,r)),e}function Yb(t){return t.map(Zb).join(",")}function Qb(t){let e=[],n=[],i=1,r=2;for(;i{let e=Ph(t),n=Ie(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Sh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||hi.Emulated,styles:t.styles||St,_:null,schemas:t.schemas||null,tView:null,id:""});Vh(n);let i=t.dependencies;return n.directiveDefs=H0(i,!1),n.pipeDefs=H0(i,!0),n.id=Jb(n),n})}function Kb(t){return ln(t)||Oh(t)}function Xb(t){return t!==null}function z(t){return ms(()=>({type:t.type,bootstrap:t.bootstrap||St,declarations:t.declarations||St,imports:t.imports||St,exports:t.exports||St,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function j0(t,e){if(t==null)return Ur;let n={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,s,a=x.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),e?(n[o]=a!==x.None?[i,a]:i,e[o]=s):n[o]=i}return n}function N(t){return ms(()=>{let e=Ph(t);return Vh(e),e})}function hs(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function ln(t){return t[yb]||null}function Oh(t){return t[wb]||null}function Fh(t){return t[xb]||null}function zh(t){let e=ln(t)||Oh(t)||Fh(t);return e!==null?e.standalone:!1}function Lh(t,e){let n=t[Cb]||null;if(!n&&e===!0)throw new Error(`Type ${yt(t)} does not have '\u0275mod' property.`);return n}function Ph(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Ur,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||St,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:j0(t.inputs,e),outputs:j0(t.outputs),debugInfo:null}}function Vh(t){t.features?.forEach(e=>e(t))}function H0(t,e){if(!t)return null;let n=e?Fh:Kb;return()=>(typeof t=="function"?t():t).map(i=>n(i)).filter(Xb)}function Jb(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let r of n)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,"c"+e}var ji=0,ee=1,Z=2,dt=3,Xt=4,Nt=5,$r=6,es=7,ht=8,qr=9,Li=10,$e=11,ts=12,B0=13,Jr=14,Pt=15,ps=16,Lr=17,mi=18,Xc=19,jh=20,cn=21,n2=22,qn=23,gt=25,Hh=1;var Wn=7,kc=8,Wr=9,pt=10,E3=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(E3||{});function Un(t){return Array.isArray(t)&&typeof t[Hh]=="object"}function Hi(t){return Array.isArray(t)&&t[Hh]===!0}function M3(t){return(t.flags&4)!==0}function Jc(t){return t.componentOffset>-1}function e1(t){return(t.flags&1)===1}function dn(t){return!!t.template}function e_(t){return(t[Z]&512)!==0}function Gn(t,e){let n=t.hasOwnProperty(Ic);return n?t[Ic]:null}var C2=class{constructor(e,n,i){this.previousValue=e,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}};function Bh(t,e,n,i){e!==null?e.applyValueToInputSignal(e,i):t[n]=i}function Re(){return Uh}function Uh(t){return t.type.prototype.ngOnChanges&&(t.setInput=i_),t_}Re.ngInherit=!0;function t_(){let t=qh(this),e=t?.current;if(e){let n=t.previous;if(n===Ur)t.previous=e;else for(let i in e)n[i]=e[i];t.current=null,this.ngOnChanges(e)}}function i_(t,e,n,i,r){let o=this.declaredInputs[i],s=qh(t)||n_(t,{previous:Ur,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[o];a[o]=new C2(l&&l.currentValue,n,c===Ur),Bh(t,e,r,n)}var $h="__ngSimpleChanges__";function qh(t){return t[$h]||null}function n_(t,e){return t[$h]=e}var U0=null;var ui=function(t,e,n){U0?.(t,e,n)},Wh="svg",r_="math",o_=!1;function s_(){return o_}function pi(t){for(;Array.isArray(t);)t=t[ji];return t}function Gh(t,e){return pi(e[t])}function Vt(t,e){return pi(e[t.index])}function I3(t,e){return t.data[e]}function Zh(t,e){return t[e]}function mn(t,e){let n=e[t];return Un(n)?n:n[ji]}function a_(t){return(t[Z]&4)===4}function S3(t){return(t[Z]&128)===128}function c_(t){return Hi(t[dt])}function Gr(t,e){return e==null?null:t[e]}function Yh(t){t[Lr]=0}function l_(t){t[Z]&1024||(t[Z]|=1024,S3(t)&&is(t))}function d_(t,e){for(;t>0;)e=e[Jr],t--;return e}function Qh(t){return t[Z]&9216||t[qn]?.dirty}function D2(t){Qh(t)?is(t):t[Z]&64&&(s_()?(t[Z]|=1024,is(t)):t[Li].changeDetectionScheduler?.notify())}function is(t){t[Li].changeDetectionScheduler?.notify();let e=ns(t);for(;e!==null&&!(e[Z]&8192||(e[Z]|=8192,!S3(e)));)e=ns(e)}function Kh(t,e){if((t[Z]&256)===256)throw new E(911,!1);t[cn]===null&&(t[cn]=[]),t[cn].push(e)}function u_(t,e){if(t[cn]===null)return;let n=t[cn].indexOf(e);n!==-1&&t[cn].splice(n,1)}function ns(t){let e=t[dt];return Hi(e)?e[dt]:e}var ne={lFrame:o5(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function f_(){return ne.lFrame.elementDepthCount}function m_(){ne.lFrame.elementDepthCount++}function h_(){ne.lFrame.elementDepthCount--}function Xh(){return ne.bindingsEnabled}function Jh(){return ne.skipHydrationRootTNode!==null}function p_(t){return ne.skipHydrationRootTNode===t}function g_(){ne.skipHydrationRootTNode=null}function ce(){return ne.lFrame.lView}function Ge(){return ne.lFrame.tView}function k3(t){return ne.lFrame.contextLView=t,t[ht]}function T3(t){return ne.lFrame.contextLView=null,t}function xt(){let t=e5();for(;t!==null&&t.type===64;)t=t.parent;return t}function e5(){return ne.lFrame.currentTNode}function v_(){let t=ne.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function er(t,e){let n=ne.lFrame;n.currentTNode=t,n.isParent=e}function A3(){return ne.lFrame.isParent}function N3(){ne.lFrame.isParent=!1}function b_(){return ne.lFrame.contextLView}function __(){let t=ne.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function y_(t){return ne.lFrame.bindingIndex=t}function eo(){return ne.lFrame.bindingIndex++}function t5(t){let e=ne.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function w_(){return ne.lFrame.inI18n}function x_(t,e){let n=ne.lFrame;n.bindingIndex=n.bindingRootIndex=t,E2(e)}function C_(){return ne.lFrame.currentDirectiveIndex}function E2(t){ne.lFrame.currentDirectiveIndex=t}function D_(t){let e=ne.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function i5(){return ne.lFrame.currentQueryIndex}function R3(t){ne.lFrame.currentQueryIndex=t}function E_(t){let e=t[ee];return e.type===2?e.declTNode:e.type===1?t[Nt]:null}function n5(t,e,n){if(n&de.SkipSelf){let r=e,o=t;for(;r=r.parent,r===null&&!(n&de.Host);)if(r=E_(o),r===null||(o=o[Jr],r.type&10))break;if(r===null)return!1;e=r,t=o}let i=ne.lFrame=r5();return i.currentTNode=e,i.lView=t,!0}function O3(t){let e=r5(),n=t[ee];ne.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function r5(){let t=ne.lFrame,e=t===null?null:t.child;return e===null?o5(t):e}function o5(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function s5(){let t=ne.lFrame;return ne.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var a5=s5;function F3(){let t=s5();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 M_(t){return(ne.lFrame.contextLView=d_(t,ne.lFrame.contextLView))[ht]}function hn(){return ne.lFrame.selectedIndex}function Zn(t){ne.lFrame.selectedIndex=t}function t1(){let t=ne.lFrame;return I3(t.tView,t.selectedIndex)}function i1(){ne.lFrame.currentNamespace=Wh}function z3(){I_()}function I_(){ne.lFrame.currentNamespace=null}function S_(){return ne.lFrame.currentNamespace}var c5=!0;function n1(){return c5}function r1(t){c5=t}function k_(t,e,n){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(i){let s=Uh(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}r&&(n.preOrderHooks??=[]).push(0-t,r),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function o1(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[c]<0&&(t[Lr]+=65536),(a>14>16&&(t[Z]&3)===e&&(t[Z]+=16384,$0(a,o)):$0(a,o)}var Br=-1,Yn=class{constructor(e,n,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}};function A_(t){return t instanceof Yn}function N_(t){return(t.flags&8)!==0}function R_(t){return(t.flags&16)!==0}function d5(t){return t!==Br}function Tc(t){return t&32767}function O_(t){return t>>16}function Ac(t,e){let n=O_(t),i=e;for(;n>0;)i=i[Jr],n--;return i}var M2=!0;function Nc(t){let e=M2;return M2=t,e}var F_=256,u5=F_-1,f5=5,z_=0,fi={};function L_(t,e,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(Qo)&&(i=n[Qo]),i==null&&(i=n[Qo]=z_++);let r=i&u5,o=1<>f5)]|=o}function Rc(t,e){let n=m5(t,e);if(n!==-1)return n;let i=e[ee];i.firstCreatePass&&(t.injectorIndex=e.length,o2(i.data,t),o2(e,null),o2(i.blueprint,null));let r=L3(t,e),o=t.injectorIndex;if(d5(r)){let s=Tc(r),a=Ac(r,e),c=a[ee].data;for(let l=0;l<8;l++)e[o+l]=a[s+l]|c[s+l]}return e[o+8]=r,o}function o2(t,e){t.push(0,0,0,0,0,0,0,0,e)}function m5(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function L3(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;r!==null;){if(i=b5(r),i===null)return Br;if(n++,r=r[Jr],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return Br}function I2(t,e,n){L_(t,e,n)}function P_(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let n=t.attrs;if(n){let i=n.length,r=0;for(;r>20,u=i?a:a+d,f=r?a+d:l;for(let m=u;m=c&&p.type===n)return m}if(r){let m=s[c];if(m&&dn(m)&&m.type===n)return c}return null}function Qn(t,e,n,i){let r=t[n],o=e.data;if(A_(r)){let s=r;s.resolving&&Eb(Db(o[n]));let a=Nc(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?It(s.injectImpl):null,d=n5(t,i,de.Default);try{r=t[n]=s.factory(void 0,o,t,i),e.firstCreatePass&&n>=i.directiveStart&&k_(n,o[n],e)}finally{l!==null&&It(l),Nc(a),s.resolving=!1,a5()}}return r}function j_(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Qo)?t[Qo]:void 0;return typeof e=="number"?e>=0?e&u5:H_:e}function q0(t,e,n){let i=1<>f5)]&i)}function W0(t,e){return!(t&de.Self)&&!(t&de.Host&&e)}var $n=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,i){return g5(this._tNode,this._lView,e,Kc(i),n)}};function H_(){return new $n(xt(),ce())}function ot(t){return ms(()=>{let e=t.prototype.constructor,n=e[Ic]||S2(e),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[Ic]||S2(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function S2(t){return yh(t)?()=>{let e=S2(_t(t));return e&&e()}:Gn(t)}function B_(t,e,n,i,r){let o=t,s=e;for(;o!==null&&s!==null&&s[Z]&2048&&!(s[Z]&512);){let a=v5(o,s,n,i|de.Self,fi);if(a!==fi)return a;let c=o.parent;if(!c){let l=s[jh];if(l){let d=l.get(n,fi,i);if(d!==fi)return d}c=b5(s),s=s[Jr]}o=c}return r}function b5(t){let e=t[ee],n=e.type;return n===2?e.declTNode:n===1?t[Nt]:null}function gi(t){return P_(xt(),t)}var hc="__parameters__";function U_(t){return function(...n){if(t){let i=t(...n);for(let r in i)this[r]=i[r]}}}function _5(t,e,n){return ms(()=>{let i=U_(e);function r(...o){if(this instanceof r)return i.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(c,l,d){let u=c.hasOwnProperty(hc)?c[hc]:Object.defineProperty(c,hc,{value:[]})[hc];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),c}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function $_(t){let e=lt.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function q_(t){return typeof t=="function"}function W_(t,e,n){if(t.length!==e.length)return!1;for(let i=0;iArray.isArray(n)?P3(n,e):e(n))}function y5(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Oc(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Z_(t,e){let n=[];for(let i=0;ie;){let o=r-2;t[r]=t[o],r--}t[e]=n,t[e+1]=i}}function s1(t,e,n){let i=gs(t,e);return i>=0?t[i|1]=n:(i=~i,Y_(t,i,e,n)),i}function s2(t,e){let n=gs(t,e);if(n>=0)return t[n|1]}function gs(t,e){return Q_(t,e,1)}function Q_(t,e,n){let i=0,r=t.length>>n;for(;r!==i;){let o=i+(r-i>>1),s=t[o<e?r=o:i=o+1}return~(r<{let s=[];r.templateUrl&&s.push(i(r.templateUrl).then(l=>{r.template=l}));let a=typeof r.styles=="string"?[r.styles]:r.styles||[];if(r.styles=a,r.styleUrl&&r.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(r.styleUrls?.length){let l=r.styles.length,d=r.styleUrls;r.styleUrls.forEach((u,f)=>{a.push(""),s.push(i(u).then(m=>{a[l+f]=m,d.splice(d.indexOf(u),1),d.length==0&&(r.styleUrls=void 0)}))})}else r.styleUrl&&s.push(i(r.styleUrl).then(l=>{a.push(l),r.styleUrl=void 0}));let c=Promise.all(s).then(()=>iy(o));e.push(c)}),J_(),Promise.all(e).then(()=>{})}var Fc=new Map,X_=new Set;function J_(){let t=Fc;return Fc=new Map,t}function ey(){return Fc.size===0}function ty(t){return typeof t=="string"?t:t.text()}function iy(t){X_.delete(t)}var Zr=new C("ENVIRONMENT_INITIALIZER"),w5=new C("INJECTOR",-1),x5=new C("INJECTOR_DEF_TYPES"),zc=class{get(e,n=Xo){if(n===Xo){let i=new Error(`NullInjectorError: No provider for ${yt(e)}!`);throw i.name="NullInjectorError",i}return n}};function bs(t){return{\u0275providers:t}}function ny(...t){return{\u0275providers:C5(!0,t),\u0275fromNgModule:!0}}function C5(t,...e){let n=[],i=new Set,r,o=s=>{n.push(s)};return P3(e,s=>{let a=s;k2(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&D5(r,o),n}function D5(t,e){for(let n=0;n{e(o,i)})}}function k2(t,e,n,i){if(t=_t(t),!t)return!1;let r=null,o=F0(t),s=!o&&ln(t);if(!o&&!s){let c=t.ngModule;if(o=F0(c),o)r=c;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)k2(l,e,n,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let l;try{P3(o.imports,d=>{k2(d,e,n,i)&&(l||=[],l.push(d))})}finally{}l!==void 0&&D5(l,e)}if(!a){let l=Gn(r)||(()=>new r);e({provide:r,useFactory:l,deps:St},r),e({provide:x5,useValue:r,multi:!0},r),e({provide:Zr,useValue:()=>g(r),multi:!0},r)}let c=o.providers;if(c!=null&&!a){let l=t;V3(c,d=>{e(d,l)})}}else return!1;return r!==t&&t.providers!==void 0}function V3(t,e){for(let n of t)wh(n)&&(n=n.\u0275providers),Array.isArray(n)?V3(n,e):e(n)}var ry=Ne({provide:String,useValue:Ne});function E5(t){return t!==null&&typeof t=="object"&&ry in t}function oy(t){return!!(t&&t.useExisting)}function sy(t){return!!(t&&t.useFactory)}function Yr(t){return typeof t=="function"}function ay(t){return!!t.useClass}var c1=new C("Set Injector scope."),Dc={},cy={},a2;function j3(){return a2===void 0&&(a2=new zc),a2}var wt=class{},rs=class extends wt{get destroyed(){return this._destroyed}constructor(e,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,A2(e,s=>this.processProvider(s)),this.records.set(w5,Pr(void 0,this)),r.has("environment")&&this.records.set(wt,Pr(void 0,this));let o=this.records.get(c1);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(x5,St,de.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}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();let n=an(this),i=It(void 0),r;try{return e()}finally{an(n),It(i)}}get(e,n=Xo,i=de.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(R0))return e[R0](this);i=Kc(i);let r,o=an(this),s=It(void 0);try{if(!(i&de.SkipSelf)){let c=this.records.get(e);if(c===void 0){let l=my(e)&&Qc(e);l&&this.injectableDefInScope(l)?c=Pr(T2(e),Dc):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=i&de.Self?j3():this.parent;return n=i&de.Optional&&n===Xo?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Sc]=a[Sc]||[]).unshift(yt(e)),o)throw a;return Lb(a,e,"R3InjectorError",this.source)}else throw a}finally{It(s),an(o)}}resolveInjectorInitializers(){let e=an(this),n=It(void 0),i;try{let r=this.get(Zr,St,de.Self);for(let o of r)o()}finally{an(e),It(n)}}toString(){let e=[],n=this.records;for(let i of n.keys())e.push(yt(i));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(e){e=_t(e);let n=Yr(e)?e:_t(e&&e.provide),i=dy(e);if(!Yr(e)&&e.multi===!0){let r=this.records.get(n);r||(r=Pr(void 0,Dc,!0),r.factory=()=>w2(r.multi),this.records.set(n,r)),n=e,r.multi.push(e)}this.records.set(n,i)}hydrate(e,n){return n.value===Dc&&(n.value=cy,n.value=n.factory()),typeof n.value=="object"&&n.value&&fy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;let n=_t(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function T2(t){let e=Qc(t),n=e!==null?e.factory:Gn(t);if(n!==null)return n;if(t instanceof C)throw new E(204,!1);if(t instanceof Function)return ly(t);throw new E(204,!1)}function ly(t){if(t.length>0)throw new E(204,!1);let n=Sb(t);return n!==null?()=>n.factory(t):()=>new t}function dy(t){if(E5(t))return Pr(void 0,t.useValue);{let e=M5(t);return Pr(e,Dc)}}function M5(t,e,n){let i;if(Yr(t)){let r=_t(t);return Gn(r)||T2(r)}else if(E5(t))i=()=>_t(t.useValue);else if(sy(t))i=()=>t.useFactory(...w2(t.deps||[]));else if(oy(t))i=()=>g(_t(t.useExisting));else{let r=_t(t&&(t.useClass||t.provide));if(uy(t))i=()=>new r(...w2(t.deps));else return Gn(r)||T2(r)}return i}function Pr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function uy(t){return!!t.deps}function fy(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function my(t){return typeof t=="function"||typeof t=="object"&&t instanceof C}function A2(t,e){for(let n of t)Array.isArray(n)?A2(n,e):n&&wh(n)?A2(n.\u0275providers,e):e(n)}function vi(t,e){t instanceof rs&&t.assertNotDestroyed();let n,i=an(t),r=It(void 0);try{return e()}finally{an(i),It(r)}}function hy(t){if(!Eh()&&!Ob())throw new E(-203,!1)}function G0(t,e=null,n=null,i){let r=I5(t,e,n,i);return r.resolveInjectorInitializers(),r}function I5(t,e=null,n=null,i,r=new Set){let o=[n||St,ny(t)];return i=i||(typeof t=="object"?void 0:yt(t)),new rs(o,e||j3(),i||null,r)}var ut=(()=>{let e=class e{static create(i,r){if(Array.isArray(i))return G0({name:""},r,i,"");{let o=i.name??"";return G0({name:o},i.parent,i.providers,o)}}};e.THROW_IF_NOT_FOUND=Xo,e.NULL=new zc,e.\u0275prov=w({token:e,providedIn:"any",factory:()=>g(w5)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var N2;function S5(t){N2=t}function k5(){if(N2!==void 0)return N2;if(typeof document<"u")return document;throw new E(210,!1)}var to=new C("AppId",{providedIn:"root",factory:()=>py}),py="ng",H3=new C("Platform Initializer"),jt=new C("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var vt=new C("AnimationModuleType"),_s=new C("CSP nonce",{providedIn:"root",factory:()=>k5().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function T5(t){return t instanceof Function?t():t}function gy(t){return(t??b(ut)).get(jt)==="browser"}function A5(t){return(t.flags&128)===128}var Pi=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Pi||{}),vy=/^>|^->||--!>|)/g,_y="\u200B$1\u200B";function yy(t){return t.replace(vy,e=>e.replace(by,_y))}var N5=new Map,wy=0;function xy(){return wy++}function Cy(t){N5.set(t[Xc],t)}function Dy(t){N5.delete(t[Xc])}var Z0="__ngContext__";function un(t,e){Un(e)?(t[Z0]=e[Xc],Cy(e)):t[Z0]=e}var Ey;function B3(t,e){return Ey(t,e)}function Vr(t,e,n,i,r){if(i!=null){let o,s=!1;Hi(i)?o=i:Un(i)&&(s=!0,i=i[ji]);let a=pi(i);t===0&&n!==null?r==null?L5(e,n,a):Lc(e,n,a,r||null,!0):t===1&&n!==null?Lc(e,n,a,r||null,!0):t===2?Hy(e,a,s):t===3&&e.destroyNode(a),o!=null&&Uy(e,t,o,n,r)}}function My(t,e){return t.createText(e)}function Iy(t,e,n){t.setValue(e,n)}function Sy(t,e){return t.createComment(yy(e))}function R5(t,e,n){return t.createElement(e,n)}function ky(t,e){O5(t,e),e[ji]=null,e[Nt]=null}function Ty(t,e,n,i,r,o){i[ji]=r,i[Nt]=e,u1(t,i,n,1,r,o)}function O5(t,e){u1(t,e,e[$e],2,null,null)}function Ay(t){let e=t[ts];if(!e)return c2(t[ee],t);for(;e;){let n=null;if(Un(e))n=e[ts];else{let i=e[pt];i&&(n=i)}if(!n){for(;e&&!e[Xt]&&e!==t;)Un(e)&&c2(e[ee],e),e=e[dt];e===null&&(e=t),Un(e)&&c2(e[ee],e),n=e&&e[Xt]}e=n}}function Ny(t,e,n,i){let r=pt+i,o=n.length;i>0&&(n[r-1][Xt]=e),i0&&(t[n-1][Xt]=i[Xt]);let o=Oc(t,pt+e);ky(i[ee],i);let s=o[mi];s!==null&&s.detachView(o[ee]),i[dt]=null,i[Xt]=null,i[Z]&=-129}return i}function l1(t,e){if(!(e[Z]&256)){let n=e[$e];n.destroyNode&&u1(t,e,n,3,null,null),Ay(e)}}function c2(t,e){if(!(e[Z]&256)){e[Z]&=-129,e[Z]|=256,e[qn]&&n0(e[qn]),Fy(t,e),Oy(t,e),e[ee].type===1&&e[$e].destroy();let n=e[ps];if(n!==null&&Hi(e[dt])){n!==e[dt]&&F5(n,e);let i=e[mi];i!==null&&i.detachView(t)}Dy(e)}}function Oy(t,e){let n=t.cleanup,i=e[es];if(n!==null)for(let o=0;o=0?i[s]():i[-s].unsubscribe(),o+=2}else{let s=i[n[o+1]];n[o].call(s)}i!==null&&(e[es]=null);let r=e[cn];if(r!==null){e[cn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[i.directiveStart+r];if(o===hi.None||o===hi.Emulated)return null}return Vt(i,n)}}function Lc(t,e,n,i,r){t.insertBefore(e,n,i,r)}function L5(t,e,n){t.appendChild(e,n)}function Y0(t,e,n,i,r){i!==null?Lc(t,e,n,i,r):L5(t,e,n)}function Ly(t,e,n,i){t.removeChild(e,n,i)}function U3(t,e){return t.parentNode(e)}function Py(t,e){return t.nextSibling(e)}function P5(t,e,n){return jy(t,e,n)}function Vy(t,e,n){return t.type&40?Vt(t,n):null}var jy=Vy,Q0;function d1(t,e,n,i){let r=z5(t,i,e),o=e[$e],s=i.parent||e[Nt],a=P5(s,i,e);if(r!=null)if(Array.isArray(n))for(let c=0;ct,createScript:t=>t,createScriptURL:t=>t})}catch{}return pc}function f1(t){return Wy()?.createHTML(t)||t}var gc;function U5(){if(gc===void 0&&(gc=null,lt.trustedTypes))try{gc=lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return gc}function K0(t){return U5()?.createHTML(t)||t}function X0(t){return U5()?.createScriptURL(t)||t}var Vi=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_h})`}},O2=class extends Vi{getTypeName(){return"HTML"}},F2=class extends Vi{getTypeName(){return"Style"}},z2=class extends Vi{getTypeName(){return"Script"}},L2=class extends Vi{getTypeName(){return"URL"}},P2=class extends Vi{getTypeName(){return"ResourceURL"}};function Ht(t){return t instanceof Vi?t.changingThisBreaksApplicationSecurity:t}function Bi(t,e){let n=Gy(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${_h})`)}return n===e}function Gy(t){return t instanceof Vi&&t.getTypeName()||null}function $5(t){return new O2(t)}function q5(t){return new F2(t)}function W5(t){return new z2(t)}function G5(t){return new L2(t)}function Z5(t){return new P2(t)}function Zy(t){let e=new j2(t);return Yy()?new V2(e):e}var V2=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let n=new window.DOMParser().parseFromString(f1(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):(n.removeChild(n.firstChild),n)}catch{return null}}},j2=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let n=this.inertDocument.createElement("template");return n.innerHTML=f1(e),n}};function Yy(){try{return!!new window.DOMParser().parseFromString(f1(""),"text/html")}catch{return!1}}var Qy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function m1(t){return t=String(t),t.match(Qy)?t:"unsafe:"+t}function Ui(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function ys(...t){let e={};for(let n of t)for(let i in n)n.hasOwnProperty(i)&&(e[i]=!0);return e}var Y5=Ui("area,br,col,hr,img,wbr"),Q5=Ui("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),K5=Ui("rp,rt"),Ky=ys(K5,Q5),Xy=ys(Q5,Ui("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Jy=ys(K5,Ui("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),J0=ys(Y5,Xy,Jy,Ky),X5=Ui("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ew=Ui("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),tw=Ui("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),iw=ys(X5,ew,tw),nw=Ui("script,style,template"),H2=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,i=!0;for(;n;){if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild){n=n.firstChild;continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let r=this.checkClobberedElement(n,n.nextSibling);if(r){n=r;break}n=this.checkClobberedElement(n,n.parentNode)}}return this.buf.join("")}startElement(e){let n=e.nodeName.toLowerCase();if(!J0.hasOwnProperty(n))return this.sanitizedSomething=!0,!nw.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let i=e.attributes;for(let r=0;r"),!0}endElement(e){let n=e.nodeName.toLowerCase();J0.hasOwnProperty(n)&&!Y5.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(eh(e))}checkClobberedElement(e,n){if(n&&(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return n}},rw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ow=/([^\#-~ |!])/g;function eh(t){return t.replace(/&/g,"&").replace(rw,function(e){let n=e.charCodeAt(0),i=e.charCodeAt(1);return"&#"+((n-55296)*1024+(i-56320)+65536)+";"}).replace(ow,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var vc;function q3(t,e){let n=null;try{vc=vc||Zy(t);let i=e?String(e):"";n=vc.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=vc.getInertBodyElement(i)}while(i!==o);let a=new H2().sanitizeChildren(th(n)||n);return f1(a)}finally{if(n){let i=th(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function th(t){return"content"in t&&sw(t)?t.content:null}function sw(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var ft=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}(ft||{});function J5(t){let e=W3();return e?K0(e.sanitize(ft.HTML,t)||""):Bi(t,"HTML")?K0(Ht(t)):q3(k5(),fs(t))}function io(t){let e=W3();return e?e.sanitize(ft.URL,t)||"":Bi(t,"URL")?Ht(t):m1(fs(t))}function aw(t){let e=W3();if(e)return X0(e.sanitize(ft.RESOURCE_URL,t)||"");if(Bi(t,"ResourceURL"))return X0(Ht(t));throw new E(904,!1)}function cw(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?aw:io}function e6(t,e,n){return cw(e,n)(t)}function W3(){let t=ce();return t&&t[Li].sanitizer}var ss=class{};var lw="h",dw="b";var uw=()=>null;function G3(t,e,n=!1){return uw(t,e,n)}var B2=class{},Pc=class{};function fw(t){let e=Error(`No component factory found for ${yt(t)}.`);return e[mw]=t,e}var mw="ngComponent";var U2=class{resolveComponentFactory(e){throw fw(e)}},tr=(()=>{let e=class e{};e.NULL=new U2;let t=e;return t})();function hw(){return no(xt(),ce())}function no(t,e){return new V(Vt(t,e))}var V=(()=>{let e=class e{constructor(i){this.nativeElement=i}};e.__NG_ELEMENT_ID__=hw;let t=e;return t})();function pw(t){return t instanceof V?t.nativeElement:t}var Kn=class{},bi=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>gw();let t=e;return t})();function gw(){let t=ce(),e=xt(),n=mn(e.index,t);return(Un(n)?n:t)[$e]}var vw=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),l2={};function t6(t){return _w(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function bw(t,e){if(Array.isArray(t))for(let n=0;ne,q2=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||yw}forEachItem(e){let n;for(n=this._itHead;n!==null;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){let s=!i||n&&n.currentIndex{s=this._trackByFn(r,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,r),i=!0):(i&&(n=this._verifyReinsertion(n,a,s,r)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,i,r){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,o,r)):(e=this._linkedRecords===null?null:this._linkedRecords.get(i,r),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,o,r)):e=this._addAfter(new W2(n,i),o,r)),e}_verifyReinsertion(e,n,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;e!==null;){let n=e._next;this._addToRemovals(this._unlink(e)),e=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let r=e._prevRemoved,o=e._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,n,i),this._addToMoves(e,i),e}_moveAfter(e,n,i){return this._unlink(e),this._insertAfter(e,n,i),this._addToMoves(e,i),e}_addAfter(e,n,i){return this._insertAfter(e,n,i),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,n,i){let r=n===null?this._itHead:n._next;return e._next=r,e._prev=n,r===null?this._itTail=e:r._prev=e,n===null?this._itHead=e:n._next=e,this._linkedRecords===null&&(this._linkedRecords=new Vc),this._linkedRecords.put(e),e.currentIndex=i,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let n=e._prev,i=e._next;return n===null?this._itHead=i:n._next=i,i===null?this._itTail=n:i._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Vc),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},W2=class{constructor(e,n){this.item=e,this.trackById=n,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}},G2=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let i;for(i=this._head;i!==null;i=i._nextDup)if((n===null||n<=i.currentIndex)&&Object.is(i.trackById,e))return i;return null}remove(e){let n=e._prevDup,i=e._nextDup;return n===null?this._head=i:n._nextDup=i,i===null?this._tail=n:i._prevDup=n,this._head===null}},Vc=class{constructor(){this.map=new Map}put(e){let n=e.trackById,i=this.map.get(n);i||(i=new G2,this.map.set(n,i)),i.add(e)}get(e,n){let i=e,r=this.map.get(i);return r?r.get(e,n):null}remove(e){let n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function ih(t,e,n){let i=t.previousIndex;if(i===null)return i;let r=0;return n&&i{let e=class e{constructor(i){this.factories=i}static create(i,r){if(r!=null){let o=r.factories.slice();i=i.concat(o)}return new e(i)}static extend(i){return{provide:e,useFactory:r=>e.create(i,r||nh()),deps:[[e,new a1,new vs]]}}find(i){let r=this.factories.find(o=>o.supports(i));if(r!=null)return r;throw new E(901,!1)}};e.\u0275prov=w({token:e,providedIn:"root",factory:nh});let t=e;return t})();function jc(t,e,n,i,r=!1){for(;n!==null;){let o=e[n.index];o!==null&&i.push(pi(o)),Hi(o)&&ww(o,i);let s=n.type;if(s&8)jc(t,e,n.child,i);else if(s&32){let a=B3(n,e),c;for(;c=a();)i.push(c)}else if(s&16){let a=V5(e,n);if(Array.isArray(a))i.push(...a);else{let c=ns(e[Pt]);jc(c[ee],c,a,i,!0)}}n=r?n.projectionNext:n.next}return i}function ww(t,e){for(let n=pt;n{is(t.lView)},consumerOnSignalRead(){this.lView[qn]=this}});function n6(t){return o6(t[ts])}function r6(t){return o6(t[Xt])}function o6(t){for(;t!==null&&!Hi(t);)t=t[Xt];return t}var Mw="ngOriginalError";function d2(t){return t[Mw]}var kt=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&d2(e);for(;n&&d2(n);)n=d2(n);return n||null}},s6=new C("",{providedIn:"root",factory:()=>b(kt).handleError.bind(void 0)});var a6=!1,Iw=new C("",{providedIn:"root",factory:()=>a6});var yi={};function R(t=1){c6(Ge(),ce(),hn()+t,!1)}function c6(t,e,n,i){if(!i)if((e[Z]&3)===3){let o=t.preOrderCheckHooks;o!==null&&wc(e,o,n)}else{let o=t.preOrderHooks;o!==null&&xc(e,o,0,n)}Zn(n)}function h(t,e=de.Default){let n=ce();if(n===null)return g(t,e);let i=xt();return g5(i,n,_t(t),e)}function ws(){let t="invalid";throw new Error(t)}function l6(t,e,n,i,r,o){let s=ct(null);try{let a=null;r&x.SignalBased&&(a=e[i][Jm]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),r&x.HasDecoratorInputTransform&&(o=t.inputTransforms[i].call(e,o)),t.setInput!==null?t.setInput(e,a,o,n,i):Bh(e,a,i,o)}finally{ct(s)}}function Sw(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let i=0;igt&&c6(t,e,gt,!1),ui(s?2:0,r),n(i,r)}finally{Zn(o),ui(s?3:1,r)}}function Z3(t,e,n){if(M3(e)){let i=ct(null);try{let r=e.directiveStart,o=e.directiveEnd;for(let s=r;snull;function Ow(t,e,n,i){let r=v6(e);r.push(n),t.firstCreatePass&&b6(t).push(i,r.length-1)}function Fw(t,e,n,i,r,o){let s=e?e.injectorIndex:-1,a=0;return Jh()&&(a|=128),{type:n,index:i,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}}function rh(t,e,n,i,r){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;i??={};let a,c=x.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=o;if(r!==null){if(!r.hasOwnProperty(o))continue;l=r[o]}t===0?oh(i,n,l,a,c):oh(i,n,l,a)}return i}function oh(t,e,n,i,r){let o;t.hasOwnProperty(n)?(o=t[n]).push(e,i):o=t[n]=[e,i],r!==void 0&&o.push(r)}function zw(t,e,n){let i=e.directiveStart,r=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,l=null;for(let d=i;d0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function Hw(t,e,n,i){let r=n.directiveStart,o=n.directiveEnd;Jc(n)&&Zw(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||Rc(n,e),un(i,e);let s=n.initialInputs;for(let a=r;a-1&&(os(e,i),Oc(n,i))}this._attachedToViewContainer=!1}l1(this._lView[ee],this._lView)}onDestroy(e){Kh(this._lView,e)}markForCheck(){tu(this._cdRefInjectingView||this._lView)}detach(){this._lView[Z]&=-129}reattach(){D2(this._lView),this._lView[Z]|=128}detectChanges(){this._lView[Z]|=1024,tx(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,O5(this._lView[ee],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=e,D2(this._lView)}},st=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=ax;let t=e;return t})();function ax(t){return cx(xt(),ce(),(t&16)===16)}function cx(t,e,n){if(Jc(t)&&!n){let i=mn(t.index,e);return new Xn(i,i)}else if(t.type&47){let i=e[Pt];return new Xn(i,e)}return null}var C6=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=lx,e.__NG_ENV_ID__=i=>i;let t=e;return t})(),K2=class extends C6{constructor(e){super(),this._lView=e}onDestroy(e){return Kh(this._lView,e),()=>u_(this._lView,e)}};function lx(){return new K2(ce())}var sh=new Set;function oo(t){sh.has(t)||(sh.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var X2=class extends H{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,i){let r=e,o=n||(()=>null),s=i;if(e&&typeof e=="object"){let c=e;r=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=u2(o),r&&(r=u2(r)),s&&(s=u2(s)));let a=super.subscribe({next:r,error:o,complete:s});return e instanceof ve&&e.add(a),a}};function u2(t){return e=>{setTimeout(t,void 0,e)}}var ie=X2;function ah(...t){}function dx(){let t=typeof lt.requestAnimationFrame=="function",e=lt[t?"requestAnimationFrame":"setTimeout"],n=lt[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){let i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);let r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}var S=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ie(!1),this.onMicrotaskEmpty=new ie(!1),this.onStable=new ie(!1),this.onError=new ie(!1),typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let 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=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=dx().nativeRequestAnimationFrame,mx(r)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new E(909,!1)}run(e,n,i){return this._inner.run(e,n,i)}runTask(e,n,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,ux,ah,ah);try{return o.runTask(s,n,i)}finally{o.cancelTask(s)}}runGuarded(e,n,i){return this._inner.runGuarded(e,n,i)}runOutsideAngular(e){return this._outer.run(e)}},ux={};function iu(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function fx(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(lt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,J2(t),t.isCheckStableRunning=!0,iu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),J2(t))}function mx(t){let e=()=>{fx(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{if(hx(a))return n.invokeTask(r,o,s,a);try{return ch(t),n.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),lh(t)}},onInvoke:(n,i,r,o,s,a,c)=>{try{return ch(t),n.invoke(r,o,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),lh(t)}},onHasTask:(n,i,r,o)=>{n.hasTask(r,o),i===r&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,J2(t),iu(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,i,r,o)=>(n.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function J2(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function ch(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function lh(t){t._nesting--,iu(t)}var e3=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ie,this.onMicrotaskEmpty=new ie,this.onStable=new ie,this.onError=new ie}run(e,n,i){return e.apply(n,i)}runGuarded(e,n,i){return e.apply(n,i)}runOutsideAngular(e){return e()}runTask(e,n,i,r){return e.apply(n,i)}};function hx(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function px(t="zone.js",e){return t==="noop"?new e3:t==="zone.js"?new S(e):t}var jr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(jr||{}),gx={destroy(){}};function nu(t,e){!e&&hy(nu);let n=e?.injector??b(ut);if(!gy(n))return gx;oo("NgAfterNextRender");let i=n.get(ru),r=i.handler??=new i3,o=e?.phase??jr.MixedReadWrite,s=()=>{r.unregister(c),a()},a=n.get(C6).onDestroy(s),c=new t3(n,o,()=>{s(),t()});return r.register(c),{destroy:s}}var t3=class{constructor(e,n,i){this.phase=n,this.callbackFn=i,this.zone=e.get(S),this.errorHandler=e.get(kt,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},i3=class{constructor(){this.executingCallbacks=!1,this.buckets={[jr.EarlyRead]:new Set,[jr.Write]:new Set,[jr.MixedReadWrite]:new Set,[jr.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){let e=!1;this.executingCallbacks=!0;for(let n of Object.values(this.buckets))for(let i of n)e=!0,i.invoke();this.executingCallbacks=!1;for(let n of this.deferredCallbacks)this.buckets[n.phase].add(n);return this.deferredCallbacks.clear(),e}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},ru=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){let i=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of i)o();return!!this.handler?.execute()||i.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function vx(t,e){let n=mn(e,t),i=n[ee];bx(i,n);let r=n[ji];r!==null&&n[$r]===null&&(n[$r]=G3(r,n[qr])),ou(i,n,n[ht])}function bx(t,e){for(let n=e.length;n0&&H5(t,n,o.join(" "))}}function Mx(t,e,n){let i=t.projection=[];for(let r=0;r=0;i--){let r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Jo(r.hostAttrs,n=Jo(n,r.hostAttrs))}}function bc(t){return t===Ur?{}:t===St?[]:t}function Ax(t,e){let n=t.viewQuery;n?t.viewQuery=(i,r)=>{e(i,r),n(i,r)}:t.viewQuery=e}function Nx(t,e){let n=t.contentQueries;n?t.contentQueries=(i,r,o)=>{e(i,r,o),n(i,r,o)}:t.contentQueries=e}function Rx(t,e){let n=t.hostBindings;n?t.hostBindings=(i,r)=>{e(i,r),n(i,r)}:t.hostBindings=e}function Ze(t){let e=t.inputConfig,n={};for(let i in e)if(e.hasOwnProperty(i)){let r=e[i];Array.isArray(r)&&r[3]&&(n[i]=r[3])}t.inputTransforms=n}var hH=new RegExp(`^(\\d+)*(${dw}|${lw})*(.*)`);var Ox=()=>null;function as(t,e){return Ox(t,e)}function g1(t,e,n,i){let r=e.tView,s=t[Z]&4096?4096:16,a=h1(t,r,n,s,null,e,null,null,null,i?.injector??null,i?.dehydratedView??null),c=t[e.index];a[ps]=c;let l=t[mi];return l!==null&&(a[mi]=l.createEmbeddedView(r)),ou(r,a,n),a}function D6(t,e){let n=pt+e;if(n{let e=class e{};e.__NG_ELEMENT_ID__=Fx;let t=e;return t})();function Fx(){let t=xt();return I6(t,ce())}var zx=Ye,M6=class extends zx{constructor(e,n,i){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=i}get element(){return no(this._hostTNode,this._hostLView)}get injector(){return new $n(this._hostTNode,this._hostLView)}get parentInjector(){let e=L3(this._hostTNode,this._hostLView);if(d5(e)){let n=Ac(e,this._hostLView),i=Tc(e),r=n[ee].data[i+8];return new $n(r,n)}else return new $n(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=uh(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-pt}createEmbeddedView(e,n,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=as(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,r,cs(this._hostTNode,s)),a}createComponent(e,n,i,r,o){let s=e&&!q_(e),a;if(s)a=n;else{let p=n||{};a=p.index,i=p.injector,r=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}let c=s?e:new Qr(ln(e)),l=i||this.parentInjector;if(!o&&c.ngModule==null){let v=(s?l:this.parentInjector).get(wt,null);v&&(o=v)}let d=ln(c.componentType??{}),u=as(this._lContainer,d?.id??null),f=u?.firstChild??null,m=c.create(l,r,f,o);return this.insertImpl(m.hostView,a,cs(this._hostTNode,u)),m}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,i){let r=e._lView;if(c_(r)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=r[dt],l=new M6(c,c[Nt],c[dt]);l.detach(l.indexOf(e))}}let o=this._adjustIndex(n),s=this._lContainer;return v1(s,r,o,i),e.attachToViewContainerRef(),y5(f2(s),o,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=uh(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),i=os(this._lContainer,n);i&&(Oc(f2(this._lContainer),n),l1(i[ee],i))}detach(e){let n=this._adjustIndex(e,-1),i=os(this._lContainer,n);return i&&Oc(f2(this._lContainer),n)!=null?new Xn(i):null}_adjustIndex(e,n=0){return e??this.length+n}};function uh(t){return t[kc]}function f2(t){return t[kc]||(t[kc]=[])}function I6(t,e){let n,i=e[t.index];return Hi(i)?n=i:(n=p6(i,e,null,t),e[t.index]=n,p1(e,n)),Px(n,e,t,i),new M6(n,t,e)}function Lx(t,e){let n=t[$e],i=n.createComment(""),r=Vt(e,t),o=U3(n,r);return Lc(n,o,i,Py(n,r),!1),i}var Px=Hx,Vx=()=>!1;function jx(t,e,n){return Vx(t,e,n)}function Hx(t,e,n,i){if(t[Wn])return;let r;n.type&8?r=pi(i):r=Lx(e,n),t[Wn]=r}function Bx(t,e,n){return t[e]=n}function $i(t,e,n){let i=t[e];return Object.is(i,n)?!1:(t[e]=n,!0)}function Ux(t,e,n,i,r,o,s,a,c){let l=e.consts,d=ro(e,t,4,s||null,Gr(l,a));J3(e,n,d,Gr(l,c)),o1(e,d);let u=d.tView=K3(2,d,i,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l,null);return e.queries!==null&&(e.queries.template(e,d),u.queries=e.queries.embeddedTView(d)),d}function ue(t,e,n,i,r,o,s,a){let c=ce(),l=Ge(),d=t+gt,u=l.firstCreatePass?Ux(d,l,c,e,n,i,r,o,s):l.data[d];er(u,!1);let f=$x(l,c,u,t);n1()&&d1(l,c,f,u),un(f,c);let m=p6(f,c,f,u);return c[d]=m,p1(c,m),jx(m,u,c),e1(u)&&Y3(l,c,u),s!=null&&Q3(c,u,a),ue}var $x=qx;function qx(t,e,n,i){return r1(!0),e[$e].createComment("")}function He(t,e,n,i){let r=ce(),o=eo();if($i(r,o,e)){let s=Ge(),a=t1();Yw(a,r,t,e,n,i)}return He}function su(t,e,n,i){return $i(t,eo(),n)?e+fs(n)+i:yi}function _c(t,e){return t<<17|e<<2}function Jn(t){return t>>17&32767}function Wx(t){return(t&2)==2}function Gx(t,e){return t&131071|e<<17}function o3(t){return t|2}function Kr(t){return(t&131068)>>2}function m2(t,e){return t&-131069|e<<2}function Zx(t){return(t&1)===1}function s3(t){return t|1}function Yx(t,e,n,i,r,o){let s=o?e.classBindings:e.styleBindings,a=Jn(s),c=Kr(s);t[i]=n;let l=!1,d;if(Array.isArray(n)){let u=n;d=u[1],(d===null||gs(u,d)>0)&&(l=!0)}else d=n;if(r)if(c!==0){let f=Jn(t[a+1]);t[i+1]=_c(f,a),f!==0&&(t[f+1]=m2(t[f+1],i)),t[a+1]=Gx(t[a+1],i)}else t[i+1]=_c(a,0),a!==0&&(t[a+1]=m2(t[a+1],i)),a=i;else t[i+1]=_c(c,0),a===0?a=i:t[c+1]=m2(t[c+1],i),c=i;l&&(t[i+1]=o3(t[i+1])),fh(t,d,i,!0),fh(t,d,i,!1),Qx(e,d,t,i,o),s=_c(a,c),o?e.classBindings=s:e.styleBindings=s}function Qx(t,e,n,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&gs(o,e)>=0&&(n[i+1]=s3(n[i+1]))}function fh(t,e,n,i){let r=t[n+1],o=e===null,s=i?Jn(r):Kr(r),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],l=t[s+1];Kx(c,e)&&(a=!0,t[s+1]=i?s3(l):o3(l)),s=i?Jn(l):Kr(l)}a&&(t[n+1]=i?o3(r):s3(r))}function Kx(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?gs(t,e)>=0:!1}var Kt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Xx(t){return t.substring(Kt.key,Kt.keyEnd)}function Jx(t){return eC(t),S6(t,k6(t,0,Kt.textEnd))}function S6(t,e){let n=Kt.textEnd;return n===e?-1:(e=Kt.keyEnd=tC(t,Kt.key=e,n),k6(t,e,n))}function eC(t){Kt.key=0,Kt.keyEnd=0,Kt.value=0,Kt.valueEnd=0,Kt.textEnd=t.length}function k6(t,e,n){for(;e32;)e++;return e}function fe(t,e,n){let i=ce(),r=eo();if($i(i,r,e)){let o=Ge(),s=t1();X3(o,s,i,t,e,i[$e],n,!1)}return fe}function a3(t,e,n,i,r){let o=e.inputs,s=r?"class":"style";eu(t,n,o[s],s,i)}function ir(t,e,n){return A6(t,e,n,!1),ir}function me(t,e){return A6(t,e,null,!0),me}function nr(t){N6(aC,T6,t,!0)}function T6(t,e){for(let n=Jx(e);n>=0;n=S6(e,n))s1(t,Xx(e),!0)}function A6(t,e,n,i){let r=ce(),o=Ge(),s=t5(2);if(o.firstUpdatePass&&O6(o,t,s,i),e!==yi&&$i(r,s,e)){let a=o.data[hn()];F6(o,a,r,r[$e],t,r[s+1]=lC(e,n),i,s)}}function N6(t,e,n,i){let r=Ge(),o=t5(2);r.firstUpdatePass&&O6(r,null,o,i);let s=ce();if(n!==yi&&$i(s,o,n)){let a=r.data[hn()];if(z6(a,i)&&!R6(r,o)){let c=i?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=b2(c,n||"")),a3(r,a,s,n,i)}else cC(r,a,s,s[$e],s[o+1],s[o+1]=sC(t,e,n),i,o)}}function R6(t,e){return e>=t.expandoStartIndex}function O6(t,e,n,i){let r=t.data;if(r[n+1]===null){let o=r[hn()],s=R6(t,n);z6(o,i)&&e===null&&!s&&(e=!1),e=iC(r,o,e,i),Yx(r,o,e,n,s,i)}}function iC(t,e,n,i){let r=D_(t),o=i?e.residualClasses:e.residualStyles;if(r===null)(i?e.classBindings:e.styleBindings)===0&&(n=h2(null,t,e,n,i),n=ls(n,e.attrs,i),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==r)if(n=h2(r,t,e,n,i),o===null){let c=nC(t,e,i);c!==void 0&&Array.isArray(c)&&(c=h2(null,t,e,c[1],i),c=ls(c,e.attrs,i),rC(t,e,i,c))}else o=oC(t,e,i)}return o!==void 0&&(i?e.residualClasses=o:e.residualStyles=o),n}function nC(t,e,n){let i=n?e.classBindings:e.styleBindings;if(Kr(i)!==0)return t[Jn(i)]}function rC(t,e,n,i){let r=n?e.classBindings:e.styleBindings;t[Jn(r)]=i}function oC(t,e,n){let i,r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[r],l=Array.isArray(c),d=l?c[1]:c,u=d===null,f=n[r+1];f===yi&&(f=u?St:void 0);let m=u?s2(f,i):d===i?f:void 0;if(l&&!Uc(m)&&(m=s2(c,i)),Uc(m)&&(a=m,s))return a;let p=t[r+1];r=s?Jn(p):Kr(p)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=s2(c,i))}return a}function Uc(t){return t!==void 0}function lC(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=yt(Ht(t)))),t}function z6(t,e){return(t.flags&(e?8:16))!==0}function L6(t,e,n){let i=ce(),r=su(i,t,e,n);N6(s1,T6,r,!0)}var c3=class{destroy(e){}updateValue(e,n){}swap(e,n){let i=Math.min(e,n),r=Math.max(e,n),o=this.detach(r);if(r-i>1){let s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(e,n){this.attach(n,this.detach(e))}};function p2(t,e,n,i,r){return t===n&&Object.is(e,i)?1:Object.is(r(t,e),r(n,i))?-1:0}function dC(t,e,n){let i,r,o=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;o<=s&&o<=a;){let c=t.at(o),l=e[o],d=p2(o,c,o,l,n);if(d!==0){d<0&&t.updateValue(o,l),o++;continue}let u=t.at(s),f=e[a],m=p2(s,u,a,f,n);if(m!==0){m<0&&t.updateValue(s,f),s--,a--;continue}let p=n(o,c),v=n(s,u),_=n(o,l);if(Object.is(_,v)){let y=n(a,f);Object.is(y,p)?(t.swap(o,s),t.updateValue(s,f),a--,s--):t.move(s,o),t.updateValue(o,l),o++;continue}if(i??=new $c,r??=ph(t,o,s,n),l3(t,i,o,_))t.updateValue(o,l),o++,s++;else if(r.has(_))i.set(p,t.detach(o)),s--;else{let y=t.create(o,e[o]);t.attach(o,y),o++,s++}}for(;o<=a;)hh(t,i,n,o,e[o]),o++}else if(e!=null){let a=e[Symbol.iterator](),c=a.next();for(;!c.done&&o<=s;){let l=t.at(o),d=c.value,u=p2(o,l,o,d,n);if(u!==0)u<0&&t.updateValue(o,d),o++,c=a.next();else{i??=new $c,r??=ph(t,o,s,n);let f=n(o,d);if(l3(t,i,o,f))t.updateValue(o,d),o++,s++,c=a.next();else if(!r.has(f))t.attach(o,t.create(o,d)),o++,s++,c=a.next();else{let m=n(o,l);i.set(m,t.detach(o)),s--}}}for(;!c.done;)hh(t,i,n,t.length,c.value),c=a.next()}for(;o<=s;)t.destroy(t.detach(s--));i?.forEach(a=>{t.destroy(a)})}function l3(t,e,n,i){return e!==void 0&&e.has(i)?(t.attach(n,e.get(i)),e.delete(i),!0):!1}function hh(t,e,n,i,r){if(l3(t,e,i,n(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function ph(t,e,n,i){let r=new Set;for(let o=e;o<=n;o++)r.add(i(o,t.at(o)));return r}var $c=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let n=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,n){if(this.kvMap.has(e)){let i=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,n)}else this.kvMap.set(e,n)}forEach(e){for(let[n,i]of this.kvMap)if(e(i,n),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),e(i,n)}}};function Te(t,e,n){oo("NgControlFlow");let i=ce(),r=eo(),o=m3(i,gt+t),s=0;if($i(i,r,e)){let a=ct(null);try{if(E6(o,s),e!==-1){let c=h3(i[ee],gt+e),l=as(o,c.tView.ssrId),d=g1(i,c,n,{dehydratedView:l});v1(o,d,s,cs(c,l))}}finally{ct(a)}}else{let a=D6(o,s);a!==void 0&&(a[ht]=n)}}var d3=class{constructor(e,n,i){this.lContainer=e,this.$implicit=n,this.$index=i}get $count(){return this.lContainer.length-pt}};function P6(t,e){return e}var u3=class{constructor(e,n,i){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=i}};function V6(t,e,n,i,r,o,s,a,c,l,d,u,f){oo("NgControlFlow");let m=c!==void 0,p=ce(),v=a?s.bind(p[Pt][ht]):s,_=new u3(m,v);p[gt+t]=_,ue(t+1,e,n,i,r,o),m&&ue(t+2,c,l,d,u,f)}var f3=class extends c3{constructor(e,n,i){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=i,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-pt}at(e){return this.getLView(e)[ht].$implicit}attach(e,n){let i=n[$r];this.needsIndexUpdate||=e!==this.length,v1(this.lContainer,n,e,cs(this.templateTNode,i))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,uC(this.lContainer,e)}create(e,n){let i=as(this.lContainer,this.templateTNode.tView.ssrId);return g1(this.hostLView,this.templateTNode,new d3(this.lContainer,n,e),{dehydratedView:i})}destroy(e){l1(e[ee],e)}updateValue(e,n){this.getLView(e)[ht].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(r1(!0),R5(i,r,S_()));function pC(t,e,n,i,r){let o=e.consts,s=Gr(o,i),a=ro(e,t,8,"ng-container",s);s!==null&&Hc(a,s,!0);let c=Gr(o,r);return J3(e,n,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function wi(t,e,n){let i=ce(),r=Ge(),o=t+gt,s=r.firstCreatePass?pC(o,r,i,e,n):r.data[o];er(s,!0);let a=gC(r,i,s,t);return i[o]=a,n1()&&d1(r,i,a,s),un(a,i),e1(s)&&(Y3(r,i,s),Z3(r,s,i)),n!=null&&Q3(i,s),wi}function xi(){let t=xt(),e=Ge();return A3()?N3():(t=t.parent,er(t,!1)),e.firstCreatePass&&(o1(e,t),M3(t)&&e.queries.elementEnd(t)),xi}function Ct(t,e,n){return wi(t,e,n),xi(),Ct}var gC=(t,e,n,i)=>(r1(!0),Sy(e[$e],""));function H6(){return ce()}function rr(t,e,n){let i=ce(),r=eo();if($i(i,r,e)){let o=Ge(),s=t1();X3(o,s,i,t,e,i[$e],n,!0)}return rr}var qc="en-US";var vC=qc;function bC(t){Mb(t,"Expected localeId to be defined"),typeof t=="string"&&(vC=t.toLowerCase().replace(/_/g,"-"))}function or(t){return!!t&&typeof t.then=="function"}function B6(t){return!!t&&typeof t.subscribe=="function"}function Qe(t,e,n,i){let r=ce(),o=Ge(),s=xt();return yC(o,r,r[$e],s,t,e,i),Qe}function _C(t,e,n,i){let r=t.cleanup;if(r!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function yC(t,e,n,i,r,o,s){let a=e1(i),l=t.firstCreatePass&&b6(t),d=e[ht],u=v6(e),f=!0;if(i.type&3||s){let v=Vt(i,e),_=s?s(v):v,y=u.length,k=s?j=>s(pi(j[i.index])):i.index,Q=null;if(!s&&a&&(Q=_C(t,e,r,i.index)),Q!==null){let j=Q.__ngLastListenerFn__||Q;j.__ngNextListenerFn__=o,Q.__ngLastListenerFn__=o,f=!1}else{o=vh(i,e,d,o,!1);let j=n.listen(_,r,o);u.push(o,j),l&&l.push(r,k,y,y+1)}}else o=vh(i,e,d,o,!1);let m=i.outputs,p;if(f&&m!==null&&(p=m[r])){let v=p.length;if(v)for(let _=0;_-1?mn(t.index,e):e;tu(a);let c=gh(e,n,i,s),l=o.__ngNextListenerFn__;for(;l;)c=gh(e,n,l,s)&&c,l=l.__ngNextListenerFn__;return r&&c===!1&&s.preventDefault(),c}}function ke(t=1){return M_(t)}function wC(t,e){let n=null,i=$b(t);for(let r=0;r{let e=class e{};e.__NG_ELEMENT_ID__=EC;let t=e;return t})(),CC=Je,DC=class extends CC{constructor(e,n,i){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,i){let r=g1(this._declarationLView,this._declarationTContainer,e,{injector:n,dehydratedView:i});return new Xn(r)}};function EC(){return b1(xt(),ce())}function b1(t,e){return t.type&4?new DC(e,t,no(t,e)):null}var p3=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},g3=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let i=e.contentQueries!==null?e.contentQueries[0]:n.length,r=[];for(let o=0;o0)i.push(s[a/2]);else{let l=o[a+1],d=e[-c];for(let u=pt;u=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}function pn(t){let e=b_();return Zh(e,gt+t)}function W(t,e=""){let n=ce(),i=Ge(),r=t+gt,o=i.firstCreatePass?ro(i,r,1,e,null):i.data[r],s=RC(i,n,o,e,t);n[r]=s,n1()&&d1(i,n,s,o),er(o,!1)}var RC=(t,e,n,i,r)=>(r1(!0),My(e[$e],i));function Dt(t){return Bt("",t,""),Dt}function Bt(t,e,n){let i=ce(),r=su(i,t,e,n);return r!==yi&&Jw(i,hn(),r),Bt}function OC(t,e,n){let i=Ge();if(i.firstCreatePass){let r=dn(t);y3(n,i.data,i.blueprint,r,!0),y3(e,i.data,i.blueprint,r,!1)}}function y3(t,e,n,i,r){if(t=_t(t),Array.isArray(t))for(let o=0;o>20;if(Yr(t)||!t.multi){let m=new Yn(l,r,h),p=v2(c,e,r?d:d+f,u);p===-1?(I2(Rc(a,s),o,c),g2(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(m),s.push(m)):(n[p]=m,s[p]=m)}else{let m=v2(c,e,d+f,u),p=v2(c,e,d,d+f),v=m>=0&&n[m],_=p>=0&&n[p];if(r&&!_||!r&&!v){I2(Rc(a,s),o,c);let y=LC(r?zC:FC,n.length,r,i,l);!r&&_&&(n[p].providerFactory=y),g2(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(y),s.push(y)}else{let y=Z6(n[r?p:m],l,!r&&i);g2(o,t,m>-1?m:p,y)}!r&&i&&_&&n[p].componentProviders++}}}function g2(t,e,n,i){let r=Yr(e),o=ay(e);if(r||o){let c=(o?_t(e.useClass):e).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){let d=l.indexOf(n);d===-1?l.push(n,[i,c]):l[d+1].push(i,c)}else l.push(n,c)}}}function Z6(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function v2(t,e,n,i){for(let r=n;r{n.providersResolver=(i,r)=>OC(i,r?r(t):t,e)}}var fn=class{},ds=class{};var Gc=class extends fn{constructor(e,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Bc(this);let r=Lh(e);this._bootstrapComponents=T5(r.bootstrap),this._r3Injector=I5(e,n,[{provide:fn,useValue:this},{provide:tr,useValue:this.componentFactoryResolver},...i],yt(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Zc=class extends ds{constructor(e){super(),this.moduleType=e}create(e){return new Gc(this.moduleType,e,[])}};function PC(t,e,n){return new Gc(t,e,n)}var x3=class extends fn{constructor(e){super(),this.componentFactoryResolver=new Bc(this),this.instance=null;let n=new rs([...e.providers,{provide:fn,useValue:this},{provide:tr,useValue:this.componentFactoryResolver}],e.parent||j3(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function _1(t,e,n=null){return new x3({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var VC=(()=>{let e=class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){let r=C5(!1,i.type),o=r.length>0?_1([r],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,o)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(let i of this.cachedInjectors.values())i!==null&&i.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(g(wt))});let t=e;return t})();function be(t){oo("NgStandalone"),t.getStandaloneInjector=e=>e.get(VC).getOrCreateStandaloneInjector(t)}function jC(t,e){let n=t[e];return n===yi?void 0:n}function HC(t,e,n,i,r,o){let s=e+n;return $i(t,s,r)?Bx(t,s+1,o?i.call(o,r):i(r)):jC(t,s+1)}function au(t,e){let n=Ge(),i,r=t+gt;n.firstCreatePass?(i=BC(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];let o=i.factory||(i.factory=Gn(i.type,!0)),s,a=It(h);try{let c=Nc(!1),l=o();return Nc(c),NC(n,ce(),r,l),l}finally{It(a)}}function BC(t,e){if(e)for(let n=e.length-1;n>=0;n--){let i=e[n];if(t===i.name)return i}}function cu(t,e,n){let i=t+gt,r=ce(),o=Zh(r,i);return UC(r,i)?HC(r,__(),e,o.transform,n,o):o.transform(n)}function UC(t,e){return t[ee].data[e].pure}function xs(t,e){return b1(t,e)}var yc=null;function $C(t){yc!==null&&(t.defaultEncapsulation!==yc.defaultEncapsulation||t.preserveWhitespaces!==yc.preserveWhitespaces)||(yc=t)}var y1=(()=>{let e=class e{log(i){console.log(i)}warn(i){console.warn(i)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),C3=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},w1=(()=>{let e=class e{compileModuleSync(i){return new Zc(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){let r=this.compileModuleSync(i),o=Lh(i),s=T5(o.declarations).reduce((a,c)=>{let l=ln(c);return l&&a.push(new Qr(l)),a},[]);return new C3(r,s)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qC=new C("compilerOptions");var sr=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new We(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var lu=new C(""),Cs=new C(""),x1=(()=>{let e=class e{constructor(i,r,o){this._ngZone=i,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,du||(WC(o),o.addToWindow(r)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{S.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb()}});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(i)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,r,o){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),i()},r)),this._callbacks.push({doneCb:i,timeoutId:s,updateCb:o})}whenStable(i,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(i,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,r,o){return[]}};e.\u0275fac=function(r){return new(r||e)(g(S),g(C1),g(Cs))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),C1=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(i,r){this._applications.set(i,r)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,r=!0){return du?.findTestabilityInTree(this,i,r)??null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function WC(t){du=t}var du,D1=new C("Application Initializer"),Y6=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r}),this.appInits=b(D1,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let i=[];for(let o of this.appInits){let s=o();if(or(s))i.push(s);else if(B6(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});i.push(a)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{r()}).catch(o=>{this.reject(o)}),i.length===0&&r(),this.initialized=!0}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ds=new C("appBootstrapListener");function GC(t,e,n){let i=new Zc(n);return Promise.resolve(i)}function ZC(){r0(()=>{throw new E(600,!1)})}function YC(t){return t.isBoundToModule}function QC(t,e,n){try{let i=n();return or(i)?i.catch(r=>{throw e.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}function Q6(t,e){return Array.isArray(e)?e.reduce(Q6,t):D(D({},t),e)}var qi=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=b(s6),this.afterRenderEffectManager=b(ru),this.componentTypes=[],this.components=[],this.isStable=b(sr).hasPendingTasks.pipe(P(i=>!i)),this._injector=b(wt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,r){let o=i instanceof Pc;if(!this._injector.get(Y6).done){let m=!o&&zh(i),p=!1;throw new E(405,p)}let a;o?a=i:a=this._injector.get(tr).resolveComponentFactory(i),this.componentTypes.push(a.componentType);let c=YC(a)?void 0:this._injector.get(fn),l=r||a.selector,d=a.create(ut.NULL,[],l,c),u=d.location.nativeElement,f=d.injector.get(lu,null);return f?.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),Mc(this.components,d),f?.unregisterApplication(u)}),this._loadComponent(d),d}tick(){if(this._runningTick)throw new E(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{try{let i=this.afterRenderEffectManager.execute()}catch(i){this.internalErrorHandler(i)}this._runningTick=!1}}attachView(i){let r=i;this._views.push(r),r.attachToAppRef(this)}detachView(i){let r=i;Mc(this._views,r),r.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);let r=this._injector.get(Ds,[]);[...this._bootstrapListeners,...r].forEach(o=>o(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Mc(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new E(406,!1);let i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Mc(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function bh(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var KC=(()=>{let e=class e{constructor(){this.zone=b(S),this.applicationRef=b(qi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function XC(t){return[{provide:S,useFactory:t},{provide:Zr,multi:!0,useFactory:()=>{let e=b(KC,{optional:!0});return()=>e.initialize()}},{provide:Zr,multi:!0,useFactory:()=>{let e=b(tD);return()=>{e.initialize()}}},{provide:s6,useFactory:JC}]}function JC(){let t=b(S),e=b(kt);return n=>t.runOutsideAngular(()=>e.handleError(n))}function eD(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var tD=(()=>{let e=class e{constructor(){this.subscription=new ve,this.initialized=!1,this.zone=b(S),this.pendingTasks=b(sr)}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{S.assertNotInAngularZone(),queueMicrotask(()=>{i!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{S.assertInAngularZone(),i??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function iD(){return typeof $localize<"u"&&$localize.locale||qc}var E1=new C("LocaleId",{providedIn:"root",factory:()=>b(E1,de.Optional|de.SkipSelf)||iD()});var K6=new C("PlatformDestroyListeners"),X6=(()=>{let e=class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,r){let o=px(r?.ngZone,eD({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{let s=PC(i.moduleType,this.injector,XC(()=>o)),a=s.injector.get(kt,null);return o.runOutsideAngular(()=>{let c=o.onError.subscribe({next:l=>{a.handleError(l)}});s.onDestroy(()=>{Mc(this._modules,s),c.unsubscribe()})}),QC(a,o,()=>{let c=s.injector.get(Y6);return c.runInitializers(),c.donePromise.then(()=>{let l=s.injector.get(E1,qc);return bC(l||qc),this._moduleDoBootstrap(s),s})})})}bootstrapModule(i,r=[]){let o=Q6({},r);return GC(this.injector,o,i).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(i){let r=i.injector.get(qi);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(o=>r.bootstrap(o));else if(i.instance.ngDoBootstrap)i.instance.ngDoBootstrap(r);else throw new E(-403,!1);this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let i=this._injector.get(K6,null);i&&(i.forEach(r=>r()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(r){return new(r||e)(g(ut))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),Ko=null,J6=new C("AllowMultipleToken");function nD(t){if(Ko&&!Ko.get(J6,!1))throw new E(400,!1);ZC(),Ko=t;let e=t.get(X6);return sD(t),e}function uu(t,e,n=[]){let i=`Platform: ${e}`,r=new C(i);return(o=[])=>{let s=e8();if(!s||s.injector.get(J6,!1)){let a=[...n,...o,{provide:r,useValue:!0}];t?t(a):nD(rD(a,i))}return oD(r)}}function rD(t=[],e){return ut.create({name:e,providers:[{provide:c1,useValue:"platform"},{provide:K6,useValue:new Set([()=>Ko=null])},...t]})}function oD(t){let e=e8();if(!e)throw new E(401,!1);return e}function e8(){return Ko?.get(X6)??null}function sD(t){t.get(H3,null)?.forEach(n=>n())}var t8=uu(null,"core",[]),i8=(()=>{let e=class e{constructor(i){}};e.\u0275fac=function(r){return new(r||e)(g(qi))},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})();function _e(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ao(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function n8(t){let e=ln(t);if(!e)return null;let n=new Qr(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var mu=null;function ar(){return mu}function l8(t){mu||(mu=t)}var M1=class{},B=new C("DocumentToken"),bu=(()=>{let e=class e{historyGo(i){throw new Error("Not implemented")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>b(aD),providedIn:"platform"});let t=e;return t})(),d8=new C("Location Initialized"),aD=(()=>{let e=class e extends bu{constructor(){super(),this._doc=b(B),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ar().getBaseHref(this._doc)}onPopState(i){let r=ar().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",i,!1),()=>r.removeEventListener("popstate",i)}onHashChange(i){let r=ar().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",i,!1),()=>r.removeEventListener("hashchange",i)}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(i){this._location.pathname=i}pushState(i,r,o){this._history.pushState(i,r,o)}replaceState(i,r,o){this._history.replaceState(i,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function _u(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function r8(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,i=n-(t[n-1]==="/"?1:0);return t.slice(0,i)+t.slice(n)}function Wi(t){return t&&t[0]!=="?"?"?"+t:t}var Ci=(()=>{let e=class e{historyGo(i){throw new Error("Not implemented")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>b(yu),providedIn:"root"});let t=e;return t})(),u8=new C("appBaseHref"),yu=(()=>{let e=class e extends Ci{constructor(i,r){super(),this._platformLocation=i,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??b(B).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}prepareExternalUrl(i){return _u(this._baseHref,i)}path(i=!1){let r=this._platformLocation.pathname+Wi(this._platformLocation.search),o=this._platformLocation.hash;return o&&i?`${r}${o}`:r}pushState(i,r,o,s){let a=this.prepareExternalUrl(o+Wi(s));this._platformLocation.pushState(i,r,a)}replaceState(i,r,o,s){let a=this.prepareExternalUrl(o+Wi(s));this._platformLocation.replaceState(i,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){this._platformLocation.historyGo?.(i)}};e.\u0275fac=function(r){return new(r||e)(g(bu),g(u8,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),wu=(()=>{let e=class e extends Ci{constructor(i,r){super(),this._platformLocation=i,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}path(i=!1){let r=this._platformLocation.hash;return r==null&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(i){let r=_u(this._baseHref,i);return r.length>0?"#"+r:r}pushState(i,r,o,s){let a=this.prepareExternalUrl(o+Wi(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(i,r,a)}replaceState(i,r,o,s){let a=this.prepareExternalUrl(o+Wi(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(i,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){this._platformLocation.historyGo?.(i)}};e.\u0275fac=function(r){return new(r||e)(g(bu),g(u8,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),gn=(()=>{let e=class e{constructor(i){this._subject=new ie,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=i;let r=this._locationStrategy.getBaseHref();this._basePath=dD(r8(o8(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(i=!1){return this.normalize(this._locationStrategy.path(i))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(i,r=""){return this.path()==this.normalize(i+Wi(r))}normalize(i){return e.stripTrailingSlash(lD(this._basePath,o8(i)))}prepareExternalUrl(i){return i&&i[0]!=="/"&&(i="/"+i),this._locationStrategy.prepareExternalUrl(i)}go(i,r="",o=null){this._locationStrategy.pushState(o,"",i,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+Wi(r)),o)}replaceState(i,r="",o=null){this._locationStrategy.replaceState(o,"",i,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+Wi(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(i=0){this._locationStrategy.historyGo?.(i)}onUrlChange(i){return this._urlChangeListeners.push(i),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{let r=this._urlChangeListeners.indexOf(i);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(i="",r){this._urlChangeListeners.forEach(o=>o(i,r))}subscribe(i,r,o){return this._subject.subscribe({next:i,error:r,complete:o})}};e.normalizeQueryParams=Wi,e.joinWithSlash=_u,e.stripTrailingSlash=r8,e.\u0275fac=function(r){return new(r||e)(g(Ci))},e.\u0275prov=w({token:e,factory:()=>cD(),providedIn:"root"});let t=e;return t})();function cD(){return new gn(g(Ci))}function lD(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function o8(t){return t.replace(/\/index.html$/,"")}function dD(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}function S1(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let i=n.indexOf("="),[r,o]=i==-1?[n,""]:[n.slice(0,i),n.slice(i+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}var fu=/\s+/,s8=[],lo=(()=>{let e=class e{constructor(i,r){this._ngEl=i,this._renderer=r,this.initialClasses=s8,this.stateMap=new Map}set klass(i){this.initialClasses=i!=null?i.trim().split(fu):s8}set ngClass(i){this.rawClass=typeof i=="string"?i.trim().split(fu):i}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let i=this.rawClass;if(Array.isArray(i)||i instanceof Set)for(let r of i)this._updateState(r,!0);else if(i!=null)for(let r of Object.keys(i))this._updateState(r,!!i[r]);this._applyStateDiff()}_updateState(i,r){let o=this.stateMap.get(i);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(i,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let i of this.stateMap){let r=i[0],o=i[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(i,r){i=i.trim(),i.length>0&&i.split(fu).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(r){return new(r||e)(h(V),h(bi))},e.\u0275dir=N({type:e,selectors:[["","ngClass",""]],inputs:{klass:[x.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var hu=class{constructor(e,n,i,r){this.$implicit=e,this.ngForOf=n,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},f8=(()=>{let e=class e{set ngForOf(i){this._ngForOf=i,this._ngForOfDirty=!0}set ngForTrackBy(i){this._trackByFn=i}get ngForTrackBy(){return this._trackByFn}constructor(i,r,o){this._viewContainer=i,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(i){i&&(this._template=i)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let i=this._ngForOf;if(!this._differ&&i)if(0)try{}catch{}else this._differ=this._differs.find(i).create(this.ngForTrackBy)}if(this._differ){let i=this._differ.diff(this._ngForOf);i&&this._applyChanges(i)}}_applyChanges(i){let r=this._viewContainer;i.forEachOperation((o,s,a)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new hu(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)r.remove(s===null?void 0:s);else if(s!==null){let c=r.get(s);r.move(c,a),a8(c,o)}});for(let o=0,s=r.length;o{let s=r.get(o.currentIndex);a8(s,o)})}static ngTemplateContextGuard(i,r){return!0}};e.\u0275fac=function(r){return new(r||e)(h(Ye),h(Je),h(_i))},e.\u0275dir=N({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function a8(t,e){t.context.$implicit=e.item}var k1=(()=>{let e=class e{constructor(i,r){this._viewContainer=i,this._context=new pu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(i){this._context.$implicit=this._context.ngIf=i,this._updateView()}set ngIfThen(i){c8("ngIfThen",i),this._thenTemplateRef=i,this._thenViewRef=null,this._updateView()}set ngIfElse(i){c8("ngIfElse",i),this._elseTemplateRef=i,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(i,r){return!0}};e.\u0275fac=function(r){return new(r||e)(h(Ye),h(Je))},e.\u0275dir=N({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),pu=class{constructor(){this.$implicit=null,this.ngIf=null}};function c8(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${yt(e)}'.`)}var xu=(()=>{let e=class e{constructor(i){this._viewContainerRef=i,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(i){if(this._shouldRecreateView(i)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(i){return!!i.ngTemplateOutlet||!!i.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(i,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(i,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}};e.\u0275fac=function(r){return new(r||e)(h(Ye))},e.\u0275dir=N({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Re]});let t=e;return t})();var Tt=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})(),Cu="browser",uD="server";function Du(t){return t===Cu}function Eu(t){return t===uD}var m8=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>Du(b(jt))?new gu(b(B),window):new vu});let t=e;return t})(),gu=class{constructor(e,n){this.document=e,this.window=n,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let n=fD(this.document,e);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let n=e.getBoundingClientRect(),i=n.left+this.window.pageXOffset,r=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}};function fD(t,e){let n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}r=i.nextNode()}}return null}var vu=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},co=class{};var Is=class{},A1=class{},cr=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(n=>{let i=n.indexOf(":");if(i>0){let r=n.slice(0,i),o=r.toLowerCase(),s=n.slice(i+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((n,i)=>{this.setHeaderEntries(i,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,i])=>{this.setHeaderEntries(n,i)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let i=e.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(e.name,n);let r=(e.op==="a"?this.headers.get(n):void 0)||[];r.push(...i),this.headers.set(n,r);break;case"d":let o=e.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(e,n){let i=(Array.isArray(n)?n:[n]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var Iu=class{encodeKey(e){return h8(e)}encodeValue(e){return h8(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function pD(t,e){let n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var gD=/%(\d[a-f0-9])/gi,vD={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function h8(t){return encodeURIComponent(t).replace(gD,(e,n)=>vD[n]??e)}function T1(t){return`${t}`}var vn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Iu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=pD(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{let i=e.fromObject[n],r=Array.isArray(i)?i.map(T1):[T1(i)];this.map.set(n,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){let n=[];return Object.keys(e).forEach(i=>{let r=e[i];Array.isArray(r)?r.forEach(o=>{n.push({param:i,value:o,op:"a"})}):n.push({param:i,value:r,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let n=this.encoder.encodeKey(e);return this.map.get(e).map(i=>n+"="+this.encoder.encodeValue(i)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let n=(e.op==="a"?this.map.get(e.param):void 0)||[];n.push(T1(e.value)),this.map.set(e.param,n);break;case"d":if(e.value!==void 0){let i=this.map.get(e.param)||[],r=i.indexOf(T1(e.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(e.param,i):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Su=class{constructor(){this.map=new Map}set(e,n){return this.map.set(e,n),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 bD(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function p8(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function g8(t){return typeof Blob<"u"&&t instanceof Blob}function v8(t){return typeof FormData<"u"&&t instanceof FormData}function _D(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Ms=class t{constructor(e,n,i,r){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(bD(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers||(this.headers=new cr),this.context||(this.context=new Su),!this.params)this.params=new vn,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":au.set(f,e.setHeaders[f]),c)),e.setParams&&(l=Object.keys(e.setParams).reduce((u,f)=>u.set(f,e.setParams[f]),l)),new t(n,i,o,{params:l,headers:c,context:d,reportProgress:a,responseType:r,withCredentials:s})}},uo=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}(uo||{}),Ss=class{constructor(e,n=O1.Ok,i="OK"){this.headers=e.headers||new cr,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},ku=class t extends Ss{constructor(e={}){super(e),this.type=uo.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},N1=class t extends Ss{constructor(e={}){super(e),this.type=uo.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},R1=class extends Ss{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},O1=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(O1||{});function Mu(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var ks=(()=>{let e=class e{constructor(i){this.handler=i}request(i,r,o={}){let s;if(i instanceof Ms)s=i;else{let l;o.headers instanceof cr?l=o.headers:l=new cr(o.headers);let d;o.params&&(o.params instanceof vn?d=o.params:d=new vn({fromObject:o.params})),s=new Ms(i,r,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=A(s).pipe(Fi(l=>this.handler.handle(l)));if(i instanceof Ms||o.observe==="events")return a;let c=a.pipe(Ae(l=>l instanceof N1));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(P(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return c.pipe(P(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return c.pipe(P(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return c.pipe(P(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(i,r={}){return this.request("DELETE",i,r)}get(i,r={}){return this.request("GET",i,r)}head(i,r={}){return this.request("HEAD",i,r)}jsonp(i,r){return this.request("JSONP",i,{params:new vn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(i,r={}){return this.request("OPTIONS",i,r)}patch(i,r,o={}){return this.request("PATCH",i,Mu(o,r))}post(i,r,o={}){return this.request("POST",i,Mu(o,r))}put(i,r,o={}){return this.request("PUT",i,Mu(o,r))}};e.\u0275fac=function(r){return new(r||e)(g(Is))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function w8(t,e){return e(t)}function yD(t,e){return(n,i)=>e.intercept(n,{handle:r=>t(r,i)})}function wD(t,e,n){return(i,r)=>vi(n,()=>e(i,o=>t(o,r)))}var xD=new C(""),Tu=new C(""),CD=new C(""),DD=new C("");function ED(){let t=null;return(e,n)=>{t===null&&(t=(b(xD,{optional:!0})??[]).reduceRight(yD,w8));let i=b(sr),r=i.add();return t(e,n).pipe(li(()=>i.remove(r)))}}var b8=(()=>{let e=class e extends Is{constructor(i,r){super(),this.backend=i,this.injector=r,this.chain=null,this.pendingTasks=b(sr);let o=b(DD,{optional:!0});this.backend=o??i}handle(i){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Tu),...this.injector.get(CD,[])]));this.chain=o.reduceRight((s,a)=>wD(s,a,this.injector),w8)}let r=this.pendingTasks.add();return this.chain(i,o=>this.backend.handle(o)).pipe(li(()=>this.pendingTasks.remove(r)))}};e.\u0275fac=function(r){return new(r||e)(g(A1),g(wt))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();var MD=/^\)\]\}',?\n/;function ID(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var _8=(()=>{let e=class e{constructor(i){this.xhrFactory=i}handle(i){if(i.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?xe(r.\u0275loadImpl()):A(null)).pipe(rt(()=>new K(s=>{let a=r.build();if(a.open(i.method,i.urlWithParams),i.withCredentials&&(a.withCredentials=!0),i.headers.forEach((_,y)=>a.setRequestHeader(_,y.join(","))),i.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!i.headers.has("Content-Type")){let _=i.detectContentTypeHeader();_!==null&&a.setRequestHeader("Content-Type",_)}if(i.responseType){let _=i.responseType.toLowerCase();a.responseType=_!=="json"?_:"text"}let c=i.serializeBody(),l=null,d=()=>{if(l!==null)return l;let _=a.statusText||"OK",y=new cr(a.getAllResponseHeaders()),k=ID(a)||i.url;return l=new ku({headers:y,status:a.status,statusText:_,url:k}),l},u=()=>{let{headers:_,status:y,statusText:k,url:Q}=d(),j=null;y!==O1.NoContent&&(j=typeof a.response>"u"?a.responseText:a.response),y===0&&(y=j?O1.Ok:0);let ge=y>=200&&y<300;if(i.responseType==="json"&&typeof j=="string"){let we=j;j=j.replace(MD,"");try{j=j!==""?JSON.parse(j):null}catch(Me){j=we,ge&&(ge=!1,j={error:Me,text:j})}}ge?(s.next(new N1({body:j,headers:_,status:y,statusText:k,url:Q||void 0})),s.complete()):s.error(new R1({error:j,headers:_,status:y,statusText:k,url:Q||void 0}))},f=_=>{let{url:y}=d(),k=new R1({error:_,status:a.status||0,statusText:a.statusText||"Unknown Error",url:y||void 0});s.error(k)},m=!1,p=_=>{m||(s.next(d()),m=!0);let y={type:uo.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(y.total=_.total),i.responseType==="text"&&a.responseText&&(y.partialText=a.responseText),s.next(y)},v=_=>{let y={type:uo.UploadProgress,loaded:_.loaded};_.lengthComputable&&(y.total=_.total),s.next(y)};return a.addEventListener("load",u),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),i.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",v)),a.send(c),s.next({type:uo.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",u),a.removeEventListener("timeout",f),i.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",v)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(r){return new(r||e)(g(co))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),x8=new C("XSRF_ENABLED"),SD="XSRF-TOKEN",kD=new C("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>SD}),TD="X-XSRF-TOKEN",AD=new C("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>TD}),F1=class{},ND=(()=>{let e=class e{constructor(i,r,o){this.doc=i,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=S1(i,this.cookieName),this.lastCookieString=i),this.lastToken}};e.\u0275fac=function(r){return new(r||e)(g(B),g(jt),g(kD))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function RD(t,e){let n=t.url.toLowerCase();if(!b(x8)||t.method==="GET"||t.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return e(t);let i=b(F1).getToken(),r=b(AD);return i!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,i)})),e(t)}var C8=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}(C8||{});function OD(t,e){return{\u0275kind:t,\u0275providers:e}}function FD(...t){let e=[ks,_8,b8,{provide:Is,useExisting:b8},{provide:A1,useExisting:_8},{provide:Tu,useValue:RD,multi:!0},{provide:x8,useValue:!0},{provide:F1,useClass:ND}];for(let n of t)e.push(...n.\u0275providers);return bs(e)}var y8=new C("LEGACY_INTERCEPTOR_FN");function zD(){return OD(C8.LegacyInterceptors,[{provide:y8,useFactory:ED},{provide:Tu,useExisting:y8,multi:!0}])}var D8=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:[FD(zD())]});let t=e;return t})();var Ru=class extends M1{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ou=class t extends Ru{static makeCurrent(){l8(new t)}onAndCancel(e,n,i){return e.addEventListener(n,i),()=>{e.removeEventListener(n,i)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.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,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=LD();return n==null?null:PD(n)}resetBaseElement(){Ts=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return S1(document.cookie,e)}},Ts=null;function LD(){return Ts=Ts||document.querySelector("base"),Ts?Ts.getAttribute("href"):null}function PD(t){return new URL(t,document.baseURI).pathname}var Fu=class{addToWindow(e){lt.getAngularTestability=(i,r=!0)=>{let o=e.findTestabilityInTree(i,r);if(o==null)throw new E(5103,!1);return o},lt.getAllAngularTestabilities=()=>e.getAllTestabilities(),lt.getAllAngularRootElements=()=>e.getAllRootElements();let n=i=>{let r=lt.getAllAngularTestabilities(),o=r.length,s=function(){o--,o==0&&i()};r.forEach(a=>{a.whenStable(s)})};lt.frameworkStabilizers||(lt.frameworkStabilizers=[]),lt.frameworkStabilizers.push(n)}findTestabilityInTree(e,n,i){if(n==null)return null;let r=e.getTestability(n);return r??(i?ar().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null)}},VD=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),zu=new C("EventManagerPlugins"),S8=(()=>{let e=class e{constructor(i,r){this._zone=r,this._eventNameToPlugin=new Map,i.forEach(o=>{o.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,r,o){return this._findPluginFor(r).addEventListener(i,r,o)}getZone(){return this._zone}_findPluginFor(i){let r=this._eventNameToPlugin.get(i);if(r)return r;if(r=this._plugins.find(s=>s.supports(i)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(i,r),r}};e.\u0275fac=function(r){return new(r||e)(g(zu),g(S))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),z1=class{constructor(e){this._doc=e}},Au="ng-app-id",k8=(()=>{let e=class e{constructor(i,r,o,s={}){this.doc=i,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Eu(s),this.resetHostNodes()}addStyles(i){for(let r of i)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(i){for(let r of i)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let i=this.styleNodesInDOM;i&&(i.forEach(r=>r.remove()),i.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(i){this.hostNodes.add(i);for(let r of this.getAllStyles())this.addStyleToHost(i,r)}removeHost(i){this.hostNodes.delete(i)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(i){for(let r of this.hostNodes)this.addStyleToHost(r,i)}onStyleRemoved(i){let r=this.styleRef;r.get(i)?.elements?.forEach(o=>o.remove()),r.delete(i)}collectServerRenderedStyles(){let i=this.doc.head?.querySelectorAll(`style[${Au}="${this.appId}"]`);if(i?.length){let r=new Map;return i.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(i,r){let o=this.styleRef;if(o.has(i)){let s=o.get(i);return s.usage+=r,s.usage}return o.set(i,{usage:r,elements:[]}),r}getStyleElement(i,r){let o=this.styleNodesInDOM,s=o?.get(r);if(s?.parentNode===i)return o.delete(r),s.removeAttribute(Au),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(Au,this.appId),i.appendChild(a),a}}addStyleToHost(i,r){let o=this.getStyleElement(i,r),s=this.styleRef,a=s.get(r)?.elements;a?a.push(o):s.set(r,{elements:[o],usage:1})}resetHostNodes(){let i=this.hostNodes;i.clear(),i.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(g(B),g(to),g(_s,8),g(jt))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Nu={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/"},Pu=/%COMP%/g,T8="%COMP%",jD=`_nghost-${T8}`,HD=`_ngcontent-${T8}`,BD=!0,UD=new C("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>BD});function $D(t){return HD.replace(Pu,t)}function qD(t){return jD.replace(Pu,t)}function A8(t,e){return e.map(n=>n.replace(Pu,t))}var L1=(()=>{let e=class e{constructor(i,r,o,s,a,c,l,d=null){this.eventManager=i,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=Eu(c),this.defaultRenderer=new As(i,a,l,this.platformIsServer)}createRenderer(i,r){if(!i||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===hi.ShadowDom&&(r=Ie(D({},r),{encapsulation:hi.Emulated}));let o=this.getOrCreateRenderer(i,r);return o instanceof P1?o.applyToHost(i):o instanceof Ns&&o.applyStyles(),o}getOrCreateRenderer(i,r){let o=this.rendererByCompId,s=o.get(r.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(r.encapsulation){case hi.Emulated:s=new P1(l,d,r,this.appId,u,a,c,f);break;case hi.ShadowDom:return new Lu(l,d,i,r,a,c,this.nonce,f);default:s=new Ns(l,d,r,u,a,c,f);break}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(g(S8),g(k8),g(to),g(UD),g(B),g(jt),g(S),g(_s))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),As=class{constructor(e,n,i,r){this.eventManager=e,this.doc=n,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Nu[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(M8(e)?e.content:e).appendChild(n)}insertBefore(e,n,i){e&&(M8(e)?e.content:e).insertBefore(n,i)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let i=typeof e=="string"?this.doc.querySelector(e):e;if(!i)throw new E(-5104,!1);return n||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,i,r){if(r){n=r+":"+n;let o=Nu[r];o?e.setAttributeNS(o,n,i):e.setAttribute(n,i)}else e.setAttribute(n,i)}removeAttribute(e,n,i){if(i){let r=Nu[i];r?e.removeAttributeNS(r,n):e.removeAttribute(`${i}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,i,r){r&(Pi.DashCase|Pi.Important)?e.style.setProperty(n,i,r&Pi.Important?"important":""):e.style[n]=i}removeStyle(e,n,i){i&Pi.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,i){e!=null&&(e[n]=i)}setValue(e,n){e.nodeValue=n}listen(e,n,i){if(typeof e=="string"&&(e=ar().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(i))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function M8(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Lu=class extends As{constructor(e,n,i,r,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=A8(r.id,r.styles);for(let d of l){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,i){return super.insertBefore(this.nodeOrShadowRoot(e),n,i)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ns=class extends As{constructor(e,n,i,r,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=r,this.styles=c?A8(c,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},P1=class extends Ns{constructor(e,n,i,r,o,s,a,c){let l=r+"-"+i.id;super(e,n,i,o,s,a,c,l),this.contentAttr=$D(l),this.hostAttr=qD(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let i=super.createElement(e,n);return super.setAttribute(i,this.contentAttr,""),i}},WD=(()=>{let e=class e extends z1{constructor(i){super(i)}supports(i){return!0}addEventListener(i,r,o){return i.addEventListener(r,o,!1),()=>this.removeEventListener(i,r,o)}removeEventListener(i,r,o){return i.removeEventListener(r,o)}};e.\u0275fac=function(r){return new(r||e)(g(B))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),I8=["alt","control","meta","shift"],GD={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ZD={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},YD=(()=>{let e=class e extends z1{constructor(i){super(i)}supports(i){return e.parseEventName(i)!=null}addEventListener(i,r,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ar().onAndCancel(i,s.domEventName,a))}static parseEventName(i){let r=i.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(r.pop()),a="",c=r.indexOf("code");if(c>-1&&(r.splice(c,1),a="code."),I8.forEach(d=>{let u=r.indexOf(d);u>-1&&(r.splice(u,1),a+=d+".")}),a+=s,r.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(i,r){let o=GD[i.key]||i.key,s="";return r.indexOf("code.")>-1&&(o=i.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),I8.forEach(a=>{if(a!==o){let c=ZD[a];c(i)&&(s+=a+".")}}),s+=o,s===r)}static eventCallback(i,r,o){return s=>{e.matchEventFullKeyCode(s,i)&&o.runGuarded(()=>r(s))}}static _normalizeKey(i){return i==="esc"?"escape":i}};e.\u0275fac=function(r){return new(r||e)(g(B))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function QD(){Ou.makeCurrent()}function KD(){return new kt}function XD(){return S5(document),document}var JD=[{provide:jt,useValue:Cu},{provide:H3,useValue:QD,multi:!0},{provide:B,useFactory:XD,deps:[]}],N8=uu(t8,"browser",JD),eE=new C(""),tE=[{provide:Cs,useClass:Fu,deps:[]},{provide:lu,useClass:x1,deps:[S,C1,Cs]},{provide:x1,useClass:x1,deps:[S,C1,Cs]}],iE=[{provide:c1,useValue:"root"},{provide:kt,useFactory:KD,deps:[]},{provide:zu,useClass:WD,multi:!0,deps:[B,S,jt]},{provide:zu,useClass:YD,multi:!0,deps:[B]},L1,k8,S8,{provide:Kn,useExisting:L1},{provide:co,useClass:VD,deps:[]},[]],V1=(()=>{let e=class e{constructor(i){}static withServerTransition(i){return{ngModule:e,providers:[{provide:to,useValue:i.appId}]}}};e.\u0275fac=function(r){return new(r||e)(g(eE,12))},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:[...iE,...tE],imports:[Tt,i8]});let t=e;return t})();function nE(){return new Vu(g(B))}var Vu=(()=>{let e=class e{constructor(i){this._doc=i}getTitle(){return this._doc.title}setTitle(i){this._doc.title=i||""}};e.\u0275fac=function(r){return new(r||e)(g(B))},e.\u0275prov=w({token:e,factory:function(r){let o=null;return r?o=new r:o=nE(),o},providedIn:"root"});let t=e;return t})();var lr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=g(R8),o},providedIn:"root"});let t=e;return t})();function rE(t){return new R8(t.get(B))}var R8=(()=>{let e=class e extends lr{constructor(i){super(),this._doc=i}sanitize(i,r){if(r==null)return null;switch(i){case ft.NONE:return r;case ft.HTML:return Bi(r,"HTML")?Ht(r):q3(this._doc,String(r)).toString();case ft.STYLE:return Bi(r,"Style")?Ht(r):r;case ft.SCRIPT:if(Bi(r,"Script"))return Ht(r);throw new E(5200,!1);case ft.URL:return Bi(r,"URL")?Ht(r):m1(String(r));case ft.RESOURCE_URL:if(Bi(r,"ResourceURL"))return Ht(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(i){return $5(i)}bypassSecurityTrustStyle(i){return q5(i)}bypassSecurityTrustScript(i){return W5(i)}bypassSecurityTrustUrl(i){return G5(i)}bypassSecurityTrustResourceUrl(i){return Z5(i)}};e.\u0275fac=function(r){return new(r||e)(g(B))},e.\u0275prov=w({token:e,factory:function(r){let o=null;return r?o=new r:o=rE(g(ut)),o},providedIn:"root"});let t=e;return t})();var bn=(()=>{let e=class e{constructor(i){this.http=i,this.URL_MILESTONES="https://googlechromelabs.github.io/chrome-for-testing/latest-versions-per-milestone-with-downloads.json",this.URL_LAST_KNOWN="https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json"}getMilestones(){return this.http.get(this.URL_MILESTONES).pipe(P(i=>{let r=new Map(Object.entries(i.milestones)),o=new Map;return r.forEach((s,a)=>{let c=new Map(Object.entries(s.downloads)),l=s;l.downloads=c,o.set(a,l)}),{timestamp:i.timestamp,milestones:o}}))}getLatest(){return this.http.get(this.URL_LAST_KNOWN).pipe(P(i=>{let r=new Map(Object.entries(i.channels)),o=new Map;return r.forEach((s,a)=>{let c=new Map(Object.entries(s.downloads)),l=s;l.downloads=c,o.set(a,l)}),{timestamp:i.timestamp,channels:o}}))}getLatestDownloadUrl(){return this.URL_LAST_KNOWN}getMilestoneDownloadUrl(){return this.URL_MILESTONES}};e.\u0275fac=function(r){return new(r||e)(g(ks))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var O8=(()=>{let e=class e{constructor(i){this.dataService=i,this.latestDownloadUrl=i.getLatestDownloadUrl(),this.milestoneDownloadUrl=i.getMilestoneDownloadUrl()}};e.\u0275fac=function(r){return new(r||e)(h(bn))},e.\u0275cmp=Y({type:e,selectors:[["app-about"]],decls:27,vars:4,consts:[[1,"padding-1"],["href","https://www.google.com/chrome/?hl=de"],[3,"href"],["href","https://github.com/GoogleChromeLabs/chrome-for-testing#json-api-endpoints"]],template:function(r,o){r&1&&(M(0,"section",0)(1,"h1"),W(2,"About this tool"),I(),M(3,"p"),W(4,"This tool provides a simple frontend for easy downloads of Chrome for testing. "),I(),M(5,"p"),W(6,"This is no official download page for Chrome. Please go to "),M(7,"a",1),W(8,"https://www.google.com/chrome/"),I(),W(9," to get Google Chrome."),I(),M(10,"p"),W(11,"All information are parsed from JSON endpoints:"),I(),M(12,"div")(13,"ul")(14,"li"),W(15,"Latest versions: "),M(16,"a",2),W(17),I()(),M(18,"li"),W(19,"Milestone versions: "),M(20,"a",2),W(21),I()()()(),M(22,"p"),W(23,"Find some more information on Github at "),M(24,"a",3),W(25,"https://github.com/GoogleChromeLabs/chrome-for-testing#json-api-endpoints"),I(),W(26,". "),I()()),r&2&&(R(16),so("href",o.latestDownloadUrl,io),R(),Dt(o.latestDownloadUrl),R(3),so("href",o.milestoneDownloadUrl,io),R(),Dt(o.milestoneDownloadUrl))}});let t=e;return t})();var F8={prefix:"fab",iconName:"microsoft",icon:[448,512,[],"f3ca","M0 32h214.6v214.6H0V32zm233.4 0H448v214.6H233.4V32zM0 265.4h214.6V480H0V265.4zm233.4 0H448V480H233.4V265.4z"]};var z8={prefix:"fab",iconName:"apple",icon:[384,512,[],"f179","M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"]};var L8={prefix:"fab",iconName:"linux",icon:[448,512,[],"f17c","M220.8 123.3c1 .5 1.8 1.7 3 1.7 1.1 0 2.8-.4 2.9-1.5.2-1.4-1.9-2.3-3.2-2.9-1.7-.7-3.9-1-5.5-.1-.4.2-.8.7-.6 1.1.3 1.3 2.3 1.1 3.4 1.7zm-21.9 1.7c1.2 0 2-1.2 3-1.7 1.1-.6 3.1-.4 3.5-1.6.2-.4-.2-.9-.6-1.1-1.6-.9-3.8-.6-5.5.1-1.3.6-3.4 1.5-3.2 2.9.1 1 1.8 1.5 2.8 1.4zM420 403.8c-3.6-4-5.3-11.6-7.2-19.7-1.8-8.1-3.9-16.8-10.5-22.4-1.3-1.1-2.6-2.1-4-2.9-1.3-.8-2.7-1.5-4.1-2 9.2-27.3 5.6-54.5-3.7-79.1-11.4-30.1-31.3-56.4-46.5-74.4-17.1-21.5-33.7-41.9-33.4-72C311.1 85.4 315.7.1 234.8 0 132.4-.2 158 103.4 156.9 135.2c-1.7 23.4-6.4 41.8-22.5 64.7-18.9 22.5-45.5 58.8-58.1 96.7-6 17.9-8.8 36.1-6.2 53.3-6.5 5.8-11.4 14.7-16.6 20.2-4.2 4.3-10.3 5.9-17 8.3s-14 6-18.5 14.5c-2.1 3.9-2.8 8.1-2.8 12.4 0 3.9.6 7.9 1.2 11.8 1.2 8.1 2.5 15.7.8 20.8-5.2 14.4-5.9 24.4-2.2 31.7 3.8 7.3 11.4 10.5 20.1 12.3 17.3 3.6 40.8 2.7 59.3 12.5 19.8 10.4 39.9 14.1 55.9 10.4 11.6-2.6 21.1-9.6 25.9-20.2 12.5-.1 26.3-5.4 48.3-6.6 14.9-1.2 33.6 5.3 55.1 4.1.6 2.3 1.4 4.6 2.5 6.7v.1c8.3 16.7 23.8 24.3 40.3 23 16.6-1.3 34.1-11 48.3-27.9 13.6-16.4 36-23.2 50.9-32.2 7.4-4.5 13.4-10.1 13.9-18.3.4-8.2-4.4-17.3-15.5-29.7zM223.7 87.3c9.8-22.2 34.2-21.8 44-.4 6.5 14.2 3.6 30.9-4.3 40.4-1.6-.8-5.9-2.6-12.6-4.9 1.1-1.2 3.1-2.7 3.9-4.6 4.8-11.8-.2-27-9.1-27.3-7.3-.5-13.9 10.8-11.8 23-4.1-2-9.4-3.5-13-4.4-1-6.9-.3-14.6 2.9-21.8zM183 75.8c10.1 0 20.8 14.2 19.1 33.5-3.5 1-7.1 2.5-10.2 4.6 1.2-8.9-3.3-20.1-9.6-19.6-8.4.7-9.8 21.2-1.8 28.1 1 .8 1.9-.2-5.9 5.5-15.6-14.6-10.5-52.1 8.4-52.1zm-13.6 60.7c6.2-4.6 13.6-10 14.1-10.5 4.7-4.4 13.5-14.2 27.9-14.2 7.1 0 15.6 2.3 25.9 8.9 6.3 4.1 11.3 4.4 22.6 9.3 8.4 3.5 13.7 9.7 10.5 18.2-2.6 7.1-11 14.4-22.7 18.1-11.1 3.6-19.8 16-38.2 14.9-3.9-.2-7-1-9.6-2.1-8-3.5-12.2-10.4-20-15-8.6-4.8-13.2-10.4-14.7-15.3-1.4-4.9 0-9 4.2-12.3zm3.3 334c-2.7 35.1-43.9 34.4-75.3 18-29.9-15.8-68.6-6.5-76.5-21.9-2.4-4.7-2.4-12.7 2.6-26.4v-.2c2.4-7.6.6-16-.6-23.9-1.2-7.8-1.8-15 .9-20 3.5-6.7 8.5-9.1 14.8-11.3 10.3-3.7 11.8-3.4 19.6-9.9 5.5-5.7 9.5-12.9 14.3-18 5.1-5.5 10-8.1 17.7-6.9 8.1 1.2 15.1 6.8 21.9 16l19.6 35.6c9.5 19.9 43.1 48.4 41 68.9zm-1.4-25.9c-4.1-6.6-9.6-13.6-14.4-19.6 7.1 0 14.2-2.2 16.7-8.9 2.3-6.2 0-14.9-7.4-24.9-13.5-18.2-38.3-32.5-38.3-32.5-13.5-8.4-21.1-18.7-24.6-29.9s-3-23.3-.3-35.2c5.2-22.9 18.6-45.2 27.2-59.2 2.3-1.7.8 3.2-8.7 20.8-8.5 16.1-24.4 53.3-2.6 82.4.6-20.7 5.5-41.8 13.8-61.5 12-27.4 37.3-74.9 39.3-112.7 1.1.8 4.6 3.2 6.2 4.1 4.6 2.7 8.1 6.7 12.6 10.3 12.4 10 28.5 9.2 42.4 1.2 6.2-3.5 11.2-7.5 15.9-9 9.9-3.1 17.8-8.6 22.3-15 7.7 30.4 25.7 74.3 37.2 95.7 6.1 11.4 18.3 35.5 23.6 64.6 3.3-.1 7 .4 10.9 1.4 13.8-35.7-11.7-74.2-23.3-84.9-4.7-4.6-4.9-6.6-2.6-6.5 12.6 11.2 29.2 33.7 35.2 59 2.8 11.6 3.3 23.7.4 35.7 16.4 6.8 35.9 17.9 30.7 34.8-2.2-.1-3.2 0-4.2 0 3.2-10.1-3.9-17.6-22.8-26.1-19.6-8.6-36-8.6-38.3 12.5-12.1 4.2-18.3 14.7-21.4 27.3-2.8 11.2-3.6 24.7-4.4 39.9-.5 7.7-3.6 18-6.8 29-32.1 22.9-76.7 32.9-114.3 7.2zm257.4-11.5c-.9 16.8-41.2 19.9-63.2 46.5-13.2 15.7-29.4 24.4-43.6 25.5s-26.5-4.8-33.7-19.3c-4.7-11.1-2.4-23.1 1.1-36.3 3.7-14.2 9.2-28.8 9.9-40.6.8-15.2 1.7-28.5 4.2-38.7 2.6-10.3 6.6-17.2 13.7-21.1.3-.2.7-.3 1-.5.8 13.2 7.3 26.6 18.8 29.5 12.6 3.3 30.7-7.5 38.4-16.3 9-.3 15.7-.9 22.6 5.1 9.9 8.5 7.1 30.3 17.1 41.6 10.6 11.6 14 19.5 13.7 24.6zM173.3 148.7c2 1.9 4.7 4.5 8 7.1 6.6 5.2 15.8 10.6 27.3 10.6 11.6 0 22.5-5.9 31.8-10.8 4.9-2.6 10.9-7 14.8-10.4s5.9-6.3 3.1-6.6-2.6 2.6-6 5.1c-4.4 3.2-9.7 7.4-13.9 9.8-7.4 4.2-19.5 10.2-29.9 10.2s-18.7-4.8-24.9-9.7c-3.1-2.5-5.7-5-7.7-6.9-1.5-1.4-1.9-4.6-4.3-4.9-1.4-.1-1.8 3.7 1.7 6.5z"]};var Bu;try{Bu=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Bu=!1}var De=(()=>{let e=class e{constructor(i){this._platformId=i,this.isBrowser=this._platformId?Du(this._platformId):typeof document=="object"&&!!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||Bu)&&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}};e.\u0275fac=function(r){return new(r||e)(g(jt))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Os;function oE(){if(Os==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Os=!0}))}finally{Os=Os||!1}return Os}function _n(t){return oE()?t:!!t.capture}var dr;function P8(){if(dr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return dr=!1,dr;if("scrollBehavior"in document.documentElement.style)dr=!0;else{let t=Element.prototype.scrollTo;t?dr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):dr=!1}}return dr}var Hu;function sE(){if(Hu==null){let t=typeof document<"u"?document.head:null;Hu=!!(t&&(t.createShadowRoot||t.attachShadow))}return Hu}function V8(t){if(sE()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Jt(t){return t.composedPath?t.composedPath()[0]:t.target}function Fs(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ei(t,...e){return e.length?e.some(n=>t[n]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function yn(t){return t!=null&&`${t}`!="false"}function zs(t,e=0){return aE(t)?Number(t):e}function aE(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function fo(t){return Array.isArray(t)?t:[t]}function Ke(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Gi(t){return t instanceof V?t.nativeElement:t}var cE=(()=>{let e=class e{create(i){return typeof MutationObserver>"u"?null:new MutationObserver(i)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var mo=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:[cE]});let t=e;return t})();var j8=new Set,ur,lE=(()=>{let e=class e{constructor(i,r){this._platform=i,this._nonce=r,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):uE}matchMedia(i){return(this._platform.WEBKIT||this._platform.BLINK)&&dE(i,this._nonce),this._matchMedia(i)}};e.\u0275fac=function(r){return new(r||e)(g(De),g(_s,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function dE(t,e){if(!j8.has(t))try{ur||(ur=document.createElement("style"),e&&(ur.nonce=e),ur.setAttribute("type","text/css"),document.head.appendChild(ur)),ur.sheet&&(ur.sheet.insertRule(`@media ${t} {body{ }}`,0),j8.add(t))}catch(n){console.error(n)}}function uE(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var B8=(()=>{let e=class e{constructor(i,r){this._mediaMatcher=i,this._zone=r,this._queries=new Map,this._destroySubject=new H}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(i){return H8(fo(i)).some(o=>this._registerQuery(o).mql.matches)}observe(i){let o=H8(fo(i)).map(a=>this._registerQuery(a).observable),s=Bn(o);return s=on(s.pipe(Ve(1)),s.pipe(Yo(1),Go(0))),s.pipe(P(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:d})=>{c.matches=c.matches||l,c.breakpoints[d]=l}),c}))}_registerQuery(i){if(this._queries.has(i))return this._queries.get(i);let r=this._mediaMatcher.matchMedia(i),s={observable:new K(a=>{let c=l=>this._zone.run(()=>a.next(l));return r.addListener(c),()=>{r.removeListener(c)}}).pipe(zi(r),P(({matches:a})=>({query:i,matches:a})),le(this._destroySubject)),mql:r};return this._queries.set(i,s),s}};e.\u0275fac=function(r){return new(r||e)(g(lE),g(S))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function H8(t){return t.map(e=>e.split(",")).reduce((e,n)=>e.concat(n)).map(e=>e.trim())}var W8=" ";function Qu(t,e,n){let i=U1(t,e);n=n.trim(),!i.some(r=>r.trim()===n)&&(i.push(n),t.setAttribute(e,i.join(W8)))}function G1(t,e,n){let i=U1(t,e);n=n.trim();let r=i.filter(o=>o!==n);r.length?t.setAttribute(e,r.join(W8)):t.removeAttribute(e)}function U1(t,e){return t.getAttribute(e)?.match(/\S+/g)??[]}var G8="cdk-describedby-message",j1="cdk-describedby-host",qu=0,Z8=(()=>{let e=class e{constructor(i,r){this._platform=r,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${qu++}`,this._document=i,this._id=b(to)+"-"+qu++}describe(i,r,o){if(!this._canBeDescribed(i,r))return;let s=Uu(r,o);typeof r!="string"?(U8(r,this._id),this._messageRegistry.set(s,{messageElement:r,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(r,o),this._isElementDescribedByMessage(i,s)||this._addMessageReference(i,s)}removeDescription(i,r,o){if(!r||!this._isElementNode(i))return;let s=Uu(r,o);if(this._isElementDescribedByMessage(i,s)&&this._removeMessageReference(i,s),typeof r=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let i=this._document.querySelectorAll(`[${j1}="${this._id}"]`);for(let r=0;ro.indexOf(G8)!=0);i.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(i,r){let o=this._messageRegistry.get(r);Qu(i,"aria-describedby",o.messageElement.id),i.setAttribute(j1,this._id),o.referenceCount++}_removeMessageReference(i,r){let o=this._messageRegistry.get(r);o.referenceCount--,G1(i,"aria-describedby",o.messageElement.id),i.removeAttribute(j1)}_isElementDescribedByMessage(i,r){let o=U1(i,"aria-describedby"),s=this._messageRegistry.get(r),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(i,r){if(!this._isElementNode(i))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),s=i.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(i){return i.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(r){return new(r||e)(g(B),g(De))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Uu(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function U8(t,e){t.id||(t.id=`${G8}-${e}-${qu++}`)}var Wu=class{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new H,this._typeaheadSubscription=ve.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=n=>n.disabled,this._pressedLetters=[],this.tabOut=new H,this.change=new H,e instanceof Xr&&(this._itemChangesSubscription=e.changes.subscribe(n=>{if(this._activeItem){let r=n.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(ze(n=>this._pressedLetters.push(n)),Go(e),Ae(()=>this._pressedLetters.length>0),P(()=>this._pressedLetters.join(""))).subscribe(n=>{let i=this._getItemsArray();for(let r=1;r!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(n){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n)));return}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){let n=this._getItemsArray(),i=typeof e=="number"?e:n.indexOf(e),r=n[i];this._activeItem=r??null,this._activeItemIndex=i}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){let n=this._getItemsArray();for(let i=1;i<=n.length;i++){let r=(this._activeItemIndex+e*i+n.length)%n.length,o=n[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,n){let i=this._getItemsArray();if(i[e]){for(;this._skipPredicateFn(i[e]);)if(e+=n,!i[e])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof Xr?this._items.toArray():this._items}},$1=class extends Wu{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}};function Ku(t){return t.buttons===0||t.detail===0}function Xu(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var EE=new C("cdk-input-modality-detector-options"),ME={ignoreKeys:[18,17,224,91,16]},Y8=650,ho=_n({passive:!0,capture:!0}),IE=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(i,r,o,s){this._platform=i,this._mostRecentTarget=null,this._modality=new We(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Jt(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(Xu(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Jt(a)},this._options=D(D({},ME),s),this.modalityDetected=this._modality.pipe(Yo(1)),this.modalityChanged=this.modalityDetected.pipe(Fr()),i.isBrowser&&r.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,ho),o.addEventListener("mousedown",this._onMousedown,ho),o.addEventListener("touchstart",this._onTouchstart,ho)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ho),document.removeEventListener("mousedown",this._onMousedown,ho),document.removeEventListener("touchstart",this._onTouchstart,ho))}};e.\u0275fac=function(r){return new(r||e)(g(De),g(S),g(B),g(EE,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),SE=new C("liveAnnouncerElement",{providedIn:"root",factory:kE});function kE(){return null}var TE=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),AE=0,Q8=(()=>{let e=class e{constructor(i,r,o,s){this._ngZone=r,this._defaultOptions=s,this._document=o,this._liveElement=i||this._createLiveElement()}announce(i,...r){let o=this._defaultOptions,s,a;return r.length===1&&typeof r[0]=="number"?a=r[0]:[s,a]=r,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&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(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=i,typeof a=="number"&&(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(){let i="cdk-live-announcer-element",r=this._document.getElementsByClassName(i),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(i,r,o,s,a){this._ngZone=i,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 H,this._rootNodeFocusAndBlurListener=c=>{let l=Jt(c);for(let d=l;d;d=d.parentElement)c.type==="focus"?this._onFocus(c,d):this._onBlur(c,d)},this._document=s,this._detectionMode=a?.detectionMode||B1.IMMEDIATE}monitor(i,r=!1){let o=Gi(i);if(!this._platform.isBrowser||o.nodeType!==1)return A();let s=V8(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return r&&(a.checkChildren=!0),a.subject;let c={checkChildren:r,subject:new H,rootNode:s};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(i){let r=Gi(i),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(i,r,o){let s=Gi(i),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([c,l])=>this._originChanged(c,r,l)):(this._setOrigin(r),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((i,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(i){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(i)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:i&&this._isLastInteractionFromInputLabel(i)?"mouse":"program"}_shouldBeAttributedToTouch(i){return this._detectionMode===B1.EVENTUAL||!!i?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(i,r){i.classList.toggle("cdk-focused",!!r),i.classList.toggle("cdk-touch-focused",r==="touch"),i.classList.toggle("cdk-keyboard-focused",r==="keyboard"),i.classList.toggle("cdk-mouse-focused",r==="mouse"),i.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(i,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=i,this._originFromTouchInteraction=i==="touch"&&r,this._detectionMode===B1.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Y8:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(i,r){let o=this._elementInfo.get(r),s=Jt(i);!o||!o.checkChildren&&r!==s||this._originChanged(r,this._getFocusOrigin(s),o)}_onBlur(i,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&i.relatedTarget instanceof Node&&r.contains(i.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(i,r){i.subject.observers.length&&this._ngZone.run(()=>i.subject.next(r))}_registerGlobalListeners(i){if(!this._platform.isBrowser)return;let r=i.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,H1),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,H1)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(le(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(i){let r=i.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,H1),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,H1),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(i,r,o){this._setClasses(i,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(i){let r=[];return this._elementInfo.forEach((o,s)=>{(s===i||o.checkChildren&&s.contains(i))&&r.push([s,o])}),r}_isLastInteractionFromInputLabel(i){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===i||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA"||i.disabled)return!1;let s=i.labels;if(s){for(let a=0;a{let e=class e{constructor(i,r){this._platform=i,this._document=r,this._breakpointSubscription=b(B8).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return fr.NONE;let i=this._document.createElement("div");i.style.backgroundColor="rgb(1,2,3)",i.style.position="absolute",this._document.body.appendChild(i);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(i):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(i.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return fr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return fr.BLACK_ON_WHITE}return fr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let i=this._document.body.classList;i.remove($u,$8,q8),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===fr.BLACK_ON_WHITE?i.add($u,$8):r===fr.WHITE_ON_BLACK&&i.add($u,q8)}}};e.\u0275fac=function(r){return new(r||e)(g(De),g(B))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Y1=(()=>{let e=class e{constructor(i){i._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(r){return new(r||e)(g(Ju))},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[mo]});let t=e;return t})();var RE=new C("cdk-dir-doc",{providedIn:"root",factory:OE});function OE(){return b(B)}var FE=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function zE(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?FE.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var ti=(()=>{let e=class e{constructor(i){if(this.value="ltr",this.change=new ie,i){let r=i.body?i.body.dir:null,o=i.documentElement?i.documentElement.dir:null;this.value=zE(r||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(r){return new(r||e)(g(RE,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var wn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})();var LE=["text"];function PE(t,e){if(t&1&&he(0,"mat-pseudo-checkbox",6),t&2){let n=ke();fe("disabled",n.disabled)("state",n.selected?"checked":"unchecked")}}function VE(t,e){if(t&1&&he(0,"mat-pseudo-checkbox",7),t&2){let n=ke();fe("disabled",n.disabled)}}function jE(t,e){if(t&1&&(M(0,"span",8),W(1),I()),t&2){let n=ke();R(),Bt("(",n.group.label,")")}}var HE=[[["mat-icon"]],"*"],BE=["mat-icon","*"];function UE(){return!0}var $E=new C("mat-sanity-checks",{providedIn:"root",factory:UE}),pe=(()=>{let e=class e{constructor(i,r,o){this._sanityChecks=r,this._document=o,this._hasDoneGlobalChecks=!1,i._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(i){return Fs()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[i]}};e.\u0275fac=function(r){return new(r||e)(g(Ju),g($E,8),g(B))},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[wn,wn]});let t=e;return t})();var K1=class{constructor(e,n,i,r,o){this._defaultMatcher=e,this.ngControl=n,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,n=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,n)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var op=(()=>{let e=class e{isErrorState(i,r){return!!(i&&i.invalid&&(i.touched||r&&r.submitted))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ut=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(Ut||{}),n4=class{constructor(e,n,i,r=!1){this._renderer=e,this.element=n,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=Ut.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},K8=_n({passive:!0,capture:!0}),r4=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let n=Jt(e);n&&this._events.get(e.type)?.forEach((i,r)=>{(r===n||r.contains(n))&&i.forEach(o=>o.handleEvent(e))})}}addHandler(e,n,i,r){let o=this._events.get(n);if(o){let s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(n,new Map([[i,new Set([r])]])),e.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,K8)})}removeHandler(e,n,i){let r=this._events.get(e);if(!r)return;let o=r.get(n);o&&(o.delete(i),o.size===0&&r.delete(n),r.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,K8)))}},X8={enterDuration:225,exitDuration:150},qE=800,J8=_n({passive:!0,capture:!0}),ep=["mousedown","touchstart"],tp=["mouseup","mouseleave","touchend","touchcancel"],Ps=class Ps{constructor(e,n,i,r){this._target=e,this._ngZone=n,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Gi(i))}fadeInRipple(e,n,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=D(D({},X8),i.animation);i.centered&&(e=r.left+r.width/2,n=r.top+r.height/2);let s=i.radius||WE(e,n,r),a=e-r.left,c=n-r.top,l=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${c-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),f=u.transitionProperty,m=u.transitionDuration,p=f==="none"||m==="0s"||m==="0s, 0s"||r.width===0&&r.height===0,v=new n4(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",v.state=Ut.FADING_IN,i.persistent||(this._mostRecentTransientRipple=v);let _=null;return!p&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let y=()=>this._finishRippleTransition(v),k=()=>this._destroyRipple(v);d.addEventListener("transitionend",y),d.addEventListener("transitioncancel",k),_={onTransitionEnd:y,onTransitionCancel:k}}),this._activeRipples.set(v,_),(p||!l)&&this._finishRippleTransition(v),v}fadeOutRipple(e){if(e.state===Ut.FADING_OUT||e.state===Ut.HIDDEN)return;let n=e.element,i=D(D({},X8),e.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",e.state=Ut.FADING_OUT,(e._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let n=Gi(e);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,ep.forEach(i=>{Ps._eventManager.addHandler(this._ngZone,i,n,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{tp.forEach(n=>{this._triggerElement.addEventListener(n,this,J8)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===Ut.FADING_IN?this._startFadeOutTransition(e):e.state===Ut.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let n=e===this._mostRecentTransientRipple,{persistent:i}=e.config;e.state=Ut.VISIBLE,!i&&(!n||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let n=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=Ut.HIDDEN,n!==null&&(e.element.removeEventListener("transitionend",n.onTransitionEnd),e.element.removeEventListener("transitioncancel",n.onTransitionCancel)),e.element.remove()}_onMousedown(e){let n=Ku(e),i=this._lastTouchStartEvent&&Date.now(){let n=e.state===Ut.VISIBLE||e.config.terminateOnPointerUp&&e.state===Ut.FADING_IN;!e.config.persistent&&n&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(ep.forEach(n=>Ps._eventManager.removeHandler(n,e,this)),this._pointerUpEventsRegistered&&tp.forEach(n=>e.removeEventListener(n,this,J8)))}};Ps._eventManager=new r4;var X1=Ps;function WE(t,e,n){let i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}var s4=new C("mat-ripple-global-options"),sp=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(i){i&&this.fadeOutAllNonPersistent(),this._disabled=i,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(i){this._trigger=i,this._setupTriggerEventsIfEnabled()}constructor(i,r,o,s,a){this._elementRef=i,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new X1(this,r,i,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:D(D(D({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{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(i,r=0,o){return typeof i=="number"?this._rippleRenderer.fadeInRipple(i,r,D(D({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,D(D({},this.rippleConfig),i))}};e.\u0275fac=function(r){return new(r||e)(h(V),h(S),h(De),h(s4,8),h(vt,8))},e.\u0275dir=N({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&me("mat-ripple-unbounded",o.unbounded)},inputs:{color:[x.None,"matRippleColor","color"],unbounded:[x.None,"matRippleUnbounded","unbounded"],centered:[x.None,"matRippleCentered","centered"],radius:[x.None,"matRippleRadius","radius"],animation:[x.None,"matRippleAnimation","animation"],disabled:[x.None,"matRippleDisabled","disabled"],trigger:[x.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let t=e;return t})(),Vs=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,pe]});let t=e;return t})(),GE=(()=>{let e=class e{constructor(i){this._animationMode=i,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(r){return new(r||e)(h(vt,8))},e.\u0275cmp=Y({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,o){r&2&&me("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[be],decls:0,vars:0,template:function(r,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let t=e;return t})(),a4=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe]});let t=e;return t})(),c4=new C("MAT_OPTION_PARENT_COMPONENT");var l4=new C("MatOptgroup");var ZE=0,o4=class{constructor(e,n=!1){this.source=e,this.isUserInput=n}},tl=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(i){this._disabled=i}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(i,r,o,s){this._element=i,this._changeDetectorRef=r,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${ZE++}`,this.onSelectionChange=new ie,this._stateChanges=new H}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(i=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}deselect(i=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}focus(i,r){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(r)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!ei(i)&&(this._selectViaInteraction(),i.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let i=this.viewValue;i!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=i)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(i=!1){this.onSelectionChange.emit(new o4(this,i))}};e.\u0275fac=function(r){return new(r||e)(h(V),h(st),h(c4,8),h(l4,8))},e.\u0275cmp=Y({type:e,selectors:[["mat-option"]],viewQuery:function(r,o){if(r&1&&et(LE,7),r&2){let s;re(s=oe())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(r,o){r&1&&Qe("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),r&2&&(rr("id",o.id),He("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),me("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[x.HasDecoratorInputTransform,"disabled","disabled",_e]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Ze,be],ngContentSelectors:BE,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(r,o){r&1&&(Be(HE),ue(0,PE,1,2,"mat-pseudo-checkbox",0),te(1),M(2,"span",1,2),te(4,1),I(),ue(5,VE,1,1,"mat-pseudo-checkbox",3)(6,jE,2,1,"span",4),he(7,"div",5)),r&2&&(Te(0,o.multiple?0:-1),R(5),Te(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),R(),Te(6,o.group&&o.group._inert?6:-1),R(),fe("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[GE,sp],styles:['.mat-mdc-option{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;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let t=e;return t})();function ap(t,e,n){if(n.length){let i=e.toArray(),r=n.toArray(),o=0;for(let s=0;sn+i?Math.max(0,t-i+e):n}var d4=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[Vs,pe,a4]});let t=e;return t})(),ip={capture:!0},np=["focus","click","mouseenter","touchstart"],t4="mat-ripple-loader-uninitialized",i4="mat-ripple-loader-class-name",rp="mat-ripple-loader-centered",Q1="mat-ripple-loader-disabled",lp=(()=>{let e=class e{constructor(){this._document=b(B,{optional:!0}),this._animationMode=b(vt,{optional:!0}),this._globalRippleOptions=b(s4,{optional:!0}),this._platform=b(De),this._ngZone=b(S),this._hosts=new Map,this._onInteraction=i=>{if(!(i.target instanceof HTMLElement))return;let o=i.target.closest(`[${t4}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let i of np)this._document?.addEventListener(i,this._onInteraction,ip)})}ngOnDestroy(){let i=this._hosts.keys();for(let r of i)this.destroyRipple(r);for(let r of np)this._document?.removeEventListener(r,this._onInteraction,ip)}configureRipple(i,r){i.setAttribute(t4,""),(r.className||!i.hasAttribute(i4))&&i.setAttribute(i4,r.className||""),r.centered&&i.setAttribute(rp,""),r.disabled&&i.setAttribute(Q1,"")}getRipple(i){return this._hosts.get(i)||this._createRipple(i)}setDisabled(i,r){let o=this._hosts.get(i);if(o){o.disabled=r;return}r?i.setAttribute(Q1,""):i.removeAttribute(Q1)}_createRipple(i){if(!this._document)return;let r=this._hosts.get(i);if(r)return r;i.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",i.getAttribute(i4)),i.append(o);let s=new sp(new V(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=i,s.centered=i.hasAttribute(rp),s.disabled=i.hasAttribute(Q1),this.attachRipple(i,s),s}attachRipple(i,r){i.removeAttribute(t4),this._hosts.set(i,r)}destroyRipple(i){let r=this._hosts.get(i);r&&(r.ngOnDestroy(),this._hosts.delete(i))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var YE=["*"],il;function QE(){if(il===void 0&&(il=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(il=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return il}function js(t){return QE()?.createHTML(t)||t}function up(t){return Error(`Unable to find icon with the name "${t}"`)}function KE(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function fp(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function mp(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var Zi=class{constructor(e,n,i){this.url=e,this.svgText=n,this.options=i}},u4=(()=>{let e=class e{constructor(i,r,o,s){this._httpClient=i,this._sanitizer=r,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(i,r,o){return this.addSvgIconInNamespace("",i,r,o)}addSvgIconLiteral(i,r,o){return this.addSvgIconLiteralInNamespace("",i,r,o)}addSvgIconInNamespace(i,r,o,s){return this._addSvgIconConfig(i,r,new Zi(o,null,s))}addSvgIconResolver(i){return this._resolvers.push(i),this}addSvgIconLiteralInNamespace(i,r,o,s){let a=this._sanitizer.sanitize(ft.HTML,o);if(!a)throw mp(o);let c=js(a);return this._addSvgIconConfig(i,r,new Zi("",c,s))}addSvgIconSet(i,r){return this.addSvgIconSetInNamespace("",i,r)}addSvgIconSetLiteral(i,r){return this.addSvgIconSetLiteralInNamespace("",i,r)}addSvgIconSetInNamespace(i,r,o){return this._addSvgIconSetConfig(i,new Zi(r,null,o))}addSvgIconSetLiteralInNamespace(i,r,o){let s=this._sanitizer.sanitize(ft.HTML,r);if(!s)throw mp(r);let a=js(s);return this._addSvgIconSetConfig(i,new Zi("",a,o))}registerFontClassAlias(i,r=i){return this._fontCssClassesByAlias.set(i,r),this}classNameForFontAlias(i){return this._fontCssClassesByAlias.get(i)||i}setDefaultFontSetClass(...i){return this._defaultFontSetClass=i,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(i){let r=this._sanitizer.sanitize(ft.RESOURCE_URL,i);if(!r)throw fp(i);let o=this._cachedIconsByUrl.get(r);return o?A(nl(o)):this._loadSvgIconFromConfig(new Zi(i,null)).pipe(ze(s=>this._cachedIconsByUrl.set(r,s)),P(s=>nl(s)))}getNamedSvgIcon(i,r=""){let o=hp(r,i),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(r,i),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(r);return a?this._getSvgFromIconSetConfigs(i,a):rn(up(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(i){return i.svgText?A(nl(this._svgElementFromConfig(i))):this._loadSvgIconFromConfig(i).pipe(P(r=>nl(r)))}_getSvgFromIconSetConfigs(i,r){let o=this._extractIconWithNameFromAnySet(i,r);if(o)return A(o);let s=r.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Yt(c=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(ft.RESOURCE_URL,a.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(d)),A(null)})));return qo(s).pipe(P(()=>{let a=this._extractIconWithNameFromAnySet(i,r);if(!a)throw up(i);return a}))}_extractIconWithNameFromAnySet(i,r){for(let o=r.length-1;o>=0;o--){let s=r[o];if(s.svgText&&s.svgText.toString().indexOf(i)>-1){let a=this._svgElementFromConfig(s),c=this._extractSvgIconFromSet(a,i,s.options);if(c)return c}}return null}_loadSvgIconFromConfig(i){return this._fetchIcon(i).pipe(ze(r=>i.svgText=r),P(()=>this._svgElementFromConfig(i)))}_loadSvgIconSetFromConfig(i){return i.svgText?A(null):this._fetchIcon(i).pipe(ze(r=>i.svgText=r))}_extractSvgIconFromSet(i,r,o){let s=i.querySelector(`[id="${r}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let c=this._svgElementFromString(js(""));return c.appendChild(a),this._setSvgAttributes(c,o)}_svgElementFromString(i){let r=this._document.createElement("DIV");r.innerHTML=i;let o=r.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(i){let r=this._svgElementFromString(js("")),o=i.attributes;for(let s=0;sjs(d)),li(()=>this._inProgressUrlFetches.delete(a)),Zo());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(i,r,o){return this._svgIconConfigs.set(hp(i,r),o),this}_addSvgIconSetConfig(i,r){let o=this._iconSetConfigs.get(i);return o?o.push(r):this._iconSetConfigs.set(i,[r]),this}_svgElementFromConfig(i){if(!i.svgElement){let r=this._svgElementFromString(i.svgText);this._setSvgAttributes(r,i.options),i.svgElement=r}return i.svgElement}_getIconConfigFromResolvers(i,r){for(let o=0;oe?e.pathname+e.search:""}}var pp=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],iM=pp.map(t=>`[${t}]`).join(", "),nM=/^url\(['"]?#(.*?)['"]?\)$/,po=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(i){this._color=i}get svgIcon(){return this._svgIcon}set svgIcon(i){i!==this._svgIcon&&(i?this._updateSvgIcon(i):this._svgIcon&&this._clearSvgElement(),this._svgIcon=i)}get fontSet(){return this._fontSet}set fontSet(i){let r=this._cleanupFontValue(i);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(i){let r=this._cleanupFontValue(i);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}constructor(i,r,o,s,a,c){this._elementRef=i,this._iconRegistry=r,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ve.EMPTY,c&&(c.color&&(this.color=this._defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),o||i.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(i){if(!i)return["",""];let r=i.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${i}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let i=this._elementsWithExternalReferences;if(i&&i.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(i){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(i),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(i)}_clearSvgElement(){let i=this._elementRef.nativeElement,r=i.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=i.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let i=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>i.classList.remove(o)),r.forEach(o=>i.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&i.classList.remove(this._previousFontIconClass),this.fontIcon&&i.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(i){return typeof i=="string"?i.trim().split(" ")[0]:i}_prependPathToReferences(i){let r=this._elementsWithExternalReferences;r&&r.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${i}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(i){let r=i.querySelectorAll(iM),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{let c=r[s],l=c.getAttribute(a),d=l?l.match(nM):null;if(d){let u=o.get(c);u||(u=[],o.set(c,u)),u.push({name:a,value:d[1]})}})}_updateSvgIcon(i){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),i){let[r,o]=this._splitIconName(i);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(Ve(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${r}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};e.\u0275fac=function(r){return new(r||e)(h(V),h(u4),gi("aria-hidden"),h(eM),h(kt),h(JE,8))},e.\u0275cmp=Y({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(He("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),nr(o.color?"mat-"+o.color:""),me("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[x.HasDecoratorInputTransform,"inline","inline",_e],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Ze,be],ngContentSelectors:YE,decls:1,vars:0,template:function(r,o){r&1&&(Be(),te(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let t=e;return t})(),gp=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,pe]});let t=e;return t})();function vp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function T(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);n-1;r--){var o=n[r],s=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(i=o)}return Pe.head.insertBefore(e,i),t}}var IM="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Zs(){for(var t=12,e="";t-- >0;)e+=IM[Math.random()*62|0];return e}function yo(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function R4(t){return t.classList?yo(t.classList):(t.getAttribute("class")||"").split(" ").filter(function(e){return e})}function e7(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function SM(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,'="').concat(e7(t[n]),'" ')},"").trim()}function bl(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,": ").concat(t[n].trim(),";")},"")}function O4(t){return t.size!==Ei.size||t.x!==Ei.x||t.y!==Ei.y||t.rotate!==Ei.rotate||t.flipX||t.flipY}function kM(t){var e=t.transform,n=t.containerWidth,i=t.iconWidth,r={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(e.x*32,", ").concat(e.y*32,") "),s="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),a="rotate(".concat(e.rotate," 0 0)"),c={transform:"".concat(o," ").concat(s," ").concat(a)},l={transform:"translate(".concat(i/2*-1," -256)")};return{outer:r,inner:c,path:l}}function TM(t){var e=t.transform,n=t.width,i=n===void 0?b4:n,r=t.height,o=r===void 0?b4:r,s=t.startCentered,a=s===void 0?!1:s,c="";return a&&Gp?c+="translate(".concat(e.x/xn-i/2,"em, ").concat(e.y/xn-o/2,"em) "):a?c+="translate(calc(-50% + ".concat(e.x/xn,"em), calc(-50% + ").concat(e.y/xn,"em)) "):c+="translate(".concat(e.x/xn,"em, ").concat(e.y/xn,"em) "),c+="scale(".concat(e.size/xn*(e.flipX?-1:1),", ").concat(e.size/xn*(e.flipY?-1:1),") "),c+="rotate(".concat(e.rotate,"deg) "),c}var AM=`:root, :host { - --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; - --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; - --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; - --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin"; - --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; - --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp"; - --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; -} - -svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { - overflow: visible; - box-sizing: content-box; -} - -.svg-inline--fa { - display: var(--fa-display, inline-block); - height: 1em; - overflow: visible; - vertical-align: -0.125em; -} -.svg-inline--fa.fa-2xs { - vertical-align: 0.1em; -} -.svg-inline--fa.fa-xs { - vertical-align: 0em; -} -.svg-inline--fa.fa-sm { - vertical-align: -0.0714285705em; -} -.svg-inline--fa.fa-lg { - vertical-align: -0.2em; -} -.svg-inline--fa.fa-xl { - vertical-align: -0.25em; -} -.svg-inline--fa.fa-2xl { - vertical-align: -0.3125em; -} -.svg-inline--fa.fa-pull-left { - margin-right: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-pull-right { - margin-left: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-li { - width: var(--fa-li-width, 2em); - top: 0.25em; -} -.svg-inline--fa.fa-fw { - width: var(--fa-fw-width, 1.25em); -} - -.fa-layers svg.svg-inline--fa { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; -} - -.fa-layers-counter, .fa-layers-text { - display: inline-block; - position: absolute; - text-align: center; -} - -.fa-layers { - display: inline-block; - height: 1em; - position: relative; - text-align: center; - vertical-align: -0.125em; - width: 1em; -} -.fa-layers svg.svg-inline--fa { - -webkit-transform-origin: center center; - transform-origin: center center; -} - -.fa-layers-text { - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - -webkit-transform-origin: center center; - transform-origin: center center; -} - -.fa-layers-counter { - background-color: var(--fa-counter-background-color, #ff253a); - border-radius: var(--fa-counter-border-radius, 1em); - box-sizing: border-box; - color: var(--fa-inverse, #fff); - line-height: var(--fa-counter-line-height, 1); - max-width: var(--fa-counter-max-width, 5em); - min-width: var(--fa-counter-min-width, 1.5em); - overflow: hidden; - padding: var(--fa-counter-padding, 0.25em 0.5em); - right: var(--fa-right, 0); - text-overflow: ellipsis; - top: var(--fa-top, 0); - -webkit-transform: scale(var(--fa-counter-scale, 0.25)); - transform: scale(var(--fa-counter-scale, 0.25)); - -webkit-transform-origin: top right; - transform-origin: top right; -} - -.fa-layers-bottom-right { - bottom: var(--fa-bottom, 0); - right: var(--fa-right, 0); - top: auto; - -webkit-transform: scale(var(--fa-layers-scale, 0.25)); - transform: scale(var(--fa-layers-scale, 0.25)); - -webkit-transform-origin: bottom right; - transform-origin: bottom right; -} - -.fa-layers-bottom-left { - bottom: var(--fa-bottom, 0); - left: var(--fa-left, 0); - right: auto; - top: auto; - -webkit-transform: scale(var(--fa-layers-scale, 0.25)); - transform: scale(var(--fa-layers-scale, 0.25)); - -webkit-transform-origin: bottom left; - transform-origin: bottom left; -} - -.fa-layers-top-right { - top: var(--fa-top, 0); - right: var(--fa-right, 0); - -webkit-transform: scale(var(--fa-layers-scale, 0.25)); - transform: scale(var(--fa-layers-scale, 0.25)); - -webkit-transform-origin: top right; - transform-origin: top right; -} - -.fa-layers-top-left { - left: var(--fa-left, 0); - right: auto; - top: var(--fa-top, 0); - -webkit-transform: scale(var(--fa-layers-scale, 0.25)); - transform: scale(var(--fa-layers-scale, 0.25)); - -webkit-transform-origin: top left; - transform-origin: top left; -} - -.fa-1x { - font-size: 1em; -} - -.fa-2x { - font-size: 2em; -} - -.fa-3x { - font-size: 3em; -} - -.fa-4x { - font-size: 4em; -} - -.fa-5x { - font-size: 5em; -} - -.fa-6x { - font-size: 6em; -} - -.fa-7x { - font-size: 7em; -} - -.fa-8x { - font-size: 8em; -} - -.fa-9x { - font-size: 9em; -} - -.fa-10x { - font-size: 10em; -} - -.fa-2xs { - font-size: 0.625em; - line-height: 0.1em; - vertical-align: 0.225em; -} - -.fa-xs { - font-size: 0.75em; - line-height: 0.0833333337em; - vertical-align: 0.125em; -} - -.fa-sm { - font-size: 0.875em; - line-height: 0.0714285718em; - vertical-align: 0.0535714295em; -} - -.fa-lg { - font-size: 1.25em; - line-height: 0.05em; - vertical-align: -0.075em; -} - -.fa-xl { - font-size: 1.5em; - line-height: 0.0416666682em; - vertical-align: -0.125em; -} - -.fa-2xl { - font-size: 2em; - line-height: 0.03125em; - vertical-align: -0.1875em; -} - -.fa-fw { - text-align: center; - width: 1.25em; -} - -.fa-ul { - list-style-type: none; - margin-left: var(--fa-li-margin, 2.5em); - padding-left: 0; -} -.fa-ul > li { - position: relative; -} - -.fa-li { - left: calc(var(--fa-li-width, 2em) * -1); - position: absolute; - text-align: center; - width: var(--fa-li-width, 2em); - line-height: inherit; -} - -.fa-border { - border-color: var(--fa-border-color, #eee); - border-radius: var(--fa-border-radius, 0.1em); - border-style: var(--fa-border-style, solid); - border-width: var(--fa-border-width, 0.08em); - padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); -} - -.fa-pull-left { - float: left; - margin-right: var(--fa-pull-margin, 0.3em); -} - -.fa-pull-right { - float: right; - margin-left: var(--fa-pull-margin, 0.3em); -} - -.fa-beat { - -webkit-animation-name: fa-beat; - animation-name: fa-beat; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-bounce { - -webkit-animation-name: fa-bounce; - animation-name: fa-bounce; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); -} - -.fa-fade { - -webkit-animation-name: fa-fade; - animation-name: fa-fade; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-beat-fade { - -webkit-animation-name: fa-beat-fade; - animation-name: fa-beat-fade; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-flip { - -webkit-animation-name: fa-flip; - animation-name: fa-flip; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-shake { - -webkit-animation-name: fa-shake; - animation-name: fa-shake; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, linear); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin { - -webkit-animation-name: fa-spin; - animation-name: fa-spin; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 2s); - animation-duration: var(--fa-animation-duration, 2s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, linear); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin-reverse { - --fa-animation-direction: reverse; -} - -.fa-pulse, -.fa-spin-pulse { - -webkit-animation-name: fa-spin; - animation-name: fa-spin; - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, steps(8)); - animation-timing-function: var(--fa-animation-timing, steps(8)); -} - -@media (prefers-reduced-motion: reduce) { - .fa-beat, -.fa-bounce, -.fa-fade, -.fa-beat-fade, -.fa-flip, -.fa-pulse, -.fa-shake, -.fa-spin, -.fa-spin-pulse { - -webkit-animation-delay: -1ms; - animation-delay: -1ms; - -webkit-animation-duration: 1ms; - animation-duration: 1ms; - -webkit-animation-iteration-count: 1; - animation-iteration-count: 1; - -webkit-transition-delay: 0s; - transition-delay: 0s; - -webkit-transition-duration: 0s; - transition-duration: 0s; - } -} -@-webkit-keyframes fa-beat { - 0%, 90% { - -webkit-transform: scale(1); - transform: scale(1); - } - 45% { - -webkit-transform: scale(var(--fa-beat-scale, 1.25)); - transform: scale(var(--fa-beat-scale, 1.25)); - } -} -@keyframes fa-beat { - 0%, 90% { - -webkit-transform: scale(1); - transform: scale(1); - } - 45% { - -webkit-transform: scale(var(--fa-beat-scale, 1.25)); - transform: scale(var(--fa-beat-scale, 1.25)); - } -} -@-webkit-keyframes fa-bounce { - 0% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } - 10% { - -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - } - 30% { - -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - } - 50% { - -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - } - 57% { - -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - } - 64% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } - 100% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } -} -@keyframes fa-bounce { - 0% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } - 10% { - -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - } - 30% { - -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - } - 50% { - -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - } - 57% { - -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - } - 64% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } - 100% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } -} -@-webkit-keyframes fa-fade { - 50% { - opacity: var(--fa-fade-opacity, 0.4); - } -} -@keyframes fa-fade { - 50% { - opacity: var(--fa-fade-opacity, 0.4); - } -} -@-webkit-keyframes fa-beat-fade { - 0%, 100% { - opacity: var(--fa-beat-fade-opacity, 0.4); - -webkit-transform: scale(1); - transform: scale(1); - } - 50% { - opacity: 1; - -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); - transform: scale(var(--fa-beat-fade-scale, 1.125)); - } -} -@keyframes fa-beat-fade { - 0%, 100% { - opacity: var(--fa-beat-fade-opacity, 0.4); - -webkit-transform: scale(1); - transform: scale(1); - } - 50% { - opacity: 1; - -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); - transform: scale(var(--fa-beat-fade-scale, 1.125)); - } -} -@-webkit-keyframes fa-flip { - 50% { - -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - } -} -@keyframes fa-flip { - 50% { - -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - } -} -@-webkit-keyframes fa-shake { - 0% { - -webkit-transform: rotate(-15deg); - transform: rotate(-15deg); - } - 4% { - -webkit-transform: rotate(15deg); - transform: rotate(15deg); - } - 8%, 24% { - -webkit-transform: rotate(-18deg); - transform: rotate(-18deg); - } - 12%, 28% { - -webkit-transform: rotate(18deg); - transform: rotate(18deg); - } - 16% { - -webkit-transform: rotate(-22deg); - transform: rotate(-22deg); - } - 20% { - -webkit-transform: rotate(22deg); - transform: rotate(22deg); - } - 32% { - -webkit-transform: rotate(-12deg); - transform: rotate(-12deg); - } - 36% { - -webkit-transform: rotate(12deg); - transform: rotate(12deg); - } - 40%, 100% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } -} -@keyframes fa-shake { - 0% { - -webkit-transform: rotate(-15deg); - transform: rotate(-15deg); - } - 4% { - -webkit-transform: rotate(15deg); - transform: rotate(15deg); - } - 8%, 24% { - -webkit-transform: rotate(-18deg); - transform: rotate(-18deg); - } - 12%, 28% { - -webkit-transform: rotate(18deg); - transform: rotate(18deg); - } - 16% { - -webkit-transform: rotate(-22deg); - transform: rotate(-22deg); - } - 20% { - -webkit-transform: rotate(22deg); - transform: rotate(22deg); - } - 32% { - -webkit-transform: rotate(-12deg); - transform: rotate(-12deg); - } - 36% { - -webkit-transform: rotate(12deg); - transform: rotate(12deg); - } - 40%, 100% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } -} -@-webkit-keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -@keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -.fa-rotate-90 { - -webkit-transform: rotate(90deg); - transform: rotate(90deg); -} - -.fa-rotate-180 { - -webkit-transform: rotate(180deg); - transform: rotate(180deg); -} - -.fa-rotate-270 { - -webkit-transform: rotate(270deg); - transform: rotate(270deg); -} - -.fa-flip-horizontal { - -webkit-transform: scale(-1, 1); - transform: scale(-1, 1); -} - -.fa-flip-vertical { - -webkit-transform: scale(1, -1); - transform: scale(1, -1); -} - -.fa-flip-both, -.fa-flip-horizontal.fa-flip-vertical { - -webkit-transform: scale(-1, -1); - transform: scale(-1, -1); -} - -.fa-rotate-by { - -webkit-transform: rotate(var(--fa-rotate-angle, none)); - transform: rotate(var(--fa-rotate-angle, none)); -} - -.fa-stack { - display: inline-block; - vertical-align: middle; - height: 2em; - position: relative; - width: 2.5em; -} - -.fa-stack-1x, -.fa-stack-2x { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; - z-index: var(--fa-stack-z-index, auto); -} - -.svg-inline--fa.fa-stack-1x { - height: 1em; - width: 1.25em; -} -.svg-inline--fa.fa-stack-2x { - height: 2em; - width: 2.5em; -} - -.fa-inverse { - color: var(--fa-inverse, #fff); -} - -.sr-only, -.fa-sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.sr-only-focusable:not(:focus), -.fa-sr-only-focusable:not(:focus) { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.svg-inline--fa .fa-primary { - fill: var(--fa-primary-color, currentColor); - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa .fa-secondary { - fill: var(--fa-secondary-color, currentColor); - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-primary { - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-secondary { - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa mask .fa-primary, -.svg-inline--fa mask .fa-secondary { - fill: black; -} - -.fad.fa-inverse, -.fa-duotone.fa-inverse { - color: var(--fa-inverse, #fff); -}`;function t7(){var t=Zp,e=Yp,n=L.cssPrefix,i=L.replacementClass,r=AM;if(n!==t||i!==e){var o=new RegExp("\\.".concat(t,"\\-"),"g"),s=new RegExp("\\--".concat(t,"\\-"),"g"),a=new RegExp("\\.".concat(e),"g");r=r.replace(o,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(a,".".concat(i))}return r}var Ep=!1;function m4(){L.autoAddCss&&!Ep&&(MM(t7()),Ep=!0)}var NM={mixout:function(){return{dom:{css:t7,insertCss:m4}}},hooks:function(){return{beforeDOMElementCreation:function(){m4()},beforeI2svg:function(){m4()}}}},Qi=Cn||{};Qi[Yi]||(Qi[Yi]={});Qi[Yi].styles||(Qi[Yi].styles={});Qi[Yi].hooks||(Qi[Yi].hooks={});Qi[Yi].shims||(Qi[Yi].shims=[]);var ii=Qi[Yi],i7=[],RM=function t(){Pe.removeEventListener("DOMContentLoaded",t),gl=1,i7.map(function(e){return e()})},gl=!1;Xi&&(gl=(Pe.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Pe.readyState),gl||Pe.addEventListener("DOMContentLoaded",RM));function OM(t){Xi&&(gl?setTimeout(t,0):i7.push(t))}function Ks(t){var e=t.tag,n=t.attributes,i=n===void 0?{}:n,r=t.children,o=r===void 0?[]:r;return typeof t=="string"?e7(t):"<".concat(e," ").concat(SM(i),">").concat(o.map(Ks).join(""),"")}function Mp(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}var FM=function(e,n){return function(i,r,o,s){return e.call(n,i,r,o,s)}},h4=function(e,n,i,r){var o=Object.keys(e),s=o.length,a=r!==void 0?FM(n,r):n,c,l,d;for(i===void 0?(c=1,d=e[o[0]]):(c=0,d=i);c=55296&&r<=56319&&n=55296&&i<=56319&&n>e+1&&(r=t.charCodeAt(e+1),r>=56320&&r<=57343)?(i-55296)*1024+r-56320+65536:i}function Ip(t){return Object.keys(t).reduce(function(e,n){var i=t[n],r=!!i.icon;return r?e[i.iconName]=i.icon:e[n]=i,e},{})}function w4(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.skipHooks,r=i===void 0?!1:i,o=Ip(e);typeof ii.hooks.addPack=="function"&&!r?ii.hooks.addPack(t,Ip(e)):ii.styles[t]=T(T({},ii.styles[t]||{}),o),t==="fas"&&w4("fa",e)}var dl,ul,fl,go=ii.styles,PM=ii.shims,VM=(dl={},tt(dl,Le,Object.values(Ws[Le])),tt(dl,qe,Object.values(Ws[qe])),dl),F4=null,n7={},r7={},o7={},s7={},a7={},jM=(ul={},tt(ul,Le,Object.keys($s[Le])),tt(ul,qe,Object.keys($s[qe])),ul);function HM(t){return~xM.indexOf(t)}function BM(t,e){var n=e.split("-"),i=n[0],r=n.slice(1).join("-");return i===t&&r!==""&&!HM(r)?r:null}var c7=function(){var e=function(o){return h4(go,function(s,a,c){return s[c]=h4(a,o,{}),s},{})};n7=e(function(r,o,s){if(o[3]&&(r[o[3]]=s),o[2]){var a=o[2].filter(function(c){return typeof c=="number"});a.forEach(function(c){r[c.toString(16)]=s})}return r}),r7=e(function(r,o,s){if(r[s]=s,o[2]){var a=o[2].filter(function(c){return typeof c=="string"});a.forEach(function(c){r[c]=s})}return r}),a7=e(function(r,o,s){var a=o[2];return r[s]=s,a.forEach(function(c){r[c]=s}),r});var n="far"in go||L.autoFetchSvg,i=h4(PM,function(r,o){var s=o[0],a=o[1],c=o[2];return a==="far"&&!n&&(a="fas"),typeof s=="string"&&(r.names[s]={prefix:a,iconName:c}),typeof s=="number"&&(r.unicodes[s.toString(16)]={prefix:a,iconName:c}),r},{names:{},unicodes:{}});o7=i.names,s7=i.unicodes,F4=_l(L.styleDefault,{family:L.familyDefault})};EM(function(t){F4=_l(t.styleDefault,{family:L.familyDefault})});c7();function z4(t,e){return(n7[t]||{})[e]}function UM(t,e){return(r7[t]||{})[e]}function hr(t,e){return(a7[t]||{})[e]}function l7(t){return o7[t]||{prefix:null,iconName:null}}function $M(t){var e=s7[t],n=z4("fas",t);return e||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Dn(){return F4}var L4=function(){return{prefix:null,iconName:null,rest:[]}};function _l(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.family,i=n===void 0?Le:n,r=$s[i][t],o=qs[i][t]||qs[i][r],s=t in ii.styles?t:null;return o||s||null}var Sp=(fl={},tt(fl,Le,Object.keys(Ws[Le])),tt(fl,qe,Object.keys(Ws[qe])),fl);function yl(t){var e,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.skipLookups,r=i===void 0?!1:i,o=(e={},tt(e,Le,"".concat(L.cssPrefix,"-").concat(Le)),tt(e,qe,"".concat(L.cssPrefix,"-").concat(qe)),e),s=null,a=Le;(t.includes(o[Le])||t.some(function(l){return Sp[Le].includes(l)}))&&(a=Le),(t.includes(o[qe])||t.some(function(l){return Sp[qe].includes(l)}))&&(a=qe);var c=t.reduce(function(l,d){var u=BM(L.cssPrefix,d);if(go[d]?(d=VM[a].includes(d)?gM[a][d]:d,s=d,l.prefix=d):jM[a].indexOf(d)>-1?(s=d,l.prefix=_l(d,{family:a})):u?l.iconName=u:d!==L.replacementClass&&d!==o[Le]&&d!==o[qe]&&l.rest.push(d),!r&&l.prefix&&l.iconName){var f=s==="fa"?l7(l.iconName):{},m=hr(l.prefix,l.iconName);f.prefix&&(s=null),l.iconName=f.iconName||m||l.iconName,l.prefix=f.prefix||l.prefix,l.prefix==="far"&&!go.far&&go.fas&&!L.autoFetchSvg&&(l.prefix="fas")}return l},L4());return(t.includes("fa-brands")||t.includes("fab"))&&(c.prefix="fab"),(t.includes("fa-duotone")||t.includes("fad"))&&(c.prefix="fad"),!c.prefix&&a===qe&&(go.fass||L.autoFetchSvg)&&(c.prefix="fass",c.iconName=hr(c.prefix,c.iconName)||c.iconName),(c.prefix==="fa"||s==="fa")&&(c.prefix=Dn()||"fas"),c}var qM=function(){function t(){rM(this,t),this.definitions={}}return oM(t,[{key:"add",value:function(){for(var n=this,i=arguments.length,r=new Array(i),o=0;o0&&d.forEach(function(u){typeof u=="string"&&(n[a][u]=l)}),n[a][c]=l}),n}}]),t}(),kp=[],vo={},bo={},WM=Object.keys(bo);function GM(t,e){var n=e.mixoutsTo;return kp=t,vo={},Object.keys(bo).forEach(function(i){WM.indexOf(i)===-1&&delete bo[i]}),kp.forEach(function(i){var r=i.mixout?i.mixout():{};if(Object.keys(r).forEach(function(s){typeof r[s]=="function"&&(n[s]=r[s]),pl(r[s])==="object"&&Object.keys(r[s]).forEach(function(a){n[s]||(n[s]={}),n[s][a]=r[s][a]})}),i.hooks){var o=i.hooks();Object.keys(o).forEach(function(s){vo[s]||(vo[s]=[]),vo[s].push(o[s])})}i.provides&&i.provides(bo)}),n}function x4(t,e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r1?e-1:0),i=1;i0&&arguments[0]!==void 0?arguments[0]:{};return Xi?(gr("beforeI2svg",e),Ki("pseudoElements2svg",e),Ki("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.autoReplaceSvgRoot;L.autoReplaceSvg===!1&&(L.autoReplaceSvg=!0),L.observeMutations=!0,OM(function(){KM({autoReplaceSvgRoot:n}),gr("watch",e)})}},QM={icon:function(e){if(e===null)return null;if(pl(e)==="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:hr(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){var n=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],i=_l(e[0]);return{prefix:i,iconName:hr(i,n)||n}}if(typeof e=="string"&&(e.indexOf("".concat(L.cssPrefix,"-"))>-1||e.match(vM))){var r=yl(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Dn(),iconName:hr(r.prefix,r.iconName)||r.iconName}}if(typeof e=="string"){var o=Dn();return{prefix:o,iconName:hr(o,e)||e}}}},Rt={noAuto:ZM,config:L,dom:YM,parse:QM,library:d7,findIconDefinition:C4,toHtml:Ks},KM=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.autoReplaceSvgRoot,i=n===void 0?Pe:n;(Object.keys(ii.styles).length>0||L.autoFetchSvg)&&Xi&&L.autoReplaceSvg&&Rt.dom.i2svg({node:i})};function wl(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(function(i){return Ks(i)})}}),Object.defineProperty(t,"node",{get:function(){if(Xi){var i=Pe.createElement("div");return i.innerHTML=t.html,i.children}}}),t}function XM(t){var e=t.children,n=t.main,i=t.mask,r=t.attributes,o=t.styles,s=t.transform;if(O4(s)&&n.found&&!i.found){var a=n.width,c=n.height,l={x:a/c/2,y:.5};r.style=bl(T(T({},o),{},{"transform-origin":"".concat(l.x+s.x/16,"em ").concat(l.y+s.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}function JM(t){var e=t.prefix,n=t.iconName,i=t.children,r=t.attributes,o=t.symbol,s=o===!0?"".concat(e,"-").concat(L.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:T(T({},r),{},{id:s}),children:i}]}]}function P4(t){var e=t.icons,n=e.main,i=e.mask,r=t.prefix,o=t.iconName,s=t.transform,a=t.symbol,c=t.title,l=t.maskId,d=t.titleId,u=t.extra,f=t.watchable,m=f===void 0?!1:f,p=i.found?i:n,v=p.width,_=p.height,y=r==="fak",k=[L.replacementClass,o?"".concat(L.cssPrefix,"-").concat(o):""].filter(function(it){return u.classes.indexOf(it)===-1}).filter(function(it){return it!==""||!!it}).concat(u.classes).join(" "),Q={children:[],attributes:T(T({},u.attributes),{},{"data-prefix":r,"data-icon":o,class:k,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(_)})},j=y&&!~u.classes.indexOf("fa-fw")?{width:"".concat(v/_*16*.0625,"em")}:{};m&&(Q.attributes[pr]=""),c&&(Q.children.push({tag:"title",attributes:{id:Q.attributes["aria-labelledby"]||"title-".concat(d||Zs())},children:[c]}),delete Q.attributes.title);var ge=T(T({},Q),{},{prefix:r,iconName:o,main:n,mask:i,maskId:l,transform:s,symbol:a,styles:T(T({},j),u.styles)}),we=i.found&&n.found?Ki("generateAbstractMask",ge)||{children:[],attributes:{}}:Ki("generateAbstractIcon",ge)||{children:[],attributes:{}},Me=we.children,Xe=we.attributes;return ge.children=Me,ge.attributes=Xe,a?JM(ge):XM(ge)}function Tp(t){var e=t.content,n=t.width,i=t.height,r=t.transform,o=t.title,s=t.extra,a=t.watchable,c=a===void 0?!1:a,l=T(T(T({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});c&&(l[pr]="");var d=T({},s.styles);O4(r)&&(d.transform=TM({transform:r,startCentered:!0,width:n,height:i}),d["-webkit-transform"]=d.transform);var u=bl(d);u.length>0&&(l.style=u);var f=[];return f.push({tag:"span",attributes:l,children:[e]}),o&&f.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),f}function eI(t){var e=t.content,n=t.title,i=t.extra,r=T(T(T({},i.attributes),n?{title:n}:{}),{},{class:i.classes.join(" ")}),o=bl(i.styles);o.length>0&&(r.style=o);var s=[];return s.push({tag:"span",attributes:r,children:[e]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var p4=ii.styles;function D4(t){var e=t[0],n=t[1],i=t.slice(4),r=S4(i,1),o=r[0],s=null;return Array.isArray(o)?s={tag:"g",attributes:{class:"".concat(L.cssPrefix,"-").concat(mr.GROUP)},children:[{tag:"path",attributes:{class:"".concat(L.cssPrefix,"-").concat(mr.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(L.cssPrefix,"-").concat(mr.PRIMARY),fill:"currentColor",d:o[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:e,height:n,icon:s}}var tI={found:!1,width:512,height:512};function iI(t,e){!Qp&&!L.showMissingIcons&&t&&console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}function E4(t,e){var n=e;return e==="fa"&&L.styleDefault!==null&&(e=Dn()),new Promise(function(i,r){var o={found:!1,width:512,height:512,icon:Ki("missingIconAbstract")||{}};if(n==="fa"){var s=l7(t)||{};t=s.iconName||t,e=s.prefix||e}if(t&&e&&p4[e]&&p4[e][t]){var a=p4[e][t];return i(D4(a))}iI(t,e),i(T(T({},tI),{},{icon:L.showMissingIcons&&t?Ki("missingIconAbstract")||{}:{}}))})}var Ap=function(){},M4=L.measurePerformance&&rl&&rl.mark&&rl.measure?rl:{mark:Ap,measure:Ap},Hs='FA "6.5.1"',nI=function(e){return M4.mark("".concat(Hs," ").concat(e," begins")),function(){return u7(e)}},u7=function(e){M4.mark("".concat(Hs," ").concat(e," ends")),M4.measure("".concat(Hs," ").concat(e),"".concat(Hs," ").concat(e," begins"),"".concat(Hs," ").concat(e," ends"))},V4={begin:nI,end:u7},ml=function(){};function Np(t){var e=t.getAttribute?t.getAttribute(pr):null;return typeof e=="string"}function rI(t){var e=t.getAttribute?t.getAttribute(T4):null,n=t.getAttribute?t.getAttribute(A4):null;return e&&n}function oI(t){return t&&t.classList&&t.classList.contains&&t.classList.contains(L.replacementClass)}function sI(){if(L.autoReplaceSvg===!0)return hl.replace;var t=hl[L.autoReplaceSvg];return t||hl.replace}function aI(t){return Pe.createElementNS("http://www.w3.org/2000/svg",t)}function cI(t){return Pe.createElement(t)}function f7(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.ceFn,i=n===void 0?t.tag==="svg"?aI:cI:n;if(typeof t=="string")return Pe.createTextNode(t);var r=i(t.tag);Object.keys(t.attributes||[]).forEach(function(s){r.setAttribute(s,t.attributes[s])});var o=t.children||[];return o.forEach(function(s){r.appendChild(f7(s,{ceFn:i}))}),r}function lI(t){var e=" ".concat(t.outerHTML," ");return e="".concat(e,"Font Awesome fontawesome.com "),e}var hl={replace:function(e){var n=e[0];if(n.parentNode)if(e[1].forEach(function(r){n.parentNode.insertBefore(f7(r),n)}),n.getAttribute(pr)===null&&L.keepOriginalSource){var i=Pe.createComment(lI(n));n.parentNode.replaceChild(i,n)}else n.remove()},nest:function(e){var n=e[0],i=e[1];if(~R4(n).indexOf(L.replacementClass))return hl.replace(e);var r=new RegExp("".concat(L.cssPrefix,"-.*"));if(delete i[0].attributes.id,i[0].attributes.class){var o=i[0].attributes.class.split(" ").reduce(function(a,c){return c===L.replacementClass||c.match(r)?a.toSvg.push(c):a.toNode.push(c),a},{toNode:[],toSvg:[]});i[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",o.toNode.join(" "))}var s=i.map(function(a){return Ks(a)}).join(` -`);n.setAttribute(pr,""),n.innerHTML=s}};function Rp(t){t()}function m7(t,e){var n=typeof e=="function"?e:ml;if(t.length===0)n();else{var i=Rp;L.mutateApproach===hM&&(i=Cn.requestAnimationFrame||Rp),i(function(){var r=sI(),o=V4.begin("mutate");t.map(r),o(),n()})}}var j4=!1;function h7(){j4=!0}function I4(){j4=!1}var vl=null;function Op(t){if(xp&&L.observeMutations){var e=t.treeCallback,n=e===void 0?ml:e,i=t.nodeCallback,r=i===void 0?ml:i,o=t.pseudoElementsCallback,s=o===void 0?ml:o,a=t.observeMutationsRoot,c=a===void 0?Pe:a;vl=new xp(function(l){if(!j4){var d=Dn();yo(l).forEach(function(u){if(u.type==="childList"&&u.addedNodes.length>0&&!Np(u.addedNodes[0])&&(L.searchPseudoElements&&s(u.target),n(u.target)),u.type==="attributes"&&u.target.parentNode&&L.searchPseudoElements&&s(u.target.parentNode),u.type==="attributes"&&Np(u.target)&&~wM.indexOf(u.attributeName))if(u.attributeName==="class"&&rI(u.target)){var f=yl(R4(u.target)),m=f.prefix,p=f.iconName;u.target.setAttribute(T4,m||d),p&&u.target.setAttribute(A4,p)}else oI(u.target)&&r(u.target)})}}),Xi&&vl.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function dI(){vl&&vl.disconnect()}function uI(t){var e=t.getAttribute("style"),n=[];return e&&(n=e.split(";").reduce(function(i,r){var o=r.split(":"),s=o[0],a=o.slice(1);return s&&a.length>0&&(i[s]=a.join(":").trim()),i},{})),n}function fI(t){var e=t.getAttribute("data-prefix"),n=t.getAttribute("data-icon"),i=t.innerText!==void 0?t.innerText.trim():"",r=yl(R4(t));return r.prefix||(r.prefix=Dn()),e&&n&&(r.prefix=e,r.iconName=n),r.iconName&&r.prefix||(r.prefix&&i.length>0&&(r.iconName=UM(r.prefix,t.innerText)||z4(r.prefix,y4(t.innerText))),!r.iconName&&L.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=t.firstChild.data)),r}function mI(t){var e=yo(t.attributes).reduce(function(r,o){return r.name!=="class"&&r.name!=="style"&&(r[o.name]=o.value),r},{}),n=t.getAttribute("title"),i=t.getAttribute("data-fa-title-id");return L.autoA11y&&(n?e["aria-labelledby"]="".concat(L.replacementClass,"-title-").concat(i||Zs()):(e["aria-hidden"]="true",e.focusable="false")),e}function hI(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Ei,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Fp(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=fI(t),i=n.iconName,r=n.prefix,o=n.rest,s=mI(t),a=x4("parseNodeAttributes",{},t),c=e.styleParser?uI(t):[];return T({iconName:i,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:r,transform:Ei,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:c,attributes:s}},a)}var pI=ii.styles;function p7(t){var e=L.autoReplaceSvg==="nest"?Fp(t,{styleParser:!1}):Fp(t);return~e.extra.classes.indexOf(Kp)?Ki("generateLayersText",t,e):Ki("generateSvgReplacementMutation",t,e)}var En=new Set;N4.map(function(t){En.add("fa-".concat(t))});Object.keys($s[Le]).map(En.add.bind(En));Object.keys($s[qe]).map(En.add.bind(En));En=Ys(En);function zp(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Xi)return Promise.resolve();var n=Pe.documentElement.classList,i=function(u){return n.add("".concat(Cp,"-").concat(u))},r=function(u){return n.remove("".concat(Cp,"-").concat(u))},o=L.autoFetchSvg?En:N4.map(function(d){return"fa-".concat(d)}).concat(Object.keys(pI));o.includes("fa")||o.push("fa");var s=[".".concat(Kp,":not([").concat(pr,"])")].concat(o.map(function(d){return".".concat(d,":not([").concat(pr,"])")})).join(", ");if(s.length===0)return Promise.resolve();var a=[];try{a=yo(t.querySelectorAll(s))}catch{}if(a.length>0)i("pending"),r("complete");else return Promise.resolve();var c=V4.begin("onTree"),l=a.reduce(function(d,u){try{var f=p7(u);f&&d.push(f)}catch(m){Qp||m.name==="MissingIcon"&&console.error(m)}return d},[]);return new Promise(function(d,u){Promise.all(l).then(function(f){m7(f,function(){i("active"),i("complete"),r("pending"),typeof e=="function"&&e(),c(),d()})}).catch(function(f){c(),u(f)})})}function gI(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;p7(t).then(function(n){n&&m7([n],e)})}function vI(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=(e||{}).icon?e:C4(e||{}),r=n.mask;return r&&(r=(r||{}).icon?r:C4(r||{})),t(i,T(T({},n),{},{mask:r}))}}var bI=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.transform,r=i===void 0?Ei:i,o=n.symbol,s=o===void 0?!1:o,a=n.mask,c=a===void 0?null:a,l=n.maskId,d=l===void 0?null:l,u=n.title,f=u===void 0?null:u,m=n.titleId,p=m===void 0?null:m,v=n.classes,_=v===void 0?[]:v,y=n.attributes,k=y===void 0?{}:y,Q=n.styles,j=Q===void 0?{}:Q;if(e){var ge=e.prefix,we=e.iconName,Me=e.icon;return wl(T({type:"icon"},e),function(){return gr("beforeDOMElementCreation",{iconDefinition:e,params:n}),L.autoA11y&&(f?k["aria-labelledby"]="".concat(L.replacementClass,"-title-").concat(p||Zs()):(k["aria-hidden"]="true",k.focusable="false")),P4({icons:{main:D4(Me),mask:c?D4(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:ge,iconName:we,transform:T(T({},Ei),r),symbol:s,title:f,maskId:d,titleId:p,extra:{attributes:k,styles:j,classes:_}})})}},_I={mixout:function(){return{icon:vI(bI)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=zp,n.nodeCallback=gI,n}}},provides:function(e){e.i2svg=function(n){var i=n.node,r=i===void 0?Pe:i,o=n.callback,s=o===void 0?function(){}:o;return zp(r,s)},e.generateSvgReplacementMutation=function(n,i){var r=i.iconName,o=i.title,s=i.titleId,a=i.prefix,c=i.transform,l=i.symbol,d=i.mask,u=i.maskId,f=i.extra;return new Promise(function(m,p){Promise.all([E4(r,a),d.iconName?E4(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(v){var _=S4(v,2),y=_[0],k=_[1];m([n,P4({icons:{main:y,mask:k},prefix:a,iconName:r,transform:c,symbol:l,maskId:u,title:o,titleId:s,extra:f,watchable:!0})])}).catch(p)})},e.generateAbstractIcon=function(n){var i=n.children,r=n.attributes,o=n.main,s=n.transform,a=n.styles,c=bl(a);c.length>0&&(r.style=c);var l;return O4(s)&&(l=Ki("generateAbstractTransformGrouping",{main:o,transform:s,containerWidth:o.width,iconWidth:o.width})),i.push(l||o.icon),{children:i,attributes:r}}}},yI={mixout:function(){return{layer:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=i.classes,o=r===void 0?[]:r;return wl({type:"layer"},function(){gr("beforeDOMElementCreation",{assembler:n,params:i});var s=[];return n(function(a){Array.isArray(a)?a.map(function(c){s=s.concat(c.abstract)}):s=s.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(L.cssPrefix,"-layers")].concat(Ys(o)).join(" ")},children:s}]})}}}},wI={mixout:function(){return{counter:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=i.title,o=r===void 0?null:r,s=i.classes,a=s===void 0?[]:s,c=i.attributes,l=c===void 0?{}:c,d=i.styles,u=d===void 0?{}:d;return wl({type:"counter",content:n},function(){return gr("beforeDOMElementCreation",{content:n,params:i}),eI({content:n.toString(),title:o,extra:{attributes:l,styles:u,classes:["".concat(L.cssPrefix,"-layers-counter")].concat(Ys(a))}})})}}}},xI={mixout:function(){return{text:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=i.transform,o=r===void 0?Ei:r,s=i.title,a=s===void 0?null:s,c=i.classes,l=c===void 0?[]:c,d=i.attributes,u=d===void 0?{}:d,f=i.styles,m=f===void 0?{}:f;return wl({type:"text",content:n},function(){return gr("beforeDOMElementCreation",{content:n,params:i}),Tp({content:n,transform:T(T({},Ei),o),title:a,extra:{attributes:u,styles:m,classes:["".concat(L.cssPrefix,"-layers-text")].concat(Ys(l))}})})}}},provides:function(e){e.generateLayersText=function(n,i){var r=i.title,o=i.transform,s=i.extra,a=null,c=null;if(Gp){var l=parseInt(getComputedStyle(n).fontSize,10),d=n.getBoundingClientRect();a=d.width/l,c=d.height/l}return L.autoA11y&&!r&&(s.attributes["aria-hidden"]="true"),Promise.resolve([n,Tp({content:n.innerHTML,width:a,height:c,transform:o,title:r,extra:s,watchable:!0})])}}},CI=new RegExp('"',"ug"),Lp=[1105920,1112319];function DI(t){var e=t.replace(CI,""),n=LM(e,0),i=n>=Lp[0]&&n<=Lp[1],r=e.length===2?e[0]===e[1]:!1;return{value:y4(r?e[0]:e),isSecondary:i||r}}function Pp(t,e){var n="".concat(mM).concat(e.replace(":","-"));return new Promise(function(i,r){if(t.getAttribute(n)!==null)return i();var o=yo(t.children),s=o.filter(function(Me){return Me.getAttribute(_4)===e})[0],a=Cn.getComputedStyle(t,e),c=a.getPropertyValue("font-family").match(bM),l=a.getPropertyValue("font-weight"),d=a.getPropertyValue("content");if(s&&!c)return t.removeChild(s),i();if(c&&d!=="none"&&d!==""){var u=a.getPropertyValue("content"),f=~["Sharp"].indexOf(c[2])?qe:Le,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(c[2])?qs[f][c[2].toLowerCase()]:_M[f][l],p=DI(u),v=p.value,_=p.isSecondary,y=c[0].startsWith("FontAwesome"),k=z4(m,v),Q=k;if(y){var j=$M(v);j.iconName&&j.prefix&&(k=j.iconName,m=j.prefix)}if(k&&!_&&(!s||s.getAttribute(T4)!==m||s.getAttribute(A4)!==Q)){t.setAttribute(n,Q),s&&t.removeChild(s);var ge=hI(),we=ge.extra;we.attributes[_4]=e,E4(k,m).then(function(Me){var Xe=P4(T(T({},ge),{},{icons:{main:Me,mask:L4()},prefix:m,iconName:Q,extra:we,watchable:!0})),it=Pe.createElementNS("http://www.w3.org/2000/svg","svg");e==="::before"?t.insertBefore(it,t.firstChild):t.appendChild(it),it.outerHTML=Xe.map(function(en){return Ks(en)}).join(` -`),t.removeAttribute(n),i()}).catch(r)}else i()}else i()})}function EI(t){return Promise.all([Pp(t,"::before"),Pp(t,"::after")])}function MI(t){return t.parentNode!==document.head&&!~pM.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(_4)&&(!t.parentNode||t.parentNode.tagName!=="svg")}function Vp(t){if(Xi)return new Promise(function(e,n){var i=yo(t.querySelectorAll("*")).filter(MI).map(EI),r=V4.begin("searchPseudoElements");h7(),Promise.all(i).then(function(){r(),I4(),e()}).catch(function(){r(),I4(),n()})})}var II={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Vp,n}}},provides:function(e){e.pseudoElements2svg=function(n){var i=n.node,r=i===void 0?Pe:i;L.searchPseudoElements&&Vp(r)}}},jp=!1,SI={mixout:function(){return{dom:{unwatch:function(){h7(),jp=!0}}}},hooks:function(){return{bootstrap:function(){Op(x4("mutationObserverCallbacks",{}))},noAuto:function(){dI()},watch:function(n){var i=n.observeMutationsRoot;jp?I4():Op(x4("mutationObserverCallbacks",{observeMutationsRoot:i}))}}}},Hp=function(e){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce(function(i,r){var o=r.toLowerCase().split("-"),s=o[0],a=o.slice(1).join("-");if(s&&a==="h")return i.flipX=!0,i;if(s&&a==="v")return i.flipY=!0,i;if(a=parseFloat(a),isNaN(a))return i;switch(s){case"grow":i.size=i.size+a;break;case"shrink":i.size=i.size-a;break;case"left":i.x=i.x-a;break;case"right":i.x=i.x+a;break;case"up":i.y=i.y-a;break;case"down":i.y=i.y+a;break;case"rotate":i.rotate=i.rotate+a;break}return i},n)},kI={mixout:function(){return{parse:{transform:function(n){return Hp(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,i){var r=i.getAttribute("data-fa-transform");return r&&(n.transform=Hp(r)),n}}},provides:function(e){e.generateAbstractTransformGrouping=function(n){var i=n.main,r=n.transform,o=n.containerWidth,s=n.iconWidth,a={transform:"translate(".concat(o/2," 256)")},c="translate(".concat(r.x*32,", ").concat(r.y*32,") "),l="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),d="rotate(".concat(r.rotate," 0 0)"),u={transform:"".concat(c," ").concat(l," ").concat(d)},f={transform:"translate(".concat(s/2*-1," -256)")},m={outer:a,inner:u,path:f};return{tag:"g",attributes:T({},m.outer),children:[{tag:"g",attributes:T({},m.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:T(T({},i.icon.attributes),m.path)}]}]}}}},g4={x:0,y:0,width:"100%",height:"100%"};function Bp(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function TI(t){return t.tag==="g"?t.children:[t]}var AI={hooks:function(){return{parseNodeAttributes:function(n,i){var r=i.getAttribute("data-fa-mask"),o=r?yl(r.split(" ").map(function(s){return s.trim()})):L4();return o.prefix||(o.prefix=Dn()),n.mask=o,n.maskId=i.getAttribute("data-fa-mask-id"),n}}},provides:function(e){e.generateAbstractMask=function(n){var i=n.children,r=n.attributes,o=n.main,s=n.mask,a=n.maskId,c=n.transform,l=o.width,d=o.icon,u=s.width,f=s.icon,m=kM({transform:c,containerWidth:u,iconWidth:l}),p={tag:"rect",attributes:T(T({},g4),{},{fill:"white"})},v=d.children?{children:d.children.map(Bp)}:{},_={tag:"g",attributes:T({},m.inner),children:[Bp(T({tag:d.tag,attributes:T(T({},d.attributes),m.path)},v))]},y={tag:"g",attributes:T({},m.outer),children:[_]},k="mask-".concat(a||Zs()),Q="clip-".concat(a||Zs()),j={tag:"mask",attributes:T(T({},g4),{},{id:k,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,y]},ge={tag:"defs",children:[{tag:"clipPath",attributes:{id:Q},children:TI(f)},j]};return i.push(ge,{tag:"rect",attributes:T({fill:"currentColor","clip-path":"url(#".concat(Q,")"),mask:"url(#".concat(k,")")},g4)}),{children:i,attributes:r}}}},NI={provides:function(e){var n=!1;Cn.matchMedia&&(n=Cn.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var i=[],r={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};i.push({tag:"path",attributes:T(T({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=T(T({},o),{},{attributeName:"opacity"}),a={tag:"circle",attributes:T(T({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||a.children.push({tag:"animate",attributes:T(T({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:T(T({},s),{},{values:"1;0;1;1;0;1;"})}),i.push(a),i.push({tag:"path",attributes:T(T({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:T(T({},s),{},{values:"1;0;0;0;0;1;"})}]}),n||i.push({tag:"path",attributes:T(T({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:T(T({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:i}}}},RI={hooks:function(){return{parseNodeAttributes:function(n,i){var r=i.getAttribute("data-fa-symbol"),o=r===null?!1:r===""?!0:r;return n.symbol=o,n}}}},OI=[NM,_I,yI,wI,xI,II,SI,kI,AI,NI,RI];GM(OI,{mixoutsTo:Rt});var PU=Rt.noAuto,VU=Rt.config,jU=Rt.library,HU=Rt.dom,g7=Rt.parse,BU=Rt.findIconDefinition,UU=Rt.toHtml,v7=Rt.icon,$U=Rt.layer,FI=Rt.text,zI=Rt.counter;var LI=["*"],PI=t=>{throw new Error(`Could not find icon with iconName=${t.iconName} and prefix=${t.prefix} in the icon library.`)},VI=()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")},jI=t=>{let e={[`fa-${t.animation}`]:t.animation!=null&&!t.animation.startsWith("spin"),"fa-spin":t.animation==="spin"||t.animation==="spin-reverse","fa-spin-pulse":t.animation==="spin-pulse"||t.animation==="spin-pulse-reverse","fa-spin-reverse":t.animation==="spin-reverse"||t.animation==="spin-pulse-reverse","fa-pulse":t.animation==="spin-pulse"||t.animation==="spin-pulse-reverse","fa-fw":t.fixedWidth,"fa-border":t.border,"fa-inverse":t.inverse,"fa-layers-counter":t.counter,"fa-flip-horizontal":t.flip==="horizontal"||t.flip==="both","fa-flip-vertical":t.flip==="vertical"||t.flip==="both",[`fa-${t.size}`]:t.size!==null,[`fa-rotate-${t.rotate}`]:t.rotate!==null,[`fa-pull-${t.pull}`]:t.pull!==null,[`fa-stack-${t.stackItemSize}`]:t.stackItemSize!=null};return Object.keys(e).map(n=>e[n]?n:null).filter(n=>n)},HI=t=>t.prefix!==void 0&&t.iconName!==void 0,BI=(t,e)=>HI(t)?t:typeof t=="string"?{prefix:e,iconName:t}:{prefix:t[0],iconName:t[1]},UI=(()=>{let e=class e{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),H4=(()=>{let e=class e{constructor(){this.definitions={}}addIcons(...i){for(let r of i){r.prefix in this.definitions||(this.definitions[r.prefix]={}),this.definitions[r.prefix][r.iconName]=r;for(let o of r.icon[2])typeof o=="string"&&(this.definitions[r.prefix][o]=r)}}addIconPacks(...i){for(let r of i){let o=Object.keys(r).map(s=>r[s]);this.addIcons(...o)}}getIconDefinition(i,r){return i in this.definitions&&r in this.definitions[i]?this.definitions[i][r]:null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$I=(()=>{let e=class e{constructor(){this.stackItemSize="1x"}ngOnChanges(i){if("size"in i)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=N({type:e,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[Re]});let t=e;return t})(),qI=(()=>{let e=class e{constructor(i,r){this.renderer=i,this.elementRef=r}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(i){"size"in i&&(i.size.currentValue!=null&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${i.size.currentValue}`),i.size.previousValue!=null&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${i.size.previousValue}`))}};e.\u0275fac=function(r){return new(r||e)(h(bi),h(V))},e.\u0275cmp=Y({type:e,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[Re,be],ngContentSelectors:LI,decls:1,vars:0,template:function(r,o){r&1&&(Be(),te(0))},encapsulation:2});let t=e;return t})(),b7=(()=>{let e=class e{set spin(i){this.animation=i?"spin":void 0}set pulse(i){this.animation=i?"spin-pulse":void 0}constructor(i,r,o,s,a){this.sanitizer=i,this.config=r,this.iconLibrary=o,this.stackItem=s,this.classes=[],a!=null&&s==null&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(i){if(this.icon==null&&this.config.fallbackIcon==null){VI();return}if(i){let r=this.icon!=null?this.icon:this.config.fallbackIcon,o=this.findIconDefinition(r);if(o!=null){let s=this.buildParams();this.renderIcon(o,s)}}}render(){this.ngOnChanges({})}findIconDefinition(i){let r=BI(i,this.config.defaultPrefix);if("icon"in r)return r;let o=this.iconLibrary.getIconDefinition(r.prefix,r.iconName);return o??(PI(r),null)}buildParams(){let i={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:typeof this.fixedWidth=="boolean"?this.fixedWidth:this.config.fixedWidth,stackItemSize:this.stackItem!=null?this.stackItem.stackItemSize:null},r=typeof this.transform=="string"?g7.transform(this.transform):this.transform;return{title:this.title,transform:r,classes:[...jI(i),...this.classes],mask:this.mask!=null?this.findIconDefinition(this.mask):null,styles:this.styles!=null?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(i,r){let o=v7(i,r);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(o.html.join(` -`))}};e.\u0275fac=function(r){return new(r||e)(h(lr),h(UI),h(H4),h($I,8),h(qI,8))},e.\u0275cmp=Y({type:e,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(r,o){r&2&&(rr("innerHTML",o.renderedIconHTML,J5),He("title",o.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[Re,be],decls:0,vars:0,template:function(r,o){},encapsulation:2});let t=e;return t})();var _7=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})();var se="primary",ma=Symbol("RouteTitle"),W4=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Eo(t){return new W4(t)}function WI(t,e,n){let i=n.path.split("/");if(i.length>t.length||n.pathMatch==="full"&&(e.hasChildren()||i.lengthi[o]===r)}else return t===e}function T7(t){return t.length>0?t[t.length-1]:null}function Tn(t){return Hn(t)?t:or(t)?xe(Promise.resolve(t)):A(t)}var ZI={exact:N7,subset:R7},A7={exact:YI,subset:QI,ignored:()=>!0};function w7(t,e,n){return ZI[n.paths](t.root,e.root,n.matrixParams)&&A7[n.queryParams](t.queryParams,e.queryParams)&&!(n.fragment==="exact"&&t.fragment!==e.fragment)}function YI(t,e){return Mi(t,e)}function N7(t,e,n){if(!br(t.segments,e.segments)||!Dl(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let i in e.children)if(!t.children[i]||!N7(t.children[i],e.children[i],n))return!1;return!0}function QI(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>k7(t[n],e[n]))}function R7(t,e,n){return O7(t,e,e.segments,n)}function O7(t,e,n,i){if(t.segments.length>n.length){let r=t.segments.slice(0,n.length);return!(!br(r,n)||e.hasChildren()||!Dl(r,n,i))}else if(t.segments.length===n.length){if(!br(t.segments,n)||!Dl(t.segments,n,i))return!1;for(let r in e.children)if(!t.children[r]||!R7(t.children[r],e.children[r],i))return!1;return!0}else{let r=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!br(t.segments,r)||!Dl(t.segments,r,i)||!t.children[se]?!1:O7(t.children[se],e,o,i)}}function Dl(t,e,n){return e.every((i,r)=>A7[n](t[r].parameters,i.parameters))}var Mn=class{constructor(e=new Ee([],{}),n={},i=null){this.root=e,this.queryParams=n,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Eo(this.queryParams),this._queryParamMap}toString(){return JI.serialize(this)}},Ee=class{constructor(e,n){this.segments=e,this.children=n,this.parent=null,Object.values(n).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return El(this)}},vr=class{constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap??=Eo(this.parameters),this._parameterMap}toString(){return z7(this)}};function KI(t,e){return br(t,e)&&t.every((n,i)=>Mi(n.parameters,e[i].parameters))}function br(t,e){return t.length!==e.length?!1:t.every((n,i)=>n.path===e[i].path)}function XI(t,e){let n=[];return Object.entries(t.children).forEach(([i,r])=>{i===se&&(n=n.concat(e(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==se&&(n=n.concat(e(r,i)))}),n}var ha=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>new ra,providedIn:"root"});let t=e;return t})(),ra=class{parse(e){let n=new Y4(e);return new Mn(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){let n=`/${Xs(e.root,!0)}`,i=iS(e.queryParams),r=typeof e.fragment=="string"?`#${eS(e.fragment)}`:"";return`${n}${i}${r}`}},JI=new ra;function El(t){return t.segments.map(e=>z7(e)).join("/")}function Xs(t,e){if(!t.hasChildren())return El(t);if(e){let n=t.children[se]?Xs(t.children[se],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==se&&i.push(`${r}:${Xs(o,!1)}`)}),i.length>0?`${n}(${i.join("//")})`:n}else{let n=XI(t,(i,r)=>r===se?[Xs(t.children[se],!1)]:[`${r}:${Xs(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[se]!=null?`${El(t)}/${n[0]}`:`${El(t)}/(${n.join("//")})`}}function F7(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xl(t){return F7(t).replace(/%3B/gi,";")}function eS(t){return encodeURI(t)}function Z4(t){return F7(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ml(t){return decodeURIComponent(t)}function x7(t){return Ml(t.replace(/\+/g,"%20"))}function z7(t){return`${Z4(t.path)}${tS(t.parameters)}`}function tS(t){return Object.entries(t).map(([e,n])=>`;${Z4(e)}=${Z4(n)}`).join("")}function iS(t){let e=Object.entries(t).map(([n,i])=>Array.isArray(i)?i.map(r=>`${xl(n)}=${xl(r)}`).join("&"):`${xl(n)}=${xl(i)}`).filter(n=>n);return e.length?`?${e.join("&")}`:""}var nS=/^[^\/()?;#]+/;function B4(t){let e=t.match(nS);return e?e[0]:""}var rS=/^[^\/()?;=#]+/;function oS(t){let e=t.match(rS);return e?e[0]:""}var sS=/^[^=?&#]+/;function aS(t){let e=t.match(sS);return e?e[0]:""}var cS=/^[^&#]+/;function lS(t){let e=t.match(cS);return e?e[0]:""}var Y4=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ee([],{}):new Ee([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(i[se]=new Ee(e,n)),i}parseSegment(){let e=B4(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(e),new vr(Ml(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let n=oS(this.remaining);if(!n)return;this.capture(n);let i="";if(this.consumeOptional("=")){let r=B4(this.remaining);r&&(i=r,this.capture(i))}e[Ml(n)]=Ml(i)}parseQueryParam(e){let n=aS(this.remaining);if(!n)return;this.capture(n);let i="";if(this.consumeOptional("=")){let s=lS(this.remaining);s&&(i=s,this.capture(i))}let r=x7(n),o=x7(i);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){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=B4(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new E(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=se);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[se]:new Ee([],s),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new E(4011,!1)}};function L7(t){return t.segments.length>0?new Ee([],{[se]:t}):t}function P7(t){let e={};for(let[i,r]of Object.entries(t.children)){let o=P7(r);if(i===se&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[i]=o)}let n=new Ee(t.segments,e);return dS(n)}function dS(t){if(t.numberOfChildren===1&&t.children[se]){let e=t.children[se];return new Ee(t.segments.concat(e.segments),e.children)}return t}function Mo(t){return t instanceof Mn}function uS(t,e,n=null,i=null){let r=V7(t);return j7(r,e,n,i)}function V7(t){let e;function n(o){let s={};for(let c of o.children){let l=n(c);s[c.outlet]=l}let a=new Ee(o.url,s);return o===t&&(e=a),a}let i=n(t.root),r=L7(i);return e??r}function j7(t,e,n,i){let r=t;for(;r.parent;)r=r.parent;if(e.length===0)return U4(r,r,r,n,i);let o=fS(e);if(o.toRoot())return U4(r,r,new Ee([],{}),n,i);let s=mS(o,r,t),a=s.processChildren?ta(s.segmentGroup,s.index,o.commands):B7(s.segmentGroup,s.index,o.commands);return U4(r,s.segmentGroup,a,n,i)}function Il(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function oa(t){return typeof t=="object"&&t!=null&&t.outlets}function U4(t,e,n,i,r){let o={};i&&Object.entries(i).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`});let s;t===e?s=n:s=H7(t,e,n);let a=L7(P7(s));return new Mn(a,o,r)}function H7(t,e,n){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===e?i[r]=n:i[r]=H7(o,e,n)}),new Ee(t.segments,i)}var Sl=class{constructor(e,n,i){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=i,e&&i.length>0&&Il(i[0]))throw new E(4003,!1);let r=i.find(oa);if(r&&r!==T7(i))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function fS(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Sl(!0,0,t);let e=0,n=!1,i=t.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?e++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new Sl(n,e,i)}var Co=class{constructor(e,n,i){this.segmentGroup=e,this.processChildren=n,this.index=i}};function mS(t,e,n){if(t.isAbsolute)return new Co(e,!0,0);if(!n)return new Co(e,!1,NaN);if(n.parent===null)return new Co(n,!0,0);let i=Il(t.commands[0])?0:1,r=n.segments.length-1+i;return hS(n,r,t.numberOfDoubleDots)}function hS(t,e,n){let i=t,r=e,o=n;for(;o>r;){if(o-=r,i=i.parent,!i)throw new E(4005,!1);r=i.segments.length}return new Co(i,!1,r-o)}function pS(t){return oa(t[0])?t[0].outlets:{[se]:t}}function B7(t,e,n){if(t??=new Ee([],{}),t.segments.length===0&&t.hasChildren())return ta(t,e,n);let i=gS(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndexo!==se)&&t.children[se]&&t.numberOfChildren===1&&t.children[se].segments.length===0){let o=ta(t.children[se],e,n);return new Ee(t.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=B7(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new Ee(t.segments,r)}}function gS(t,e,n){let i=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return o;let s=t.segments[r],a=n[i];if(oa(a))break;let c=`${a}`,l=i0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!D7(c,l,s))return o;i+=2}else{if(!D7(c,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function Q4(t,e,n){let i=t.segments.slice(0,e),r=0;for(;r{typeof i=="string"&&(i=[i]),i!==null&&(e[n]=Q4(new Ee([],{}),0,i))}),e}function C7(t){let e={};return Object.entries(t).forEach(([n,i])=>e[n]=`${i}`),e}function D7(t,e,n){return t==n.path&&Mi(e,n.parameters)}var ia="imperative",at=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(at||{}),qt=class{constructor(e,n){this.id=e,this.url=n}},Io=class extends qt{constructor(e,n,i="imperative",r=null){super(e,n),this.type=at.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ni=class extends qt{constructor(e,n,i){super(e,n),this.urlAfterRedirects=i,this.type=at.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},$t=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}($t||{}),kl=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(kl||{}),In=class extends qt{constructor(e,n,i,r){super(e,n),this.reason=i,this.code=r,this.type=at.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Sn=class extends qt{constructor(e,n,i,r){super(e,n),this.reason=i,this.code=r,this.type=at.NavigationSkipped}},sa=class extends qt{constructor(e,n,i,r){super(e,n),this.error=i,this.target=r,this.type=at.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Tl=class extends qt{constructor(e,n,i,r){super(e,n),this.urlAfterRedirects=i,this.state=r,this.type=at.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},K4=class extends qt{constructor(e,n,i,r){super(e,n),this.urlAfterRedirects=i,this.state=r,this.type=at.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},X4=class extends qt{constructor(e,n,i,r,o){super(e,n),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=at.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},J4=class extends qt{constructor(e,n,i,r){super(e,n),this.urlAfterRedirects=i,this.state=r,this.type=at.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ef=class extends qt{constructor(e,n,i,r){super(e,n),this.urlAfterRedirects=i,this.state=r,this.type=at.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tf=class{constructor(e){this.route=e,this.type=at.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},nf=class{constructor(e){this.route=e,this.type=at.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},rf=class{constructor(e){this.snapshot=e,this.type=at.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},of=class{constructor(e){this.snapshot=e,this.type=at.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sf=class{constructor(e){this.snapshot=e,this.type=at.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},af=class{constructor(e){this.snapshot=e,this.type=at.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Al=class{constructor(e,n,i){this.routerEvent=e,this.position=n,this.anchor=i,this.type=at.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},aa=class{},ca=class{constructor(e){this.url=e}};var cf=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new pa,this.attachRef=null}},pa=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(i,r){let o=this.getOrCreateContext(i);o.outlet=r,this.contexts.set(i,o)}onChildOutletDestroyed(i){let r=this.getContext(i);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let i=this.contexts;return this.contexts=new Map,i}onOutletReAttached(i){this.contexts=i}getOrCreateContext(i){let r=this.getContext(i);return r||(r=new cf,this.contexts.set(i,r)),r}getContext(i){return this.contexts.get(i)||null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Nl=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){let n=lf(e,this._root);return n?n.children.map(i=>i.value):[]}firstChild(e){let n=lf(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){let n=df(e,this._root);return n.length<2?[]:n[n.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return df(e,this._root).map(n=>n.value)}};function lf(t,e){if(t===e.value)return e;for(let n of e.children){let i=lf(t,n);if(i)return i}return null}function df(t,e){if(t===e.value)return[e];for(let n of e.children){let i=df(t,n);if(i.length)return i.unshift(e),i}return[]}var Ot=class{constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}};function xo(t){let e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}var Rl=class extends Nl{constructor(e,n){super(e),this.snapshot=n,yf(this,e)}toString(){return this.snapshot.toString()}};function U7(t){let e=bS(t),n=new We([new vr("",{})]),i=new We({}),r=new We({}),o=new We({}),s=new We(""),a=new kn(n,i,o,s,r,se,t,e.root);return a.snapshot=e.root,new Rl(new Ot(a,[]),e)}function bS(t){let e={},n={},i={},r="",o=new la([],e,i,r,n,se,t,null,{});return new Ol("",new Ot(o,[]))}var kn=class{constructor(e,n,i,r,o,s,a,c){this.urlSubject=e,this.paramsSubject=n,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(P(l=>l[ma]))??A(void 0),this.url=e,this.params=n,this.queryParams=i,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.params.pipe(P(e=>Eo(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(P(e=>Eo(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function _f(t,e,n="emptyOnly"){let i,{routeConfig:r}=t;return e!==null&&(n==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?i={params:D(D({},e.params),t.params),data:D(D({},e.data),t.data),resolve:D(D(D(D({},t.data),e.data),r?.data),t._resolvedData)}:i={params:D({},t.params),data:D({},t.data),resolve:D(D({},t.data),t._resolvedData??{})},r&&q7(r)&&(i.resolve[ma]=r.title),i}var la=class{get title(){return this.data?.[ma]}constructor(e,n,i,r,o,s,a,c,l){this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Eo(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Eo(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(i=>i.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${n}')`}},Ol=class extends Nl{constructor(e,n){super(n),this.url=e,yf(this,n)}toString(){return $7(this._root)}};function yf(t,e){e.value._routerState=t,e.children.forEach(n=>yf(t,n))}function $7(t){let e=t.children.length>0?` { ${t.children.map($7).join(", ")} } `:"";return`${t.value}${e}`}function $4(t){if(t.snapshot){let e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Mi(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),Mi(e.params,n.params)||t.paramsSubject.next(n.params),GI(e.url,n.url)||t.urlSubject.next(n.url),Mi(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function uf(t,e){let n=Mi(t.params,e.params)&&KI(t.url,e.url),i=!t.parent!=!e.parent;return n&&!i&&(!t.parent||uf(t.parent,e.parent))}function q7(t){return typeof t.title=="string"||t.title===null}var wf=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=se,this.activateEvents=new ie,this.deactivateEvents=new ie,this.attachEvents=new ie,this.detachEvents=new ie,this.parentContexts=b(pa),this.location=b(Ye),this.changeDetector=b(st),this.environmentInjector=b(wt),this.inputBinder=b(Vl,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(i){if(i.name){let{firstChange:r,previousValue:o}=i.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(i){return this.parentContexts.getContext(i)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let i=this.parentContexts.getContext(this.name);i?.route&&(i.attachRef?this.attach(i.attachRef,i.route):this.activateWith(i.route,i.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let i=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(i.instance),i}attach(i,r){this.activated=i,this._activatedRoute=r,this.location.insert(i.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(i.instance)}deactivate(){if(this.activated){let i=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(i)}}activateWith(i,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=i;let o=this.location,a=i.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new ff(i,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=N({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Re]});let t=e;return t})(),ff=class{constructor(e,n,i){this.route=e,this.childContexts=n,this.parent=i}get(e,n){return e===kn?this.route:e===pa?this.childContexts:this.parent.get(e,n)}},Vl=new C(""),E7=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(i){this.unsubscribeFromRouteData(i),this.subscribeToRouteData(i)}unsubscribeFromRouteData(i){this.outletDataSubscriptions.get(i)?.unsubscribe(),this.outletDataSubscriptions.delete(i)}subscribeToRouteData(i){let{activatedRoute:r}=i,o=Bn([r.queryParams,r.params,r.data]).pipe(rt(([s,a,c],l)=>(c=D(D(D({},s),a),c),l===0?A(c):Promise.resolve(c)))).subscribe(s=>{if(!i.isActivated||!i.activatedComponentRef||i.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(i);return}let a=n8(r.component);if(!a){this.unsubscribeFromRouteData(i);return}for(let{templateName:c}of a.inputs)i.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(i,o)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function _S(t,e,n){let i=da(t,e._root,n?n._root:void 0);return new Rl(i,e)}function da(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){let i=n.value;i._futureSnapshot=e.value;let r=yS(t,e,n);return new Ot(i,r)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>da(t,a)),s}}let i=wS(e.value),r=e.children.map(o=>da(t,o));return new Ot(i,r)}}function yS(t,e,n){return e.children.map(i=>{for(let r of n.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return da(t,i,r);return da(t,i)})}function wS(t){return new kn(new We(t.url),new We(t.params),new We(t.queryParams),new We(t.fragment),new We(t.data),t.outlet,t.component,t)}var W7="ngNavigationCancelingError";function G7(t,e){let{redirectTo:n,navigationBehaviorOptions:i}=Mo(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=Z7(!1,$t.Redirect,e);return r.url=n,r.navigationBehaviorOptions=i,r}function Z7(t,e,n){let i=new Error("NavigationCancelingError: "+(t||""));return i[W7]=!0,i.cancellationCode=e,n&&(i.url=n),i}function xS(t){return Y7(t)&&Mo(t.url)}function Y7(t){return t&&t[W7]}var CS=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Y({type:e,selectors:[["ng-component"]],standalone:!0,features:[be],decls:1,vars:0,template:function(r,o){r&1&&he(0,"router-outlet")},dependencies:[wf],encapsulation:2});let t=e;return t})();function DS(t,e){return t.providers&&!t._injector&&(t._injector=_1(t.providers,e,`Route: ${t.path}`)),t._injector??e}function xf(t){let e=t.children&&t.children.map(xf),n=e?Ie(D({},t),{children:e}):D({},t);return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==se&&(n.component=CS),n}function Ii(t){return t.outlet||se}function ES(t,e){let n=t.filter(i=>Ii(i)===e);return n.push(...t.filter(i=>Ii(i)!==e)),n}function ga(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let n=e.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var MS=(t,e,n,i)=>P(r=>(new mf(e,r.targetRouterState,r.currentRouterState,n,i).activate(t),r)),mf=class{constructor(e,n,i,r,o){this.routeReuseStrategy=e,this.futureState=n,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(e){let n=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,i,e),$4(this.futureState.root),this.activateChildRoutes(n,i,e)}deactivateChildRoutes(e,n,i){let r=xo(n);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(e,n,i){let r=e.value,o=n?n.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(e,n,s.children)}else this.deactivateChildRoutes(e,n,i);else o&&this.deactivateRouteAndItsChildren(n,i)}deactivateRouteAndItsChildren(e,n){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){let i=n.getContext(e.value.outlet),r=i&&e.value.component?i.children:n,o=xo(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,n){let i=n.getContext(e.value.outlet),r=i&&e.value.component?i.children:n,o=xo(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(e,n,i){let r=xo(n);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new af(o.value.snapshot))}),e.children.length&&this.forwardEvent(new of(e.value.snapshot))}activateRoutes(e,n,i){let r=e.value,o=n?n.value:null;if($4(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(e,n,s.children)}else this.activateChildRoutes(e,n,i);else if(r.component){let s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let 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),$4(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=ga(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,i)}},Fl=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Do=class{constructor(e,n){this.component=e,this.route=n}};function IS(t,e,n){let i=t._root,r=e?e._root:null;return Js(i,r,n,[i.value])}function SS(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function ko(t,e){let n=Symbol(),i=e.get(t,n);return i===n?typeof t=="function"&&!xh(t)?t:e.get(t):i}function Js(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=xo(e);return t.children.forEach(s=>{kS(s,o[s.value.outlet],n,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>na(a,n.getContext(s),r)),r}function kS(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=TS(s,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new Fl(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Js(t,e,a?a.children:null,i,r):Js(t,e,n,i,r),c&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Do(a.outlet.component,s))}else s&&na(e,a,r),r.canActivateChecks.push(new Fl(i)),o.component?Js(t,null,a?a.children:null,i,r):Js(t,null,n,i,r);return r}function TS(t,e,n){if(typeof n=="function")return n(t,e);switch(n){case"pathParamsChange":return!br(t.url,e.url);case"pathParamsOrQueryParamsChange":return!br(t.url,e.url)||!Mi(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!uf(t,e)||!Mi(t.queryParams,e.queryParams);case"paramsChange":default:return!uf(t,e)}}function na(t,e,n){let i=xo(t),r=t.value;Object.entries(i).forEach(([o,s])=>{r.component?e?na(s,e.children.getContext(o),n):na(s,null,n):na(s,e,n)}),r.component?e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new Do(e.outlet.component,r)):n.canDeactivateChecks.push(new Do(null,r)):n.canDeactivateChecks.push(new Do(null,r))}function va(t){return typeof t=="function"}function AS(t){return typeof t=="boolean"}function NS(t){return t&&va(t.canLoad)}function RS(t){return t&&va(t.canActivate)}function OS(t){return t&&va(t.canActivateChild)}function FS(t){return t&&va(t.canDeactivate)}function zS(t){return t&&va(t.canMatch)}function Q7(t){return t instanceof Ri||t?.name==="EmptyError"}var Cl=Symbol("INITIAL_VALUE");function So(){return rt(t=>Bn(t.map(e=>e.pipe(Ve(1),zi(Cl)))).pipe(P(e=>{for(let n of e)if(n!==!0){if(n===Cl)return Cl;if(n===!1||n instanceof Mn)return n}return!0}),Ae(e=>e!==Cl),Ve(1)))}function LS(t,e){return Ue(n=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?A(Ie(D({},n),{guardsResult:!0})):PS(s,i,r,t).pipe(Ue(a=>a&&AS(a)?VS(i,o,t,e):A(a)),P(a=>Ie(D({},n),{guardsResult:a})))})}function PS(t,e,n,i){return xe(t).pipe(Ue(r=>$S(r.component,r.route,n,e,i)),di(r=>r!==!0,!0))}function VS(t,e,n,i){return xe(e).pipe(Fi(r=>on(HS(r.route.parent,i),jS(r.route,i),US(t,r.path,n),BS(t,r.route,n))),di(r=>r!==!0,!0))}function jS(t,e){return t!==null&&e&&e(new sf(t)),A(!0)}function HS(t,e){return t!==null&&e&&e(new rf(t)),A(!0)}function BS(t,e,n){let i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||i.length===0)return A(!0);let r=i.map(o=>Or(()=>{let s=ga(e)??n,a=ko(o,s),c=RS(a)?a.canActivate(e,t):vi(s,()=>a(e,t));return Tn(c).pipe(di())}));return A(r).pipe(So())}function US(t,e,n){let i=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>SS(s)).filter(s=>s!==null).map(s=>Or(()=>{let a=s.guards.map(c=>{let l=ga(s.node)??n,d=ko(c,l),u=OS(d)?d.canActivateChild(i,t):vi(l,()=>d(i,t));return Tn(u).pipe(di())});return A(a).pipe(So())}));return A(o).pipe(So())}function $S(t,e,n,i,r){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return A(!0);let s=o.map(a=>{let c=ga(e)??r,l=ko(a,c),d=FS(l)?l.canDeactivate(t,e,n,i):vi(c,()=>l(t,e,n,i));return Tn(d).pipe(di())});return A(s).pipe(So())}function qS(t,e,n,i){let r=e.canLoad;if(r===void 0||r.length===0)return A(!0);let o=r.map(s=>{let a=ko(s,t),c=NS(a)?a.canLoad(e,n):vi(t,()=>a(e,n));return Tn(c)});return A(o).pipe(So(),K7(i))}function K7(t){return Gd(ze(e=>{if(Mo(e))throw G7(t,e)}),P(e=>e===!0))}function WS(t,e,n,i){let r=e.canMatch;if(!r||r.length===0)return A(!0);let o=r.map(s=>{let a=ko(s,t),c=zS(a)?a.canMatch(e,n):vi(t,()=>a(e,n));return Tn(c)});return A(o).pipe(So(),K7(i))}var ua=class{constructor(e){this.segmentGroup=e||null}},zl=class extends Error{constructor(e){super(),this.urlTree=e}};function wo(t){return rn(new ua(t))}function GS(t){return rn(new E(4e3,!1))}function ZS(t){return rn(Z7(!1,$t.GuardRejected))}var hf=class{constructor(e,n){this.urlSerializer=e,this.urlTree=n}lineralizeSegments(e,n){let i=[],r=n.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return A(i);if(r.numberOfChildren>1||!r.children[se])return GS(e.redirectTo);r=r.children[se]}}applyRedirectCommands(e,n,i){let r=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),e,i);if(n.startsWith("/"))throw new zl(r);return r}applyRedirectCreateUrlTree(e,n,i,r){let o=this.createSegmentGroup(e,n.root,i,r);return new Mn(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){let i={};return Object.entries(e).forEach(([r,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);i[r]=n[a]}else i[r]=o}),i}createSegmentGroup(e,n,i,r){let o=this.createSegments(e,n.segments,i,r),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,i,r)}),new Ee(o,s)}createSegments(e,n,i,r){return n.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,r):this.findOrReturn(o,i))}findPosParam(e,n,i){let r=i[n.path.substring(1)];if(!r)throw new E(4001,!1);return r}findOrReturn(e,n){let i=0;for(let r of n){if(r.path===e.path)return n.splice(i),r;i++}return e}},pf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function YS(t,e,n,i,r){let o=Cf(t,e,n);return o.matched?(i=DS(e,i),WS(i,e,n,r).pipe(P(s=>s===!0?o:D({},pf)))):A(o)}function Cf(t,e,n){if(e.path==="**")return QS(n);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||n.length>0)?D({},pf):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let r=(e.matcher||WI)(n,t,e);if(!r)return D({},pf);let o={};Object.entries(r.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=r.consumed.length>0?D(D({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:n.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function QS(t){return{matched:!0,parameters:t.length>0?T7(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function M7(t,e,n,i){return n.length>0&&JS(t,n,i)?{segmentGroup:new Ee(e,XS(i,new Ee(n,t.children))),slicedSegments:[]}:n.length===0&&ek(t,n,i)?{segmentGroup:new Ee(t.segments,KS(t,n,i,t.children)),slicedSegments:n}:{segmentGroup:new Ee(t.segments,t.children),slicedSegments:n}}function KS(t,e,n,i){let r={};for(let o of n)if(jl(t,e,o)&&!i[Ii(o)]){let s=new Ee([],{});r[Ii(o)]=s}return D(D({},i),r)}function XS(t,e){let n={};n[se]=e;for(let i of t)if(i.path===""&&Ii(i)!==se){let r=new Ee([],{});n[Ii(i)]=r}return n}function JS(t,e,n){return n.some(i=>jl(t,e,i)&&Ii(i)!==se)}function ek(t,e,n){return n.some(i=>jl(t,e,i))}function jl(t,e,n){return(t.hasChildren()||e.length>0)&&n.pathMatch==="full"?!1:n.path===""}function tk(t,e,n,i){return Ii(t)!==i&&(i===se||!jl(e,n,t))?!1:Cf(e,t,n).matched}function ik(t,e,n){return e.length===0&&!t.children[n]}var gf=class{};function nk(t,e,n,i,r,o,s="emptyOnly"){return new vf(t,e,n,i,r,s,o).recognize()}var rk=31,vf=class{constructor(e,n,i,r,o,s,a){this.injector=e,this.configLoader=n,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new hf(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new E(4002,`'${e.segmentGroup}'`)}recognize(){let e=M7(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(P(n=>{let i=new la([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,{},se,this.rootComponentType,null,{}),r=new Ot(i,n),o=new Ol("",r),s=uS(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,se).pipe(Yt(i=>{if(i instanceof zl)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof ua?this.noMatchError(i):i}))}inheritParamsAndData(e,n){let i=e.value,r=_f(i,n,this.paramsInheritanceStrategy);i.params=Object.freeze(r.params),i.data=Object.freeze(r.data),e.children.forEach(o=>this.inheritParamsAndData(o,i))}processSegmentGroup(e,n,i,r){return i.segments.length===0&&i.hasChildren()?this.processChildren(e,n,i):this.processSegment(e,n,i,i.segments,r,!0).pipe(P(o=>o instanceof Ot?[o]:[]))}processChildren(e,n,i){let r=[];for(let o of Object.keys(i.children))o==="primary"?r.unshift(o):r.push(o);return xe(r).pipe(Fi(o=>{let s=i.children[o],a=ES(n,o);return this.processSegmentGroup(e,a,s,o)}),e2((o,s)=>(o.push(...s),o)),sn(null),Jd(),Ue(o=>{if(o===null)return wo(i);let s=X7(o);return ok(s),A(s)}))}processSegment(e,n,i,r,o,s){return xe(n).pipe(Fi(a=>this.processSegmentAgainstRoute(a._injector??e,n,a,i,r,o,s).pipe(Yt(c=>{if(c instanceof ua)return A(null);throw c}))),di(a=>!!a),Yt(a=>{if(Q7(a))return ik(i,r,o)?A(new gf):wo(i);throw a}))}processSegmentAgainstRoute(e,n,i,r,o,s,a){return tk(i,r,o,s)?i.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,i,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s):wo(r):wo(r)}expandSegmentAgainstRouteUsingRedirect(e,n,i,r,o,s){let{matched:a,consumedSegments:c,positionalParamSegments:l,remainingSegments:d}=Cf(n,r,o);if(!a)return wo(n);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>rk&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(c,r.redirectTo,l);return this.applyRedirects.lineralizeSegments(r,u).pipe(Ue(f=>this.processSegment(e,i,n,f.concat(d),s,!1)))}matchSegmentAgainstRoute(e,n,i,r,o){let s=YS(n,i,r,e,this.urlSerializer);return i.path==="**"&&(n.children={}),s.pipe(rt(a=>a.matched?(e=i._injector??e,this.getChildConfig(e,i,r).pipe(rt(({routes:c})=>{let l=i._loadedInjector??e,{consumedSegments:d,remainingSegments:u,parameters:f}=a,m=new la(d,f,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,ak(i),Ii(i),i.component??i._loadedComponent??null,i,ck(i)),{segmentGroup:p,slicedSegments:v}=M7(n,d,u,c);if(v.length===0&&p.hasChildren())return this.processChildren(l,c,p).pipe(P(y=>y===null?null:new Ot(m,y)));if(c.length===0&&v.length===0)return A(new Ot(m,[]));let _=Ii(i)===o;return this.processSegment(l,c,p,v,_?se:o,!0).pipe(P(y=>new Ot(m,y instanceof Ot?[y]:[])))}))):wo(n)))}getChildConfig(e,n,i){return n.children?A({routes:n.children,injector:e}):n.loadChildren?n._loadedRoutes!==void 0?A({routes:n._loadedRoutes,injector:n._loadedInjector}):qS(e,n,i,this.urlSerializer).pipe(Ue(r=>r?this.configLoader.loadChildren(e,n).pipe(ze(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):ZS(n))):A({routes:[],injector:e})}};function ok(t){t.sort((e,n)=>e.value.outlet===se?-1:n.value.outlet===se?1:e.value.outlet.localeCompare(n.value.outlet))}function sk(t){let e=t.value.routeConfig;return e&&e.path===""}function X7(t){let e=[],n=new Set;for(let i of t){if(!sk(i)){e.push(i);continue}let r=e.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),n.add(r)):e.push(i)}for(let i of n){let r=X7(i.children);e.push(new Ot(i.value,r))}return e.filter(i=>!n.has(i))}function ak(t){return t.data||{}}function ck(t){return t.resolve||{}}function lk(t,e,n,i,r,o){return Ue(s=>nk(t,e,n,i,s.extractedUrl,r,o).pipe(P(({state:a,tree:c})=>Ie(D({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function dk(t,e){return Ue(n=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=n;if(!r.length)return A(n);let o=new Set(r.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of J7(c))s.add(l);let a=0;return xe(s).pipe(Fi(c=>o.has(c)?uk(c,i,t,e):(c.data=_f(c,c.parent,t).resolve,A(void 0))),ze(()=>a++),zr(1),Ue(c=>a===s.size?A(n):Et))})}function J7(t){let e=t.children.map(n=>J7(n)).flat();return[t,...e]}function uk(t,e,n,i){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!q7(r)&&(o[ma]=r.title),fk(o,t,e,i).pipe(P(s=>(t._resolvedData=s,t.data=_f(t,t.parent,n).resolve,null)))}function fk(t,e,n,i){let r=G4(t);if(r.length===0)return A({});let o={};return xe(r).pipe(Ue(s=>mk(t[s],e,n,i).pipe(di(),ze(a=>{o[s]=a}))),zr(1),Xd(o),Yt(s=>Q7(s)?Et:rn(s)))}function mk(t,e,n,i){let r=ga(e)??i,o=ko(t,r),s=o.resolve?o.resolve(e,n):vi(r,()=>o(e,n));return Tn(s)}function q4(t){return rt(e=>{let n=t(e);return n?xe(n).pipe(P(()=>e)):A(e)})}var e9=(()=>{let e=class e{buildTitle(i){let r,o=i.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(s=>s.outlet===se);return r}getResolvedTitleForRoute(i){return i.data[ma]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>b(hk),providedIn:"root"});let t=e;return t})(),hk=(()=>{let e=class e extends e9{constructor(i){super(),this.title=i}updateTitle(i){let r=this.buildTitle(i);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(g(Vu))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ba=new C("",{providedIn:"root",factory:()=>({})}),fa=new C("ROUTES"),Df=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=b(w1)}loadComponent(i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return A(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let r=Tn(i.loadComponent()).pipe(P(t9),ze(s=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=s}),li(()=>{this.componentLoaders.delete(i)})),o=new nn(r,()=>new H).pipe(Tr());return this.componentLoaders.set(i,o),o}loadChildren(i,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return A({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let s=pk(r,this.compiler,i,this.onLoadEndListener).pipe(li(()=>{this.childrenLoaders.delete(r)})),a=new nn(s,()=>new H).pipe(Tr());return this.childrenLoaders.set(r,a),a}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function pk(t,e,n,i){return Tn(t.loadChildren()).pipe(P(t9),Ue(r=>r instanceof ds||Array.isArray(r)?A(r):xe(e.compileModuleAsync(r))),P(r=>{i&&i(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(n).injector,s=o.get(fa,[],{optional:!0,self:!0}).flat()),{routes:s.map(xf),injector:o}}))}function gk(t){return t&&typeof t=="object"&&"default"in t}function t9(t){return gk(t)?t.default:t}var Ef=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>b(vk),providedIn:"root"});let t=e;return t})(),vk=(()=>{let e=class e{shouldProcessUrl(i){return!0}extract(i){return i}merge(i,r){return i}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),i9=new C(""),n9=new C("");function bk(t,e,n){let i=t.get(n9),r=t.get(B);return t.get(S).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,Promise.resolve();let o,s=new Promise(l=>{o=l}),a=r.startViewTransition(()=>(o(),_k(t))),{onViewTransitionCreated:c}=i;return c&&vi(t,()=>c({transition:a,from:e,to:n})),s})}function _k(t){return new Promise(e=>{nu(e,{injector:t})})}var Mf=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new H,this.transitionAbortSubject=new H,this.configLoader=b(Df),this.environmentInjector=b(wt),this.urlSerializer=b(ha),this.rootContexts=b(pa),this.location=b(gn),this.inputBindingEnabled=b(Vl,{optional:!0})!==null,this.titleStrategy=b(e9),this.options=b(ba,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=b(Ef),this.createViewTransition=b(i9,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>A(void 0),this.rootComponentType=null;let i=o=>this.events.next(new tf(o)),r=o=>this.events.next(new nf(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=i}complete(){this.transitions?.complete()}handleNavigationRequest(i){let r=++this.navigationId;this.transitions?.next(Ie(D(D({},this.transitions.value),i),{id:r}))}setupNavigations(i,r,o){return this.transitions=new We({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ia,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ae(s=>s.id!==0),P(s=>Ie(D({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),rt(s=>{this.currentTransition=s;let a=!1,c=!1;return A(s).pipe(ze(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?Ie(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),rt(l=>{let d=!i.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=l.extras.onSameUrlNavigation??i.onSameUrlNavigation;if(!d&&u!=="reload"){let f="";return this.events.next(new Sn(l.id,this.urlSerializer.serialize(l.rawUrl),f,kl.IgnoredSameUrlNavigation)),l.resolve(null),Et}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return A(l).pipe(rt(f=>{let m=this.transitions?.getValue();return this.events.next(new Io(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),m!==this.transitions?.getValue()?Et:Promise.resolve(f)}),lk(this.environmentInjector,this.configLoader,this.rootComponentType,i.config,this.urlSerializer,this.paramsInheritanceStrategy),ze(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=Ie(D({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let m=new Tl(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(m)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:f,extractedUrl:m,source:p,restoredState:v,extras:_}=l,y=new Io(f,this.urlSerializer.serialize(m),p,v);this.events.next(y);let k=U7(this.rootComponentType).snapshot;return this.currentTransition=s=Ie(D({},l),{targetSnapshot:k,urlAfterRedirects:m,extras:Ie(D({},_),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=m,A(s)}else{let f="";return this.events.next(new Sn(l.id,this.urlSerializer.serialize(l.extractedUrl),f,kl.IgnoredByUrlHandlingStrategy)),l.resolve(null),Et}}),ze(l=>{let d=new K4(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),P(l=>(this.currentTransition=s=Ie(D({},l),{guards:IS(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),s)),LS(this.environmentInjector,l=>this.events.next(l)),ze(l=>{if(s.guardsResult=l.guardsResult,Mo(l.guardsResult))throw G7(this.urlSerializer,l.guardsResult);let d=new X4(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(d)}),Ae(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",$t.GuardRejected),!1)),q4(l=>{if(l.guards.canActivateChecks.length)return A(l).pipe(ze(d=>{let u=new J4(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),rt(d=>{let u=!1;return A(d).pipe(dk(this.paramsInheritanceStrategy,this.environmentInjector),ze({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",$t.NoDataFromResolver)}}))}),ze(d=>{let u=new ef(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),q4(l=>{let d=u=>{let f=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(u.routeConfig).pipe(ze(m=>{u.component=m}),P(()=>{})));for(let m of u.children)f.push(...d(m));return f};return Bn(d(l.targetSnapshot.root)).pipe(sn(null),Ve(1))}),q4(()=>this.afterPreactivation()),rt(()=>{let{currentSnapshot:l,targetSnapshot:d}=s,u=this.createViewTransition?.(this.environmentInjector,l.root,d.root);return u?xe(u).pipe(P(()=>s)):A(s)}),P(l=>{let d=_S(i.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s=Ie(D({},l),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),ze(()=>{this.events.next(new aa)}),MS(this.rootContexts,i.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Ve(1),ze({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ni(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),le(this.transitionAbortSubject.pipe(ze(l=>{throw l}))),li(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",$t.SupersededByNewNavigation),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),Yt(l=>{if(c=!0,Y7(l))this.events.next(new In(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),xS(l)?this.events.next(new ca(l.url)):s.resolve(!1);else{this.events.next(new sa(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0));try{s.resolve(i.errorHandler(l))}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Et}))}))}cancelNavigationTransition(i,r,o){let s=new In(i.id,this.urlSerializer.serialize(i.extractedUrl),r,o);this.events.next(s),i.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function yk(t){return t!==ia}var wk=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>b(xk),providedIn:"root"});let t=e;return t})(),bf=class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}},xk=(()=>{let e=class e extends bf{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),r9=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>b(Ck),providedIn:"root"});let t=e;return t})(),Ck=(()=>{let e=class e extends r9{constructor(){super(...arguments),this.location=b(gn),this.urlSerializer=b(ha),this.options=b(ba,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=b(Ef),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Mn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=U7(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(i){return this.location.subscribe(r=>{r.type==="popstate"&&i(r.url,r.state)})}handleRouterEvent(i,r){if(i instanceof Io)this.stateMemento=this.createStateMemento();else if(i instanceof Sn)this.rawUrlTree=r.initialUrl;else if(i instanceof Tl){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else i instanceof aa?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):i instanceof In&&(i.code===$t.GuardRejected||i.code===$t.NoDataFromResolver)?this.restoreHistory(r):i instanceof sa?this.restoreHistory(r,!0):i instanceof ni&&(this.lastSuccessfulId=i.id,this.currentPageId=this.browserPageId)}setBrowserUrl(i,r){let o=this.urlSerializer.serialize(i);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let s=this.browserPageId,a=D(D({},r.extras.state),this.generateNgRouterState(r.id,s));this.location.replaceState(o,"",a)}else{let s=D(D({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(i,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===i.finalUrl&&s===0&&(this.resetState(i),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(i),this.resetUrlToCurrentUrlTree())}resetState(i){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(i,r){return this.canceledNavigationResolution==="computed"?{navigationId:i,\u0275routerPageId:r}:{navigationId:i}}};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ea=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(ea||{});function o9(t,e){t.events.pipe(Ae(n=>n instanceof ni||n instanceof In||n instanceof sa||n instanceof Sn),P(n=>n instanceof ni||n instanceof Sn?ea.COMPLETE:(n instanceof In?n.code===$t.Redirect||n.code===$t.SupersededByNewNavigation:!1)?ea.REDIRECTING:ea.FAILED),Ae(n=>n!==ea.REDIRECTING),Ve(1)).subscribe(()=>{e()})}function Dk(t){throw t}var Ek={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Mk={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Si=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=b(y1),this.stateManager=b(r9),this.options=b(ba,{optional:!0})||{},this.pendingTasks=b(sr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=b(Mf),this.urlSerializer=b(ha),this.location=b(gn),this.urlHandlingStrategy=b(Ef),this._events=new H,this.errorHandler=this.options.errorHandler||Dk,this.navigated=!1,this.routeReuseStrategy=b(wk),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=b(fa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!b(Vl,{optional:!0}),this.eventsSubscription=new ve,this.isNgZoneEnabled=b(S)instanceof S&&S.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:i=>{this.console.warn(i)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let i=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(r,s),r instanceof In&&r.code!==$t.Redirect&&r.code!==$t.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof ni)this.navigated=!0;else if(r instanceof ca){let a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||yk(o.source)};this.scheduleNavigation(a,ia,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Sk(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(i)}resetRootComponentType(i){this.routerState.root.component=i,this.navigationTransitions.rootComponentType=i}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ia,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((i,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(i,"popstate",r)},0)})}navigateToSyncWithBrowser(i,r,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=D({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(i);this.scheduleNavigation(c,r,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(i){this.config=i.map(xf),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(i,r={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=r,d=l?this.currentUrlTree.fragment:a,u=null;switch(c){case"merge":u=D(D({},this.currentUrlTree.queryParams),s);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}u!==null&&(u=this.removeEmptyProps(u));let f;try{let m=o?o.snapshot:this.routerState.snapshot.root;f=V7(m)}catch{(typeof i[0]!="string"||!i[0].startsWith("/"))&&(i=[]),f=this.currentUrlTree.root}return j7(f,i,u,d??null)}navigateByUrl(i,r={skipLocationChange:!1}){let o=Mo(i)?i:this.parseUrl(i),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,ia,null,r)}navigate(i,r={skipLocationChange:!1}){return Ik(i),this.navigateByUrl(this.createUrlTree(i,r),r)}serializeUrl(i){return this.urlSerializer.serialize(i)}parseUrl(i){try{return this.urlSerializer.parse(i)}catch{return this.urlSerializer.parse("/")}}isActive(i,r){let o;if(r===!0?o=D({},Ek):r===!1?o=D({},Mk):o=r,Mo(i))return w7(this.currentUrlTree,i,o);let s=this.parseUrl(i);return w7(this.currentUrlTree,s,o)}removeEmptyProps(i){return Object.entries(i).reduce((r,[o,s])=>(s!=null&&(r[o]=s),r),{})}scheduleNavigation(i,r,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,l,d;a?(c=a.resolve,l=a.reject,d=a.promise):d=new Promise((f,m)=>{c=f,l=m});let u=this.pendingTasks.add();return o9(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:i,extras:s,resolve:c,reject:l,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(f=>Promise.reject(f))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ik(t){for(let e=0;e{let e=class e{constructor(i,r,o,s,a,c){this.router=i,this.route=r,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new H,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=i.events.subscribe(d=>{d instanceof ni&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(i){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",i)}ngOnChanges(i){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(i){i!=null?(this.commands=Array.isArray(i)?i:[i],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(i,r,o,s,a){if(this.urlTree===null||this.isAnchorElement&&(i!==0||r||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(this.urlTree,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let i=this.href===null?null:e6(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(i,r){let o=this.renderer,s=this.el.nativeElement;r!==null?o.setAttribute(s,i,r):o.removeAttribute(s,i)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(r){return new(r||e)(h(Si),h(kn),gi("tabindex"),h(bi),h(V),h(Ci))},e.\u0275dir=N({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&Qe("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&He("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[x.HasDecoratorInputTransform,"preserveFragment","preserveFragment",_e],skipLocationChange:[x.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",_e],replaceUrl:[x.HasDecoratorInputTransform,"replaceUrl","replaceUrl",_e],routerLink:"routerLink"},standalone:!0,features:[Ze,Re]});let t=e;return t})(),s9=(()=>{let e=class e{get isActive(){return this._isActive}constructor(i,r,o,s,a){this.router=i,this.element=r,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ie,this.routerEventsSubscription=i.events.subscribe(c=>{c instanceof ni&&this.update()})}ngAfterContentInit(){A(this.links.changes,A(null)).pipe(ci()).subscribe(i=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let i=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=xe(i).pipe(ci()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(i){let r=Array.isArray(i)?i:i.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(i){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let i=this.hasActiveLinks();this._isActive!==i&&(this._isActive=i,this.cdr.markForCheck(),this.classes.forEach(r=>{i?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),i&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(i))})}isLinkActive(i){let r=kk(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>o.urlTree?i.isActive(o.urlTree,r):!1}hasActiveLinks(){let i=this.isLinkActive(this.router);return this.link&&i(this.link)||this.links.some(i)}};e.\u0275fac=function(r){return new(r||e)(h(Si),h(V),h(bi),h(st),h(Ll,8))},e.\u0275dir=N({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,s){if(r&1&&Oe(s,Ll,5),r&2){let a;re(a=oe())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Re]});let t=e;return t})();function kk(t){return!!t.paths}var Pl=class{},a9=(()=>{let e=class e{preload(i,r){return r().pipe(Yt(()=>A(null)))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Tk=(()=>{let e=class e{constructor(i,r,o,s,a){this.router=i,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Ae(i=>i instanceof ni),Fi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(i,r){let o=[];for(let s of r){s.providers&&!s._injector&&(s._injector=_1(s.providers,i,`Route: ${s.path}`));let a=s._injector??i,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return xe(o).pipe(ci())}preloadConfig(i,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(i,r):o=A(null);let s=o.pipe(Ue(a=>a===null?A(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??i,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);return xe([s,a]).pipe(ci())}else return s})}};e.\u0275fac=function(r){return new(r||e)(g(Si),g(w1),g(wt),g(Pl),g(Df))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),c9=new C(""),Ak=(()=>{let e=class e{constructor(i,r,o,s,a={}){this.urlSerializer=i,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||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(i=>{i instanceof Io?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=i.navigationTrigger,this.restoredId=i.restoredState?i.restoredState.navigationId:0):i instanceof ni?(this.lastId=i.id,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.urlAfterRedirects).fragment)):i instanceof Sn&&i.code===kl.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(i=>{i instanceof Al&&(i.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(i.position):i.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(i.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(i,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Al(i,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(r){ws()},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function l9(t,...e){return bs([{provide:fa,multi:!0,useValue:t},[],{provide:kn,useFactory:d9,deps:[Si]},{provide:Ds,multi:!0,useFactory:u9},e.map(n=>n.\u0275providers)])}function d9(t){return t.routerState.root}function To(t,e){return{\u0275kind:t,\u0275providers:e}}function u9(){let t=b(ut);return e=>{let n=t.get(qi);if(e!==n.components[0])return;let i=t.get(Si),r=t.get(f9);t.get(If)===1&&i.initialNavigation(),t.get(m9,null,de.Optional)?.setUpPreloading(),t.get(c9,null,de.Optional)?.init(),i.resetRootComponentType(n.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var f9=new C("",{factory:()=>new H}),If=new C("",{providedIn:"root",factory:()=>1});function Nk(){return To(2,[{provide:If,useValue:0},{provide:D1,multi:!0,deps:[ut],useFactory:e=>{let n=e.get(d8,Promise.resolve());return()=>n.then(()=>new Promise(i=>{let r=e.get(Si),o=e.get(f9);o9(r,()=>{i(!0)}),e.get(Mf).afterPreactivation=()=>(i(!0),o.closed?A(void 0):o),r.initialNavigation()}))}}])}function Rk(){return To(3,[{provide:D1,multi:!0,useFactory:()=>{let e=b(Si);return()=>{e.setUpLocationChangeListener()}}},{provide:If,useValue:2}])}var m9=new C("");function Ok(t){return To(0,[{provide:m9,useExisting:Tk},{provide:Pl,useExisting:t}])}function h9(){return To(6,[{provide:Ci,useClass:wu}])}function Fk(){return To(8,[E7,{provide:Vl,useExisting:E7}])}function zk(t){let e=[{provide:i9,useValue:bk},{provide:n9,useValue:D({skipNextTransition:!!t?.skipInitialTransition},t)}];return To(9,e)}var I7=new C("ROUTER_FORROOT_GUARD"),Lk=[gn,{provide:ha,useClass:ra},Si,pa,{provide:kn,useFactory:d9,deps:[Si]},Df,[]],Sf=(()=>{let e=class e{constructor(i){}static forRoot(i,r){return{ngModule:e,providers:[Lk,[],{provide:fa,multi:!0,useValue:i},{provide:I7,useFactory:Hk,deps:[[Si,new vs,new a1]]},{provide:ba,useValue:r||{}},r?.useHash?Vk():jk(),Pk(),r?.preloadingStrategy?Ok(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Bk(r):[],r?.bindToComponentInputs?Fk().\u0275providers:[],r?.enableViewTransitions?zk().\u0275providers:[],Uk()]}}static forChild(i){return{ngModule:e,providers:[{provide:fa,multi:!0,useValue:i}]}}};e.\u0275fac=function(r){return new(r||e)(g(I7,8))},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})();function Pk(){return{provide:c9,useFactory:()=>{let t=b(m8),e=b(S),n=b(ba),i=b(Mf),r=b(ha);return n.scrollOffset&&t.setOffset(n.scrollOffset),new Ak(r,i,t,e,n)}}}function Vk(){return{provide:Ci,useClass:wu}}function jk(){return{provide:Ci,useClass:yu}}function Hk(t){return"guarded"}function Bk(t){return[t.initialNavigation==="disabled"?Rk().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Nk().\u0275providers:[]]}var S7=new C("");function Uk(){return[{provide:S7,useFactory:u9},{provide:Ds,multi:!0,useExisting:S7}]}var p9=["mat-button",""],g9=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],v9=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],qk='.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(100% + 4px);width:calc(100% + 4px);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{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.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)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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}.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 .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)}',Wk=".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}";var Gk=new C("MAT_BUTTON_CONFIG");var Zk=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],b9=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(i){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,i)}get disableRipple(){return this._disableRipple}set disableRipple(i){this._disableRipple=i,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._updateRippleDisabled()}constructor(i,r,o,s){this._elementRef=i,this._platform=r,this._ngZone=o,this._animationMode=s,this._focusMonitor=b(Z1),this._rippleLoader=b(lp),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=b(Gk,{optional:!0}),c=i.nativeElement,l=c.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(c,{className:"mat-mdc-button-ripple"});for(let{attribute:d,mdcClasses:u}of Zk)c.hasAttribute(d)&&l.add(...u)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(i="program",r){i?this._focusMonitor.focusVia(this._elementRef.nativeElement,i,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(r){ws()},e.\u0275dir=N({type:e,inputs:{color:"color",disableRipple:[x.HasDecoratorInputTransform,"disableRipple","disableRipple",_e],disabled:[x.HasDecoratorInputTransform,"disabled","disabled",_e],ariaDisabled:[x.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",_e],disabledInteractive:[x.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",_e]},features:[Ze]});let t=e;return t})();var Yk=(()=>{let e=class e extends b9{constructor(i,r,o,s){super(i,r,o,s),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}};e.\u0275fac=function(r){ws()},e.\u0275dir=N({type:e,inputs:{tabIndex:[x.HasDecoratorInputTransform,"tabIndex","tabIndex",i=>i==null?void 0:ao(i)]},features:[Ze,Ce]});let t=e;return t})(),_9=(()=>{let e=class e extends b9{constructor(i,r,o,s){super(i,r,o,s)}};e.\u0275fac=function(r){return new(r||e)(h(V),h(De),h(S),h(vt,8))},e.\u0275cmp=Y({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(r,o){r&2&&(He("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),nr(o.color?"mat-"+o.color:""),me("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Ce,be],attrs:p9,ngContentSelectors:v9,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(r,o){r&1&&(Be(g9),he(0,"span",0),te(1),M(2,"span",1),te(3,1),I(),te(4,2),he(5,"span",2)(6,"span",3)),r&2&&me("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._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(100% + 4px);width:calc(100% + 4px);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{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.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)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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}.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 .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});let t=e;return t})(),y9=(()=>{let e=class e extends Yk{constructor(i,r,o,s){super(i,r,o,s)}};e.\u0275fac=function(r){return new(r||e)(h(V),h(De),h(S),h(vt,8))},e.\u0275cmp=Y({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(r,o){r&2&&(He("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getDisabledAttribute()),nr(o.color?"mat-"+o.color:""),me("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[Ce,be],attrs:p9,ngContentSelectors:v9,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(r,o){r&1&&(Be(g9),he(0,"span",0),te(1),M(2,"span",1),te(3,1),I(),te(4,2),he(5,"span",2)(6,"span",3)),r&2&&me("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[qk,Wk],encapsulation:2,changeDetection:0});let t=e;return t})();var w9=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,Vs,pe]});let t=e;return t})();var Qk=["*",[["mat-toolbar-row"]]],Kk=["*","mat-toolbar-row"],Xk=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=N({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0});let t=e;return t})(),C9=(()=>{let e=class e{constructor(i,r,o){this._elementRef=i,this._platform=r,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}};e.\u0275fac=function(r){return new(r||e)(h(V),h(De),h(B))},e.\u0275cmp=Y({type:e,selectors:[["mat-toolbar"]],contentQueries:function(r,o,s){if(r&1&&Oe(s,Xk,5),r&2){let a;re(a=oe())&&(o._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(r,o){r&2&&(nr(o.color?"mat-"+o.color:""),me("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[be],ngContentSelectors:Kk,decls:2,vars:0,template:function(r,o){r&1&&(Be(Qk),te(0),te(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0});let t=e;return t})();var D9=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,pe]});let t=e;return t})();var Hl=(()=>{let e=class e{constructor(i,r,o){this.matIconRegistry=i,this.domSanitizer=r,this.faLibrary=o,this.title="g4t-download";let s={viewBox:"0 0 128 128"};this.matIconRegistry.addSvgIcon("chrome4test",this.domSanitizer.bypassSecurityTrustResourceUrl("assets/logo.svg"),s),this.faLibrary.addIcons(L8,z8,F8)}};e.\u0275fac=function(r){return new(r||e)(h(u4),h(lr),h(H4))},e.\u0275cmp=Y({type:e,selectors:[["app-root"]],decls:18,vars:0,consts:[["mat-stroked-button","","color","primary","routerLink","/latest","routerLinkActive","mat-accent","ariaCurrentWhenActive","page",1,"mr-1"],["mat-stroked-button","","color","primary","routerLink","/milestone","routerLinkActive","mat-accent","ariaCurrentWhenActive","page",1,"mr-1"],["mat-stroked-button","","color","primary","routerLink","/about","routerLinkActive","mat-accent","ariaCurrentWhenActive","page"],[1,"tab-spacer"]],template:function(r,o){r&1&&(M(0,"mat-toolbar")(1,"button",0)(2,"mat-icon"),W(3,"download"),I(),W(4," Download latest "),I(),M(5,"button",1)(6,"mat-icon"),W(7,"download"),I(),W(8," Download milestones "),I(),M(9,"button",2)(10,"mat-icon"),W(11,"info"),I(),W(12," Info "),I(),he(13,"span",3),M(14,"span")(15,"h3"),W(16,"Download Chrome for testing"),I()()(),he(17,"router-outlet"))},dependencies:[wf,Ll,s9,_9,po,C9],styles:[".tab-spacer[_ngcontent-%COMP%]{flex:1 1 auto}"]});let t=e;return t})();var E9=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,Tt,pe]});let t=e;return t})();var kf=class{constructor(e){this._box=e,this._destroyed=new H,this._resizeSubject=new H,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(n=>this._resizeSubject.next(n)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new K(n=>{let i=this._resizeSubject.subscribe(n);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),i.unsubscribe(),this._elementObservables.delete(e)}}).pipe(Ae(n=>n.some(i=>i.target===e)),mc({bufferSize:1,refCount:!0}),le(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},M9=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=b(S),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,i]of this._observers)i.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(i,r){let o=r?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new kf(o)),this._observers.get(o).observe(i)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var J=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(J||{}),ki="*";function ya(t,e){return{type:J.Trigger,name:t,definitions:e,options:{}}}function wa(t,e=null){return{type:J.Animate,styles:e,timings:t}}function I9(t,e=null){return{type:J.Sequence,steps:t,options:e}}function Ti(t){return{type:J.Style,styles:t,offset:null}}function Bl(t,e,n){return{type:J.State,name:t,styles:e,options:n}}function Ao(t,e,n=null){return{type:J.Transition,expr:t,animation:e,options:n}}function S9(t=null){return{type:J.AnimateChild,options:t}}function k9(t,e,n=null){return{type:J.Query,selector:t,animation:e,options:n}}var An=class{constructor(e=0,n=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+n}_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){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(i=>i()),n.length=0}},_a=class{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 n=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==o&&this._onFinish()}),s.onDestroy(()=>{++i==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){let n=e*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,n/i.totalTime):1;i.setPosition(r)})}getPosition(){let e=this.players.reduce((n,i)=>n===null||i.totalTime>n.totalTime?i:n,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(i=>i()),n.length=0}},Ul="!";var eT=["notch"],tT=["matFormFieldNotchedOutline",""],iT=["*"],nT=["textField"],rT=["iconPrefixContainer"],oT=["textPrefixContainer"];function sT(t,e){t&1&&he(0,"span",16)}function aT(t,e){if(t&1&&(M(0,"label",14),te(1,1),ue(2,sT,1,0,"span",15),I()),t&2){let n=ke(2);fe("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),He("for",n._control.id),R(2),Te(2,!n.hideRequiredMarker&&n._control.required?2:-1)}}function cT(t,e){if(t&1&&ue(0,aT,3,5,"label",14),t&2){let n=ke();Te(0,n._hasFloatingLabel()?0:-1)}}function lT(t,e){t&1&&he(0,"div",17)}function dT(t,e){}function uT(t,e){if(t&1&&ue(0,dT,0,0,"ng-template",9),t&2){ke(2);let n=pn(1);fe("ngTemplateOutlet",n)}}function fT(t,e){if(t&1&&(M(0,"div",5),ue(1,uT,1,1,null,9),I()),t&2){let n=ke();fe("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),R(),Te(1,n._forceDisplayInfixLabel()?-1:1)}}function mT(t,e){t&1&&(M(0,"div",18,19),te(2,2),I())}function hT(t,e){t&1&&(M(0,"div",20,21),te(2,3),I())}function pT(t,e){}function gT(t,e){if(t&1&&ue(0,pT,0,0,"ng-template",9),t&2){ke();let n=pn(1);fe("ngTemplateOutlet",n)}}function vT(t,e){t&1&&(M(0,"div",22),te(1,4),I())}function bT(t,e){t&1&&(M(0,"div",23),te(1,5),I())}function _T(t,e){t&1&&he(0,"div",12)}function yT(t,e){if(t&1&&(M(0,"div",24),te(1,6),I()),t&2){let n=ke();fe("@transitionMessages",n._subscriptAnimationState)}}function wT(t,e){if(t&1&&(M(0,"mat-hint",26),W(1),I()),t&2){let n=ke(2);fe("id",n._hintLabelId),R(),Dt(n.hintLabel)}}function xT(t,e){if(t&1&&(M(0,"div",25),ue(1,wT,2,2,"mat-hint",26),te(2,7),he(3,"div",27),te(4,8),I()),t&2){let n=ke();fe("@transitionMessages",n._subscriptAnimationState),R(),Te(1,n.hintLabel?1:-1)}}var CT=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],DT=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"],ql=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=N({type:e,selectors:[["mat-label"]],standalone:!0});let t=e;return t})();var ET=new C("MatError");var MT=0,T9=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${MT++}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=N({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(r,o){r&2&&(rr("id",o.id),He("align",null),me("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let t=e;return t})(),IT=new C("MatPrefix");var ST=new C("MatSuffix");var P9=new C("FloatingLabelParent"),A9=(()=>{let e=class e{get floating(){return this._floating}set floating(i){this._floating=i,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(i){this._monitorResize=i,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(i){this._elementRef=i,this._floating=!1,this._monitorResize=!1,this._resizeObserver=b(M9),this._ngZone=b(S),this._parent=b(P9),this._resizeSubscription=new ve}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return kT(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(r){return new(r||e)(h(V))},e.\u0275dir=N({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(r,o){r&2&&me("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let t=e;return t})();function kT(t){let e=t;if(e.offsetParent!==null)return e.scrollWidth;let n=e.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);let i=n.scrollWidth;return n.remove(),i}var N9="mdc-line-ripple--active",$l="mdc-line-ripple--deactivating",R9=(()=>{let e=class e{constructor(i,r){this._elementRef=i,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains($l);o.propertyName==="opacity"&&a&&s.remove(N9,$l)},r.runOutsideAngular(()=>{i.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let i=this._elementRef.nativeElement.classList;i.remove($l),i.add(N9)}deactivate(){this._elementRef.nativeElement.classList.add($l)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(r){return new(r||e)(h(V),h(S))},e.\u0275dir=N({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let t=e;return t})(),O9=(()=>{let e=class e{constructor(i,r){this._elementRef=i,this._ngZone=r,this.open=!1}ngAfterViewInit(){let i=this._elementRef.nativeElement.querySelector(".mdc-floating-label");i?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(i){!this.open||!i?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${i}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(r){return new(r||e)(h(V),h(S))},e.\u0275cmp=Y({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,o){if(r&1&&et(eT,5),r&2){let s;re(s=oe())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,o){r&2&&me("mdc-notched-outline--notched",o.open)},inputs:{open:[x.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[be],attrs:tT,ngContentSelectors:iT,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(r,o){r&1&&(Be(),he(0,"div",0),M(1,"div",1,2),te(3),I(),he(4,"div",3))},encapsulation:2,changeDetection:0});let t=e;return t})(),TT={transitionMessages:ya("transitionMessages",[Bl("enter",Ti({opacity:1,transform:"translateY(0%)"})),Ao("void => enter",[Ti({opacity:0,transform:"translateY(-5px)"}),wa("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Tf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=N({type:e});let t=e;return t})();var Af=new C("MatFormField"),AT=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),F9=0,z9="fill",NT="auto",L9="fixed",RT="translateY(-50%)",V9=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(i){this._hideRequiredMarker=yn(i)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||NT}set floatLabel(i){i!==this._floatLabel&&(this._floatLabel=i,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(i){let r=this._appearance,o=i||this._defaults?.appearance||z9;this._appearance=o,this._appearance==="outline"&&this._appearance!==r&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||L9}set subscriptSizing(i){this._subscriptSizing=i||this._defaults?.subscriptSizing||L9}get hintLabel(){return this._hintLabel}set hintLabel(i){this._hintLabel=i,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(i){this._explicitFormFieldControl=i}constructor(i,r,o,s,a,c,l,d){this._elementRef=i,this._changeDetectorRef=r,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=c,this._animationMode=l,this._hideRequiredMarker=!1,this.color="primary",this._appearance=z9,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${F9++}`,this._hintLabelId=`mat-mdc-hint-${F9++}`,this._subscriptAnimationState="",this._destroyed=new H,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=!!c?.hideRequiredMarker,c.color&&(this.color=c.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let i=this._control;i.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${i.controlType}`),i.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),i.ngControl&&i.ngControl.valueChanges&&i.ngControl.valueChanges.pipe(le(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(i=>!i._isText),this._hasTextPrefix=!!this._prefixChildren.find(i=>i._isText),this._hasIconSuffix=!!this._suffixChildren.find(i=>!i._isText),this._hasTextSuffix=!!this._suffixChildren.find(i=>i._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Oi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(le(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(le(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(i){let r=this._control?this._control.ngControl:null;return r&&r[i]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let i=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&i.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let r=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;r?i.push(r.id):this._hintLabel&&i.push(this._hintLabelId),o&&i.push(o.id)}else this._errorChildren&&i.push(...this._errorChildren.map(r=>r.id));this._control.setDescribedByIds(i)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let i=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){i.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let r=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=r?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0,c=this._dir.value==="rtl"?"-1":"1",l=`${s+a}px`,u=`calc(${c} * (${l} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;i.style.transform=`var( - --mat-mdc-form-field-label-transform, - ${RT} translateX(${u}) - )`}_isAttachedToDom(){let i=this._elementRef.nativeElement;if(i.getRootNode){let r=i.getRootNode();return r&&r!==i}return document.documentElement.contains(i)}};e.\u0275fac=function(r){return new(r||e)(h(V),h(st),h(S),h(ti),h(De),h(AT,8),h(vt,8),h(B))},e.\u0275cmp=Y({type:e,selectors:[["mat-form-field"]],contentQueries:function(r,o,s){if(r&1&&(Oe(s,ql,5),Oe(s,ql,7),Oe(s,Tf,5),Oe(s,IT,5),Oe(s,ST,5),Oe(s,ET,5),Oe(s,T9,5)),r&2){let a;re(a=oe())&&(o._labelChildNonStatic=a.first),re(a=oe())&&(o._labelChildStatic=a.first),re(a=oe())&&(o._formFieldControl=a.first),re(a=oe())&&(o._prefixChildren=a),re(a=oe())&&(o._suffixChildren=a),re(a=oe())&&(o._errorChildren=a),re(a=oe())&&(o._hintChildren=a)}},viewQuery:function(r,o){if(r&1&&(et(nT,5),et(rT,5),et(oT,5),et(A9,5),et(O9,5),et(R9,5)),r&2){let s;re(s=oe())&&(o._textField=s.first),re(s=oe())&&(o._iconPrefixContainer=s.first),re(s=oe())&&(o._textPrefixContainer=s.first),re(s=oe())&&(o._floatingLabel=s.first),re(s=oe())&&(o._notchedOutline=s.first),re(s=oe())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(r,o){r&2&&me("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[Fe([{provide:Af,useExisting:e},{provide:P9,useExisting:e}]),be],ngContentSelectors:DT,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(r,o){if(r&1&&(Be(CT),ue(0,cT,1,1,"ng-template",null,0,xs),M(2,"div",1,2),Qe("click",function(a){return o._control.onContainerClick(a)}),ue(4,lT,1,0,"div",3),M(5,"div",4),ue(6,fT,2,2,"div",5)(7,mT,3,0,"div",6)(8,hT,3,0,"div",7),M(9,"div",8),ue(10,gT,1,1,null,9),te(11),I(),ue(12,vT,2,0,"div",10)(13,bT,2,0,"div",11),I(),ue(14,_T,1,0,"div",12),I(),M(15,"div",13),ue(16,yT,2,1)(17,xT,5,2),I()),r&2){let s;R(2),me("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),R(2),Te(4,!o._hasOutline()&&!o._control.disabled?4:-1),R(2),Te(6,o._hasOutline()?6:-1),R(),Te(7,o._hasIconPrefix?7:-1),R(),Te(8,o._hasTextPrefix?8:-1),R(2),Te(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),R(2),Te(12,o._hasTextSuffix?12:-1),R(),Te(13,o._hasIconSuffix?13:-1),R(),Te(14,o._hasOutline()?-1:14),R(),me("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),R(),Te(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[A9,O9,xu,R9,T9],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[TT.transitionMessages]},changeDetection:0});let t=e;return t})(),Wl=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,Tt,mo,pe]});let t=e;return t})();function Zl(t){return t&&typeof t.connect=="function"&&!(t instanceof nn)}var No=function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t}(No||{}),xa=new C("_ViewRepeater"),Ro=class{applyChanges(e,n,i,r,o){e.forEachOperation((s,a,c)=>{let l,d;if(s.previousIndex==null){let u=i(s,a,c);l=n.createEmbeddedView(u.templateRef,u.context,u.index),d=No.INSERTED}else c==null?(n.remove(a),d=No.REMOVED):(l=n.get(a),n.move(l,c),d=No.MOVED);o&&o({context:l?.context,operation:d,record:s})})}detach(){}};var Gl=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,n,i=!0,r){this._multiple=e,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new H,n&&n.length&&(e?n.forEach(o=>this._markSelected(o)):this._markSelected(n[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(i=>this._markSelected(i));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}deselect(...e){this._verifyValueAssignment(e),e.forEach(i=>this._unmarkSelected(i));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}setSelection(...e){this._verifyValueAssignment(e);let n=this.selected,i=new Set(e);e.forEach(o=>this._markSelected(o)),n.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let n=this._hasQueuedChanges();return e&&this._emitChangeEvent(),n}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,n){if(this.compareWith){n=n??this._selection;for(let i of n)if(this.compareWith(e,i))return i;return e}else return e}};var FT=20,Ca=(()=>{let e=class e{constructor(i,r,o){this._ngZone=i,this._platform=r,this._scrolled=new H,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(i){this.scrollContainers.has(i)||this.scrollContainers.set(i,i.elementScrolled().subscribe(()=>this._scrolled.next(i)))}deregister(i){let r=this.scrollContainers.get(i);r&&(r.unsubscribe(),this.scrollContainers.delete(i))}scrolled(i=FT){return this._platform.isBrowser?new K(r=>{this._globalSubscription||this._addGlobalListener();let o=i>0?this._scrolled.pipe(uc(i)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):A()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((i,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(i,r){let o=this.getAncestorScrollContainers(i);return this.scrolled(r).pipe(Ae(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(i){let r=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,i)&&r.push(s)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(i,r){let o=Gi(r),s=i.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let i=this._getWindow();return Wo(i.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(r){return new(r||e)(g(S),g(De),g(B,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var zT=20,Nn=(()=>{let e=class e{constructor(i,r,o){this._platform=i,this._change=new H,this._changeListener=s=>{this._change.next(s)},this._document=o,r.runOutsideAngular(()=>{if(i.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let i=this._getWindow();i.removeEventListener("resize",this._changeListener),i.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let i={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),i}getViewportRect(){let i=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:i.top,left:i.left,bottom:i.top+o,right:i.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let i=this._document,r=this._getWindow(),o=i.documentElement,s=o.getBoundingClientRect(),a=-s.top||i.body.scrollTop||r.scrollY||o.scrollTop||0,c=-s.left||i.body.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:a,left:c}}change(i=zT){return i>0?this._change.pipe(uc(i)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let i=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:i.innerWidth,height:i.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(r){return new(r||e)(g(De),g(S),g(B,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Oo=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})(),Da=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[wn,Oo,wn,Oo]});let t=e;return t})();var Ea=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Ma=class extends Ea{constructor(e,n,i,r,o){super(),this.component=e,this.viewContainerRef=n,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}},Ia=class extends Ea{constructor(e,n,i,r){super(),this.templateRef=e,this.viewContainerRef=n,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,n=this.context){return this.context=n,super.attach(e)}detach(){return this.context=void 0,super.detach()}},Rf=class extends Ea{constructor(e){super(),this.element=e instanceof V?e.nativeElement:e}},Of=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Ma)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Ia)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Rf)return this._attachedPortal=e,this.attachDomPortal(e)}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)}};var Yl=class extends Of{constructor(e,n,i,r,o){super(),this.outletElement=e,this._componentFactoryResolver=n,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let c=this._document.createComment("dom-portal");a.parentNode.insertBefore(c,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=o}attachComponentPortal(e){let i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(e.injector||this._defaultInjector||ut.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 n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=n.indexOf(i);r!==-1&&n.remove(r)}),this._attachedPortal=e,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var j9=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})();var H9=P8(),Ff=class{constructor(e,n){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Ke(-this._previousScrollPosition.left),e.style.top=Ke(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,n=this._document.body,i=e.style,r=n.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),H9&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),H9&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let n=this._document.body,i=this._viewportRuler.getViewportSize();return n.scrollHeight>i.height||n.scrollWidth>i.width}};var zf=class{constructor(e,n,i,r){this._scrollDispatcher=e,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Ae(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-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}},Ql=class{enable(){}disable(){}attach(){}};function Lf(t,e){return e.some(n=>{let i=t.bottomn.bottom,o=t.rightn.right;return i||r||o||s})}function B9(t,e){return e.some(n=>{let i=t.topn.bottom,o=t.leftn.right;return i||r||o||s})}var Pf=class{constructor(e,n,i,r){this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Lf(n,[{width:i,height:r,bottom:r,right:i,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}},LT=(()=>{let e=class e{constructor(i,r,o,s){this._scrollDispatcher=i,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new Ql,this.close=a=>new zf(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new Ff(this._viewportRuler,this._document),this.reposition=a=>new Pf(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(r){return new(r||e)(g(Ca),g(Nn),g(S),g(B))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kl=class{constructor(e){if(this.scrollStrategy=new Ql,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let n=Object.keys(e);for(let i of n)e[i]!==void 0&&(this[i]=e[i])}}};var Vf=class{constructor(e,n){this.connectionPair=e,this.scrollableViewProperties=n}};var G9=(()=>{let e=class e{constructor(i){this._attachedOverlays=[],this._document=i}ngOnDestroy(){this.detach()}add(i){this.remove(i),this._attachedOverlays.push(i)}remove(i){let r=this._attachedOverlays.indexOf(i);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(r){return new(r||e)(g(B))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),PT=(()=>{let e=class e extends G9{constructor(i,r){super(i),this._ngZone=r,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let c=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(o)):c.next(o);break}}}add(i){super.add(i),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)}};e.\u0275fac=function(r){return new(r||e)(g(B),g(S,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),VT=(()=>{let e=class e extends G9{constructor(i,r,o){super(i),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Jt(s)},this._clickListener=s=>{let a=Jt(s),c=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let d=l.length-1;d>-1;d--){let u=l[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(c))break;let f=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>f.next(s)):f.next(s)}}}add(i){if(super.add(i),!this._isAttached){let 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){let i=this._document.body;i.removeEventListener("pointerdown",this._pointerDownListener,!0),i.removeEventListener("click",this._clickListener,!0),i.removeEventListener("auxclick",this._clickListener,!0),i.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(i.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(i){i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(r){return new(r||e)(g(B),g(De),g(S,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Z9=(()=>{let e=class e{constructor(i,r){this._platform=r,this._document=i}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let i="cdk-overlay-container";if(this._platform.isBrowser||Fs()){let o=this._document.querySelectorAll(`.${i}[platform="server"], .${i}[platform="test"]`);for(let s=0;sthis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new H,this._outsidePointerEvents=new H,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);let n=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(Ve(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),typeof n?.onDestroy=="function"&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let 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=D(D({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Ie(D({},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(){let e=this._config.direction;return e?typeof e=="string"?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;let e=this._pane.style;e.width=Ke(this._config.width),e.height=Ke(this._config.height),e.minWidth=Ke(this._config.minWidth),e.minHeight=Ke(this._config.minHeight),e.maxWidth=Ke(this._config.maxWidth),e.maxHeight=Ke(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let 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(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}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,n,i){let r=fo(n||[]).filter(o=>!!o);r.length&&(i?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(le(Oi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(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(){let 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)}},U9="cdk-overlay-connected-position-bounding-box",jT=/([A-Za-z%]+)$/,Hf=class{get positions(){return this._preferredPositions}constructor(e,n,i,r,o){this._viewportRuler=n,this._document=i,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 H,this._resizeSubscription=ve.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(U9),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){this.reapplyLastPosition();return}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();let e=this._originRect,n=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(e,r,a),l=this._getOverlayPoint(c,n,a),d=this._getOverlayFit(l,n,i,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(d,l,i)){o.push({position:a,origin:c,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleAreac&&(c=d,a=l)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_r(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(U9),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,n)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(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,n,i){let r;if(i.originX=="center")r=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;r=i.originX=="start"?s:a}n.left<0&&(r-=n.left);let o;return i.originY=="center"?o=e.top+e.height/2:o=i.originY=="top"?e.top:e.bottom,n.top<0&&(o-=n.top),{x:r,y:o}}_getOverlayPoint(e,n,i){let r;i.overlayX=="center"?r=-n.width/2:i.overlayX==="start"?r=this._isRtl()?-n.width:0:r=this._isRtl()?0:-n.width;let o;return i.overlayY=="center"?o=-n.height/2:o=i.overlayY=="top"?0:-n.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,n,i,r){let o=q9(n),{x:s,y:a}=e,c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(s+=c),l&&(a+=l);let d=0-s,u=s+o.width-i.width,f=0-a,m=a+o.height-i.height,p=this._subtractOverflows(o.width,d,u),v=this._subtractOverflows(o.height,f,m),_=p*v;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:v===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(e,n,i){if(this._hasFlexibleDimensions){let r=i.bottom-n.y,o=i.right-n.x,s=$9(this._overlayRef.getConfig().minHeight),a=$9(this._overlayRef.getConfig().minWidth),c=e.fitsInViewportVertically||s!=null&&s<=r,l=e.fitsInViewportHorizontally||a!=null&&a<=o;return c&&l}return!1}_pushOverlayOnScreen(e,n,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let r=q9(n),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),a=Math.max(e.y+r.height-o.height,0),c=Math.max(o.top-i.top-e.y,0),l=Math.max(o.left-i.left-e.x,0),d=0,u=0;return r.width<=o.width?d=l||-s:d=e.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-p/2)}let c=n.overlayX==="start"&&!r||n.overlayX==="end"&&r,l=n.overlayX==="end"&&!r||n.overlayX==="start"&&r,d,u,f;if(l)f=i.width-e.x+this._viewportMargin,d=e.x-this._viewportMargin;else if(c)u=e.x,d=i.right-e.x;else{let m=Math.min(i.right-e.x+i.left,e.x),p=this._lastBoundingBoxSize.width;d=m*2,u=e.x-m,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-p/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:o}}_setBoundingBoxStyles(e,n){let i=this._calculateBoundingBoxRect(e,n);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Ke(i.height),r.top=Ke(i.top),r.bottom=Ke(i.bottom),r.width=Ke(i.width),r.left=Ke(i.left),r.right=Ke(i.right),n.overlayX==="center"?r.alignItems="center":r.alignItems=n.overlayX==="end"?"flex-end":"flex-start",n.overlayY==="center"?r.justifyContent="center":r.justifyContent=n.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=Ke(o)),s&&(r.maxWidth=Ke(s))}this._lastBoundingBoxSize=i,_r(this._boundingBox.style,r)}_resetBoundingBoxStyles(){_r(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_r(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,n){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();_r(i,this._getExactOverlayY(n,e,d)),_r(i,this._getExactOverlayX(n,e,d))}else i.position="static";let a="",c=this._getOffset(n,"x"),l=this._getOffset(n,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Ke(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Ke(s.maxWidth):o&&(i.maxWidth="")),_r(this._pane.style,i)}_getExactOverlayY(e,n,i){let r={top:"",bottom:""},o=this._getOverlayPoint(n,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=Ke(o.y);return r}_getExactOverlayX(e,n,i){let r={left:"",right:""},o=this._getOverlayPoint(n,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=Ke(o.x);return r}_getScrollVisibility(){let e=this._getOriginRect(),n=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:B9(e,i),isOriginOutsideView:Lf(e,i),isOverlayClipped:B9(n,i),isOverlayOutsideView:Lf(n,i)}}_subtractOverflows(e,...n){return n.reduce((i,r)=>i-Math.max(r,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.top+n-this._viewportMargin,width:e-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,n){return n==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&fo(e).forEach(n=>{n!==""&&this._appliedPanelClasses.indexOf(n)===-1&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof V)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let n=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+n,height:i,width:n}}};function _r(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function $9(t){if(typeof t!="number"&&t!=null){let[e,n]=t.split(jT);return!n||n==="px"?parseFloat(e):null}return t||null}function q9(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)}}var W9="cdk-global-overlay-wrapper",Bf=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let n=e.getConfig();this._overlayRef=e,this._width&&!n.width&&e.updateSize({width:this._width}),this._height&&!n.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(W9),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;let e=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,c=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,f=this._overlayRef.getConfig().direction==="rtl",m="",p="",v="";c?v="flex-start":d==="center"?(v="center",f?p=u:m=u):f?d==="left"||d==="end"?(v="flex-end",m=u):(d==="right"||d==="start")&&(v="flex-start",p=u):d==="left"||d==="start"?(v="flex-start",m=u):(d==="right"||d==="end")&&(v="flex-end",p=u),e.position=this._cssPosition,e.marginLeft=c?"0":m,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=c?"0":p,n.justifyContent=v,n.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,i=n.style;n.classList.remove(W9),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},HT=(()=>{let e=class e{constructor(i,r,o,s){this._viewportRuler=i,this._document=r,this._platform=o,this._overlayContainer=s}global(){return new Bf}flexibleConnectedTo(i){return new Hf(i,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(r){return new(r||e)(g(Nn),g(B),g(De),g(Z9))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),BT=0,Wt=(()=>{let e=class e{constructor(i,r,o,s,a,c,l,d,u,f,m,p){this.scrollStrategies=i,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=c,this._ngZone=l,this._document=d,this._directionality=u,this._location=f,this._outsideClickDispatcher=m,this._animationsModuleType=p}create(i){let r=this._createHostElement(),o=this._createPaneElement(r),s=this._createPortalOutlet(o),a=new Kl(i);return a.direction=a.direction||this._directionality.value,new jf(s,r,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(i){let r=this._document.createElement("div");return r.id=`cdk-overlay-${BT++}`,r.classList.add("cdk-overlay-pane"),i.appendChild(r),r}_createHostElement(){let i=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalOutlet(i){return this._appRef||(this._appRef=this._injector.get(qi)),new Yl(i,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(r){return new(r||e)(g(LT),g(Z9),g(tr),g(HT),g(PT),g(ut),g(S),g(B),g(ti),g(gn),g(VT),g(vt,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),UT=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Y9=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=b(Wt);return()=>t.scrollStrategies.reposition()}}),Xl=(()=>{let e=class e{constructor(i){this.elementRef=i}};e.\u0275fac=function(r){return new(r||e)(h(V))},e.\u0275dir=N({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let t=e;return t})(),$f=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(i){this._offsetX=i,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(i){this._offsetY=i,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(i){this._disposeOnNavigation=i}constructor(i,r,o,s,a){this._overlay=i,this._dir=a,this._backdropSubscription=ve.EMPTY,this._attachSubscription=ve.EMPTY,this._detachSubscription=ve.EMPTY,this._positionSubscription=ve.EMPTY,this._disposeOnNavigation=!1,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new ie,this.positionChange=new ie,this.attach=new ie,this.detach=new ie,this.overlayKeydown=new ie,this.overlayOutsideClick=new ie,this._templatePortal=new Ia(r,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(i){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),i.origin&&this.open&&this._position.apply()),i.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=UT);let i=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=i.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=i.detachments().subscribe(()=>this.detach.emit()),i.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!ei(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{this.overlayOutsideClick.next(r)})}_buildConfig(){let i=this._position=this.positionStrategy||this._createPositionStrategy(),r=new Kl({direction:this._dir,positionStrategy:i,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(r.width=this.width),(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(i){let r=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return i.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let i=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(i),i}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Xl?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(i=>{this.backdropClick.emit(i)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(i2(()=>this.positionChange.observers.length>0)).subscribe(i=>{this.positionChange.emit(i),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)(h(Wt),h(Je),h(Ye),h(Y9),h(ti,8))},e.\u0275dir=N({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[x.None,"cdkConnectedOverlayOrigin","origin"],positions:[x.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[x.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[x.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[x.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[x.None,"cdkConnectedOverlayWidth","width"],height:[x.None,"cdkConnectedOverlayHeight","height"],minWidth:[x.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[x.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[x.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[x.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[x.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[x.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[x.None,"cdkConnectedOverlayOpen","open"],disableClose:[x.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[x.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[x.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",_e],lockPosition:[x.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",_e],flexibleDimensions:[x.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",_e],growAfterOpen:[x.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",_e],push:[x.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",_e],disposeOnNavigation:[x.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",_e]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Ze,Re]});let t=e;return t})();function $T(t){return()=>t.scrollStrategies.reposition()}var qT={provide:Y9,deps:[Wt],useFactory:$T},Jl=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:[Wt,qT],imports:[wn,j9,Da,Da]});let t=e;return t})();function Rn(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function ig(t){return t!=null&&typeof t.length=="number"}var ng=new C("NgValidators"),rg=new C("NgAsyncValidators"),GT=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,td=class{static min(e){return ZT(e)}static max(e){return YT(e)}static required(e){return QT(e)}static requiredTrue(e){return KT(e)}static email(e){return XT(e)}static minLength(e){return JT(e)}static maxLength(e){return eA(e)}static pattern(e){return tA(e)}static nullValidator(e){return og(e)}static compose(e){return ug(e)}static composeAsync(e){return fg(e)}};function ZT(t){return e=>{if(Rn(e.value)||Rn(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n{if(Rn(e.value)||Rn(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function QT(t){return Rn(t.value)?{required:!0}:null}function KT(t){return t.value===!0?null:{required:!0}}function XT(t){return Rn(t.value)||GT.test(t.value)?null:{email:!0}}function JT(t){return e=>Rn(e.value)||!ig(e.value)?null:e.value.lengthig(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function tA(t){if(!t)return og;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),i=>{if(Rn(i.value))return null;let r=i.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function og(t){return null}function sg(t){return t!=null}function ag(t){return or(t)?xe(t):t}function cg(t){let e={};return t.forEach(n=>{e=n!=null?D(D({},e),n):e}),Object.keys(e).length===0?null:e}function lg(t,e){return e.map(n=>n(t))}function iA(t){return!t.validate}function dg(t){return t.map(e=>iA(e)?e:n=>e.validate(n))}function ug(t){if(!t)return null;let e=t.filter(sg);return e.length==0?null:function(n){return cg(lg(n,e))}}function Gf(t){return t!=null?ug(dg(t)):null}function fg(t){if(!t)return null;let e=t.filter(sg);return e.length==0?null:function(n){let i=lg(n,e).map(ag);return qo(i).pipe(P(cg))}}function Zf(t){return t!=null?fg(dg(t)):null}function Q9(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function mg(t){return t._rawValidators}function hg(t){return t._rawAsyncValidators}function qf(t){return t?Array.isArray(t)?t:[t]:[]}function id(t,e){return Array.isArray(t)?t.includes(e):t===e}function K9(t,e){let n=qf(e);return qf(t).forEach(r=>{id(n,r)||n.push(r)}),n}function X9(t,e){return qf(e).filter(n=>!id(t,n))}var nd=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Gf(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Zf(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,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},zo=class extends nd{get formDirective(){return null}get path(){return null}},rd=class extends nd{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}};var nA={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Jq=Ie(D({},nA),{"[class.ng-submitted]":"isSubmitted"});var Sa="VALID",ed="INVALID",Fo="PENDING",ka="DISABLED";function pg(t){return(ld(t)?t.validators:t)||null}function rA(t){return Array.isArray(t)?Gf(t):t||null}function gg(t,e){return(ld(e)?e.asyncValidators:t)||null}function oA(t){return Array.isArray(t)?Zf(t):t||null}function ld(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function sA(t,e,n){let i=t.controls;if(!(e?Object.keys(i):i).length)throw new E(1e3,"");if(!i[n])throw new E(1001,"")}function aA(t,e,n){t._forEachChild((i,r)=>{if(n[r]===void 0)throw new E(1002,"")})}var od=class{constructor(e,n){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(n)}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===Sa}get invalid(){return this.status===ed}get pending(){return this.status==Fo}get disabled(){return this.status===ka}get enabled(){return this.status!==ka}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(K9(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(K9(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(X9(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(X9(e,this._rawAsyncValidators))}hasValidator(e){return id(this._rawValidators,e)}hasAsyncValidator(e){return id(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(n=>{n.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(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Fo,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=ka,this.errors=null,this._forEachChild(i=>{i.disable(Ie(D({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Ie(D({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=Sa,this._forEachChild(i=>{i.enable(Ie(D({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Ie(D({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!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===Sa||this.status===Fo)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ka:Sa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Fo,this._hasOwnPendingAsyncValidator=!0;let n=ag(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((i,r)=>i&&i._find(r),this)}getError(e,n){let i=n?this.get(n):this;return i&&i.errors?i.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}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 ie,this.statusChanges=new ie}_calculateStatus(){return this._allControlsDisabled()?ka:this.errors?ed:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Fo)?Fo:this._anyControlsHaveStatus(ed)?ed:Sa}_anyControlsHaveStatus(e){return this._anyControls(n=>n.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){ld(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=rA(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=oA(this._rawAsyncValidators)}},sd=class extends od{constructor(e,n,i){super(pg(n),gg(i,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,i={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){aA(this,!0,e),Object.keys(e).forEach(i=>{sA(this,!0,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(i=>{let r=this.controls[i];r&&r.patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((i,r)=>{i.reset(e?e[r]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,i)=>(e[i]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,i)=>i._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let i=this.controls[n];i&&e(i,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,i]of Object.entries(this.controls))if(this.contains(n)&&e(i))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,i,r)=>((i.enabled||this.disabled)&&(n[r]=i.value),n))}_reduceChildren(e,n){let i=e;return this._forEachChild((r,o)=>{i=n(i,r,o)}),i}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var vg=new C("CallSetDisabledState",{providedIn:"root",factory:()=>bg}),bg="always";function Wf(t,e,n=bg){Yf(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),lA(t,e),uA(t,e),dA(t,e),cA(t,e)}function J9(t,e,n=!0){let i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),cd(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function ad(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function cA(t,e){if(e.valueAccessor.setDisabledState){let n=i=>{e.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function Yf(t,e){let n=mg(t);e.validator!==null?t.setValidators(Q9(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let i=hg(t);e.asyncValidator!==null?t.setAsyncValidators(Q9(i,e.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();ad(e._rawValidators,r),ad(e._rawAsyncValidators,r)}function cd(t,e){let n=!1;if(t!==null){if(e.validator!==null){let r=mg(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.validator);o.length!==r.length&&(n=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let r=hg(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.asyncValidator);o.length!==r.length&&(n=!0,t.setAsyncValidators(o))}}}let i=()=>{};return ad(e._rawValidators,i),ad(e._rawAsyncValidators,i),n}function lA(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&_g(t,e)})}function dA(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&_g(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function _g(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function uA(t,e){let n=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function yg(t,e){t==null,Yf(t,e)}function fA(t,e){return cd(t,e)}function wg(t,e){t._syncPendingControls(),e.forEach(n=>{let i=n.control;i.updateOn==="submit"&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function mA(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var hA={provide:zo,useExisting:us(()=>Qf)},Ta=Promise.resolve(),Qf=(()=>{let e=class e extends zo{constructor(i,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ie,this.form=new sd({},Gf(i),Zf(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){Ta.then(()=>{let r=this._findContainer(i.path);i.control=r.registerControl(i.name,i.control),Wf(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){Ta.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){Ta.then(()=>{let r=this._findContainer(i.path),o=new sd({});yg(o,i),r.registerControl(i.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){Ta.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,r){Ta.then(()=>{this.form.get(i.path).setValue(r)})}setValue(i){this.control.setValue(i)}onSubmit(i){return this.submitted=!0,wg(this.form,this._directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(i){return i.pop(),i.length?this.form.get(i):this.form}};e.\u0275fac=function(r){return new(r||e)(h(ng,10),h(rg,10),h(vg,8))},e.\u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&Qe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[x.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Fe([hA]),Ce]});let t=e;return t})();function eg(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function tg(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var pA=class extends od{constructor(e=null,n,i){super(pg(n),gg(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ld(n)&&(n.nonNullable||n.initialValueIsDefault)&&(tg(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){eg(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){eg(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){tg(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var gA=t=>t instanceof pA;var vA={provide:zo,useExisting:us(()=>Kf)},Kf=(()=>{let e=class e extends zo{constructor(i,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ie,this._setValidators(i),this._setAsyncValidators(r)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(cd(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){let r=this.form.get(i.path);return Wf(r,i,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),r}getControl(i){return this.form.get(i.path)}removeControl(i){J9(i.control||null,i,!1),mA(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,r){this.form.get(i.path).setValue(r)}onSubmit(i){return this.submitted=!0,wg(this.form,this.directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_updateDomValue(){this.directives.forEach(i=>{let r=i.control,o=this.form.get(i.path);r!==o&&(J9(r||null,i),gA(o)&&(Wf(o,i,this.callSetDisabledState),i.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){let r=this.form.get(i.path);yg(r,i),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){let r=this.form.get(i.path);r&&fA(r,i)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Yf(this.form,this),this._oldForm&&cd(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(r){return new(r||e)(h(ng,10),h(rg,10),h(vg,8))},e.\u0275dir=N({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&Qe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[x.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Fe([vA]),Ce,Re]});let t=e;return t})();var _A=["trigger"],yA=["panel"];function wA(t,e){if(t&1&&(M(0,"span",9),W(1),I()),t&2){let n=ke();R(),Dt(n.placeholder)}}function xA(t,e){t&1&&te(0)}function CA(t,e){if(t&1&&(M(0,"span",11),W(1),I()),t&2){let n=ke(2);R(),Dt(n.triggerValue)}}function DA(t,e){if(t&1&&(M(0,"span",10),ue(1,xA,1,0)(2,CA,2,1),I()),t&2){let n=ke();R(),Te(1,n.customTrigger?1:2)}}function EA(t,e){if(t&1){let n=H6();i1(),z3(),M(0,"div",12,13),Qe("@transformPanel.done",function(r){k3(n);let o=ke();return T3(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){k3(n);let o=ke();return T3(o._handleKeydown(r))}),te(2,1),I()}if(t&2){let n=ke();L6("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",n._getPanelTheme(),""),fe("ngClass",n.panelClass)("@transformPanel","showing"),He("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}var MA=[[["mat-select-trigger"]],"*"],IA=["mat-select-trigger","*"],SA={transformPanelWrap:ya("transformPanelWrap",[Ao("* => void",k9("@transformPanel",[S9()],{optional:!0}))]),transformPanel:ya("transformPanel",[Bl("void",Ti({opacity:0,transform:"scale(1, 0.8)"})),Ao("void => showing",wa("120ms cubic-bezier(0, 0, 0.2, 1)",Ti({opacity:1,transform:"scale(1, 1)"}))),Ao("* => void",wa("100ms linear",Ti({opacity:0})))])};var xg=0,Cg=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=b(Wt);return()=>t.scrollStrategies.reposition()}});function kA(t){return()=>t.scrollStrategies.reposition()}var TA=new C("MAT_SELECT_CONFIG"),AA={provide:Cg,deps:[Wt],useFactory:kA},NA=new C("MatSelectTrigger"),Xf=class{constructor(e,n){this.source=e,this.value=n}},Dg=(()=>{let e=class e{_scrollOptionIntoView(i){let r=this.options.toArray()[i];if(r){let o=this.panel.nativeElement,s=ap(i,this.options,this.optionGroups),a=r._getHostElement();i===0&&s===1?o.scrollTop=0:o.scrollTop=cp(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(i){return new Xf(this,i)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(i){this._hideSingleSelectionIndicator=i,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(i){this._placeholder=i,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(td.required)??!1}set required(i){this._required=i,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(i){this._selectionModel,this._multiple=i}get compareWith(){return this._compareWith}set compareWith(i){this._compareWith=i,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(i){this._assignValue(i)&&this._onChange(i)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(i){this._errorStateTracker.matcher=i}get id(){return this._id}set id(i){this._id=i||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(i){this._errorStateTracker.errorState=i}constructor(i,r,o,s,a,c,l,d,u,f,m,p,v,_){this._viewportRuler=i,this._changeDetectorRef=r,this._ngZone=o,this._elementRef=a,this._dir=c,this._parentFormField=u,this.ngControl=f,this._liveAnnouncer=v,this._defaultOptions=_,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(y,k)=>y===k,this._uid=`mat-select-${xg++}`,this._triggerAriaLabelledBy=null,this._destroy=new H,this.stateChanges=new H,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${xg++}`,this._panelDoneAnimatingStream=new H,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=Or(()=>{let y=this.options;return y?y.changes.pipe(zi(y),rt(()=>Oi(...y.map(k=>k.onSelectionChange)))):this._ngZone.onStable.pipe(Ve(1),rt(()=>this.optionSelectionChanges))}),this.openedChange=new ie,this._openedStream=this.openedChange.pipe(Ae(y=>y),P(()=>{})),this._closedStream=this.openedChange.pipe(Ae(y=>!y),P(()=>{})),this.selectionChange=new ie,this.valueChange=new ie,this._trackedModal=null,this._skipPredicate=y=>this.panelOpen?!1:y.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),_?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=_.typeaheadDebounceInterval),this._errorStateTracker=new K1(s,f,d,l,this.stateChanges),this._scrollStrategyFactory=p,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Gl(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Fr(),le(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(le(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(le(this._destroy)).subscribe(i=>{i.added.forEach(r=>r.select()),i.removed.forEach(r=>r.deselect())}),this.options.changes.pipe(zi(null),le(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let i=this._getTriggerAriaLabelledby(),r=this.ngControl;if(i!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=i,i?o.setAttribute("aria-labelledby",i):o.removeAttribute("aria-labelledby")}r&&(this._previousControl!==r.control&&(this._previousControl!==void 0&&r.disabled!==null&&r.disabled!==this.disabled&&(this.disabled=r.disabled),this._previousControl=r.control),this.updateErrorState())}ngOnChanges(i){(i.disabled||i.userAriaDescribedBy)&&this.stateChanges.next(),i.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let i=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!i)return;let r=`${this.id}-panel`;this._trackedModal&&G1(this._trackedModal,"aria-owns",r),Qu(i,"aria-owns",r),this._trackedModal=i}_clearFromModal(){if(!this._trackedModal)return;let i=`${this.id}-panel`;G1(this._trackedModal,"aria-owns",i),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(i){this._assignValue(i)}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let i=this._selectionModel.selected.map(r=>r.viewValue);return this._isRtl()&&i.reverse(),i.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(i){this.disabled||(this.panelOpen?this._handleOpenKeydown(i):this._handleClosedKeydown(i))}_handleClosedKeydown(i){let r=i.keyCode,o=r===40||r===38||r===37||r===39,s=r===13||r===32,a=this._keyManager;if(!a.isTyping()&&s&&!ei(i)||(this.multiple||i.altKey)&&o)i.preventDefault(),this.open();else if(!this.multiple){let c=this.selected;a.onKeydown(i);let l=this.selected;l&&c!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(i){let r=this._keyManager,o=i.keyCode,s=o===40||o===38,a=r.isTyping();if(s&&i.altKey)i.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&r.activeItem&&!ei(i))i.preventDefault(),r.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&i.ctrlKey){i.preventDefault();let c=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(c?l.select():l.deselect())})}else{let c=r.activeItemIndex;r.onKeydown(i),this._multiple&&s&&i.shiftKey&&r.activeItem&&r.activeItemIndex!==c&&r.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ve(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(i){if(this.options.forEach(r=>r.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&i)Array.isArray(i),i.forEach(r=>this._selectOptionByValue(r)),this._sortValues();else{let r=this._selectOptionByValue(i);r?this._keyManager.updateActiveItem(r):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(i){let r=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,i)}catch{return!1}});return r&&this._selectionModel.select(r),r}_assignValue(i){return i!==this._value||this._multiple&&Array.isArray(i)?(this.options&&this._setSelectionByValue(i),this._value=i,!0):!1}_getOverlayWidth(i){return this.panelWidth==="auto"?(i instanceof Xl?i.elementRef:i||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let i of this.options)i._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new $1(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let i=Oi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(le(i)).subscribe(r=>{this._onSelect(r.source,r.isUserInput),r.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Oi(...this.options.map(r=>r._stateChanges)).pipe(le(i)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(i,r){let o=this._selectionModel.isSelected(i);i.value==null&&!this._multiple?(i.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(i.value)):(o!==i.selected&&(i.selected?this._selectionModel.select(i):this._selectionModel.deselect(i)),r&&this._keyManager.setActiveItem(i),this.multiple&&(this._sortValues(),r&&this.focus())),o!==this._selectionModel.isSelected(i)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let i=this.options.toArray();this._selectionModel.sort((r,o)=>this.sortComparator?this.sortComparator(r,o,i):i.indexOf(r)-i.indexOf(o)),this.stateChanges.next()}}_propagateChanges(i){let r;this.multiple?r=this.selected.map(o=>o.value):r=this.selected?this.selected.value:i,this._value=r,this.valueChange.emit(r),this._onChange(r),this.selectionChange.emit(this._getChangeEvent(r)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let i=-1;for(let r=0;r0}focus(i){this._elementRef.nativeElement.focus(i)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let i=this._parentFormField?.getLabelId(),r=i?i+" ":"";return this.ariaLabelledby?r+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let i=this._parentFormField?.getLabelId(),r=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_panelDoneAnimating(i){this.openedChange.emit(i)}setDescribedByIds(i){i.length?this._elementRef.nativeElement.setAttribute("aria-describedby",i.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(r){return new(r||e)(h(Nn),h(st),h(S),h(op),h(V),h(ti,8),h(Qf,8),h(Kf,8),h(Af,8),h(rd,10),gi("tabindex"),h(Cg),h(Q8),h(TA,8))},e.\u0275cmp=Y({type:e,selectors:[["mat-select"]],contentQueries:function(r,o,s){if(r&1&&(Oe(s,NA,5),Oe(s,tl,5),Oe(s,l4,5)),r&2){let a;re(a=oe())&&(o.customTrigger=a.first),re(a=oe())&&(o.options=a),re(a=oe())&&(o.optionGroups=a)}},viewQuery:function(r,o){if(r&1&&(et(_A,5),et(yA,5),et($f,5)),r&2){let s;re(s=oe())&&(o.trigger=s.first),re(s=oe())&&(o.panel=s.first),re(s=oe())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(r,o){r&1&&Qe("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),r&2&&(He("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),me("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[x.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[x.HasDecoratorInputTransform,"disabled","disabled",_e],disableRipple:[x.HasDecoratorInputTransform,"disableRipple","disableRipple",_e],tabIndex:[x.HasDecoratorInputTransform,"tabIndex","tabIndex",i=>i==null?0:ao(i)],hideSingleSelectionIndicator:[x.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",_e],placeholder:"placeholder",required:[x.HasDecoratorInputTransform,"required","required",_e],multiple:[x.HasDecoratorInputTransform,"multiple","multiple",_e],disableOptionCentering:[x.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",_e],compareWith:"compareWith",value:"value",ariaLabel:[x.None,"aria-label","ariaLabel"],ariaLabelledby:[x.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[x.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",ao],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Fe([{provide:Tf,useExisting:e},{provide:c4,useExisting:e}]),Ze,Re,be],ngContentSelectors:IA,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(r,o){if(r&1&&(Be(MA),M(0,"div",0,1),Qe("click",function(){return o.open()}),M(3,"div",2),ue(4,wA,2,1,"span",3)(5,DA,3,1),I(),M(6,"div",4)(7,"div",5),i1(),M(8,"svg",6),he(9,"path",7),I()()()(),ue(10,EA,3,9,"ng-template",8),Qe("backdropClick",function(){return o.close()})("attach",function(){return o._onAttached()})("detach",function(){return o.close()})),r&2){let s=pn(1);R(3),He("id",o._valueId),R(),Te(4,o.empty?4:5),R(6),fe("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[Xl,$f,lo],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow: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);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[SA.transformPanel]},changeDetection:0});let t=e;return t})();var Eg=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:[AA],imports:[Tt,Jl,d4,pe,Oo,Wl,d4,pe]});let t=e;return t})();function FA(t,e){t&1&&te(0,2)}function zA(t,e){t&1&&(M(0,"thead",0),Ct(1,1),I(),M(2,"tbody",0),Ct(3,2)(4,3),I(),M(5,"tfoot",0),Ct(6,4),I())}function LA(t,e){t&1&&Ct(0,1)(1,2)(2,3)(3,4)}var PA=[[["caption"]],[["colgroup"],["col"]],"*"],VA=["caption","colgroup, col","*"];function nm(t){return class extends t{get sticky(){return this._sticky}set sticky(e){let n=this._sticky;this._sticky=yn(e),this._hasStickyChanged=n!==this._sticky}hasStickyChanged(){let e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...e){super(...e),this._sticky=!1,this._hasStickyChanged=!1}}}var ri=new C("CDK_TABLE");var pd=(()=>{let e=class e{constructor(i){this.template=i}};e.\u0275fac=function(r){return new(r||e)(h(Je))},e.\u0275dir=N({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let t=e;return t})(),gd=(()=>{let e=class e{constructor(i){this.template=i}};e.\u0275fac=function(r){return new(r||e)(h(Je))},e.\u0275dir=N({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let t=e;return t})(),Sg=(()=>{let e=class e{constructor(i){this.template=i}};e.\u0275fac=function(r){return new(r||e)(h(Je))},e.\u0275dir=N({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let t=e;return t})(),Jf=class{},jA=nm(Jf),Lo=(()=>{let e=class e extends jA{get name(){return this._name}set name(i){this._setNameInput(i)}get stickyEnd(){return this._stickyEnd}set stickyEnd(i){i!==this._stickyEnd&&(this._stickyEnd=i,this._hasStickyChanged=!0)}constructor(i){super(),this._table=i,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(i){i&&(this._name=i,this.cssClassFriendlyName=i.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(r){return new(r||e)(h(ri,8))},e.\u0275dir=N({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(r,o,s){if(r&1&&(Oe(s,pd,5),Oe(s,gd,5),Oe(s,Sg,5)),r&2){let a;re(a=oe())&&(o.cell=a.first),re(a=oe())&&(o.headerCell=a.first),re(a=oe())&&(o.footerCell=a.first)}},inputs:{sticky:"sticky",name:[x.None,"cdkColumnDef","name"],stickyEnd:[x.HasDecoratorInputTransform,"stickyEnd","stickyEnd",_e]},standalone:!0,features:[Fe([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),Ze,Ce]});let t=e;return t})(),ud=class{constructor(e,n){n.nativeElement.classList.add(...e._columnCssClassName)}},kg=(()=>{let e=class e extends ud{constructor(i,r){super(i,r)}};e.\u0275fac=function(r){return new(r||e)(h(Lo),h(V))},e.\u0275dir=N({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[Ce]});let t=e;return t})();var Tg=(()=>{let e=class e extends ud{constructor(i,r){super(i,r);let o=i._table?._getCellRole();o&&r.nativeElement.setAttribute("role",o)}};e.\u0275fac=function(r){return new(r||e)(h(Lo),h(V))},e.\u0275dir=N({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[Ce]});let t=e;return t})(),fd=class{constructor(){this.tasks=[],this.endTasks=[]}},md=new C("_COALESCED_STYLE_SCHEDULER"),rm=(()=>{let e=class e{constructor(i){this._ngZone=i,this._currentSchedule=null,this._destroyed=new H}schedule(i){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(i)}scheduleEnd(i){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(i)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new fd,this._getScheduleObservable().pipe(le(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let i=this._currentSchedule;this._currentSchedule=new fd;for(let r of i.tasks)r();for(let r of i.endTasks)r()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?xe(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Ve(1))}};e.\u0275fac=function(r){return new(r||e)(g(S))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();var om=(()=>{let e=class e{constructor(i,r){this.template=i,this._differs=r}ngOnChanges(i){if(!this._columnsDiffer){let r=i.columns&&i.columns.currentValue||[];this._columnsDiffer=this._differs.find(r).create(),this._columnsDiffer.diff(r)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(i){return this instanceof Aa?i.headerCell.template:this instanceof sm?i.footerCell.template:i.cell.template}};e.\u0275fac=function(r){return new(r||e)(h(Je),h(_i))},e.\u0275dir=N({type:e,features:[Re]});let t=e;return t})(),em=class extends om{},HA=nm(em),Aa=(()=>{let e=class e extends HA{constructor(i,r,o){super(i,r),this._table=o}ngOnChanges(i){super.ngOnChanges(i)}};e.\u0275fac=function(r){return new(r||e)(h(Je),h(_i),h(ri,8))},e.\u0275dir=N({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[x.None,"cdkHeaderRowDef","columns"],sticky:[x.None,"cdkHeaderRowDefSticky","sticky"]},standalone:!0,features:[Ce,Re]});let t=e;return t})(),tm=class extends om{},BA=nm(tm),sm=(()=>{let e=class e extends BA{constructor(i,r,o){super(i,r),this._table=o}ngOnChanges(i){super.ngOnChanges(i)}};e.\u0275fac=function(r){return new(r||e)(h(Je),h(_i),h(ri,8))},e.\u0275dir=N({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[x.None,"cdkFooterRowDef","columns"],sticky:[x.None,"cdkFooterRowDefSticky","sticky"]},standalone:!0,features:[Ce,Re]});let t=e;return t})(),vd=(()=>{let e=class e extends om{constructor(i,r,o){super(i,r),this._table=o}};e.\u0275fac=function(r){return new(r||e)(h(Je),h(_i),h(ri,8))},e.\u0275dir=N({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[x.None,"cdkRowDefColumns","columns"],when:[x.None,"cdkRowDefWhen","when"]},standalone:!0,features:[Ce]});let t=e;return t})(),yr=(()=>{let e=class e{constructor(i){this._viewContainer=i,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(r){return new(r||e)(h(Ye))},e.\u0275dir=N({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let t=e;return t})(),am=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Y({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[be],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Ct(0,0)},dependencies:[yr],encapsulation:2});let t=e;return t})();var cm=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Y({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[be],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Ct(0,0)},dependencies:[yr],encapsulation:2});let t=e;return t})(),Ag=(()=>{let e=class e{constructor(i){this.templateRef=i,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(r){return new(r||e)(h(Je))},e.\u0275dir=N({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let t=e;return t})(),Mg=["top","bottom","left","right"],im=class{constructor(e,n,i,r,o=!0,s=!0,a){this._isNativeHtmlTable=e,this._stickCellCss=n,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${n}-border-elem-top`,bottom:`${n}-border-elem-bottom`,left:`${n}-border-elem-left`,right:`${n}-border-elem-right`}}clearStickyPositioning(e,n){let i=[];for(let r of e)if(r.nodeType===r.ELEMENT_NODE){i.push(r);for(let o=0;o{for(let r of i)this._removeStickyStyle(r,n)})}updateStickyColumns(e,n,i,r=!0){if(!e.length||!this._isBrowser||!(n.some(o=>o)||i.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=e[0],s=o.children.length,a=this._getCellWidths(o,r),c=this._getStickyStartColumnPositions(a,n),l=this._getStickyEndColumnPositions(a,i),d=n.lastIndexOf(!0),u=i.indexOf(!0),f=this.direction==="rtl",m=f?"right":"left",p=f?"left":"right";for(let v of e)for(let _=0;_n[_]?v:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:u===-1?[]:a.slice(u).map((v,_)=>i[_+u]?v:null).reverse()}))})}stickRows(e,n,i){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let r=i==="bottom"?e.slice().reverse():e,o=i==="bottom"?n.slice().reverse():n,s=[],a=[],c=[];for(let d=0,u=0;d{let i=e.querySelector("tfoot");n.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(e,n){for(let r of n)e.style[r]="",e.classList.remove(this._borderCellCss[r]);Mg.some(r=>n.indexOf(r)===-1&&e.style[r])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,n,i,r){e.classList.add(this._stickCellCss),r&&e.classList.add(this._borderCellCss[n]),e.style[n]=`${i}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let n={top:100,bottom:10,left:1,right:1},i=0;for(let r of Mg)e.style[r]&&(i+=n[r]);return i?`${i}`:""}_getCellWidths(e,n=!0){if(!n&&this._cachedCellWidths.length)return this._cachedCellWidths;let i=[],r=e.children;for(let o=0;o0;o--)n[o]&&(i[o]=r,r+=e[o]);return i}};var hd=new C("CDK_SPL");var lm=(()=>{let e=class e{constructor(i,r){this.viewContainer=i,this.elementRef=r;let o=b(ri);o._rowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(r){return new(r||e)(h(Ye),h(V))},e.\u0275dir=N({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let t=e;return t})(),dm=(()=>{let e=class e{constructor(i,r){this.viewContainer=i,this.elementRef=r;let o=b(ri);o._headerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(r){return new(r||e)(h(Ye),h(V))},e.\u0275dir=N({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let t=e;return t})(),um=(()=>{let e=class e{constructor(i,r){this.viewContainer=i,this.elementRef=r;let o=b(ri);o._footerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(r){return new(r||e)(h(Ye),h(V))},e.\u0275dir=N({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let t=e;return t})(),fm=(()=>{let e=class e{constructor(i,r){this.viewContainer=i,this.elementRef=r;let o=b(ri);o._noDataRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(r){return new(r||e)(h(Ye),h(V))},e.\u0275dir=N({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let t=e;return t})();var mm=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let i=this._elementRef.nativeElement.getAttribute("role"),r=i==="grid"||i==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&r==="cell"?null:r}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(i){this._trackByFn=i}get dataSource(){return this._dataSource}set dataSource(i){this._dataSource!==i&&this._switchDataSource(i)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(i){this._multiTemplateDataRows=i,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(i){this._fixedLayout=i,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(i,r,o,s,a,c,l,d,u,f,m,p){this._differs=i,this._changeDetectorRef=r,this._elementRef=o,this._dir=a,this._platform=l,this._viewRepeater=d,this._coalescedStyleScheduler=u,this._viewportRuler=f,this._stickyPositioningListener=m,this._ngZone=p,this._onDestroy=new H,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasRendered=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new ie,this.viewChange=new We({start:0,end:Number.MAX_VALUE}),s||o.nativeElement.setAttribute("role","table"),this._document=c,this._isServer=!l.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((i,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r),this._viewportRuler.change().pipe(le(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._hasRendered&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(i=>{i?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Zl(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let i=this._dataDiffer.diff(this._renderRows);if(!i){this._updateNoDataRow(),this.contentChanged.next();return}let r=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(i,r,(o,s,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===No.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),i.forEachIdentityChange(o=>{let s=r.get(o.currentIndex);s.context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&S.isInAngularZone()?this._ngZone.onStable.pipe(Ve(1),le(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(i){this._customColumnDefs.add(i)}removeColumnDef(i){this._customColumnDefs.delete(i)}addRowDef(i){this._customRowDefs.add(i)}removeRowDef(i){this._customRowDefs.delete(i)}addHeaderRowDef(i){this._customHeaderRowDefs.add(i),this._headerRowDefChanged=!0}removeHeaderRowDef(i){this._customHeaderRowDefs.delete(i),this._headerRowDefChanged=!0}addFooterRowDef(i){this._customFooterRowDefs.add(i),this._footerRowDefChanged=!0}removeFooterRowDef(i){this._customFooterRowDefs.delete(i),this._footerRowDefChanged=!0}setNoDataRow(i){this._customNoDataRow=i}updateStickyHeaderRowStyles(){let i=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=Ig(this._headerRowOutlet,"thead");o&&(o.style.display=i.length?"":"none")}let r=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(i,["top"]),this._stickyStyler.stickRows(i,r,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let i=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=Ig(this._footerRowOutlet,"tfoot");o&&(o.style.display=i.length?"":"none")}let r=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(i,["bottom"]),this._stickyStyler.stickRows(i,r,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,r),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let i=this._getRenderedRows(this._headerRowOutlet),r=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...i,...r,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),i.forEach((s,a)=>{this._addStickyColumnStyles([s],this._headerRowDefs[a])}),this._rowDefs.forEach(s=>{let a=[];for(let c=0;c{this._addStickyColumnStyles([s],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.resetStickyChanged())}_outletAssigned(){!this._hasRendered&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasRendered=!0,this._render())}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let r=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||r,this._forceRecalculateCellWidths=r,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let i=[],r=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let c=o&&o.has(a)?o.get(a):[];if(c.length){let l=c.shift();return l.dataIndex=r,l}else return{data:i,rowDef:a,dataIndex:r}})}_cacheColumnDefs(){this._columnDefsByName.clear(),dd(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(r=>{this._columnDefsByName.has(r.name),this._columnDefsByName.set(r.name,r)})}_cacheRowDefs(){this._headerRowDefs=dd(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=dd(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=dd(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let i=this._rowDefs.filter(r=>!r.when);!this.multiTemplateDataRows&&i.length>1,this._defaultRowDef=i[0]}_renderUpdatedColumns(){let i=(a,c)=>a||!!c.getColumnsDiff(),r=this._rowDefs.reduce(i,!1);r&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(i,!1);o&&this._forceRenderHeaderRows();let s=this._footerRowDefs.reduce(i,!1);return s&&this._forceRenderFooterRows(),r||o||s}_switchDataSource(i){this._data=[],Zl(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),i||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=i}_observeRenderChanges(){if(!this.dataSource)return;let i;Zl(this.dataSource)?i=this.dataSource.connect(this):Hn(this.dataSource)?i=this.dataSource:Array.isArray(this.dataSource)&&(i=A(this.dataSource)),this._renderChangeSubscription=i.pipe(le(this._onDestroy)).subscribe(r=>{this._data=r||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((i,r)=>this._renderRow(this._headerRowOutlet,i,r)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((i,r)=>this._renderRow(this._footerRowOutlet,i,r)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(i,r){let o=Array.from(r.columns||[]).map(c=>{let l=this._columnDefsByName.get(c);return l}),s=o.map(c=>c.sticky),a=o.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(i,s,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(i){let r=[];for(let o=0;o!s.when||s.when(r,i));else{let s=this._rowDefs.find(a=>a.when&&a.when(r,i))||this._defaultRowDef;s&&o.push(s)}return o.length,o}_getEmbeddedViewArgs(i,r){let o=i.rowDef,s={$implicit:i.data};return{templateRef:o.template,context:s,index:r}}_renderRow(i,r,o,s={}){let a=i.viewContainer.createEmbeddedView(r.template,s,o);return this._renderCellTemplateForItem(r,s),a}_renderCellTemplateForItem(i,r){for(let o of this._getCellTemplates(i))yr.mostRecentCellOutlet&&yr.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,r);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let i=this._rowOutlet.viewContainer;for(let r=0,o=i.length;r{let o=this._columnDefsByName.get(r);return i.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let i=(r,o)=>r||o.hasStickyChanged();this._headerRowDefs.reduce(i,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(i,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(i,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let i=this._dir?this._dir.value:"ltr";this._stickyStyler=new im(this._isNativeHtmlTable,this.stickyCssClass,i,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:A()).pipe(le(this._onDestroy)).subscribe(r=>{this._stickyStyler.direction=r,this.updateStickyColumnStyles()})}_getOwnDefs(i){return i.filter(r=>!r._table||r._table===this)}_updateNoDataRow(){let i=this._customNoDataRow||this._noDataRow;if(!i)return;let r=this._rowOutlet.viewContainer.length===0;if(r===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(r){let s=o.createEmbeddedView(i.templateRef),a=s.rootNodes[0];s.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(i._contentClassName))}else o.clear();this._isShowingNoDataRow=r,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(r){return new(r||e)(h(_i),h(st),h(V),gi("role"),h(ti,8),h(B),h(De),h(xa),h(md),h(Nn),h(hd,12),h(S,8))},e.\u0275cmp=Y({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(r,o,s){if(r&1&&(Oe(s,Ag,5),Oe(s,Lo,5),Oe(s,vd,5),Oe(s,Aa,5),Oe(s,sm,5)),r&2){let a;re(a=oe())&&(o._noDataRow=a.first),re(a=oe())&&(o._contentColumnDefs=a),re(a=oe())&&(o._contentRowDefs=a),re(a=oe())&&(o._contentHeaderRowDefs=a),re(a=oe())&&(o._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(r,o){r&2&&me("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[x.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",_e],fixedLayout:[x.HasDecoratorInputTransform,"fixedLayout","fixedLayout",_e]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[Fe([{provide:ri,useExisting:e},{provide:xa,useClass:Ro},{provide:md,useClass:rm},{provide:hd,useValue:null}]),Ze,be],ngContentSelectors:VA,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(r,o){r&1&&(Be(PA),te(0),te(1,1),ue(2,FA,1,0)(3,zA,7,0)(4,LA,4,0)),r&2&&(R(2),Te(2,o._isServer?2:-1),R(),Te(3,o._isNativeHtmlTable?3:4))},dependencies:[dm,lm,fm,um],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let t=e;return t})();function dd(t,e){return t.concat(Array.from(e))}function Ig(t,e){let n=e.toUpperCase(),i=t.viewContainer.element.nativeElement;for(;i;){let r=i.nodeType===1?i.nodeName:null;if(r===n)return i;if(r==="TABLE")break;i=i.parentNode}return null}var Ng=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[Da]});let t=e;return t})();function UA(t,e){t&1&&te(0,2)}function $A(t,e){t&1&&(M(0,"thead",0),Ct(1,1),I(),M(2,"tbody",2),Ct(3,3)(4,4),I(),M(5,"tfoot",0),Ct(6,5),I())}function qA(t,e){t&1&&Ct(0,1)(1,3)(2,4)(3,5)}var WA=[[["caption"]],[["colgroup"],["col"]],"*"],GA=["caption","colgroup, col","*"];var Rg=(()=>{let e=class e extends mm{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275cmp=Y({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(r,o){r&2&&me("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[Fe([{provide:mm,useExisting:e},{provide:ri,useExisting:e},{provide:md,useClass:rm},{provide:xa,useClass:Ro},{provide:hd,useValue:null}]),Ce,be],ngContentSelectors:GA,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(r,o){r&1&&(Be(WA),te(0),te(1,1),ue(2,UA,1,0)(3,$A,7,0)(4,qA,4,0)),r&2&&(R(2),Te(2,o._isServer?2:-1),R(),Te(3,o._isNativeHtmlTable?3:4))},dependencies:[dm,lm,fm,um],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let t=e;return t})(),Og=(()=>{let e=class e extends pd{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[Fe([{provide:pd,useExisting:e}]),Ce]});let t=e;return t})(),Fg=(()=>{let e=class e extends gd{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[Fe([{provide:gd,useExisting:e}]),Ce]});let t=e;return t})();var zg=(()=>{let e=class e extends Lo{get name(){return this._name}set name(i){this._setNameInput(i)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:[x.None,"matColumnDef","name"]},standalone:!0,features:[Fe([{provide:Lo,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),Ce]});let t=e;return t})(),Lg=(()=>{let e=class e extends kg{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[Ce]});let t=e;return t})();var Pg=(()=>{let e=class e extends Tg{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[Ce]});let t=e;return t})();var Vg=(()=>{let e=class e extends Aa{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[x.None,"matHeaderRowDef","columns"],sticky:[x.None,"matHeaderRowDefSticky","sticky"]},standalone:!0,features:[Fe([{provide:Aa,useExisting:e}]),Ce]});let t=e;return t})();var jg=(()=>{let e=class e extends vd{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[x.None,"matRowDefColumns","columns"],when:[x.None,"matRowDefWhen","when"]},standalone:!0,features:[Fe([{provide:vd,useExisting:e}]),Ce]});let t=e;return t})(),Hg=(()=>{let e=class e extends am{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275cmp=Y({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[Fe([{provide:am,useExisting:e}]),Ce,be],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Ct(0,0)},dependencies:[yr],encapsulation:2});let t=e;return t})();var Bg=(()=>{let e=class e extends cm{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275cmp=Y({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[Fe([{provide:cm,useExisting:e}]),Ce,be],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Ct(0,0)},dependencies:[yr],encapsulation:2});let t=e;return t})();var Ug=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,Ng,pe]});let t=e;return t})();function $g(t){return new E(3e3,!1)}function YA(){return new E(3100,!1)}function QA(){return new E(3101,!1)}function KA(t){return new E(3001,!1)}function XA(t){return new E(3003,!1)}function JA(t){return new E(3004,!1)}function eN(t,e){return new E(3005,!1)}function tN(){return new E(3006,!1)}function iN(){return new E(3007,!1)}function nN(t,e){return new E(3008,!1)}function rN(t){return new E(3002,!1)}function oN(t,e,n,i,r){return new E(3010,!1)}function sN(){return new E(3011,!1)}function aN(){return new E(3012,!1)}function cN(){return new E(3200,!1)}function lN(){return new E(3202,!1)}function dN(){return new E(3013,!1)}function uN(t){return new E(3014,!1)}function fN(t){return new E(3015,!1)}function mN(t){return new E(3016,!1)}function hN(t,e){return new E(3404,!1)}function pN(t){return new E(3502,!1)}function gN(t){return new E(3503,!1)}function vN(){return new E(3300,!1)}function bN(t){return new E(3504,!1)}function _N(t){return new E(3301,!1)}function yN(t,e){return new E(3302,!1)}function wN(t){return new E(3303,!1)}function xN(t,e){return new E(3400,!1)}function CN(t){return new E(3401,!1)}function DN(t){return new E(3402,!1)}function EN(t,e){return new E(3505,!1)}function On(t){switch(t.length){case 0:return new An;case 1:return t[0];default:return new _a(t)}}function rv(t,e,n=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(e.forEach(c=>{let l=c.get("offset"),d=l==s,u=d&&a||new Map;c.forEach((f,m)=>{let p=m,v=f;if(m!=="offset")switch(p=t.normalizePropertyName(p,r),v){case Ul:v=n.get(m);break;case ki:v=i.get(m);break;default:v=t.normalizeStyleValue(m,p,v,r);break}u.set(p,v)}),d||o.push(u),a=u,s=l}),r.length)throw pN(r);return o}function zm(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&hm(n,"start",t)));break;case"done":t.onDone(()=>i(n&&hm(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&hm(n,"destroy",t)));break}}function hm(t,e,n){let i=n.totalTime,r=!!n.disabled,o=Lm(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,i??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function Lm(t,e,n,i,r="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function zt(t,e,n){let i=t.get(e);return i||t.set(e,i=n),i}function qg(t){let e=t.indexOf(":"),n=t.substring(1,e),i=t.slice(e+1);return[n,i]}var MN=typeof document>"u"?null:document.documentElement;function Pm(t){let e=t.parentNode||t.host||null;return e===MN?null:e}function IN(t){return t.substring(1,6)=="ebkit"}var wr=null,Wg=!1;function SN(t){wr||(wr=kN()||{},Wg=wr.style?"WebkitAppearance"in wr.style:!1);let e=!0;return wr.style&&!IN(t)&&(e=t in wr.style,!e&&Wg&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in wr.style)),e}function kN(){return typeof document<"u"?document.body:null}function ov(t,e){for(;e;){if(e===t)return!0;e=Pm(e)}return!1}function sv(t,e,n){if(n)return Array.from(t.querySelectorAll(e));let i=t.querySelector(e);return i?[i]:[]}var Vm=(()=>{let e=class e{validateStyleProperty(i){return SN(i)}matchesElement(i,r){return!1}containsElement(i,r){return ov(i,r)}getParentElement(i){return Pm(i)}query(i,r,o){return sv(i,r,o)}computeStyle(i,r,o){return o||""}animate(i,r,o,s,a,c=[],l){return new An(o,s)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Um=class Um{};Um.NOOP=new Vm;var Dr=Um,Er=class{};var TN=1e3,av="{{",AN="}}",cv="ng-enter",ym="ng-leave",bd="ng-trigger",Cd=".ng-trigger",Gg="ng-animating",wm=".ng-animating";function Ji(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:xm(parseFloat(e[1]),e[2])}function xm(t,e){switch(e){case"s":return t*TN;default:return t}}function Dd(t,e,n){return t.hasOwnProperty("duration")?t:NN(t,e,n)}function NN(t,e,n){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof t=="string"){let a=t.match(i);if(a===null)return e.push($g(t)),{duration:0,delay:0,easing:""};r=xm(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(o=xm(parseFloat(c),a[4]));let l=a[5];l&&(s=l)}else r=t;if(!n){let a=!1,c=e.length;r<0&&(e.push(YA()),a=!0),o<0&&(e.push(QA()),a=!0),a&&e.splice(c,0,$g(t))}return{duration:r,delay:o,easing:s}}function RN(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function Ai(t,e,n){e.forEach((i,r)=>{let o=jm(r);n&&!n.has(r)&&n.set(r,t.style[o]),t.style[o]=i})}function Cr(t,e){e.forEach((n,i)=>{let r=jm(i);t.style[r]=""})}function Na(t){return Array.isArray(t)?t.length==1?t[0]:I9(t):t}function ON(t,e,n){let i=e.params||{},r=lv(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||n.push(KA(o))})}var Cm=new RegExp(`${av}\\s*(.+?)\\s*${AN}`,"g");function lv(t){let e=[];if(typeof t=="string"){let n;for(;n=Cm.exec(t);)e.push(n[1]);Cm.lastIndex=0}return e}function Oa(t,e,n){let i=`${t}`,r=i.replace(Cm,(o,s)=>{let a=e[s];return a==null&&(n.push(XA(s)),a=""),a.toString()});return r==i?t:r}var FN=/-+([a-z0-9])/g;function jm(t){return t.replace(FN,(...e)=>e[1].toUpperCase())}function zN(t,e){return t===0||e===0}function LN(t,e,n){if(n.size&&e.length){let i=e[0],r=[];if(n.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,Hm(t,a)))}}return e}function Ft(t,e,n){switch(e.type){case J.Trigger:return t.visitTrigger(e,n);case J.State:return t.visitState(e,n);case J.Transition:return t.visitTransition(e,n);case J.Sequence:return t.visitSequence(e,n);case J.Group:return t.visitGroup(e,n);case J.Animate:return t.visitAnimate(e,n);case J.Keyframes:return t.visitKeyframes(e,n);case J.Style:return t.visitStyle(e,n);case J.Reference:return t.visitReference(e,n);case J.AnimateChild:return t.visitAnimateChild(e,n);case J.AnimateRef:return t.visitAnimateRef(e,n);case J.Query:return t.visitQuery(e,n);case J.Stagger:return t.visitStagger(e,n);default:throw JA(e.type)}}function Hm(t,e){return window.getComputedStyle(t)[e]}var PN=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"]),Ed=class extends Er{normalizePropertyName(e,n){return jm(e)}normalizeStyleValue(e,n,i,r){let o="",s=i.toString().trim();if(PN.has(n)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(eN(e,i))}return s+o}};var Md="*";function VN(t,e){let n=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>jN(i,n,e)):n.push(t),n}function jN(t,e,n){if(t[0]==":"){let c=HN(t,n);if(typeof c=="function"){e.push(c);return}t=c}let i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return n.push(fN(t)),e;let r=i[1],o=i[2],s=i[3];e.push(Zg(r,s));let a=r==Md&&s==Md;o[0]=="<"&&!a&&e.push(Zg(s,r))}function HN(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,i)=>parseFloat(i)>parseFloat(n);case":decrement":return(n,i)=>parseFloat(i) *"}}var _d=new Set(["true","1"]),yd=new Set(["false","0"]);function Zg(t,e){let n=_d.has(t)||yd.has(t),i=_d.has(e)||yd.has(e);return(r,o)=>{let s=t==Md||t==r,a=e==Md||e==o;return!s&&n&&typeof r=="boolean"&&(s=r?_d.has(t):yd.has(t)),!a&&i&&typeof o=="boolean"&&(a=o?_d.has(e):yd.has(e)),s&&a}}var dv=":self",BN=new RegExp(`s*${dv}s*,?`,"g");function uv(t,e,n,i){return new Dm(t).build(e,n,i)}var Yg="",Dm=class{constructor(e){this._driver=e}build(e,n,i){let r=new Em(n);return this._resetContextStyleTimingState(r),Ft(this,Na(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=Yg,e.collectedStyles=new Map,e.collectedStyles.set(Yg,new Map),e.currentTime=0}visitTrigger(e,n){let i=n.queryCount=0,r=n.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&n.errors.push(tN()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==J.State){let c=a,l=c.name;l.toString().split(/\s*,\s*/).forEach(d=>{c.name=d,o.push(this.visitState(c,n))}),c.name=l}else if(a.type==J.Transition){let c=this.visitTransition(a,n);i+=c.queryCount,r+=c.depCount,s.push(c)}else n.errors.push(iN())}),{type:J.Trigger,name:e.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(e,n){let i=this.visitStyle(e.styles,n),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{lv(c).forEach(l=>{s.hasOwnProperty(l)||o.add(l)})})}),o.size&&n.errors.push(nN(e.name,[...o.values()]))}return{type:J.State,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;let i=Ft(this,Na(e.animation),n),r=VN(e.expr,n.errors);return{type:J.Transition,matchers:r,animation:i,queryCount:n.queryCount,depCount:n.depCount,options:xr(e.options)}}visitSequence(e,n){return{type:J.Sequence,steps:e.steps.map(i=>Ft(this,i,n)),options:xr(e.options)}}visitGroup(e,n){let i=n.currentTime,r=0,o=e.steps.map(s=>{n.currentTime=i;let a=Ft(this,s,n);return r=Math.max(r,n.currentTime),a});return n.currentTime=r,{type:J.Group,steps:o,options:xr(e.options)}}visitAnimate(e,n){let i=WN(e.timings,n.errors);n.currentAnimateTimings=i;let r,o=e.styles?e.styles:Ti({});if(o.type==J.Keyframes)r=this.visitKeyframes(o,n);else{let s=e.styles,a=!1;if(!s){a=!0;let l={};i.easing&&(l.easing=i.easing),s=Ti(l)}n.currentTime+=i.duration+i.delay;let c=this.visitStyle(s,n);c.isEmptyStep=a,r=c}return n.currentAnimateTimings=null,{type:J.Animate,timings:i,style:r,options:null}}visitStyle(e,n){let i=this._makeStyleAst(e,n);return this._validateStyleAst(i,n),i}_makeStyleAst(e,n){let i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)typeof a=="string"?a===ki?i.push(a):n.errors.push(rN(a)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let c of a.values())if(c.toString().indexOf(av)>=0){o=!0;break}}}),{type:J.Style,styles:i,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,n){let i=n.currentAnimateTimings,r=n.currentTime,o=n.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,c)=>{let l=n.collectedStyles.get(n.currentQuerySelector),d=l.get(c),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(n.errors.push(oN(c,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&l.set(c,{startTime:o,endTime:r}),n.options&&ON(a,n.options,n.errors)})})}visitKeyframes(e,n){let i={type:J.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(sN()),i;let r=1,o=0,s=[],a=!1,c=!1,l=0,d=e.steps.map(y=>{let k=this._makeStyleAst(y,n),Q=k.offset!=null?k.offset:qN(k.styles),j=0;return Q!=null&&(o++,j=k.offset=Q),c=c||j<0||j>1,a=a||j0&&o{let Q=f>0?k==m?1:f*k:s[k],j=Q*_;n.currentTime=p+v.delay+j,v.duration=j,this._validateStyleAst(y,n),y.offset=Q,i.styles.push(y)}),i}visitReference(e,n){return{type:J.Reference,animation:Ft(this,Na(e.animation),n),options:xr(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:J.AnimateChild,options:xr(e.options)}}visitAnimateRef(e,n){return{type:J.AnimateRef,animation:this.visitReference(e.animation,n),options:xr(e.options)}}visitQuery(e,n){let i=n.currentQuerySelector,r=e.options||{};n.queryCount++,n.currentQuery=e;let[o,s]=UN(e.selector);n.currentQuerySelector=i.length?i+" "+o:o,zt(n.collectedStyles,n.currentQuerySelector,new Map);let a=Ft(this,Na(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=i,{type:J.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:xr(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(dN());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Dd(e.timings,n.errors,!0);return{type:J.Stagger,animation:Ft(this,Na(e.animation),n),timings:i,options:null}}};function UN(t){let e=!!t.split(/\s*,\s*/).find(n=>n==dv);return e&&(t=t.replace(BN,"")),t=t.replace(/@\*/g,Cd).replace(/@\w+/g,n=>Cd+"-"+n.slice(1)).replace(/:animating/g,wm),[t,e]}function $N(t){return t?D({},t):null}var Em=class{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 qN(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){let i=n;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}function WN(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Dd(t,e).duration;return pm(o,0,"")}let n=t;if(n.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=pm(0,0,"");return o.dynamic=!0,o.strValue=n,o}let r=Dd(n,e);return pm(r.duration,r.delay,r.easing)}function xr(t){return t?(t=D({},t),t.params&&(t.params=$N(t.params))):t={},t}function pm(t,e,n){return{duration:t,delay:e,easing:n}}function Bm(t,e,n,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}var Fa=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,n){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}},GN=1,ZN=":enter",YN=new RegExp(ZN,"g"),QN=":leave",KN=new RegExp(QN,"g");function fv(t,e,n,i,r,o=new Map,s=new Map,a,c,l=[]){return new Mm().buildKeyframes(t,e,n,i,r,o,s,a,c,l)}var Mm=class{buildKeyframes(e,n,i,r,o,s,a,c,l,d=[]){l=l||new Fa;let u=new Im(e,n,l,r,o,d,[]);u.options=c;let f=c.delay?Ji(c.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,c),Ft(this,i,u);let m=u.timelines.filter(p=>p.containsAnimation());if(m.length&&a.size){let p;for(let v=m.length-1;v>=0;v--){let _=m[v];if(_.element===n){p=_;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,c)}return m.length?m.map(p=>p.buildKeyframes()):[Bm(n,[],[],[],0,f,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){let i=n.subInstructions.get(n.element);if(i){let r=n.createSubContext(e.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=e}visitAnimateRef(e,n){let i=n.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],n,i),this.visitReference(e.animation,i),n.transformIntoNewTimeline(i.currentTimeline.currentTime),n.previousNode=e}_applyAnimationRefDelays(e,n,i){for(let r of e){let o=r?.delay;if(o){let s=typeof o=="number"?o:Ji(Oa(o,r?.params??{},n.errors));i.delayNextStep(s)}}}_visitSubInstructions(e,n,i){let o=n.currentTimeline.currentTime,s=i.duration!=null?Ji(i.duration):null,a=i.delay!=null?Ji(i.delay):null;return s!==0&&e.forEach(c=>{let l=n.appendInstructionToTimeline(c,s,a);o=Math.max(o,l.duration+l.delay)}),o}visitReference(e,n){n.updateOptions(e.options,!0),Ft(this,e.animation,n),n.previousNode=e}visitSequence(e,n){let i=n.subContextCount,r=n,o=e.options;if(o&&(o.params||o.delay)&&(r=n.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==J.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Id);let s=Ji(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>Ft(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){let i=[],r=n.currentTimeline.currentTime,o=e.options&&e.options.delay?Ji(e.options.delay):0;e.steps.forEach(s=>{let a=n.createSubContext(e.options);o&&a.delayNextStep(o),Ft(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(r),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){let i=e.strValue,r=n.params?Oa(i,n.params,n.errors):i;return Dd(r,n.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){let i=n.currentAnimateTimings=this._visitTiming(e.timings,n),r=n.currentTimeline;i.delay&&(n.incrementTime(i.delay),r.snapshotCurrentStyles());let o=e.style;o.type==J.Keyframes?this.visitKeyframes(o,n):(n.incrementTime(i.duration),this.visitStyle(o,n),r.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){let i=n.currentTimeline,r=n.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(o):i.setStyles(e.styles,o,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){let i=n.currentAnimateTimings,r=n.currentTimeline.duration,o=i.duration,a=n.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(c=>{let l=c.offset||0;a.forwardTime(l*o),a.setStyles(c.styles,c.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(r+o),n.previousNode=e}visitQuery(e,n){let i=n.currentTimeline.currentTime,r=e.options||{},o=r.delay?Ji(r.delay):0;o&&(n.previousNode.type===J.Style||i==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Id);let s=i,a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,n.errors);n.currentQueryTotal=a.length;let c=null;a.forEach((l,d)=>{n.currentQueryIndex=d;let u=n.createSubContext(e.options,l);o&&u.delayNextStep(o),l===n.element&&(c=u.currentTimeline),Ft(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let f=u.currentTimeline.currentTime;s=Math.max(s,f)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),c&&(n.currentTimeline.mergeTimelineCollectedStyles(c),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){let i=n.parentContext,r=n.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1),c=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=i.currentStaggerTime;break}let d=n.currentTimeline;c&&d.delayNextStep(c);let u=d.currentTime;Ft(this,e.animation,n),n.previousNode=e,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}},Id={},Im=class t{constructor(e,n,i,r,o,s,a,c){this._driver=e,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Id,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Sd(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;let i=e,r=this.options;i.duration!=null&&(r.duration=Ji(i.duration)),i.delay!=null&&(r.delay=Ji(i.delay));let o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=Oa(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let n=this.options.params;if(n){let i=e.params={};Object.keys(n).forEach(r=>{i[r]=n[r]})}}return e}createSubContext(e=null,n,i){let r=n||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||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=Id,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,i){let r={duration:n??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},o=new Sm(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,n,i,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=e.replace(YN,"."+this._enterClassName),e=e.replace(KN,"."+this._leaveClassName);let c=i!=1,l=this._driver.query(this.element,e,c);i!==0&&(l=i<0?l.slice(l.length+i,l.length):l.slice(0,i)),a.push(...l)}return!o&&a.length==0&&s.push(uN(n)),a}},Sd=class t{constructor(e,n,i,r){this._driver=e,this.element=n,this.startTime=i,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(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,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){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||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+=GN,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles.set(e,n),this._globalTimelineStyles.set(e,n),this._styleSummary.set(e,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[n,i]of this._globalTimelineStyles)this._backFill.set(n,i||ki),this._currentKeyframe.set(n,ki);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,i,r){n&&this._previousKeyframe.set("easing",n);let o=r&&r.params||{},s=XN(e,this._globalTimelineStyles);for(let[a,c]of s){let l=Oa(c,o,i);this._pendingStyles.set(a,l),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ki),this._updateStyle(a,l)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,n)=>{this._currentKeyframe.set(n,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,e)}))}snapshotCurrentStyles(){for(let[e,n]of this._localTimelineStyles)this._pendingStyles.set(e,n),this._updateStyle(e,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,i)=>{let r=this._styleSummary.get(i);(!r||n.time>r.time)&&this._updateStyle(i,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,n=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,c)=>{let l=new Map([...this._backFill,...a]);l.forEach((d,u)=>{d===Ul?e.add(u):d===ki&&n.add(u)}),i||l.set("offset",c/this.duration),r.push(l)});let o=[...e.values()],s=[...n.values()];if(i){let a=r[0],c=new Map(a);a.set("offset",0),c.set("offset",1),r=[a,c]}return Bm(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Sm=class extends Sd{constructor(e,n,i,r,o,s,a=!1){super(e,n,s.delay),this.keyframes=i,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:n,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&n){let o=[],s=i+n,a=n/s,c=new Map(e[0]);c.set("offset",0),o.push(c);let l=new Map(e[0]);l.set("offset",Qg(a)),o.push(l);let d=e.length-1;for(let u=1;u<=d;u++){let f=new Map(e[u]),m=f.get("offset"),p=n+m*i;f.set("offset",Qg(p/s)),o.push(f)}i=s,n=0,r="",e=o}return Bm(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}};function Qg(t,e=3){let n=Math.pow(10,e-1);return Math.round(t*n)/n}function XN(t,e){let n=new Map,i;return t.forEach(r=>{if(r==="*"){i??=e.keys();for(let o of i)n.set(o,ki)}else for(let[o,s]of r)n.set(o,s)}),n}function Kg(t,e,n,i,r,o,s,a,c,l,d,u,f){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:d,totalTime:u,errors:f}}var gm={},kd=class{constructor(e,n,i){this._triggerName=e,this.ast=n,this._stateStyles=i}match(e,n,i,r){return JN(this.ast.matchers,e,n,i,r)}buildStyles(e,n,i){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(n,i):new Map}build(e,n,i,r,o,s,a,c,l,d){let u=[],f=this.ast.options&&this.ast.options.params||gm,m=a&&a.params||gm,p=this.buildStyles(i,m,u),v=c&&c.params||gm,_=this.buildStyles(r,v,u),y=new Set,k=new Map,Q=new Map,j=r==="void",ge={params:mv(v,f),delay:this.ast.options?.delay},we=d?[]:fv(e,n,this.ast.animation,o,s,p,_,ge,l,u),Me=0;return we.forEach(Xe=>{Me=Math.max(Xe.duration+Xe.delay,Me)}),u.length?Kg(n,this._triggerName,i,r,j,p,_,[],[],k,Q,Me,u):(we.forEach(Xe=>{let it=Xe.element,en=zt(k,it,new Set);Xe.preStyleProps.forEach(Fn=>en.add(Fn));let qm=zt(Q,it,new Set);Xe.postStyleProps.forEach(Fn=>qm.add(Fn)),it!==n&&y.add(it)}),Kg(n,this._triggerName,i,r,j,p,_,we,[...y.values()],k,Q,Me))}};function JN(t,e,n,i,r){return t.some(o=>o(e,n,i,r))}function mv(t,e){let n=D({},e);return Object.entries(t).forEach(([i,r])=>{r!=null&&(n[i]=r)}),n}var km=class{constructor(e,n,i){this.styles=e,this.defaultParams=n,this.normalizer=i}buildStyles(e,n){let i=new Map,r=mv(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Oa(s,r,n));let c=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,c,s,n),i.set(a,s)})}),i}};function eR(t,e,n){return new Tm(t,e,n)}var Tm=class{constructor(e,n,i){this.name=e,this.ast=n,this._normalizer=i,this.transitionFactories=[],this.states=new Map,n.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new km(r.style,o,i))}),Xg(this.states,"true","1"),Xg(this.states,"false","0"),n.transitions.forEach(r=>{this.transitionFactories.push(new kd(e,r,this.states))}),this.fallbackTransition=tR(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,i,r){return this.transitionFactories.find(s=>s.match(e,n,i,r))||null}matchStyles(e,n,i){return this.fallbackTransition.buildStyles(e,n,i)}};function tR(t,e,n){let i=[(s,a)=>!0],r={type:J.Sequence,steps:[],options:null},o={type:J.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new kd(t,o,e)}function Xg(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}var iR=new Fa,Am=class{constructor(e,n,i){this.bodyNode=e,this._driver=n,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,n){let i=[],r=[],o=uv(this._driver,n,i,r);if(i.length)throw gN(i);r.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,n,i){let r=e.element,o=rv(this._normalizer,e.keyframes,n,i);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,n,i={}){let r=[],o=this._animations.get(e),s,a=new Map;if(o?(s=fv(this._driver,n,o,cv,ym,new Map,new Map,i,iR,r),s.forEach(d=>{let u=zt(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(r.push(vN()),s=[]),r.length)throw bN(r);a.forEach((d,u)=>{d.forEach((f,m)=>{d.set(m,this._driver.computeStyle(u,m,ki))})});let c=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),l=On(c);return this._playersById.set(e,l),l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){let n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);let i=this.players.indexOf(n);i>=0&&this.players.splice(i,1)}_getPlayer(e){let n=this._playersById.get(e);if(!n)throw _N(e);return n}listen(e,n,i,r){let o=Lm(n,"","","");return zm(this._getPlayer(e),i,o,r),()=>{}}command(e,n,i,r){if(i=="register"){this.register(e,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(e,n,s);return}let o=this._getPlayer(e);switch(i){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);break}}},Jg="ng-animate-queued",nR=".ng-animate-queued",vm="ng-animate-disabled",rR=".ng-animate-disabled",oR="ng-star-inserted",sR=".ng-star-inserted",aR=[],hv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},cR={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},oi="__ng_removed",za=class{get params(){return this.options.params}constructor(e,n=""){this.namespaceId=n;let i=e&&e.hasOwnProperty("value"),r=i?e.value:e;if(this.value=dR(r),i){let o=e,{value:s}=o,a=Ld(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let n=e.params;if(n){let i=this.options.params;Object.keys(n).forEach(r=>{i[r]==null&&(i[r]=n[r])})}}},Ra="void",bm=new za(Ra),Nm=class{constructor(e,n,i){this.id=e,this.hostElement=n,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Gt(n,this._hostClassName)}listen(e,n,i,r){if(!this._triggers.has(n))throw yN(i,n);if(i==null||i.length==0)throw wN(n);if(!uR(i))throw xN(i,n);let o=zt(this._elementListeners,e,[]),s={name:n,phase:i,callback:r};o.push(s);let a=zt(this._engine.statesByElement,e,new Map);return a.has(n)||(Gt(e,bd),Gt(e,bd+"-"+n),a.set(n,bm)),()=>{this._engine.afterFlush(()=>{let c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(n)||a.delete(n)})}}register(e,n){return this._triggers.has(e)?!1:(this._triggers.set(e,n),!0)}_getTrigger(e){let n=this._triggers.get(e);if(!n)throw CN(e);return n}trigger(e,n,i,r=!0){let o=this._getTrigger(n),s=new La(this.id,n,e),a=this._engine.statesByElement.get(e);a||(Gt(e,bd),Gt(e,bd+"-"+n),this._engine.statesByElement.set(e,a=new Map));let c=a.get(n),l=new za(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a.set(n,l),c||(c=bm),!(l.value===Ra)&&c.value===l.value){if(!hR(c.params,l.params)){let v=[],_=o.matchStyles(c.value,c.params,v),y=o.matchStyles(l.value,l.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{Cr(e,_),Ai(e,y)})}return}let f=zt(this._engine.playersByElement,e,[]);f.forEach(v=>{v.namespaceId==this.id&&v.triggerName==n&&v.queued&&v.destroy()});let m=o.matchTransition(c.value,l.value,e,l.params),p=!1;if(!m){if(!r)return;m=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:m,fromState:c,toState:l,player:s,isFallbackTransition:p}),p||(Gt(e,Jg),s.onStart(()=>{Po(e,Jg)})),s.onDone(()=>{let v=this.players.indexOf(s);v>=0&&this.players.splice(v,1);let _=this._engine.playersByElement.get(e);if(_){let y=_.indexOf(s);y>=0&&_.splice(y,1)}}),this.players.push(s),f.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(n=>n.delete(e)),this._elementListeners.forEach((n,i)=>{this._elementListeners.set(i,n.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let n=this._engine.playersByElement.get(e);n&&(n.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){let i=this._engine.driver.query(e,Cd,!0);i.forEach(r=>{if(r[oi])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,n,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,n,i,r){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((c,l)=>{if(s.set(l,c.value),this._triggers.has(l)){let d=this.trigger(e,l,Ra,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,s),i&&On(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let n=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(n&&i){let r=new Set;n.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let c=this._triggers.get(s).fallbackTransition,l=i.get(s)||bm,d=new za(Ra),u=new La(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:c,fromState:l,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,n){let i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,n);else{let o=e[oi];(!o||o===hv)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,n))}}insertNode(e,n){Gt(e,this._hostClassName)}drainQueuedTransitions(e){let n=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){let c=Lm(o,i.triggerName,i.fromState.value,i.toState.value);c._data=e,zm(i.player,a.phase,c,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):n.push(i)}),this._queue=[],n.sort((i,r)=>{let o=i.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Rm=class{_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}constructor(e,n,i,r){this.bodyNode=e,this.driver=n,this._normalizer=i,this.scheduler=r,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=(o,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(n=>{n.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,n){let i=new Nm(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(i,n):(this.newHostElements.set(n,i),this.collectEnterElement(n)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,n){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){let c=r.get(a);if(c){let l=i.indexOf(c);i.splice(l+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(e)}else i.push(e);return r.set(n,e),e}register(e,n){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,n)),i}registerTrigger(e,n,i){let r=this._namespaceLookup[e];r&&r.register(n,i)&&this.totalAnimations++}destroy(e,n){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(n),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let n=new Set,i=this.statesByElement.get(e);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&n.add(o)}}return n}trigger(e,n,i,r){if(wd(n)){let o=this._fetchNamespace(e);if(o)return o.trigger(n,i,r),!0}return!1}insertNode(e,n,i,r){if(!wd(n))return;let o=n[oi];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(n,i)}r&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Gt(e,vm)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Po(e,vm))}removeNode(e,n,i){if(wd(n)){this.scheduler?.notify();let r=e?this._fetchNamespace(e):null;r?r.removeNode(n,i):this.markElementAsRemoved(e,n,!1,i);let o=this.namespacesByHostElement.get(n);o&&o.id!==e&&o.removeNode(n,i)}else this._onRemovalComplete(n,i)}markElementAsRemoved(e,n,i,r,o){this.collectedLeaveElements.push(n),n[oi]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,n,i,r,o){return wd(n)?this._fetchNamespace(e).listen(n,i,r,o):()=>{}}_buildInstruction(e,n,i,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,n,o)}destroyInnerAnimations(e){let n=this.driver.query(e,Cd,!0);n.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(e,wm,!0),n.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){let n=this.playersByElement.get(e);n&&n.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){let n=this.playersByQueriedElement.get(e);n&&n.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return On(this.players).onDone(()=>e());e()})}processLeaveNode(e){let n=e[oi];if(n&&n.setForRemoval){if(e[oi]=hv,n.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}e.classList?.contains(vm)&&this.markElementAsDisabled(e,!1),this.driver.query(e,rR,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],n.length?On(n).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw DN(e)}_flushAnimations(e,n){let i=new Fa,r=[],o=new Map,s=[],a=new Map,c=new Map,l=new Map,d=new Set;this.disabledNodes.forEach(O=>{d.add(O);let U=this.driver.query(O,nR,!0);for(let q=0;q{let q=cv+v++;p.set(U,q),O.forEach(ye=>Gt(ye,q))});let _=[],y=new Set,k=new Set;for(let O=0;Oy.add(ye)):k.add(U))}let Q=new Map,j=iv(f,Array.from(y));j.forEach((O,U)=>{let q=ym+v++;Q.set(U,q),O.forEach(ye=>Gt(ye,q))}),e.push(()=>{m.forEach((O,U)=>{let q=p.get(U);O.forEach(ye=>Po(ye,q))}),j.forEach((O,U)=>{let q=Q.get(U);O.forEach(ye=>Po(ye,q))}),_.forEach(O=>{this.processLeaveNode(O)})});let ge=[],we=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(n).forEach(q=>{let ye=q.player,nt=q.element;if(ge.push(ye),this.collectedEnterElements.length){let mt=nt[oi];if(mt&&mt.setForMove){if(mt.previousTriggersValues&&mt.previousTriggersValues.has(q.triggerName)){let zn=mt.previousTriggersValues.get(q.triggerName),Lt=this.statesByElement.get(q.element);if(Lt&&Lt.has(q.triggerName)){let Pa=Lt.get(q.triggerName);Pa.value=zn,Lt.set(q.triggerName,Pa)}}ye.destroy();return}}let si=!u||!this.driver.containsElement(u,nt),At=Q.get(nt),tn=p.get(nt),je=this._buildInstruction(q,i,tn,At,si);if(je.errors&&je.errors.length){we.push(je);return}if(si){ye.onStart(()=>Cr(nt,je.fromStyles)),ye.onDestroy(()=>Ai(nt,je.toStyles)),r.push(ye);return}if(q.isFallbackTransition){ye.onStart(()=>Cr(nt,je.fromStyles)),ye.onDestroy(()=>Ai(nt,je.toStyles)),r.push(ye);return}let Zm=[];je.timelines.forEach(mt=>{mt.stretchStartingKeyframe=!0,this.disabledNodes.has(mt.element)||Zm.push(mt)}),je.timelines=Zm,i.append(nt,je.timelines);let zv={instruction:je,player:ye,element:nt};s.push(zv),je.queriedElements.forEach(mt=>zt(a,mt,[]).push(ye)),je.preStyleProps.forEach((mt,zn)=>{if(mt.size){let Lt=c.get(zn);Lt||c.set(zn,Lt=new Set),mt.forEach((Pa,zd)=>Lt.add(zd))}}),je.postStyleProps.forEach((mt,zn)=>{let Lt=l.get(zn);Lt||l.set(zn,Lt=new Set),mt.forEach((Pa,zd)=>Lt.add(zd))})});if(we.length){let O=[];we.forEach(U=>{O.push(EN(U.triggerName,U.errors))}),ge.forEach(U=>U.destroy()),this.reportError(O)}let Me=new Map,Xe=new Map;s.forEach(O=>{let U=O.element;i.has(U)&&(Xe.set(U,U),this._beforeAnimationBuild(O.player.namespaceId,O.instruction,Me))}),r.forEach(O=>{let U=O.element;this._getPreviousPlayers(U,!1,O.namespaceId,O.triggerName,null).forEach(ye=>{zt(Me,U,[]).push(ye),ye.destroy()})});let it=_.filter(O=>nv(O,c,l)),en=new Map;tv(en,this.driver,k,l,ki).forEach(O=>{nv(O,c,l)&&it.push(O)});let Fn=new Map;m.forEach((O,U)=>{tv(Fn,this.driver,new Set(O),c,Ul)}),it.forEach(O=>{let U=en.get(O),q=Fn.get(O);en.set(O,new Map([...U?.entries()??[],...q?.entries()??[]]))});let Fd=[],Wm=[],Gm={};s.forEach(O=>{let{element:U,player:q,instruction:ye}=O;if(i.has(U)){if(d.has(U)){q.onDestroy(()=>Ai(U,ye.toStyles)),q.disabled=!0,q.overrideTotalTime(ye.totalTime),r.push(q);return}let nt=Gm;if(Xe.size>1){let At=U,tn=[];for(;At=At.parentNode;){let je=Xe.get(At);if(je){nt=je;break}tn.push(At)}tn.forEach(je=>Xe.set(je,nt))}let si=this._buildAnimation(q.namespaceId,ye,Me,o,Fn,en);if(q.setRealPlayer(si),nt===Gm)Fd.push(q);else{let At=this.playersByElement.get(nt);At&&At.length&&(q.parentPlayer=On(At)),r.push(q)}}else Cr(U,ye.fromStyles),q.onDestroy(()=>Ai(U,ye.toStyles)),Wm.push(q),d.has(U)&&r.push(q)}),Wm.forEach(O=>{let U=o.get(O.element);if(U&&U.length){let q=On(U);O.setRealPlayer(q)}}),r.forEach(O=>{O.parentPlayer?O.syncPlayerEvents(O.parentPlayer):O.destroy()});for(let O=0;O<_.length;O++){let U=_[O],q=U[oi];if(Po(U,ym),q&&q.hasAnimation)continue;let ye=[];if(a.size){let si=a.get(U);si&&si.length&&ye.push(...si);let At=this.driver.query(U,wm,!0);for(let tn=0;tn!si.destroyed);nt.length?fR(this,U,nt):this.processLeaveNode(U)}return _.length=0,Fd.forEach(O=>{this.players.push(O),O.onDone(()=>{O.destroy();let U=this.players.indexOf(O);this.players.splice(U,1)}),O.play()}),Fd}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,i,r,o){let s=[];if(n){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let c=!o||o==Ra;a.forEach(l=>{l.queued||!c&&l.triggerName!=r||s.push(l)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,n,i){let r=n.triggerName,o=n.element,s=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:r;for(let c of n.timelines){let l=c.element,d=l!==o,u=zt(i,l,[]);this._getPreviousPlayers(l,d,s,a,n.toState).forEach(m=>{let p=m.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),m.destroy(),u.push(m)})}Cr(o,n.fromStyles)}_buildAnimation(e,n,i,r,o,s){let a=n.triggerName,c=n.element,l=[],d=new Set,u=new Set,f=n.timelines.map(p=>{let v=p.element;d.add(v);let _=v[oi];if(_&&_.removedBeforeQueried)return new An(p.duration,p.delay);let y=v!==c,k=mR((i.get(v)||aR).map(Me=>Me.getRealPlayer())).filter(Me=>{let Xe=Me;return Xe.element?Xe.element===v:!1}),Q=o.get(v),j=s.get(v),ge=rv(this._normalizer,p.keyframes,Q,j),we=this._buildPlayer(p,ge,k);if(p.subTimeline&&r&&u.add(v),y){let Me=new La(e,a,v);Me.setRealPlayer(we),l.push(Me)}return we});l.forEach(p=>{zt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>lR(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>Gt(p,Gg));let m=On(f);return m.onDestroy(()=>{d.forEach(p=>Po(p,Gg)),Ai(c,n.toStyles)}),u.forEach(p=>{zt(r,p,[]).push(m)}),m}_buildPlayer(e,n,i){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,i):new An(e.duration,e.delay)}},La=class{constructor(e,n,i){this.namespaceId=e,this.triggerName=n,this.element=i,this._player=new An,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((n,i)=>{n.forEach(r=>zm(e,i,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){let n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){zt(this._queuedCallbacks,e,[]).push(n)}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?!1: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){let n=this._player;n.triggerCallback&&n.triggerCallback(e)}};function lR(t,e,n){let i=t.get(e);if(i){if(i.length){let r=i.indexOf(n);i.splice(r,1)}i.length==0&&t.delete(e)}return i}function dR(t){return t??null}function wd(t){return t&&t.nodeType===1}function uR(t){return t=="start"||t=="done"}function ev(t,e){let n=t.style.display;return t.style.display=e??"none",n}function tv(t,e,n,i,r){let o=[];n.forEach(c=>o.push(ev(c)));let s=[];i.forEach((c,l)=>{let d=new Map;c.forEach(u=>{let f=e.computeStyle(l,u,r);d.set(u,f),(!f||f.length==0)&&(l[oi]=cR,s.push(l))}),t.set(l,d)});let a=0;return n.forEach(c=>ev(c,o[a++])),s}function iv(t,e){let n=new Map;if(t.forEach(a=>n.set(a,[])),e.length==0)return n;let i=1,r=new Set(e),o=new Map;function s(a){if(!a)return i;let c=o.get(a);if(c)return c;let l=a.parentNode;return n.has(l)?c=l:r.has(l)?c=i:c=s(l),o.set(a,c),c}return e.forEach(a=>{let c=s(a);c!==i&&n.get(c).push(a)}),n}function Gt(t,e){t.classList?.add(e)}function Po(t,e){t.classList?.remove(e)}function fR(t,e,n){On(n).onDone(()=>t.processLeaveNode(e))}function mR(t){let e=[];return pv(t,e),e}function pv(t,e){for(let n=0;nr.add(o)):e.set(t,i),n.delete(t),!0}var jo=class{constructor(e,n,i,r){this._driver=n,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new Rm(e.body,n,i,r),this._timelineEngine=new Am(e.body,n,i),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(e,n,i,r,o){let s=e+"-"+r,a=this._triggerCache[s];if(!a){let c=[],l=[],d=uv(this._driver,o,c,l);if(c.length)throw hN(r,c);l.length&&void 0,a=eR(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,r,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,i,r){this._transitionEngine.insertNode(e,n,i,r)}onRemove(e,n,i){this._transitionEngine.removeNode(e,n,i)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,i,r){if(i.charAt(0)=="@"){let[o,s]=qg(i),a=r;this._timelineEngine.command(o,n,s,a)}else this._transitionEngine.trigger(e,n,i,r)}listen(e,n,i,r,o){if(i.charAt(0)=="@"){let[s,a]=qg(i);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(e,n,i,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)}};function pR(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=_m(e[0]),e.length>1&&(i=_m(e[e.length-1]))):e instanceof Map&&(n=_m(e)),n||i?new Om(t,n,i):null}var Vo=class Vo{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=Vo.initialStylesByElement.get(e);r||Vo.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Ai(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ai(this._element,this._initialStyles),this._endStyles&&(Ai(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Vo.initialStylesByElement.delete(this._element),this._startStyles&&(Cr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Cr(this._element,this._endStyles),this._endStyles=null),Ai(this._element,this._initialStyles),this._state=3)}};Vo.initialStylesByElement=new WeakMap;var Om=Vo;function _m(t){let e=null;return t.forEach((n,i)=>{gR(i)&&(e=e||new Map,e.set(i,n))}),e}function gR(t){return t==="display"||t==="position"}var Td=class{constructor(e,n,i,r){this.element=e,this.keyframes=n,this.options=i,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=i.duration,this._delay=i.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;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let n=[];return e.forEach(i=>{n.push(Object.fromEntries(i))}),n}_triggerWebAnimation(e,n,i){return e.animate(this._convertKeyframesToObject(n),i)}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){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&e.set(r,this._finished?i:Hm(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let n=e==="start"?this._onStartFns:this._onDoneFns;n.forEach(i=>i()),n.length=0}},Ad=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,n){return!1}containsElement(e,n){return ov(e,n)}getParentElement(e){return Pm(e)}query(e,n,i){return sv(e,n,i)}computeStyle(e,n,i){return Hm(e,n)}animate(e,n,i,r,o,s=[]){let a=r==0?"both":"forwards",c={duration:i,delay:r,fill:a};o&&(c.easing=o);let l=new Map,d=s.filter(m=>m instanceof Td);zN(i,r)&&d.forEach(m=>{m.currentSnapshot.forEach((p,v)=>l.set(v,p))});let u=RN(n).map(m=>new Map(m));u=LN(e,u,l);let f=pR(e,u);return new Td(e,u,c,f)}};var xd="@",gv="@.disabled",Nd=class{constructor(e,n,i,r){this.namespaceId=e,this.delegate=n,this.engine=i,this._onDestroy=r,this.\u0275type=0}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,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,i,r=!0){this.delegate.insertBefore(e,n,i),this.engine.onInsert(this.namespaceId,n,e,r)}removeChild(e,n,i){this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,i,r){this.delegate.setAttribute(e,n,i,r)}removeAttribute(e,n,i){this.delegate.removeAttribute(e,n,i)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,i,r){this.delegate.setStyle(e,n,i,r)}removeStyle(e,n,i){this.delegate.removeStyle(e,n,i)}setProperty(e,n,i){n.charAt(0)==xd&&n==gv?this.disableAnimations(e,!!i):this.delegate.setProperty(e,n,i)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,i){return this.delegate.listen(e,n,i)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}},Fm=class extends Nd{constructor(e,n,i,r,o){super(n,i,r,o),this.factory=e,this.namespaceId=n}setProperty(e,n,i){n.charAt(0)==xd?n.charAt(1)=="."&&n==gv?(i=i===void 0?!0:!!i,this.disableAnimations(e,i)):this.engine.process(this.namespaceId,e,n.slice(1),i):this.delegate.setProperty(e,n,i)}listen(e,n,i){if(n.charAt(0)==xd){let r=vR(e),o=n.slice(1),s="";return o.charAt(0)!=xd&&([o,s]=bR(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,i,a)})}return this.delegate.listen(e,n,i)}};function vR(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function bR(t){let e=t.indexOf("."),n=t.substring(0,e),i=t.slice(e+1);return[n,i]}var Rd=class{constructor(e,n,i){this.delegate=e,this.engine=n,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(r,o)=>{let s=o?.parentNode(r);s&&o.removeChild(s,r)}}createRenderer(e,n){let i="",r=this.delegate.createRenderer(e,n);if(!e||!n?.data?.animation){let l=this._rendererCache,d=l.get(r);if(!d){let u=()=>l.delete(r);d=new Nd(i,r,this.engine,u),l.set(r,d)}return d}let o=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=l=>{Array.isArray(l)?l.forEach(a):this.engine.registerTrigger(o,s,e,l.name,l)};return n.data.animation.forEach(a),new Fm(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,i){if(e>=0&&en(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([n,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var yR=(()=>{let e=class e extends jo{constructor(i,r,o){super(i,r,o,b(ss,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(r){return new(r||e)(g(B),g(Dr),g(Er))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function wR(){return new Ed}function xR(t,e,n){return new Rd(t,e,n)}var bv=[{provide:Er,useFactory:wR},{provide:jo,useClass:yR},{provide:Kn,useFactory:xR,deps:[L1,jo,S]}],vv=[{provide:Dr,useFactory:()=>new Ad},{provide:vt,useValue:"BrowserAnimations"},...bv],CR=[{provide:Dr,useClass:Vm},{provide:vt,useValue:"NoopAnimations"},...bv],_v=(()=>{let e=class e{static withConfig(i){return{ngModule:e,providers:i.disableAnimations?CR:vv}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:vv,imports:[V1]});let t=e;return t})();var DR=["tooltip"],xv=20;var Cv=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=b(Wt);return()=>t.scrollStrategies.reposition({scrollThrottle:xv})}});function ER(t){return()=>t.scrollStrategies.reposition({scrollThrottle:xv})}var MR={provide:Cv,deps:[Wt],useFactory:ER};function IR(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var SR=new C("mat-tooltip-default-options",{providedIn:"root",factory:IR});var yv="tooltip-panel",wv=_n({passive:!0}),kR=500,TR=8,AR=8,NR=24,RR=200,Dv=(()=>{let e=class e{get position(){return this._position}set position(i){i!==this._position&&(this._position=i,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(i){this._positionAtOrigin=yn(i),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(i){this._disabled=yn(i),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(i){this._showDelay=zs(i)}get hideDelay(){return this._hideDelay}set hideDelay(i){this._hideDelay=zs(i),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(i){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=i!=null?String(i).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(i){this._tooltipClass=i,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(i,r,o,s,a,c,l,d,u,f,m,p){this._overlay=i,this._elementRef=r,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=c,this._ariaDescriber=l,this._focusMonitor=d,this._dir=f,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=OR,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new H,this._scrollStrategy=u,this._document=p,m&&(this._showDelay=m.showDelay,this._hideDelay=m.hideDelay,m.position&&(this.position=m.position),m.positionAtOrigin&&(this.positionAtOrigin=m.positionAtOrigin),m.touchGestures&&(this.touchGestures=m.touchGestures)),f.change.pipe(le(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=TR}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(le(this._destroyed)).subscribe(i=>{i?i==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let i=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([r,o])=>{i.removeEventListener(r,o,wv)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(i,this.message,"tooltip"),this._focusMonitor.stopMonitoring(i)}show(i=this.showDelay,r){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(r);this._detach(),this._portal=this._portal||new Ma(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(le(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(i)}hide(i=this.hideDelay){let r=this._tooltipInstance;r&&(r.isVisible()?r.hide(i):(r._cancelPendingAnimations(),this._detach()))}toggle(i){this._isTooltipVisible()?this.hide():this.show(void 0,i)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(i){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!i)&&s._origin instanceof V)return this._overlayRef;this._detach()}let r=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?i||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(r);return o.positionChanges.pipe(le(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${yv}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(le(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(le(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(le(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!ei(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(i){let r=i.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();r.withPositions([this._addOffset(D(D({},o.main),s.main)),this._addOffset(D(D({},o.fallback),s.fallback))])}_addOffset(i){let r=AR,o=!this._dir||this._dir.value=="ltr";return i.originY==="top"?i.offsetY=-r:i.originY==="bottom"?i.offsetY=r:i.originX==="start"?i.offsetX=o?-r:r:i.originX==="end"&&(i.offsetX=o?r:-r),i}_getOrigin(){let i=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"||r=="below"?o={originX:"center",originY:r=="above"?"top":"bottom"}:r=="before"||r=="left"&&i||r=="right"&&!i?o={originX:"start",originY:"center"}:(r=="after"||r=="right"&&i||r=="left"&&!i)&&(o={originX:"end",originY:"center"});let{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){let i=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"?o={overlayX:"center",overlayY:"bottom"}:r=="below"?o={overlayX:"center",overlayY:"top"}:r=="before"||r=="left"&&i||r=="right"&&!i?o={overlayX:"end",overlayY:"center"}:(r=="after"||r=="right"&&i||r=="left"&&!i)&&(o={overlayX:"start",overlayY:"center"});let{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Ve(1),le(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(i){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=i,this._tooltipInstance._markForCheck())}_invertPosition(i,r){return this.position==="above"||this.position==="below"?r==="top"?r="bottom":r==="bottom"&&(r="top"):i==="end"?i="start":i==="start"&&(i="end"),{x:i,y:r}}_updateCurrentPositionClass(i){let{overlayY:r,originX:o,originY:s}=i,a;if(r==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=r==="bottom"&&s==="top"?"above":"below",a!==this._currentPosition){let c=this._overlayRef;if(c){let l=`${this._cssClassPrefix}-${yv}-`;c.removePanelClass(l+this._currentPosition),c.addPanelClass(l+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",i=>{this._setupPointerExitEventsIfNeeded();let r;i.x!==void 0&&i.y!==void 0&&(r=i),this.show(void 0,r)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",i=>{let r=i.targetTouches?.[0],o=r?{x:r.clientX,y:r.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),kR)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let i=[];if(this._platformSupportsMouseEvents())i.push(["mouseleave",r=>{let o=r.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",r=>this._wheelListener(r)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let r=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};i.push(["touchend",r],["touchcancel",r])}this._addListeners(i),this._passiveListeners.push(...i)}_addListeners(i){i.forEach(([r,o])=>{this._elementRef.nativeElement.addEventListener(r,o,wv)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(i){if(this._isTooltipVisible()){let r=this._document.elementFromPoint(i.clientX,i.clientY),o=this._elementRef.nativeElement;r!==o&&!o.contains(r)&&this.hide()}}_disableNativeGesturesIfNecessary(){let i=this.touchGestures;if(i!=="off"){let r=this._elementRef.nativeElement,o=r.style;(i==="on"||r.nodeName!=="INPUT"&&r.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(i==="on"||!r.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};e.\u0275fac=function(r){return new(r||e)(h(Wt),h(V),h(Ca),h(Ye),h(S),h(De),h(Z8),h(Z1),h(Cv),h(ti),h(SR,8),h(B))},e.\u0275dir=N({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(r,o){r&2&&me("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[x.None,"matTooltipPosition","position"],positionAtOrigin:[x.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[x.None,"matTooltipDisabled","disabled"],showDelay:[x.None,"matTooltipShowDelay","showDelay"],hideDelay:[x.None,"matTooltipHideDelay","hideDelay"],touchGestures:[x.None,"matTooltipTouchGestures","touchGestures"],message:[x.None,"matTooltip","message"],tooltipClass:[x.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let t=e;return t})(),OR=(()=>{let e=class e{constructor(i,r,o){this._changeDetectorRef=i,this._elementRef=r,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new H,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(i){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},i)}hide(i){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},i)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:i}){(!i||!this._triggerElement.contains(i))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let i=this._elementRef.nativeElement.getBoundingClientRect();return i.height>NR&&i.width>=RR}_handleAnimationEnd({animationName:i}){(i===this._showAnimation||i===this._hideAnimation)&&this._finalizeAnimation(i===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(i){i?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(i){let r=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(r.classList.remove(i?s:o),r.classList.add(i?o:s),this._isVisible=i,i&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(r);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}i&&this._onShow(),this._animationsDisabled&&(r.classList.add("_mat-animation-noopable"),this._finalizeAnimation(i))}};e.\u0275fac=function(r){return new(r||e)(h(st),h(V),h(vt,8))},e.\u0275cmp=Y({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(r,o){if(r&1&&et(DR,7),r&2){let s;re(s=oe())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(r,o){r&1&&Qe("mouseleave",function(a){return o._handleMouseLeave(a)}),r&2&&ir("zoom",o.isVisible()?1:null)},standalone:!0,features:[be],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(r,o){r&1&&(M(0,"div",0,1),Qe("animationend",function(a){return o._handleAnimationEnd(a)}),M(2,"div",2),W(3),I()()),r&2&&(me("mdc-tooltip--multiline",o._isMultiline),fe("ngClass",o.tooltipClass),R(3),Dt(o.message))},dependencies:[lo],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__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-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{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);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let t=e;return t})();var Ev=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:[MR],imports:[Y1,Tt,Jl,pe,pe,Oo]});let t=e;return t})();var Mv=(()=>{let e=class e{transform(i,r){switch(i.toLowerCase()){case"stable":return"badge-ok";case"beta":return"badge-warn";case"canary":return"badge-alert";default:return""}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=hs({name:"getChannelClass",type:e,pure:!0});let t=e;return t})();var Iv=(()=>{let e=class e{transform(i,r){let o=i.toLowerCase();switch(!0){case o.includes("linux"):return["fab","linux"];case o.includes("mac"):return["fab","apple"];case o.includes("win"):return["fab","microsoft"];default:return["far","square"]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=hs({name:"getPlatformIcon",type:e,pure:!0});let t=e;return t})();function PR(t,e){if(t&1&&(M(0,"span",10),au(1,"getChannelClass"),W(2),I()),t&2){let n=ke(3);fe("ngClass",cu(1,2,n.milestone.channel)),R(2),Dt(n.milestone.channel)}}function VR(t,e){if(t&1&&(M(0,"th",8),W(1),ue(2,PR,3,4,"span",9),I()),t&2){let n=ke(2);R(),Bt(" Chrome ",n.milestone.version," "),R(),fe("ngIf",n.milestone.channel)}}function jR(t,e){if(t&1&&(M(0,"td",11),W(1),I()),t&2){let n=e.$implicit;R(),Bt(" ",n.app,"")}}function HR(t,e){t&1&&(M(0,"th",8),W(1," Downloads"),I())}function BR(t,e){if(t&1&&(M(0,"span")(1,"a",13),he(2,"fa-icon",14),au(3,"getPlatformIcon"),W(4),I()()),t&2){let n=e.$implicit;R(),so("matTooltip",n.url),fe("href",n.url,io)("matTooltipShowDelay",200),R(),fe("icon",cu(3,5,n.platform)),R(2),Bt(" ",n.platform," ")}}function UR(t,e){if(t&1&&(M(0,"td",11),ue(1,BR,5,7,"span",12),I()),t&2){let n=e.$implicit;R(),fe("ngForOf",n.downloads)}}function $R(t,e){t&1&&he(0,"tr",15)}function qR(t,e){t&1&&he(0,"tr",16)}function WR(t,e){if(t&1&&(wi(0),M(1,"table",1),wi(2,2),ue(3,VR,3,2,"th",3)(4,jR,2,1,"td",4),xi(),wi(5,5),ue(6,HR,2,0,"th",3)(7,UR,2,1,"td",4),xi(),ue(8,$R,1,0,"tr",6)(9,qR,1,0,"tr",7),I(),xi()),t&2){let n=ke();R(),fe("dataSource",n.appDownloads),R(7),fe("matHeaderRowDef",n.displayedColumns),R(),fe("matRowDefColumns",n.displayedColumns)}}var Od=(()=>{let e=class e{constructor(){this.appDownloads=[],this.displayedColumns=["app","downloads"]}ngOnChanges(i){i.milestone&&(this.appDownloads=[],this.milestone?.downloads.forEach((r,o)=>{this.appDownloads.push({app:o,downloads:r})}))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Y({type:e,selectors:[["app-milestone"]],inputs:{milestone:"milestone"},features:[Re],decls:1,vars:1,consts:[[4,"ngIf"],["mat-table","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","app"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","downloads"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[3,"ngClass",4,"ngIf"],[3,"ngClass"],["mat-cell",""],[4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mr-1",3,"href","matTooltip","matTooltipShowDelay"],[1,"fa-xl","icon-color",3,"icon"],["mat-header-row",""],["mat-row",""]],template:function(r,o){r&1&&ue(0,WR,10,3,"ng-container",0),r&2&&fe("ngIf",o.appDownloads.length>0)},dependencies:[lo,f8,k1,b7,y9,Rg,Fg,Vg,zg,Og,jg,Lg,Pg,Hg,Bg,Dv,Mv,Iv],styles:["table[_ngcontent-%COMP%]{min-width:850px}.mat-column-app[_ngcontent-%COMP%]{min-width:250px}.mat-column-downloads[_ngcontent-%COMP%]{min-width:600px}.icon-color[_ngcontent-%COMP%]{color:#708090}"]});let t=e;return t})();function GR(t,e){if(t&1&&(M(0,"mat-option",6),W(1),I()),t&2){let n=e.$implicit;fe("value",n.version),R(),Dt(n.milestone)}}function ZR(t,e){if(t&1&&(wi(0),he(1,"app-milestone",7),xi()),t&2){let n=ke();R(),fe("milestone",n.selectedMilestone)}}function YR(t,e){t&1&&(M(0,"h3"),W(1,"No version selected."),I())}var kv=(()=>{let e=class e{constructor(i){this.dataService=i}ngOnInit(){this.dataService.getMilestones().subscribe(i=>{this.milestones=Array.from(i.milestones.values()).sort((r,o)=>r.milestoner.version===i).shift()}};e.\u0275fac=function(r){return new(r||e)(h(bn))},e.\u0275cmp=Y({type:e,selectors:[["app-dl-milestone"]],features:[Fe([bn])],decls:15,vars:3,consts:[[1,"padding-1"],["svgIcon","chrome4test","aria-label","Chrome for testing",1,"h1-icon","mr-1","ml-1"],[3,"selectionChange"],[1,"ml-1"],[4,"ngIf","ngIfElse"],["nothing",""],[3,"value"],[3,"milestone"]],template:function(r,o){if(r&1&&(M(0,"section",0)(1,"h1"),he(2,"mat-icon",1),W(3," Download milestone versions "),I(),M(4,"mat-form-field")(5,"mat-label"),W(6,"Chrome version"),I(),M(7,"mat-select",2),Qe("selectionChange",function(a){return o.showDownloads(a.value)}),V6(8,GR,2,2,"mat-option",6,P6),I()(),M(10,"span",3),W(11),I(),ue(12,ZR,2,1,"ng-container",4)(13,YR,2,0,"ng-template",null,5,xs),I()),r&2){let s=pn(14);R(8),j6(o.milestones),R(3),Bt("Last update: ",o.updated,""),R(),fe("ngIf",o.selectedMilestone)("ngIfElse",s)}},dependencies:[k1,po,V9,ql,Dg,tl,Od]});let t=e;return t})();var Tv=(()=>{let e=class e{constructor(i){this.dataService=i}ngOnInit(){this.dataService.getLatest().subscribe(i=>{this.stableMilestone=i.channels.get("Stable"),this.betaMilestone=i.channels.get("Beta"),this.canMilestone=i.channels.get("Canary")})}};e.\u0275fac=function(r){return new(r||e)(h(bn))},e.\u0275cmp=Y({type:e,selectors:[["app-dl-latest"]],decls:9,vars:3,consts:[[1,"padding-1"],["svgIcon","chrome4test","aria-label","Chrome for testing",1,"h1-icon","mr-1","ml-1"],[3,"milestone"]],template:function(r,o){r&1&&(M(0,"section",0)(1,"h1"),he(2,"mat-icon",1),W(3," Download latest versions "),I(),he(4,"app-milestone",2)(5,"div",0)(6,"app-milestone",2)(7,"div",0)(8,"app-milestone",2),I()),r&2&&(R(4),fe("milestone",o.stableMilestone),R(2),fe("milestone",o.betaMilestone),R(2),fe("milestone",o.canMilestone))},dependencies:[po,Od]});let t=e;return t})();var $m=[{path:"",pathMatch:"full",redirectTo:"/latest"},{path:"latest",component:Tv},{path:"milestone",component:kv},{path:"about",component:O8}],Av=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e,bootstrap:[Hl]}),e.\u0275inj=F({imports:[Sf.forRoot($m,{preloadingStrategy:a9}),Sf]});let t=e;return t})();var Nv=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,pe]});let t=e;return t})();var Rv=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[mo,Tt,pe,Vs,a4,Nv]});let t=e;return t})();var Ov=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[Y1,pe,pe]});let t=e;return t})();var Fv=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e,bootstrap:[Hl]}),e.\u0275inj=F({providers:[l9($m,h9())],imports:[Av,_v,V1,Tt,_7,D8,Ov,w9,E9,gp,Wl,Rv,Eg,Ug,D9,Ev]});let t=e;return t})();N8().bootstrapModule(Fv).catch(t=>console.error(t)); diff --git a/dev/main-HUSM6D2N.js b/dev/main-HUSM6D2N.js new file mode 100644 index 0000000..82dda68 --- /dev/null +++ b/dev/main-HUSM6D2N.js @@ -0,0 +1,773 @@ +var Vv=Object.defineProperty,jv=Object.defineProperties;var Hv=Object.getOwnPropertyDescriptors;var Va=Object.getOwnPropertySymbols;var Ym=Object.prototype.hasOwnProperty,Qm=Object.prototype.propertyIsEnumerable;var Zm=(t,e,n)=>e in t?Vv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,M=(t,e)=>{for(var n in e||={})Ym.call(e,n)&&Zm(t,n,e[n]);if(Va)for(var n of Va(e))Qm.call(e,n)&&Zm(t,n,e[n]);return t},Ie=(t,e)=>jv(t,Hv(e));var Ld=(t,e)=>{var n={};for(var i in t)Ym.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&Va)for(var i of Va(t))e.indexOf(i)<0&&Qm.call(t,i)&&(n[i]=t[i]);return n};var Km=null;var Pd=1,Xm=Symbol("SIGNAL");function ct(t){let e=Km;return Km=t,e}var Jm={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Bv(t){if(!(Hd(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Pd)){if(!t.producerMustRecompute(t)&&!Vd(t)){t.dirty=!1,t.lastCleanEpoch=Pd;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Pd}}function e0(t){return t&&(t.nextProducerIndex=0),ct(t)}function t0(t,e){if(ct(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Hd(t))for(let n=t.nextProducerIndex;nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Vd(t){ja(t);for(let e=0;e0}function ja(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Uv(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function $v(){throw new Error}var qv=$v;function n0(t){qv=t}function $(t){return typeof t=="function"}function Er(t){let n=t(i=>{Error.call(i),i.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Ha=Er(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((i,r)=>`${r+1}) ${i.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ln(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var ve=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:i}=this;if($(i))try{i()}catch(o){e=o instanceof Ha?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{r0(o)}catch(s){e=e??[],s instanceof Ha?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Ha(e)}}add(e){var n;if(e&&e!==this)if(this.closed)r0(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&Ln(n,e)}remove(e){let{_finalizers:n}=this;n&&Ln(n,e),e instanceof t&&e._removeParent(this)}};ve.EMPTY=(()=>{let t=new ve;return t.closed=!0,t})();var Bd=ve.EMPTY;function Ba(t){return t instanceof ve||t&&"closed"in t&&$(t.remove)&&$(t.add)&&$(t.unsubscribe)}function r0(t){$(t)?t():t.unsubscribe()}var Zt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ir={setTimeout(t,e,...n){let{delegate:i}=Ir;return i?.setTimeout?i.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=Ir;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Ua(t){Ir.setTimeout(()=>{let{onUnhandledError:e}=Zt;if(e)e(t);else throw t})}function Ho(){}var o0=Ud("C",void 0,void 0);function s0(t){return Ud("E",void 0,t)}function a0(t){return Ud("N",t,void 0)}function Ud(t,e,n){return{kind:t,value:e,error:n}}var Pn=null;function Sr(t){if(Zt.useDeprecatedSynchronousErrorHandling){let e=!Pn;if(e&&(Pn={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:i}=Pn;if(Pn=null,n)throw i}}else t()}function c0(t){Zt.useDeprecatedSynchronousErrorHandling&&Pn&&(Pn.errorThrown=!0,Pn.error=t)}var Vn=class extends ve{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Ba(e)&&e.add(this)):this.destination=Zv}static create(e,n,i){return new Ni(e,n,i)}next(e){this.isStopped?qd(a0(e),this):this._next(e)}error(e){this.isStopped?qd(s0(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?qd(o0,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()}}},Wv=Function.prototype.bind;function $d(t,e){return Wv.call(t,e)}var Wd=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(i){$a(i)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(i){$a(i)}else $a(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){$a(n)}}},Ni=class extends Vn{constructor(e,n,i){super();let r;if($(e)||!e)r={next:e??void 0,error:n??void 0,complete:i??void 0};else{let o;this&&Zt.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&$d(e.next,o),error:e.error&&$d(e.error,o),complete:e.complete&&$d(e.complete,o)}):r=e}this.destination=new Wd(r)}};function $a(t){Zt.useDeprecatedSynchronousErrorHandling?c0(t):Ua(t)}function Gv(t){throw t}function qd(t,e){let{onStoppedNotification:n}=Zt;n&&Ir.setTimeout(()=>n(t,e))}var Zv={closed:!0,next:Ho,error:Gv,complete:Ho};var kr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function vt(t){return t}function Gd(...t){return Zd(t)}function Zd(t){return t.length===0?vt:t.length===1?t[0]:function(n){return t.reduce((i,r)=>r(i),n)}}var K=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let i=new t;return i.source=this,i.operator=n,i}subscribe(n,i,r){let o=Qv(n)?n:new Ni(n,i,r);return Sr(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return i=l0(i),new i((r,o)=>{let s=new Ni({next:a=>{try{n(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(n){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(n)}[kr](){return this}pipe(...n){return Zd(n)(this)}toPromise(n){return n=l0(n),new n((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=e=>new t(e),t})();function l0(t){var e;return(e=t??Zt.Promise)!==null&&e!==void 0?e:Promise}function Yv(t){return t&&$(t.next)&&$(t.error)&&$(t.complete)}function Qv(t){return t&&t instanceof Vn||Yv(t)&&Ba(t)}function Yd(t){return $(t?.lift)}function X(t){return e=>{if(Yd(e))return e.lift(function(n){try{return t(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Z(t,e,n,i,r){return new Qd(t,e,n,i,r)}var Qd=class extends Vn{constructor(e,n,i,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){e.error(c)}}:super._next,this._error=r?function(a){try{r(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Ar(){return X((t,e)=>{let n=null;t._refCount++;let i=Z(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let r=t._connection,o=n;n=null,r&&(!o||r===o)&&r.unsubscribe(),e.unsubscribe()});t.subscribe(i),i.closed||(n=t.connect())})}var nn=class extends K{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Yd(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ve;let n=this.getSubject();e.add(this.source.subscribe(Z(n,void 0,()=>{this._teardown(),n.complete()},i=>{this._teardown(),n.error(i)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ve.EMPTY)}return e}refCount(){return Ar()(this)}};var d0=Er(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var H=(()=>{class t extends K{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let i=new qa(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new d0}next(n){Sr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(n)}})}error(n){Sr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){Sr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:i,isStopped:r,observers:o}=this;return i||r?Bd:(this.currentObservers=null,o.push(n),new ve(()=>{this.currentObservers=null,Ln(o,n)}))}_checkFinalizedStatuses(n){let{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){let n=new K;return n.source=this,n}}return t.create=(e,n)=>new qa(e,n),t})(),qa=class extends H{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,e)}error(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&i!==void 0?i:Bd}};var We=class extends H{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:i}=this;if(e)throw n;return this._throwIfClosed(),i}next(e){super.next(this._value=e)}};var Bo={now(){return(Bo.delegate||Date).now()},delegate:void 0};var Wa=class extends H{constructor(e=1/0,n=1/0,i=Bo){super(),this._bufferSize=e,this._windowTime=n,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,n)}next(e){let{isStopped:n,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;n||(i.push(e),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(e),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;st.complete());function Qa(t){return t&&$(t.schedule)}function Kd(t){return t[t.length-1]}function Ka(t){return $(Kd(t))?t.pop():void 0}function ai(t){return Qa(Kd(t))?t.pop():void 0}function f0(t,e){return typeof Kd(t)=="number"?t.pop():e}function h0(t,e,n,i){function r(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(d){try{l(i.next(d))}catch(u){s(u)}}function c(d){try{l(i.throw(d))}catch(u){s(u)}}function l(d){d.done?o(d.value):r(d.value).then(a,c)}l((i=i.apply(t,e||[])).next())})}function m0(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function jn(t){return this instanceof jn?(this.v=t,this):new jn(t)}function p0(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(t,e||[]),r,o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(f){i[f]&&(r[f]=function(m){return new Promise(function(p,v){o.push([f,m,p,v])>1||a(f,m)})})}function a(f,m){try{c(i[f](m))}catch(p){u(o[0][3],p)}}function c(f){f.value instanceof jn?Promise.resolve(f.value.v).then(l,d):u(o[0][2],f)}function l(f){a("next",f)}function d(f){a("throw",f)}function u(f,m){f(m),o.shift(),o.length&&a(o[0][0],o[0][1])}}function g0(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof m0=="function"?m0(t):t[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=t[o]&&function(s){return new Promise(function(a,c){s=t[o](s),r(a,c,s.done,s.value)})}}function r(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}}var Nr=t=>t&&typeof t.length=="number"&&typeof t!="function";function Xa(t){return $(t?.then)}function Ja(t){return $(t[kr])}function ec(t){return Symbol.asyncIterator&&$(t?.[Symbol.asyncIterator])}function tc(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Kv(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ic=Kv();function nc(t){return $(t?.[ic])}function rc(t){return p0(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:i,done:r}=yield jn(n.read());if(r)return yield jn(void 0);yield yield jn(i)}}finally{n.releaseLock()}})}function oc(t){return $(t?.getReader)}function Se(t){if(t instanceof K)return t;if(t!=null){if(Ja(t))return Xv(t);if(Nr(t))return Jv(t);if(Xa(t))return eb(t);if(ec(t))return v0(t);if(nc(t))return tb(t);if(oc(t))return ib(t)}throw tc(t)}function Xv(t){return new K(e=>{let n=t[kr]();if($(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Jv(t){return new K(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Ua)})}function tb(t){return new K(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function v0(t){return new K(e=>{nb(t,e).catch(n=>e.error(n))})}function ib(t){return v0(rc(t))}function nb(t,e){var n,i,r,o;return h0(this,void 0,void 0,function*(){try{for(n=g0(t);i=yield n.next(),!i.done;){let s=i.value;if(e.next(s),e.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}e.complete()})}function Et(t,e,n,i=0,r=!1){let o=e.schedule(function(){n(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function sc(t,e=0){return X((n,i)=>{n.subscribe(Z(i,r=>Et(i,t,()=>i.next(r),e),()=>Et(i,t,()=>i.complete(),e),r=>Et(i,t,()=>i.error(r),e)))})}function ac(t,e=0){return X((n,i)=>{i.add(t.schedule(()=>n.subscribe(i),e))})}function b0(t,e){return Se(t).pipe(ac(e),sc(e))}function _0(t,e){return Se(t).pipe(ac(e),sc(e))}function y0(t,e){return new K(n=>{let i=0;return e.schedule(function(){i===t.length?n.complete():(n.next(t[i++]),n.closed||this.schedule())})})}function w0(t,e){return new K(n=>{let i;return Et(n,e,()=>{i=t[ic](),Et(n,e,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){n.error(s);return}o?n.complete():n.next(r)},0,!0)}),()=>$(i?.return)&&i.return()})}function cc(t,e){if(!t)throw new Error("Iterable cannot be null");return new K(n=>{Et(n,e,()=>{let i=t[Symbol.asyncIterator]();Et(n,e,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function x0(t,e){return cc(rc(t),e)}function C0(t,e){if(t!=null){if(Ja(t))return b0(t,e);if(Nr(t))return y0(t,e);if(Xa(t))return _0(t,e);if(ec(t))return cc(t,e);if(nc(t))return w0(t,e);if(oc(t))return x0(t,e)}throw tc(t)}function xe(t,e){return e?C0(t,e):Se(t)}function T(...t){let e=ai(t);return xe(t,e)}function rn(t,e){let n=$(t)?t:()=>t,i=r=>r.error(n());return new K(e?r=>e.schedule(i,0,r):i)}function Hn(t){return!!t&&(t instanceof K||$(t.lift)&&$(t.subscribe))}var Ri=Er(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function D0(t){return t instanceof Date&&!isNaN(t)}function P(t,e){return X((n,i)=>{let r=0;n.subscribe(Z(i,o=>{i.next(t.call(e,o,r++))}))})}var{isArray:rb}=Array;function ob(t,e){return rb(e)?t(...e):t(e)}function Rr(t){return P(e=>ob(t,e))}var{isArray:sb}=Array,{getPrototypeOf:ab,prototype:cb,keys:lb}=Object;function lc(t){if(t.length===1){let e=t[0];if(sb(e))return{args:e,keys:null};if(db(e)){let n=lb(e);return{args:n.map(i=>e[i]),keys:n}}}return{args:t,keys:null}}function db(t){return t&&typeof t=="object"&&ab(t)===cb}function dc(t,e){return t.reduce((n,i,r)=>(n[i]=e[r],n),{})}function Bn(...t){let e=ai(t),n=Ka(t),{args:i,keys:r}=lc(t);if(i.length===0)return xe([],e);let o=new K(ub(i,e,r?s=>dc(r,s):vt));return n?o.pipe(Rr(n)):o}function ub(t,e,n=vt){return i=>{M0(e,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let c=0;c{let l=xe(t[c],e),d=!1;l.subscribe(Z(i,u=>{o[c]=u,d||(d=!0,a--),a||i.next(n(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function M0(t,e,n){t?Et(n,t,e):e()}function E0(t,e,n,i,r,o,s,a){let c=[],l=0,d=0,u=!1,f=()=>{u&&!c.length&&!l&&e.complete()},m=v=>l{o&&e.next(v),l++;let _=!1;Se(n(v,d++)).subscribe(Z(e,y=>{r?.(y),o?m(y):e.next(y)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&lp(y)):p(y)}f()}catch(y){e.error(y)}}))};return t.subscribe(Z(e,m,()=>{u=!0,f()})),()=>{a?.()}}function Ue(t,e,n=1/0){return $(e)?Ue((i,r)=>P((o,s)=>e(i,o,r,s))(Se(t(i,r))),n):(typeof e=="number"&&(n=e),X((i,r)=>E0(i,r,t,n)))}function ci(t=1/0){return Ue(vt,t)}function I0(){return ci(1)}function on(...t){return I0()(xe(t,ai(t)))}function Or(t){return new K(e=>{Se(t()).subscribe(e)})}function qo(...t){let e=Ka(t),{args:n,keys:i}=lc(t),r=new K(o=>{let{length:s}=n;if(!s){o.complete();return}let a=new Array(s),c=s,l=s;for(let d=0;d{u||(u=!0,l--),a[d]=f},()=>c--,void 0,()=>{(!c||!u)&&(l||o.next(i?dc(i,a):a),o.complete())}))}});return e?r.pipe(Rr(e)):r}var fb=["addListener","removeListener"],mb=["addEventListener","removeEventListener"],hb=["on","off"];function Wo(t,e,n,i){if($(n)&&(i=n,n=void 0),i)return Wo(t,e,n).pipe(Rr(i));let[r,o]=vb(t)?mb.map(s=>a=>t[s](e,a,n)):pb(t)?fb.map(S0(t,e)):gb(t)?hb.map(S0(t,e)):[];if(!r&&Nr(t))return Ue(s=>Wo(s,e,n))(Se(t));if(!r)throw new TypeError("Invalid event target");return new K(s=>{let a=(...c)=>s.next(1o(a)})}function S0(t,e){return n=>i=>t[n](e,i)}function pb(t){return $(t.addListener)&&$(t.removeListener)}function gb(t){return $(t.on)&&$(t.off)}function vb(t){return $(t.addEventListener)&&$(t.removeEventListener)}function k0(t=0,e,n=u0){let i=-1;return e!=null&&(Qa(e)?n=e:i=e),new K(r=>{let o=D0(t)?+t-n.now():t;o<0&&(o=0);let s=0;return n.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function Oi(...t){let e=ai(t),n=f0(t,1/0),i=t;return i.length?i.length===1?Se(i[0]):ci(n)(xe(i,e)):Mt}function Te(t,e){return X((n,i)=>{let r=0;n.subscribe(Z(i,o=>t.call(e,o,r++)&&i.next(o)))})}function A0(t){return X((e,n)=>{let i=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let l=r;r=null,n.next(l)}s&&n.complete()},c=()=>{o=null,s&&n.complete()};e.subscribe(Z(n,l=>{i=!0,r=l,o||Se(t(l)).subscribe(o=Z(n,a,c))},()=>{s=!0,(!i||!o||o.closed)&&n.complete()}))})}function uc(t,e=$o){return A0(()=>k0(t,e))}function Yt(t){return X((e,n)=>{let i=null,r=!1,o;i=e.subscribe(Z(n,void 0,void 0,s=>{o=Se(t(s,Yt(t)(e))),i?(i.unsubscribe(),i=null,o.subscribe(n)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(n))})}function T0(t,e,n,i,r){return(o,s)=>{let a=n,c=e,l=0;o.subscribe(Z(s,d=>{let u=l++;c=a?t(c,d,u):(a=!0,d),i&&s.next(c)},r&&(()=>{a&&s.next(c),s.complete()})))}}function Fi(t,e){return $(e)?Ue(t,e,1):Ue(t,1)}function Go(t,e=$o){return X((n,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let l=o;o=null,i.next(l)}};function c(){let l=s+t,d=e.now();if(d{o=l,s=e.now(),r||(r=e.schedule(c,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function sn(t){return X((e,n)=>{let i=!1;e.subscribe(Z(n,r=>{i=!0,n.next(r)},()=>{i||n.next(t),n.complete()}))})}function Ve(t){return t<=0?()=>Mt:X((e,n)=>{let i=0;e.subscribe(Z(n,r=>{++i<=t&&(n.next(r),t<=i&&n.complete())}))})}function Xd(t){return P(()=>t)}function Fr(t,e=vt){return t=t??bb,X((n,i)=>{let r,o=!0;n.subscribe(Z(i,s=>{let a=e(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function bb(t,e){return t===e}function fc(t=_b){return X((e,n)=>{let i=!1;e.subscribe(Z(n,r=>{i=!0,n.next(r)},()=>i?n.complete():n.error(t())))})}function _b(){return new Ri}function li(t){return X((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function di(t,e){let n=arguments.length>=2;return i=>i.pipe(t?Te((r,o)=>t(r,o,i)):vt,Ve(1),n?sn(e):fc(()=>new Ri))}function zr(t){return t<=0?()=>Mt:X((e,n)=>{let i=[];e.subscribe(Z(n,r=>{i.push(r),t{for(let r of i)n.next(r);n.complete()},void 0,()=>{i=null}))})}function Jd(t,e){let n=arguments.length>=2;return i=>i.pipe(t?Te((r,o)=>t(r,o,i)):vt,zr(1),n?sn(e):fc(()=>new Ri))}function e2(t,e){return X(T0(t,e,arguments.length>=2,!0))}function Zo(t={}){let{connector:e=()=>new H,resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,c,l=0,d=!1,u=!1,f=()=>{a?.unsubscribe(),a=void 0},m=()=>{f(),s=c=void 0,d=u=!1},p=()=>{let v=s;m(),v?.unsubscribe()};return X((v,_)=>{l++,!u&&!d&&f();let y=c=c??e();_.add(()=>{l--,l===0&&!u&&!d&&(a=t2(p,r))}),y.subscribe(_),!s&&l>0&&(s=new Ni({next:k=>y.next(k),error:k=>{u=!0,f(),a=t2(m,n,k),y.error(k)},complete:()=>{d=!0,f(),a=t2(m,i),y.complete()}}),Se(v).subscribe(s))})(o)}}function t2(t,e,...n){if(e===!0){t();return}if(e===!1)return;let i=new Ni({next:()=>{i.unsubscribe(),t()}});return Se(e(...n)).subscribe(i)}function mc(t,e,n){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:e=1/0,refCount:r=!1,scheduler:n}=t:i=t??1/0,Zo({connector:()=>new Wa(i,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Yo(t){return Te((e,n)=>t<=n)}function zi(...t){let e=ai(t);return X((n,i)=>{(e?on(t,n,e):on(t,n)).subscribe(i)})}function rt(t,e){return X((n,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();n.subscribe(Z(i,c=>{r?.unsubscribe();let l=0,d=o++;Se(t(c,d)).subscribe(r=Z(i,u=>i.next(e?e(c,u,d,l++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function le(t){return X((e,n)=>{Se(t).subscribe(Z(n,()=>n.complete(),Ho)),!n.closed&&e.subscribe(n)})}function i2(t,e=!1){return X((n,i)=>{let r=0;n.subscribe(Z(i,o=>{let s=t(o,r++);(s||e)&&i.next(o),!s&&i.complete()}))})}function ze(t,e,n){let i=$(t)||e||n?{next:t,error:e,complete:n}:t;return i?X((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(Z(o,c=>{var l;(l=i.next)===null||l===void 0||l.call(i,c),o.next(c)},()=>{var c;a=!1,(c=i.complete)===null||c===void 0||c.call(i),o.complete()},c=>{var l;a=!1,(l=i.error)===null||l===void 0||l.call(i,c),o.error(c)},()=>{var c,l;a&&((c=i.unsubscribe)===null||c===void 0||c.call(i)),(l=i.finalize)===null||l===void 0||l.call(i)}))}):vt}var _h="https://g.co/ng/security#xss",C=class extends Error{constructor(e,n){super(Yc(e,n)),this.code=e}};function Yc(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Ne(t){for(let e in t)if(t[e]===Ne)return e;throw Error("Could not find renamed property on target object.")}function wb(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function _t(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(_t).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` +`);return n===-1?e:e.substring(0,n)}function b2(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var xb=Ne({__forward_ref__:Ne});function us(t){return t.__forward_ref__=us,t.toString=function(){return _t(this())},t}function bt(t){return yh(t)?t():t}function yh(t){return typeof t=="function"&&t.hasOwnProperty(xb)&&t.__forward_ref__===us}function wh(t){return t&&!!t.\u0275providers}var Cb=Ne({\u0275cmp:Ne}),Db=Ne({\u0275dir:Ne}),Mb=Ne({\u0275pipe:Ne}),Eb=Ne({\u0275mod:Ne}),Ic=Ne({\u0275fac:Ne}),Qo=Ne({__NG_ELEMENT_ID__:Ne}),N0=Ne({__NG_ENV_ID__:Ne});function fs(t){return typeof t=="string"?t:t==null?"":String(t)}function Ib(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():fs(t)}function Sb(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new C(-200,t)}function D3(t,e){throw new C(-201,!1)}function w(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function F(t){return{providers:t.providers||[],imports:t.imports||[]}}function Qc(t){return R0(t,Ch)||R0(t,Dh)}function xh(t){return Qc(t)!==null}function R0(t,e){return t.hasOwnProperty(e)?t[e]:null}function kb(t){let e=t&&(t[Ch]||t[Dh]);return e||null}function O0(t){return t&&(t.hasOwnProperty(F0)||t.hasOwnProperty(Ab))?t[F0]:null}var Ch=Ne({\u0275prov:Ne}),F0=Ne({\u0275inj:Ne}),Dh=Ne({ngInjectableDef:Ne}),Ab=Ne({ngInjectorDef:Ne}),de=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}(de||{}),_2;function Mh(){return _2}function It(t){let e=_2;return _2=t,e}function Eh(t,e,n){let i=Qc(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(n&de.Optional)return null;if(e!==void 0)return e;D3(t,"Injector")}var lt=globalThis;var D=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=w({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var Tb={},Xo=Tb,y2="__NG_DI_FLAG__",Sc="ngTempTokenPath",Nb="ngTokenPath",Rb=/\n/gm,Ob="\u0275",z0="__source",Hr;function Fb(){return Hr}function an(t){let e=Hr;return Hr=t,e}function zb(t,e=de.Default){if(Hr===void 0)throw new C(-203,!1);return Hr===null?Eh(t,void 0,e):Hr.get(t,e&de.Optional?null:void 0,e)}function g(t,e=de.Default){return(Mh()||zb)(bt(t),e)}function b(t,e=de.Default){return g(t,Kc(e))}function Kc(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function w2(t){let e=[];for(let n=0;n ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):_t(a)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(Rb,` + `)}`}function ms(t){return{toString:t}.toString()}var Sh=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Sh||{}),hi=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(hi||{}),Ur={},St=[],x=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(x||{});function kh(t,e,n){let i=t.length;for(;;){let r=t.indexOf(e,n);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=e.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}n=r+1}}function x2(t,e,n){let i=0;for(;ie){s=o-1;break}}}for(;oo?f="":f=r[u+1].toLowerCase();let m=i&8?f:null;if(m&&kh(m,l,0)!==-1||i&2&&l!==f){if(Qt(i))return!1;s=!0}}}}return Qt(i)||s}function Qt(t){return(t&1)===0}function $b(t,e,n,i){if(e===null)return-1;let r=0;if(i||!n){let o=!1;for(;r-1)for(n++;n0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!Qt(s)&&(e+=P0(o,r),r=""),i=s,o=o||!Qt(i);n++}return r!==""&&(e+=P0(o,r)),e}function Qb(t){return t.map(Yb).join(",")}function Kb(t){let e=[],n=[],i=1,r=2;for(;i{let e=Ph(t),n=Ie(M({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Sh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||hi.Emulated,styles:t.styles||St,_:null,schemas:t.schemas||null,tView:null,id:""});Vh(n);let i=t.dependencies;return n.directiveDefs=j0(i,!1),n.pipeDefs=j0(i,!0),n.id=e_(n),n})}function Xb(t){return ln(t)||Oh(t)}function Jb(t){return t!==null}function z(t){return ms(()=>({type:t.type,bootstrap:t.bootstrap||St,declarations:t.declarations||St,imports:t.imports||St,exports:t.exports||St,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function V0(t,e){if(t==null)return Ur;let n={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,s,a=x.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),e?(n[o]=a!==x.None?[i,a]:i,e[o]=s):n[o]=i}return n}function N(t){return ms(()=>{let e=Ph(t);return Vh(e),e})}function hs(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function ln(t){return t[Cb]||null}function Oh(t){return t[Db]||null}function Fh(t){return t[Mb]||null}function zh(t){let e=ln(t)||Oh(t)||Fh(t);return e!==null?e.standalone:!1}function Lh(t,e){let n=t[Eb]||null;if(!n&&e===!0)throw new Error(`Type ${_t(t)} does not have '\u0275mod' property.`);return n}function Ph(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Ur,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||St,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:V0(t.inputs,e),outputs:V0(t.outputs),debugInfo:null}}function Vh(t){t.features?.forEach(e=>e(t))}function j0(t,e){if(!t)return null;let n=e?Fh:Xb;return()=>(typeof t=="function"?t():t).map(i=>n(i)).filter(Jb)}function e_(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let r of n)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,"c"+e}var ji=0,ee=1,W=2,dt=3,Xt=4,Nt=5,$r=6,es=7,mt=8,qr=9,Li=10,$e=11,ts=12,H0=13,Jr=14,Pt=15,ps=16,Lr=17,mi=18,Xc=19,jh=20,cn=21,n2=22,qn=23,pt=25,Hh=1;var Wn=7,kc=8,Wr=9,ht=10,M3=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(M3||{});function Un(t){return Array.isArray(t)&&typeof t[Hh]=="object"}function Hi(t){return Array.isArray(t)&&t[Hh]===!0}function E3(t){return(t.flags&4)!==0}function Jc(t){return t.componentOffset>-1}function e1(t){return(t.flags&1)===1}function dn(t){return!!t.template}function t_(t){return(t[W]&512)!==0}function Gn(t,e){let n=t.hasOwnProperty(Ic);return n?t[Ic]:null}var C2=class{constructor(e,n,i){this.previousValue=e,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}};function Bh(t,e,n,i){e!==null?e.applyValueToInputSignal(e,i):t[n]=i}function Re(){return Uh}function Uh(t){return t.type.prototype.ngOnChanges&&(t.setInput=n_),i_}Re.ngInherit=!0;function i_(){let t=qh(this),e=t?.current;if(e){let n=t.previous;if(n===Ur)t.previous=e;else for(let i in e)n[i]=e[i];t.current=null,this.ngOnChanges(e)}}function n_(t,e,n,i,r){let o=this.declaredInputs[i],s=qh(t)||r_(t,{previous:Ur,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[o];a[o]=new C2(l&&l.currentValue,n,c===Ur),Bh(t,e,r,n)}var $h="__ngSimpleChanges__";function qh(t){return t[$h]||null}function r_(t,e){return t[$h]=e}var B0=null;var ui=function(t,e,n){B0?.(t,e,n)},Wh="svg",o_="math",s_=!1;function a_(){return s_}function pi(t){for(;Array.isArray(t);)t=t[ji];return t}function Gh(t,e){return pi(e[t])}function Vt(t,e){return pi(e[t.index])}function I3(t,e){return t.data[e]}function Zh(t,e){return t[e]}function mn(t,e){let n=e[t];return Un(n)?n:n[ji]}function c_(t){return(t[W]&4)===4}function S3(t){return(t[W]&128)===128}function l_(t){return Hi(t[dt])}function Gr(t,e){return e==null?null:t[e]}function Yh(t){t[Lr]=0}function d_(t){t[W]&1024||(t[W]|=1024,S3(t)&&is(t))}function u_(t,e){for(;t>0;)e=e[Jr],t--;return e}function k3(t){return!!(t[W]&9216||t[qn]?.dirty)}function D2(t){k3(t)?is(t):t[W]&64&&(a_()?(t[W]|=1024,is(t)):t[Li].changeDetectionScheduler?.notify())}function is(t){t[Li].changeDetectionScheduler?.notify();let e=ns(t);for(;e!==null&&!(e[W]&8192||(e[W]|=8192,!S3(e)));)e=ns(e)}function Qh(t,e){if((t[W]&256)===256)throw new C(911,!1);t[cn]===null&&(t[cn]=[]),t[cn].push(e)}function f_(t,e){if(t[cn]===null)return;let n=t[cn].indexOf(e);n!==-1&&t[cn].splice(n,1)}function ns(t){let e=t[dt];return Hi(e)?e[dt]:e}var ne={lFrame:r5(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function m_(){return ne.lFrame.elementDepthCount}function h_(){ne.lFrame.elementDepthCount++}function p_(){ne.lFrame.elementDepthCount--}function Kh(){return ne.bindingsEnabled}function Xh(){return ne.skipHydrationRootTNode!==null}function g_(t){return ne.skipHydrationRootTNode===t}function v_(){ne.skipHydrationRootTNode=null}function ce(){return ne.lFrame.lView}function Ge(){return ne.lFrame.tView}function A3(t){return ne.lFrame.contextLView=t,t[mt]}function T3(t){return ne.lFrame.contextLView=null,t}function wt(){let t=Jh();for(;t!==null&&t.type===64;)t=t.parent;return t}function Jh(){return ne.lFrame.currentTNode}function b_(){let t=ne.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function er(t,e){let n=ne.lFrame;n.currentTNode=t,n.isParent=e}function N3(){return ne.lFrame.isParent}function R3(){ne.lFrame.isParent=!1}function __(){return ne.lFrame.contextLView}function y_(){let t=ne.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function w_(t){return ne.lFrame.bindingIndex=t}function eo(){return ne.lFrame.bindingIndex++}function e5(t){let e=ne.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function x_(){return ne.lFrame.inI18n}function C_(t,e){let n=ne.lFrame;n.bindingIndex=n.bindingRootIndex=t,M2(e)}function D_(){return ne.lFrame.currentDirectiveIndex}function M2(t){ne.lFrame.currentDirectiveIndex=t}function M_(t){let e=ne.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function t5(){return ne.lFrame.currentQueryIndex}function O3(t){ne.lFrame.currentQueryIndex=t}function E_(t){let e=t[ee];return e.type===2?e.declTNode:e.type===1?t[Nt]:null}function i5(t,e,n){if(n&de.SkipSelf){let r=e,o=t;for(;r=r.parent,r===null&&!(n&de.Host);)if(r=E_(o),r===null||(o=o[Jr],r.type&10))break;if(r===null)return!1;e=r,t=o}let i=ne.lFrame=n5();return i.currentTNode=e,i.lView=t,!0}function F3(t){let e=n5(),n=t[ee];ne.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function n5(){let t=ne.lFrame,e=t===null?null:t.child;return e===null?r5(t):e}function r5(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function o5(){let t=ne.lFrame;return ne.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var s5=o5;function z3(){let t=o5();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 I_(t){return(ne.lFrame.contextLView=u_(t,ne.lFrame.contextLView))[mt]}function hn(){return ne.lFrame.selectedIndex}function Zn(t){ne.lFrame.selectedIndex=t}function t1(){let t=ne.lFrame;return I3(t.tView,t.selectedIndex)}function i1(){ne.lFrame.currentNamespace=Wh}function L3(){S_()}function S_(){ne.lFrame.currentNamespace=null}function k_(){return ne.lFrame.currentNamespace}var a5=!0;function n1(){return a5}function r1(t){a5=t}function A_(t,e,n){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(i){let s=Uh(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}r&&(n.preOrderHooks??=[]).push(0-t,r),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function o1(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[c]<0&&(t[Lr]+=65536),(a>14>16&&(t[W]&3)===e&&(t[W]+=16384,U0(a,o)):U0(a,o)}var Br=-1,Yn=class{constructor(e,n,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}};function N_(t){return t instanceof Yn}function R_(t){return(t.flags&8)!==0}function O_(t){return(t.flags&16)!==0}function l5(t){return t!==Br}function Ac(t){return t&32767}function F_(t){return t>>16}function Tc(t,e){let n=F_(t),i=e;for(;n>0;)i=i[Jr],n--;return i}var E2=!0;function Nc(t){let e=E2;return E2=t,e}var z_=256,d5=z_-1,u5=5,L_=0,fi={};function P_(t,e,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(Qo)&&(i=n[Qo]),i==null&&(i=n[Qo]=L_++);let r=i&d5,o=1<>u5)]|=o}function Rc(t,e){let n=f5(t,e);if(n!==-1)return n;let i=e[ee];i.firstCreatePass&&(t.injectorIndex=e.length,o2(i.data,t),o2(e,null),o2(i.blueprint,null));let r=P3(t,e),o=t.injectorIndex;if(l5(r)){let s=Ac(r),a=Tc(r,e),c=a[ee].data;for(let l=0;l<8;l++)e[o+l]=a[s+l]|c[s+l]}return e[o+8]=r,o}function o2(t,e){t.push(0,0,0,0,0,0,0,0,e)}function f5(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function P3(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;r!==null;){if(i=v5(r),i===null)return Br;if(n++,r=r[Jr],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return Br}function I2(t,e,n){P_(t,e,n)}function V_(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let n=t.attrs;if(n){let i=n.length,r=0;for(;r>20,u=i?a:a+d,f=r?a+d:l;for(let m=u;m=c&&p.type===n)return m}if(r){let m=s[c];if(m&&dn(m)&&m.type===n)return c}return null}function Qn(t,e,n,i){let r=t[n],o=e.data;if(N_(r)){let s=r;s.resolving&&Sb(Ib(o[n]));let a=Nc(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?It(s.injectImpl):null,d=i5(t,i,de.Default);try{r=t[n]=s.factory(void 0,o,t,i),e.firstCreatePass&&n>=i.directiveStart&&A_(n,o[n],e)}finally{l!==null&&It(l),Nc(a),s.resolving=!1,s5()}}return r}function H_(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Qo)?t[Qo]:void 0;return typeof e=="number"?e>=0?e&d5:B_:e}function $0(t,e,n){let i=1<>u5)]&i)}function q0(t,e){return!(t&de.Self)&&!(t&de.Host&&e)}var $n=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,i){return p5(this._tNode,this._lView,e,Kc(i),n)}};function B_(){return new $n(wt(),ce())}function ot(t){return ms(()=>{let e=t.prototype.constructor,n=e[Ic]||S2(e),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[Ic]||S2(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function S2(t){return yh(t)?()=>{let e=S2(bt(t));return e&&e()}:Gn(t)}function U_(t,e,n,i,r){let o=t,s=e;for(;o!==null&&s!==null&&s[W]&2048&&!(s[W]&512);){let a=g5(o,s,n,i|de.Self,fi);if(a!==fi)return a;let c=o.parent;if(!c){let l=s[jh];if(l){let d=l.get(n,fi,i);if(d!==fi)return d}c=v5(s),s=s[Jr]}o=c}return r}function v5(t){let e=t[ee],n=e.type;return n===2?e.declTNode:n===1?t[Nt]:null}function gi(t){return V_(wt(),t)}var hc="__parameters__";function $_(t){return function(...n){if(t){let i=t(...n);for(let r in i)this[r]=i[r]}}}function b5(t,e,n){return ms(()=>{let i=$_(e);function r(...o){if(this instanceof r)return i.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(c,l,d){let u=c.hasOwnProperty(hc)?c[hc]:Object.defineProperty(c,hc,{value:[]})[hc];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),c}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function q_(t){let e=lt.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function W_(t){return typeof t=="function"}function G_(t,e,n){if(t.length!==e.length)return!1;for(let i=0;iArray.isArray(n)?V3(n,e):e(n))}function _5(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Oc(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Y_(t,e){let n=[];for(let i=0;ie;){let o=r-2;t[r]=t[o],r--}t[e]=n,t[e+1]=i}}function s1(t,e,n){let i=gs(t,e);return i>=0?t[i|1]=n:(i=~i,Q_(t,i,e,n)),i}function s2(t,e){let n=gs(t,e);if(n>=0)return t[n|1]}function gs(t,e){return K_(t,e,1)}function K_(t,e,n){let i=0,r=t.length>>n;for(;r!==i;){let o=i+(r-i>>1),s=t[o<e?r=o:i=o+1}return~(r<{let s=[];r.templateUrl&&s.push(i(r.templateUrl).then(l=>{r.template=l}));let a=typeof r.styles=="string"?[r.styles]:r.styles||[];if(r.styles=a,r.styleUrl&&r.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(r.styleUrls?.length){let l=r.styles.length,d=r.styleUrls;r.styleUrls.forEach((u,f)=>{a.push(""),s.push(i(u).then(m=>{a[l+f]=m,d.splice(d.indexOf(u),1),d.length==0&&(r.styleUrls=void 0)}))})}else r.styleUrl&&s.push(i(r.styleUrl).then(l=>{a.push(l),r.styleUrl=void 0}));let c=Promise.all(s).then(()=>ny(o));e.push(c)}),ey(),Promise.all(e).then(()=>{})}var Fc=new Map,J_=new Set;function ey(){let t=Fc;return Fc=new Map,t}function ty(){return Fc.size===0}function iy(t){return typeof t=="string"?t:t.text()}function ny(t){J_.delete(t)}var Zr=new D(""),y5=new D("",-1),w5=new D(""),zc=class{get(e,n=Xo){if(n===Xo){let i=new Error(`NullInjectorError: No provider for ${_t(e)}!`);throw i.name="NullInjectorError",i}return n}};function bs(t){return{\u0275providers:t}}function ry(...t){return{\u0275providers:x5(!0,t),\u0275fromNgModule:!0}}function x5(t,...e){let n=[],i=new Set,r,o=s=>{n.push(s)};return V3(e,s=>{let a=s;k2(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&C5(r,o),n}function C5(t,e){for(let n=0;n{e(o,i)})}}function k2(t,e,n,i){if(t=bt(t),!t)return!1;let r=null,o=O0(t),s=!o&&ln(t);if(!o&&!s){let c=t.ngModule;if(o=O0(c),o)r=c;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)k2(l,e,n,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let l;try{V3(o.imports,d=>{k2(d,e,n,i)&&(l||=[],l.push(d))})}finally{}l!==void 0&&C5(l,e)}if(!a){let l=Gn(r)||(()=>new r);e({provide:r,useFactory:l,deps:St},r),e({provide:w5,useValue:r,multi:!0},r),e({provide:Zr,useValue:()=>g(r),multi:!0},r)}let c=o.providers;if(c!=null&&!a){let l=t;j3(c,d=>{e(d,l)})}}else return!1;return r!==t&&t.providers!==void 0}function j3(t,e){for(let n of t)wh(n)&&(n=n.\u0275providers),Array.isArray(n)?j3(n,e):e(n)}var oy=Ne({provide:String,useValue:Ne});function D5(t){return t!==null&&typeof t=="object"&&oy in t}function sy(t){return!!(t&&t.useExisting)}function ay(t){return!!(t&&t.useFactory)}function Yr(t){return typeof t=="function"}function cy(t){return!!t.useClass}var c1=new D(""),Dc={},ly={},a2;function H3(){return a2===void 0&&(a2=new zc),a2}var yt=class{},rs=class extends yt{get destroyed(){return this._destroyed}constructor(e,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,T2(e,s=>this.processProvider(s)),this.records.set(y5,Pr(void 0,this)),r.has("environment")&&this.records.set(yt,Pr(void 0,this));let o=this.records.get(c1);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(w5,St,de.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}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();let n=an(this),i=It(void 0),r;try{return e()}finally{an(n),It(i)}}get(e,n=Xo,i=de.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(N0))return e[N0](this);i=Kc(i);let r,o=an(this),s=It(void 0);try{if(!(i&de.SkipSelf)){let c=this.records.get(e);if(c===void 0){let l=hy(e)&&Qc(e);l&&this.injectableDefInScope(l)?c=Pr(A2(e),Dc):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=i&de.Self?H3():this.parent;return n=i&de.Optional&&n===Xo?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Sc]=a[Sc]||[]).unshift(_t(e)),o)throw a;return Pb(a,e,"R3InjectorError",this.source)}else throw a}finally{It(s),an(o)}}resolveInjectorInitializers(){let e=an(this),n=It(void 0),i;try{let r=this.get(Zr,St,de.Self);for(let o of r)o()}finally{an(e),It(n)}}toString(){let e=[],n=this.records;for(let i of n.keys())e.push(_t(i));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(e){e=bt(e);let n=Yr(e)?e:bt(e&&e.provide),i=uy(e);if(!Yr(e)&&e.multi===!0){let r=this.records.get(n);r||(r=Pr(void 0,Dc,!0),r.factory=()=>w2(r.multi),this.records.set(n,r)),n=e,r.multi.push(e)}this.records.set(n,i)}hydrate(e,n){return n.value===Dc&&(n.value=ly,n.value=n.factory()),typeof n.value=="object"&&n.value&&my(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;let n=bt(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function A2(t){let e=Qc(t),n=e!==null?e.factory:Gn(t);if(n!==null)return n;if(t instanceof D)throw new C(204,!1);if(t instanceof Function)return dy(t);throw new C(204,!1)}function dy(t){if(t.length>0)throw new C(204,!1);let n=kb(t);return n!==null?()=>n.factory(t):()=>new t}function uy(t){if(D5(t))return Pr(void 0,t.useValue);{let e=M5(t);return Pr(e,Dc)}}function M5(t,e,n){let i;if(Yr(t)){let r=bt(t);return Gn(r)||A2(r)}else if(D5(t))i=()=>bt(t.useValue);else if(ay(t))i=()=>t.useFactory(...w2(t.deps||[]));else if(sy(t))i=()=>g(bt(t.useExisting));else{let r=bt(t&&(t.useClass||t.provide));if(fy(t))i=()=>new r(...w2(t.deps));else return Gn(r)||A2(r)}return i}function Pr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function fy(t){return!!t.deps}function my(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function hy(t){return typeof t=="function"||typeof t=="object"&&t instanceof D}function T2(t,e){for(let n of t)Array.isArray(n)?T2(n,e):n&&wh(n)?T2(n.\u0275providers,e):e(n)}function vi(t,e){t instanceof rs&&t.assertNotDestroyed();let n,i=an(t),r=It(void 0);try{return e()}finally{an(i),It(r)}}function py(t){if(!Mh()&&!Fb())throw new C(-203,!1)}function W0(t,e=null,n=null,i){let r=E5(t,e,n,i);return r.resolveInjectorInitializers(),r}function E5(t,e=null,n=null,i,r=new Set){let o=[n||St,ry(t)];return i=i||(typeof t=="object"?void 0:_t(t)),new rs(o,e||H3(),i||null,r)}var xt=(()=>{let e=class e{static create(i,r){if(Array.isArray(i))return W0({name:""},r,i,"");{let o=i.name??"";return W0({name:o},i.parent,i.providers,o)}}};e.THROW_IF_NOT_FOUND=Xo,e.NULL=new zc,e.\u0275prov=w({token:e,providedIn:"any",factory:()=>g(y5)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var N2;function I5(t){N2=t}function S5(){if(N2!==void 0)return N2;if(typeof document<"u")return document;throw new C(210,!1)}var to=new D("",{providedIn:"root",factory:()=>gy}),gy="ng",B3=new D(""),jt=new D("",{providedIn:"platform",factory:()=>"unknown"});var gt=new D(""),_s=new D("",{providedIn:"root",factory:()=>S5().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function k5(t){return t instanceof Function?t():t}function vy(t){return(t??b(xt)).get(jt)==="browser"}function A5(t){return(t.flags&128)===128}var Pi=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Pi||{}),by=/^>|^->||--!>|)/g,yy="\u200B$1\u200B";function wy(t){return t.replace(by,e=>e.replace(_y,yy))}var T5=new Map,xy=0;function Cy(){return xy++}function Dy(t){T5.set(t[Xc],t)}function My(t){T5.delete(t[Xc])}var G0="__ngContext__";function un(t,e){Un(e)?(t[G0]=e[Xc],Dy(e)):t[G0]=e}var Ey;function U3(t,e){return Ey(t,e)}function Vr(t,e,n,i,r){if(i!=null){let o,s=!1;Hi(i)?o=i:Un(i)&&(s=!0,i=i[ji]);let a=pi(i);t===0&&n!==null?r==null?z5(e,n,a):Lc(e,n,a,r||null,!0):t===1&&n!==null?Lc(e,n,a,r||null,!0):t===2?By(e,a,s):t===3&&e.destroyNode(a),o!=null&&$y(e,t,o,n,r)}}function Iy(t,e){return t.createText(e)}function Sy(t,e,n){t.setValue(e,n)}function ky(t,e){return t.createComment(wy(e))}function N5(t,e,n){return t.createElement(e,n)}function Ay(t,e){R5(t,e),e[ji]=null,e[Nt]=null}function Ty(t,e,n,i,r,o){i[ji]=r,i[Nt]=e,u1(t,i,n,1,r,o)}function R5(t,e){u1(t,e,e[$e],2,null,null)}function Ny(t){let e=t[ts];if(!e)return c2(t[ee],t);for(;e;){let n=null;if(Un(e))n=e[ts];else{let i=e[ht];i&&(n=i)}if(!n){for(;e&&!e[Xt]&&e!==t;)Un(e)&&c2(e[ee],e),e=e[dt];e===null&&(e=t),Un(e)&&c2(e[ee],e),n=e&&e[Xt]}e=n}}function Ry(t,e,n,i){let r=ht+i,o=n.length;i>0&&(n[r-1][Xt]=e),i0&&(t[n-1][Xt]=i[Xt]);let o=Oc(t,ht+e);Ay(i[ee],i);let s=o[mi];s!==null&&s.detachView(o[ee]),i[dt]=null,i[Xt]=null,i[W]&=-129}return i}function l1(t,e){if(!(e[W]&256)){let n=e[$e];n.destroyNode&&u1(t,e,n,3,null,null),Ny(e)}}function c2(t,e){if(!(e[W]&256)){e[W]&=-129,e[W]|=256,e[qn]&&i0(e[qn]),zy(t,e),Fy(t,e),e[ee].type===1&&e[$e].destroy();let n=e[ps];if(n!==null&&Hi(e[dt])){n!==e[dt]&&O5(n,e);let i=e[mi];i!==null&&i.detachView(t)}My(e)}}function Fy(t,e){let n=t.cleanup,i=e[es];if(n!==null)for(let o=0;o=0?i[s]():i[-s].unsubscribe(),o+=2}else{let s=i[n[o+1]];n[o].call(s)}i!==null&&(e[es]=null);let r=e[cn];if(r!==null){e[cn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[i.directiveStart+r];if(o===hi.None||o===hi.Emulated)return null}return Vt(i,n)}}function Lc(t,e,n,i,r){t.insertBefore(e,n,i,r)}function z5(t,e,n){t.appendChild(e,n)}function Z0(t,e,n,i,r){i!==null?Lc(t,e,n,i,r):z5(t,e,n)}function Py(t,e,n,i){t.removeChild(e,n,i)}function $3(t,e){return t.parentNode(e)}function Vy(t,e){return t.nextSibling(e)}function L5(t,e,n){return Hy(t,e,n)}function jy(t,e,n){return t.type&40?Vt(t,n):null}var Hy=jy,Y0;function d1(t,e,n,i){let r=F5(t,i,e),o=e[$e],s=i.parent||e[Nt],a=L5(s,i,e);if(r!=null)if(Array.isArray(n))for(let c=0;ct,createScript:t=>t,createScriptURL:t=>t})}catch{}return pc}function f1(t){return Gy()?.createHTML(t)||t}var gc;function B5(){if(gc===void 0&&(gc=null,lt.trustedTypes))try{gc=lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return gc}function Q0(t){return B5()?.createHTML(t)||t}function K0(t){return B5()?.createScriptURL(t)||t}var Vi=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_h})`}},O2=class extends Vi{getTypeName(){return"HTML"}},F2=class extends Vi{getTypeName(){return"Style"}},z2=class extends Vi{getTypeName(){return"Script"}},L2=class extends Vi{getTypeName(){return"URL"}},P2=class extends Vi{getTypeName(){return"ResourceURL"}};function Ht(t){return t instanceof Vi?t.changingThisBreaksApplicationSecurity:t}function Bi(t,e){let n=Zy(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${_h})`)}return n===e}function Zy(t){return t instanceof Vi&&t.getTypeName()||null}function U5(t){return new O2(t)}function $5(t){return new F2(t)}function q5(t){return new z2(t)}function W5(t){return new L2(t)}function G5(t){return new P2(t)}function Yy(t){let e=new j2(t);return Qy()?new V2(e):e}var V2=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let n=new window.DOMParser().parseFromString(f1(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):(n.removeChild(n.firstChild),n)}catch{return null}}},j2=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let n=this.inertDocument.createElement("template");return n.innerHTML=f1(e),n}};function Qy(){try{return!!new window.DOMParser().parseFromString(f1(""),"text/html")}catch{return!1}}var Ky=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function m1(t){return t=String(t),t.match(Ky)?t:"unsafe:"+t}function Ui(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function ys(...t){let e={};for(let n of t)for(let i in n)n.hasOwnProperty(i)&&(e[i]=!0);return e}var Z5=Ui("area,br,col,hr,img,wbr"),Y5=Ui("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Q5=Ui("rp,rt"),Xy=ys(Q5,Y5),Jy=ys(Y5,Ui("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ew=ys(Q5,Ui("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),X0=ys(Z5,Jy,ew,Xy),K5=Ui("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tw=Ui("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),iw=Ui("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),nw=ys(K5,tw,iw),rw=Ui("script,style,template"),H2=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,i=!0;for(;n;){if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild){n=n.firstChild;continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let r=this.checkClobberedElement(n,n.nextSibling);if(r){n=r;break}n=this.checkClobberedElement(n,n.parentNode)}}return this.buf.join("")}startElement(e){let n=e.nodeName.toLowerCase();if(!X0.hasOwnProperty(n))return this.sanitizedSomething=!0,!rw.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let i=e.attributes;for(let r=0;r"),!0}endElement(e){let n=e.nodeName.toLowerCase();X0.hasOwnProperty(n)&&!Z5.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(J0(e))}checkClobberedElement(e,n){if(n&&(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return n}},ow=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sw=/([^\#-~ |!])/g;function J0(t){return t.replace(/&/g,"&").replace(ow,function(e){let n=e.charCodeAt(0),i=e.charCodeAt(1);return"&#"+((n-55296)*1024+(i-56320)+65536)+";"}).replace(sw,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var vc;function W3(t,e){let n=null;try{vc=vc||Yy(t);let i=e?String(e):"";n=vc.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=vc.getInertBodyElement(i)}while(i!==o);let a=new H2().sanitizeChildren(eh(n)||n);return f1(a)}finally{if(n){let i=eh(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function eh(t){return"content"in t&&aw(t)?t.content:null}function aw(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var ut=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}(ut||{});function X5(t){let e=G3();return e?Q0(e.sanitize(ut.HTML,t)||""):Bi(t,"HTML")?Q0(Ht(t)):W3(S5(),fs(t))}function io(t){let e=G3();return e?e.sanitize(ut.URL,t)||"":Bi(t,"URL")?Ht(t):m1(fs(t))}function cw(t){let e=G3();if(e)return K0(e.sanitize(ut.RESOURCE_URL,t)||"");if(Bi(t,"ResourceURL"))return K0(Ht(t));throw new C(904,!1)}function lw(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?cw:io}function J5(t,e,n){return lw(e,n)(t)}function G3(){let t=ce();return t&&t[Li].sanitizer}var ss=class{};var dw="h",uw="b";var fw=()=>null;function Z3(t,e,n=!1){return fw(t,e,n)}var B2=class{},Pc=class{};function mw(t){let e=Error(`No component factory found for ${_t(t)}.`);return e[hw]=t,e}var hw="ngComponent";var U2=class{resolveComponentFactory(e){throw mw(e)}},tr=(()=>{let e=class e{};e.NULL=new U2;let t=e;return t})();function pw(){return no(wt(),ce())}function no(t,e){return new V(Vt(t,e))}var V=(()=>{let e=class e{constructor(i){this.nativeElement=i}};e.__NG_ELEMENT_ID__=pw;let t=e;return t})();function gw(t){return t instanceof V?t.nativeElement:t}var Kn=class{},bi=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>vw();let t=e;return t})();function vw(){let t=ce(),e=wt(),n=mn(e.index,t);return(Un(n)?n:t)[$e]}var bw=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),l2={};function e6(t){return yw(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function _w(t,e){if(Array.isArray(t))for(let n=0;ne,q2=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||ww}forEachItem(e){let n;for(n=this._itHead;n!==null;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){let s=!i||n&&n.currentIndex{s=this._trackByFn(r,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,r),i=!0):(i&&(n=this._verifyReinsertion(n,a,s,r)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,i,r){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,o,r)):(e=this._linkedRecords===null?null:this._linkedRecords.get(i,r),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,o,r)):e=this._addAfter(new W2(n,i),o,r)),e}_verifyReinsertion(e,n,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;e!==null;){let n=e._next;this._addToRemovals(this._unlink(e)),e=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let r=e._prevRemoved,o=e._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,n,i),this._addToMoves(e,i),e}_moveAfter(e,n,i){return this._unlink(e),this._insertAfter(e,n,i),this._addToMoves(e,i),e}_addAfter(e,n,i){return this._insertAfter(e,n,i),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,n,i){let r=n===null?this._itHead:n._next;return e._next=r,e._prev=n,r===null?this._itTail=e:r._prev=e,n===null?this._itHead=e:n._next=e,this._linkedRecords===null&&(this._linkedRecords=new Vc),this._linkedRecords.put(e),e.currentIndex=i,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let n=e._prev,i=e._next;return n===null?this._itHead=i:n._next=i,i===null?this._itTail=n:i._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Vc),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},W2=class{constructor(e,n){this.item=e,this.trackById=n,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}},G2=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let i;for(i=this._head;i!==null;i=i._nextDup)if((n===null||n<=i.currentIndex)&&Object.is(i.trackById,e))return i;return null}remove(e){let n=e._prevDup,i=e._nextDup;return n===null?this._head=i:n._nextDup=i,i===null?this._tail=n:i._prevDup=n,this._head===null}},Vc=class{constructor(){this.map=new Map}put(e){let n=e.trackById,i=this.map.get(n);i||(i=new G2,this.map.set(n,i)),i.add(e)}get(e,n){let i=e,r=this.map.get(i);return r?r.get(e,n):null}remove(e){let n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function th(t,e,n){let i=t.previousIndex;if(i===null)return i;let r=0;return n&&i{let e=class e{constructor(i){this.factories=i}static create(i,r){if(r!=null){let o=r.factories.slice();i=i.concat(o)}return new e(i)}static extend(i){return{provide:e,useFactory:r=>e.create(i,r||ih()),deps:[[e,new a1,new vs]]}}find(i){let r=this.factories.find(o=>o.supports(i));if(r!=null)return r;throw new C(901,!1)}};e.\u0275prov=w({token:e,providedIn:"root",factory:ih});let t=e;return t})();function jc(t,e,n,i,r=!1){for(;n!==null;){let o=e[n.index];o!==null&&i.push(pi(o)),Hi(o)&&xw(o,i);let s=n.type;if(s&8)jc(t,e,n.child,i);else if(s&32){let a=U3(n,e),c;for(;c=a();)i.push(c)}else if(s&16){let a=P5(e,n);if(Array.isArray(a))i.push(...a);else{let c=ns(e[Pt]);jc(c[ee],c,a,i,!0)}}n=r?n.projectionNext:n.next}return i}function xw(t,e){for(let n=ht;n{is(t.lView)},consumerOnSignalRead(){this.lView[qn]=this}});function i6(t){return r6(t[ts])}function n6(t){return r6(t[Xt])}function r6(t){for(;t!==null&&!Hi(t);)t=t[Xt];return t}var Iw="ngOriginalError";function d2(t){return t[Iw]}var kt=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&d2(e);for(;n&&d2(n);)n=d2(n);return n||null}},o6=new D("",{providedIn:"root",factory:()=>b(kt).handleError.bind(void 0)});var s6=!1,Sw=new D("",{providedIn:"root",factory:()=>s6});var yi={};function R(t=1){a6(Ge(),ce(),hn()+t,!1)}function a6(t,e,n,i){if(!i)if((e[W]&3)===3){let o=t.preOrderCheckHooks;o!==null&&wc(e,o,n)}else{let o=t.preOrderHooks;o!==null&&xc(e,o,0,n)}Zn(n)}function h(t,e=de.Default){let n=ce();if(n===null)return g(t,e);let i=wt();return p5(i,n,bt(t),e)}function ws(){let t="invalid";throw new Error(t)}function c6(t,e,n,i,r,o){let s=ct(null);try{let a=null;r&x.SignalBased&&(a=e[i][Xm]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),r&x.HasDecoratorInputTransform&&(o=t.inputTransforms[i].call(e,o)),t.setInput!==null?t.setInput(e,a,o,n,i):Bh(e,a,i,o)}finally{ct(s)}}function kw(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let i=0;ipt&&a6(t,e,pt,!1),ui(s?2:0,r),n(i,r)}finally{Zn(o),ui(s?3:1,r)}}function Y3(t,e,n){if(E3(e)){let i=ct(null);try{let r=e.directiveStart,o=e.directiveEnd;for(let s=r;snull;function Fw(t,e,n,i){let r=g6(e);r.push(n),t.firstCreatePass&&v6(t).push(i,r.length-1)}function zw(t,e,n,i,r,o){let s=e?e.injectorIndex:-1,a=0;return Xh()&&(a|=128),{type:n,index:i,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}}function nh(t,e,n,i,r){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;i??={};let a,c=x.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=o;if(r!==null){if(!r.hasOwnProperty(o))continue;l=r[o]}t===0?rh(i,n,l,a,c):rh(i,n,l,a)}return i}function rh(t,e,n,i,r){let o;t.hasOwnProperty(n)?(o=t[n]).push(e,i):o=t[n]=[e,i],r!==void 0&&o.push(r)}function Lw(t,e,n){let i=e.directiveStart,r=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,l=null;for(let d=i;d0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function Bw(t,e,n,i){let r=n.directiveStart,o=n.directiveEnd;Jc(n)&&Yw(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||Rc(n,e),un(i,e);let s=n.initialInputs;for(let a=r;a-1&&(os(e,i),Oc(n,i))}this._attachedToViewContainer=!1}l1(this._lView[ee],this._lView)}onDestroy(e){Qh(this._lView,e)}markForCheck(){iu(this._cdRefInjectingView||this._lView)}detach(){this._lView[W]&=-129}reattach(){D2(this._lView),this._lView[W]|=128}detectChanges(){this._lView[W]|=1024,y6(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,R5(this._lView[ee],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=e,D2(this._lView)}},st=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=sx;let t=e;return t})();function sx(t){return ax(wt(),ce(),(t&16)===16)}function ax(t,e,n){if(Jc(t)&&!n){let i=mn(t.index,e);return new Xn(i,i)}else if(t.type&47){let i=e[Pt];return new Xn(i,e)}return null}var D6=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=cx,e.__NG_ENV_ID__=i=>i;let t=e;return t})(),K2=class extends D6{constructor(e){super(),this._lView=e}onDestroy(e){return Qh(this._lView,e),()=>f_(this._lView,e)}};function cx(){return new K2(ce())}var oh=new Set;function oo(t){oh.has(t)||(oh.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var X2=class extends H{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,i){let r=e,o=n||(()=>null),s=i;if(e&&typeof e=="object"){let c=e;r=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=u2(o),r&&(r=u2(r)),s&&(s=u2(s)));let a=super.subscribe({next:r,error:o,complete:s});return e instanceof ve&&e.add(a),a}};function u2(t){return e=>{setTimeout(t,void 0,e)}}var ie=X2;function sh(...t){}function lx(){let t=typeof lt.requestAnimationFrame=="function",e=lt[t?"requestAnimationFrame":"setTimeout"],n=lt[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){let i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);let r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}var S=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ie(!1),this.onMicrotaskEmpty=new ie(!1),this.onStable=new ie(!1),this.onError=new ie(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();let 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=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=lx().nativeRequestAnimationFrame,fx(r)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new C(909,!1)}run(e,n,i){return this._inner.run(e,n,i)}runTask(e,n,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,dx,sh,sh);try{return o.runTask(s,n,i)}finally{o.cancelTask(s)}}runGuarded(e,n,i){return this._inner.runGuarded(e,n,i)}runOutsideAngular(e){return this._outer.run(e)}},dx={};function nu(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function ux(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(lt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,J2(t),t.isCheckStableRunning=!0,nu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),J2(t))}function fx(t){let e=()=>{ux(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{if(mx(a))return n.invokeTask(r,o,s,a);try{return ah(t),n.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),ch(t)}},onInvoke:(n,i,r,o,s,a,c)=>{try{return ah(t),n.invoke(r,o,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),ch(t)}},onHasTask:(n,i,r,o)=>{n.hasTask(r,o),i===r&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,J2(t),nu(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,i,r,o)=>(n.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function J2(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function ah(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ch(t){t._nesting--,nu(t)}var e3=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ie,this.onMicrotaskEmpty=new ie,this.onStable=new ie,this.onError=new ie}run(e,n,i){return e.apply(n,i)}runGuarded(e,n,i){return e.apply(n,i)}runOutsideAngular(e){return e()}runTask(e,n,i,r){return e.apply(n,i)}};function mx(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function hx(t="zone.js",e){return t==="noop"?new e3:t==="zone.js"?new S(e):t}var jr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(jr||{}),px={destroy(){}};function ru(t,e){!e&&py(ru);let n=e?.injector??b(xt);if(!vy(n))return px;oo("NgAfterNextRender");let i=n.get(ou),r=i.handler??=new i3,o=e?.phase??jr.MixedReadWrite,s=()=>{r.unregister(c),a()},a=n.get(D6).onDestroy(s),c=new t3(n,o,()=>{s(),t()});return r.register(c),{destroy:s}}var t3=class{constructor(e,n,i){this.phase=n,this.callbackFn=i,this.zone=e.get(S),this.errorHandler=e.get(kt,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},i3=class{constructor(){this.executingCallbacks=!1,this.buckets={[jr.EarlyRead]:new Set,[jr.Write]:new Set,[jr.MixedReadWrite]:new Set,[jr.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let n of e)n.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},ou=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){let i=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let r of i)r();this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function gx(t,e){let n=mn(e,t),i=n[ee];vx(i,n);let r=n[ji];r!==null&&n[$r]===null&&(n[$r]=Z3(r,n[qr])),su(i,n,n[mt])}function vx(t,e){for(let n=e.length;n0&&j5(t,n,o.join(" "))}}function Mx(t,e,n){let i=t.projection=[];for(let r=0;r=0;i--){let r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Jo(r.hostAttrs,n=Jo(n,r.hostAttrs))}}function bc(t){return t===Ur?{}:t===St?[]:t}function Ax(t,e){let n=t.viewQuery;n?t.viewQuery=(i,r)=>{e(i,r),n(i,r)}:t.viewQuery=e}function Tx(t,e){let n=t.contentQueries;n?t.contentQueries=(i,r,o)=>{e(i,r,o),n(i,r,o)}:t.contentQueries=e}function Nx(t,e){let n=t.hostBindings;n?t.hostBindings=(i,r)=>{e(i,r),n(i,r)}:t.hostBindings=e}function Ze(t){let e=t.inputConfig,n={};for(let i in e)if(e.hasOwnProperty(i)){let r=e[i];Array.isArray(r)&&r[3]&&(n[i]=r[3])}t.inputTransforms=n}var fH=new RegExp(`^(\\d+)*(${uw}|${dw})*(.*)`);var Rx=()=>null;function as(t,e){return Rx(t,e)}function g1(t,e,n,i){let r=e.tView,s=t[W]&4096?4096:16,a=h1(t,r,n,s,null,e,null,null,null,i?.injector??null,i?.dehydratedView??null),c=t[e.index];a[ps]=c;let l=t[mi];return l!==null&&(a[mi]=l.createEmbeddedView(r)),su(r,a,n),a}function M6(t,e){let n=ht+e;if(n{let e=class e{};e.__NG_ELEMENT_ID__=Ox;let t=e;return t})();function Ox(){let t=wt();return S6(t,ce())}var Fx=Ye,I6=class extends Fx{constructor(e,n,i){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=i}get element(){return no(this._hostTNode,this._hostLView)}get injector(){return new $n(this._hostTNode,this._hostLView)}get parentInjector(){let e=P3(this._hostTNode,this._hostLView);if(l5(e)){let n=Tc(e,this._hostLView),i=Ac(e),r=n[ee].data[i+8];return new $n(r,n)}else return new $n(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=dh(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-ht}createEmbeddedView(e,n,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=as(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,r,cs(this._hostTNode,s)),a}createComponent(e,n,i,r,o){let s=e&&!W_(e),a;if(s)a=n;else{let p=n||{};a=p.index,i=p.injector,r=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}let c=s?e:new Qr(ln(e)),l=i||this.parentInjector;if(!o&&c.ngModule==null){let v=(s?l:this.parentInjector).get(yt,null);v&&(o=v)}let d=ln(c.componentType??{}),u=as(this._lContainer,d?.id??null),f=u?.firstChild??null,m=c.create(l,r,f,o);return this.insertImpl(m.hostView,a,cs(this._hostTNode,u)),m}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,i){let r=e._lView;if(l_(r)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=r[dt],l=new I6(c,c[Nt],c[dt]);l.detach(l.indexOf(e))}}let o=this._adjustIndex(n),s=this._lContainer;return v1(s,r,o,i),e.attachToViewContainerRef(),_5(f2(s),o,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=dh(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),i=os(this._lContainer,n);i&&(Oc(f2(this._lContainer),n),l1(i[ee],i))}detach(e){let n=this._adjustIndex(e,-1),i=os(this._lContainer,n);return i&&Oc(f2(this._lContainer),n)!=null?new Xn(i):null}_adjustIndex(e,n=0){return e??this.length+n}};function dh(t){return t[kc]}function f2(t){return t[kc]||(t[kc]=[])}function S6(t,e){let n,i=e[t.index];return Hi(i)?n=i:(n=h6(i,e,null,t),e[t.index]=n,p1(e,n)),Lx(n,e,t,i),new I6(n,t,e)}function zx(t,e){let n=t[$e],i=n.createComment(""),r=Vt(e,t),o=$3(n,r);return Lc(n,o,i,Vy(n,r),!1),i}var Lx=jx,Px=()=>!1;function Vx(t,e,n){return Px(t,e,n)}function jx(t,e,n,i){if(t[Wn])return;let r;n.type&8?r=pi(i):r=zx(e,n),t[Wn]=r}var fn=class{},ls=class{};var Uc=class extends fn{constructor(e,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Bc(this);let r=Lh(e);this._bootstrapComponents=k5(r.bootstrap),this._r3Injector=E5(e,n,[{provide:fn,useValue:this},{provide:tr,useValue:this.componentFactoryResolver},...i],_t(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},$c=class extends ls{constructor(e){super(),this.moduleType=e}create(e){return new Uc(this.moduleType,e,[])}};function Hx(t,e,n){return new Uc(t,e,n)}var o3=class extends fn{constructor(e){super(),this.componentFactoryResolver=new Bc(this),this.instance=null;let n=new rs([...e.providers,{provide:fn,useValue:this},{provide:tr,useValue:this.componentFactoryResolver}],e.parent||H3(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function b1(t,e,n=null){return new o3({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var ir=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new We(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Bx(t,e,n){return t[e]=n}function $i(t,e,n){let i=t[e];return Object.is(i,n)?!1:(t[e]=n,!0)}function Ux(t,e,n,i,r,o,s,a,c){let l=e.consts,d=ro(e,t,4,s||null,Gr(l,a));eu(e,n,d,Gr(l,c)),o1(e,d);let u=d.tView=X3(2,d,i,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l,null);return e.queries!==null&&(e.queries.template(e,d),u.queries=e.queries.embeddedTView(d)),d}function ue(t,e,n,i,r,o,s,a){let c=ce(),l=Ge(),d=t+pt,u=l.firstCreatePass?Ux(d,l,c,e,n,i,r,o,s):l.data[d];er(u,!1);let f=$x(l,c,u,t);n1()&&d1(l,c,f,u),un(f,c);let m=h6(f,c,f,u);return c[d]=m,p1(c,m),Vx(m,u,c),e1(u)&&Q3(l,c,u),s!=null&&K3(c,u,a),ue}var $x=qx;function qx(t,e,n,i){return r1(!0),e[$e].createComment("")}function He(t,e,n,i){let r=ce(),o=eo();if($i(r,o,e)){let s=Ge(),a=t1();Qw(a,r,t,e,n,i)}return He}function au(t,e,n,i){return $i(t,eo(),n)?e+fs(n)+i:yi}function _c(t,e){return t<<17|e<<2}function Jn(t){return t>>17&32767}function Wx(t){return(t&2)==2}function Gx(t,e){return t&131071|e<<17}function s3(t){return t|2}function Kr(t){return(t&131068)>>2}function m2(t,e){return t&-131069|e<<2}function Zx(t){return(t&1)===1}function a3(t){return t|1}function Yx(t,e,n,i,r,o){let s=o?e.classBindings:e.styleBindings,a=Jn(s),c=Kr(s);t[i]=n;let l=!1,d;if(Array.isArray(n)){let u=n;d=u[1],(d===null||gs(u,d)>0)&&(l=!0)}else d=n;if(r)if(c!==0){let f=Jn(t[a+1]);t[i+1]=_c(f,a),f!==0&&(t[f+1]=m2(t[f+1],i)),t[a+1]=Gx(t[a+1],i)}else t[i+1]=_c(a,0),a!==0&&(t[a+1]=m2(t[a+1],i)),a=i;else t[i+1]=_c(c,0),a===0?a=i:t[c+1]=m2(t[c+1],i),c=i;l&&(t[i+1]=s3(t[i+1])),uh(t,d,i,!0),uh(t,d,i,!1),Qx(e,d,t,i,o),s=_c(a,c),o?e.classBindings=s:e.styleBindings=s}function Qx(t,e,n,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&gs(o,e)>=0&&(n[i+1]=a3(n[i+1]))}function uh(t,e,n,i){let r=t[n+1],o=e===null,s=i?Jn(r):Kr(r),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],l=t[s+1];Kx(c,e)&&(a=!0,t[s+1]=i?a3(l):s3(l)),s=i?Jn(l):Kr(l)}a&&(t[n+1]=i?s3(r):a3(r))}function Kx(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?gs(t,e)>=0:!1}var Kt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Xx(t){return t.substring(Kt.key,Kt.keyEnd)}function Jx(t){return eC(t),k6(t,A6(t,0,Kt.textEnd))}function k6(t,e){let n=Kt.textEnd;return n===e?-1:(e=Kt.keyEnd=tC(t,Kt.key=e,n),A6(t,e,n))}function eC(t){Kt.key=0,Kt.keyEnd=0,Kt.value=0,Kt.valueEnd=0,Kt.textEnd=t.length}function A6(t,e,n){for(;e32;)e++;return e}function fe(t,e,n){let i=ce(),r=eo();if($i(i,r,e)){let o=Ge(),s=t1();J3(o,s,i,t,e,i[$e],n,!1)}return fe}function c3(t,e,n,i,r){let o=e.inputs,s=r?"class":"style";tu(t,n,o[s],s,i)}function nr(t,e,n){return N6(t,e,n,!1),nr}function me(t,e){return N6(t,e,null,!0),me}function rr(t){R6(aC,T6,t,!0)}function T6(t,e){for(let n=Jx(e);n>=0;n=k6(e,n))s1(t,Xx(e),!0)}function N6(t,e,n,i){let r=ce(),o=Ge(),s=e5(2);if(o.firstUpdatePass&&F6(o,t,s,i),e!==yi&&$i(r,s,e)){let a=o.data[hn()];z6(o,a,r,r[$e],t,r[s+1]=lC(e,n),i,s)}}function R6(t,e,n,i){let r=Ge(),o=e5(2);r.firstUpdatePass&&F6(r,null,o,i);let s=ce();if(n!==yi&&$i(s,o,n)){let a=r.data[hn()];if(L6(a,i)&&!O6(r,o)){let c=i?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=b2(c,n||"")),c3(r,a,s,n,i)}else cC(r,a,s,s[$e],s[o+1],s[o+1]=sC(t,e,n),i,o)}}function O6(t,e){return e>=t.expandoStartIndex}function F6(t,e,n,i){let r=t.data;if(r[n+1]===null){let o=r[hn()],s=O6(t,n);L6(o,i)&&e===null&&!s&&(e=!1),e=iC(r,o,e,i),Yx(r,o,e,n,s,i)}}function iC(t,e,n,i){let r=M_(t),o=i?e.residualClasses:e.residualStyles;if(r===null)(i?e.classBindings:e.styleBindings)===0&&(n=h2(null,t,e,n,i),n=ds(n,e.attrs,i),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==r)if(n=h2(r,t,e,n,i),o===null){let c=nC(t,e,i);c!==void 0&&Array.isArray(c)&&(c=h2(null,t,e,c[1],i),c=ds(c,e.attrs,i),rC(t,e,i,c))}else o=oC(t,e,i)}return o!==void 0&&(i?e.residualClasses=o:e.residualStyles=o),n}function nC(t,e,n){let i=n?e.classBindings:e.styleBindings;if(Kr(i)!==0)return t[Jn(i)]}function rC(t,e,n,i){let r=n?e.classBindings:e.styleBindings;t[Jn(r)]=i}function oC(t,e,n){let i,r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[r],l=Array.isArray(c),d=l?c[1]:c,u=d===null,f=n[r+1];f===yi&&(f=u?St:void 0);let m=u?s2(f,i):d===i?f:void 0;if(l&&!qc(m)&&(m=s2(c,i)),qc(m)&&(a=m,s))return a;let p=t[r+1];r=s?Jn(p):Kr(p)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=s2(c,i))}return a}function qc(t){return t!==void 0}function lC(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=_t(Ht(t)))),t}function L6(t,e){return(t.flags&(e?8:16))!==0}function P6(t,e,n){let i=ce(),r=au(i,t,e,n);R6(s1,T6,r,!0)}var l3=class{destroy(e){}updateValue(e,n){}swap(e,n){let i=Math.min(e,n),r=Math.max(e,n),o=this.detach(r);if(r-i>1){let s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(e,n){this.attach(n,this.detach(e))}};function p2(t,e,n,i,r){return t===n&&Object.is(e,i)?1:Object.is(r(t,e),r(n,i))?-1:0}function dC(t,e,n){let i,r,o=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;o<=s&&o<=a;){let c=t.at(o),l=e[o],d=p2(o,c,o,l,n);if(d!==0){d<0&&t.updateValue(o,l),o++;continue}let u=t.at(s),f=e[a],m=p2(s,u,a,f,n);if(m!==0){m<0&&t.updateValue(s,f),s--,a--;continue}let p=n(o,c),v=n(s,u),_=n(o,l);if(Object.is(_,v)){let y=n(a,f);Object.is(y,p)?(t.swap(o,s),t.updateValue(s,f),a--,s--):t.move(s,o),t.updateValue(o,l),o++;continue}if(i??=new Wc,r??=hh(t,o,s,n),d3(t,i,o,_))t.updateValue(o,l),o++,s++;else if(r.has(_))i.set(p,t.detach(o)),s--;else{let y=t.create(o,e[o]);t.attach(o,y),o++,s++}}for(;o<=a;)mh(t,i,n,o,e[o]),o++}else if(e!=null){let a=e[Symbol.iterator](),c=a.next();for(;!c.done&&o<=s;){let l=t.at(o),d=c.value,u=p2(o,l,o,d,n);if(u!==0)u<0&&t.updateValue(o,d),o++,c=a.next();else{i??=new Wc,r??=hh(t,o,s,n);let f=n(o,d);if(d3(t,i,o,f))t.updateValue(o,d),o++,s++,c=a.next();else if(!r.has(f))t.attach(o,t.create(o,d)),o++,s++,c=a.next();else{let m=n(o,l);i.set(m,t.detach(o)),s--}}}for(;!c.done;)mh(t,i,n,t.length,c.value),c=a.next()}for(;o<=s;)t.destroy(t.detach(s--));i?.forEach(a=>{t.destroy(a)})}function d3(t,e,n,i){return e!==void 0&&e.has(i)?(t.attach(n,e.get(i)),e.delete(i),!0):!1}function mh(t,e,n,i,r){if(d3(t,e,i,n(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function hh(t,e,n,i){let r=new Set;for(let o=e;o<=n;o++)r.add(i(o,t.at(o)));return r}var Wc=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let n=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,n){if(this.kvMap.has(e)){let i=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,n)}else this.kvMap.set(e,n)}forEach(e){for(let[n,i]of this.kvMap)if(e(i,n),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),e(i,n)}}};function Ae(t,e,n){oo("NgControlFlow");let i=ce(),r=eo(),o=h3(i,pt+t),s=0;if($i(i,r,e)){let a=ct(null);try{if(E6(o,s),e!==-1){let c=p3(i[ee],pt+e),l=as(o,c.tView.ssrId),d=g1(i,c,n,{dehydratedView:l});v1(o,d,s,cs(c,l))}}finally{ct(a)}}else{let a=M6(o,s);a!==void 0&&(a[mt]=n)}}var u3=class{constructor(e,n,i){this.lContainer=e,this.$implicit=n,this.$index=i}get $count(){return this.lContainer.length-ht}};function V6(t,e){return e}var f3=class{constructor(e,n,i){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=i}};function j6(t,e,n,i,r,o,s,a,c,l,d,u,f){oo("NgControlFlow");let m=c!==void 0,p=ce(),v=a?s.bind(p[Pt][mt]):s,_=new f3(m,v);p[pt+t]=_,ue(t+1,e,n,i,r,o),m&&ue(t+2,c,l,d,u,f)}var m3=class extends l3{constructor(e,n,i){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=i,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ht}at(e){return this.getLView(e)[mt].$implicit}attach(e,n){let i=n[$r];this.needsIndexUpdate||=e!==this.length,v1(this.lContainer,n,e,cs(this.templateTNode,i))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,uC(this.lContainer,e)}create(e,n){let i=as(this.lContainer,this.templateTNode.tView.ssrId);return g1(this.hostLView,this.templateTNode,new u3(this.lContainer,n,e),{dehydratedView:i})}destroy(e){l1(e[ee],e)}updateValue(e,n){this.getLView(e)[mt].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(r1(!0),N5(i,r,k_()));function pC(t,e,n,i,r){let o=e.consts,s=Gr(o,i),a=ro(e,t,8,"ng-container",s);s!==null&&Hc(a,s,!0);let c=Gr(o,r);return eu(e,n,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function wi(t,e,n){let i=ce(),r=Ge(),o=t+pt,s=r.firstCreatePass?pC(o,r,i,e,n):r.data[o];er(s,!0);let a=gC(r,i,s,t);return i[o]=a,n1()&&d1(r,i,a,s),un(a,i),e1(s)&&(Q3(r,i,s),Y3(r,s,i)),n!=null&&K3(i,s),wi}function xi(){let t=wt(),e=Ge();return N3()?R3():(t=t.parent,er(t,!1)),e.firstCreatePass&&(o1(e,t),E3(t)&&e.queries.elementEnd(t)),xi}function Ct(t,e,n){return wi(t,e,n),xi(),Ct}var gC=(t,e,n,i)=>(r1(!0),ky(e[$e],""));function B6(){return ce()}function or(t,e,n){let i=ce(),r=eo();if($i(i,r,e)){let o=Ge(),s=t1();J3(o,s,i,t,e,i[$e],n,!0)}return or}var Gc="en-US";var vC=Gc;function bC(t){typeof t=="string"&&(vC=t.toLowerCase().replace(/_/g,"-"))}function sr(t){return!!t&&typeof t.then=="function"}function U6(t){return!!t&&typeof t.subscribe=="function"}function Qe(t,e,n,i){let r=ce(),o=Ge(),s=wt();return yC(o,r,r[$e],s,t,e,i),Qe}function _C(t,e,n,i){let r=t.cleanup;if(r!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function yC(t,e,n,i,r,o,s){let a=e1(i),l=t.firstCreatePass&&v6(t),d=e[mt],u=g6(e),f=!0;if(i.type&3||s){let v=Vt(i,e),_=s?s(v):v,y=u.length,k=s?j=>s(pi(j[i.index])):i.index,Q=null;if(!s&&a&&(Q=_C(t,e,r,i.index)),Q!==null){let j=Q.__ngLastListenerFn__||Q;j.__ngNextListenerFn__=o,Q.__ngLastListenerFn__=o,f=!1}else{o=gh(i,e,d,o,!1);let j=n.listen(_,r,o);u.push(o,j),l&&l.push(r,k,y,y+1)}}else o=gh(i,e,d,o,!1);let m=i.outputs,p;if(f&&m!==null&&(p=m[r])){let v=p.length;if(v)for(let _=0;_-1?mn(t.index,e):e;iu(a);let c=ph(e,n,i,s),l=o.__ngNextListenerFn__;for(;l;)c=ph(e,n,l,s)&&c,l=l.__ngNextListenerFn__;return r&&c===!1&&s.preventDefault(),c}}function ke(t=1){return I_(t)}function wC(t,e){let n=null,i=qb(t);for(let r=0;r{let e=class e{};e.__NG_ELEMENT_ID__=MC;let t=e;return t})(),CC=Je,DC=class extends CC{constructor(e,n,i){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,i){let r=g1(this._declarationLView,this._declarationTContainer,e,{injector:n,dehydratedView:i});return new Xn(r)}};function MC(){return _1(wt(),ce())}function _1(t,e){return t.type&4?new DC(e,t,no(t,e)):null}var g3=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},v3=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let i=e.contentQueries!==null?e.contentQueries[0]:n.length,r=[];for(let o=0;o0)i.push(s[a/2]);else{let l=o[a+1],d=e[-c];for(let u=ht;u=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}function pn(t){let e=__();return Zh(e,pt+t)}function G(t,e=""){let n=ce(),i=Ge(),r=t+pt,o=i.firstCreatePass?ro(i,r,1,e,null):i.data[r],s=RC(i,n,o,e,t);n[r]=s,n1()&&d1(i,n,s,o),er(o,!1)}var RC=(t,e,n,i,r)=>(r1(!0),Iy(e[$e],i));function Dt(t){return Bt("",t,""),Dt}function Bt(t,e,n){let i=ce(),r=au(i,t,e,n);return r!==yi&&ex(i,hn(),r),Bt}function OC(t,e,n){let i=Ge();if(i.firstCreatePass){let r=dn(t);w3(n,i.data,i.blueprint,r,!0),w3(e,i.data,i.blueprint,r,!1)}}function w3(t,e,n,i,r){if(t=bt(t),Array.isArray(t))for(let o=0;o>20;if(Yr(t)||!t.multi){let m=new Yn(l,r,h),p=v2(c,e,r?d:d+f,u);p===-1?(I2(Rc(a,s),o,c),g2(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(m),s.push(m)):(n[p]=m,s[p]=m)}else{let m=v2(c,e,d+f,u),p=v2(c,e,d,d+f),v=m>=0&&n[m],_=p>=0&&n[p];if(r&&!_||!r&&!v){I2(Rc(a,s),o,c);let y=LC(r?zC:FC,n.length,r,i,l);!r&&_&&(n[p].providerFactory=y),g2(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(y),s.push(y)}else{let y=Y6(n[r?p:m],l,!r&&i);g2(o,t,m>-1?m:p,y)}!r&&i&&_&&n[p].componentProviders++}}}function g2(t,e,n,i){let r=Yr(e),o=cy(e);if(r||o){let c=(o?bt(e.useClass):e).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){let d=l.indexOf(n);d===-1?l.push(n,[i,c]):l[d+1].push(i,c)}else l.push(n,c)}}}function Y6(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function v2(t,e,n,i){for(let r=n;r{n.providersResolver=(i,r)=>OC(i,r?r(t):t,e)}}var PC=(()=>{let e=class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){let r=x5(!1,i.type),o=r.length>0?b1([r],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,o)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(let i of this.cachedInjectors.values())i!==null&&i.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(g(yt))});let t=e;return t})();function be(t){oo("NgStandalone"),t.getStandaloneInjector=e=>e.get(PC).getOrCreateStandaloneInjector(t)}function VC(t,e){let n=t[e];return n===yi?void 0:n}function jC(t,e,n,i,r,o){let s=e+n;return $i(t,s,r)?Bx(t,s+1,o?i.call(o,r):i(r)):VC(t,s+1)}function cu(t,e){let n=Ge(),i,r=t+pt;n.firstCreatePass?(i=HC(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];let o=i.factory||(i.factory=Gn(i.type,!0)),s,a=It(h);try{let c=Nc(!1),l=o();return Nc(c),NC(n,ce(),r,l),l}finally{It(a)}}function HC(t,e){if(e)for(let n=e.length-1;n>=0;n--){let i=e[n];if(t===i.name)return i}}function lu(t,e,n){let i=t+pt,r=ce(),o=Zh(r,i);return BC(r,i)?jC(r,y_(),e,o.transform,n,o):o.transform(n)}function BC(t,e){return t[ee].data[e].pure}function xs(t,e){return _1(t,e)}var yc=null;function UC(t){yc!==null&&(t.defaultEncapsulation!==yc.defaultEncapsulation||t.preserveWhitespaces!==yc.preserveWhitespaces)||(yc=t)}var y1=(()=>{let e=class e{log(i){console.log(i)}warn(i){console.warn(i)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),C3=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},w1=(()=>{let e=class e{compileModuleSync(i){return new $c(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){let r=this.compileModuleSync(i),o=Lh(i),s=k5(o.declarations).reduce((a,c)=>{let l=ln(c);return l&&a.push(new Qr(l)),a},[]);return new C3(r,s)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$C=new D("");var du=new D(""),Cs=new D(""),x1=(()=>{let e=class e{constructor(i,r,o){this._ngZone=i,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,uu||(qC(o),o.addToWindow(r)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{S.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb()}});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(i)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,r,o){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),i()},r)),this._callbacks.push({doneCb:i,timeoutId:s,updateCb:o})}whenStable(i,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(i,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,r,o){return[]}};e.\u0275fac=function(r){return new(r||e)(g(S),g(C1),g(Cs))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),C1=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(i,r){this._applications.set(i,r)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,r=!0){return uu?.findTestabilityInTree(this,i,r)??null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function qC(t){uu=t}var uu,D1=new D(""),Q6=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r}),this.appInits=b(D1,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let i=[];for(let o of this.appInits){let s=o();if(sr(s))i.push(s);else if(U6(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});i.push(a)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{r()}).catch(o=>{this.reject(o)}),i.length===0&&r(),this.initialized=!0}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ds=new D("");function WC(t,e,n){let i=new $c(n);return Promise.resolve(i)}function GC(){n0(()=>{throw new C(600,!1)})}function ZC(t){return t.isBoundToModule}function YC(t,e,n){try{let i=n();return sr(i)?i.catch(r=>{throw e.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}function K6(t,e){return Array.isArray(e)?e.reduce(K6,t):M(M({},t),e)}var qi=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=b(o6),this.afterRenderEffectManager=b(ou),this.componentTypes=[],this.components=[],this.isStable=b(ir).hasPendingTasks.pipe(P(i=>!i)),this._injector=b(yt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,r){let o=i instanceof Pc;if(!this._injector.get(Q6).done){let m=!o&&zh(i),p=!1;throw new C(405,p)}let a;o?a=i:a=this._injector.get(tr).resolveComponentFactory(i),this.componentTypes.push(a.componentType);let c=ZC(a)?void 0:this._injector.get(fn),l=r||a.selector,d=a.create(xt.NULL,[],l,c),u=d.location.nativeElement,f=d.injector.get(du,null);return f?.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),Ec(this.components,d),f?.unregisterApplication(u)}),this._loadComponent(d),d}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let i=0;do{if(i===_6)throw new C(103,!1);let r=i===0;for(let{_lView:o,notifyErrorHandler:s}of this._views)!r&&!bh(o)||this.detectChangesInView(o,s,r);this.afterRenderEffectManager.execute(),i++}while(this._views.some(({_lView:r})=>bh(r)))}detectChangesInView(i,r,o){let s;o?(s=0,i[W]|=1024):i[W]&64?s=0:s=1,y6(i,r,s)}attachView(i){let r=i;this._views.push(r),r.attachToAppRef(this)}detachView(i){let r=i;Ec(this._views,r),r.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);let r=this._injector.get(Ds,[]);[...this._bootstrapListeners,...r].forEach(o=>o(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Ec(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new C(406,!1);let i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ec(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function vh(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}function bh(t){return k3(t)}var QC=(()=>{let e=class e{constructor(){this.zone=b(S),this.applicationRef=b(qi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function KC(t){return[{provide:S,useFactory:t},{provide:Zr,multi:!0,useFactory:()=>{let e=b(QC,{optional:!0});return()=>e.initialize()}},{provide:Zr,multi:!0,useFactory:()=>{let e=b(eD);return()=>{e.initialize()}}},{provide:o6,useFactory:XC}]}function XC(){let t=b(S),e=b(kt);return n=>t.runOutsideAngular(()=>e.handleError(n))}function JC(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var eD=(()=>{let e=class e{constructor(){this.subscription=new ve,this.initialized=!1,this.zone=b(S),this.pendingTasks=b(ir)}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{S.assertNotInAngularZone(),queueMicrotask(()=>{i!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{S.assertInAngularZone(),i??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function tD(){return typeof $localize<"u"&&$localize.locale||Gc}var M1=new D("",{providedIn:"root",factory:()=>b(M1,de.Optional|de.SkipSelf)||tD()});var X6=new D(""),J6=(()=>{let e=class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,r){let o=hx(r?.ngZone,JC({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{let s=Hx(i.moduleType,this.injector,KC(()=>o)),a=s.injector.get(kt,null);return o.runOutsideAngular(()=>{let c=o.onError.subscribe({next:l=>{a.handleError(l)}});s.onDestroy(()=>{Ec(this._modules,s),c.unsubscribe()})}),YC(a,o,()=>{let c=s.injector.get(Q6);return c.runInitializers(),c.donePromise.then(()=>{let l=s.injector.get(M1,Gc);return bC(l||Gc),this._moduleDoBootstrap(s),s})})})}bootstrapModule(i,r=[]){let o=K6({},r);return WC(this.injector,o,i).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(i){let r=i.injector.get(qi);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(o=>r.bootstrap(o));else if(i.instance.ngDoBootstrap)i.instance.ngDoBootstrap(r);else throw new C(-403,!1);this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let i=this._injector.get(X6,null);i&&(i.forEach(r=>r()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(r){return new(r||e)(g(xt))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),Ko=null,e8=new D("");function iD(t){if(Ko&&!Ko.get(e8,!1))throw new C(400,!1);GC(),Ko=t;let e=t.get(J6);return oD(t),e}function fu(t,e,n=[]){let i=`Platform: ${e}`,r=new D(i);return(o=[])=>{let s=t8();if(!s||s.injector.get(e8,!1)){let a=[...n,...o,{provide:r,useValue:!0}];t?t(a):iD(nD(a,i))}return rD(r)}}function nD(t=[],e){return xt.create({name:e,providers:[{provide:c1,useValue:"platform"},{provide:X6,useValue:new Set([()=>Ko=null])},...t]})}function rD(t){let e=t8();if(!e)throw new C(401,!1);return e}function t8(){return Ko?.get(J6)??null}function oD(t){t.get(B3,null)?.forEach(n=>n())}var i8=fu(null,"core",[]),n8=(()=>{let e=class e{constructor(i){}};e.\u0275fac=function(r){return new(r||e)(g(qi))},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})();function _e(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ao(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function r8(t){let e=ln(t);if(!e)return null;let n=new Qr(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var d8=null;function ar(){return d8}function u8(t){d8??=t}var E1=class{},U=new D(""),bu=(()=>{let e=class e{historyGo(i){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>b(sD),providedIn:"platform"});let t=e;return t})(),f8=new D(""),sD=(()=>{let e=class e extends bu{constructor(){super(),this._doc=b(U),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ar().getBaseHref(this._doc)}onPopState(i){let r=ar().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",i,!1),()=>r.removeEventListener("popstate",i)}onHashChange(i){let r=ar().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",i,!1),()=>r.removeEventListener("hashchange",i)}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(i){this._location.pathname=i}pushState(i,r,o){this._history.pushState(i,r,o)}replaceState(i,r,o){this._history.replaceState(i,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function _u(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function o8(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,i=n-(t[n-1]==="/"?1:0);return t.slice(0,i)+t.slice(n)}function Wi(t){return t&&t[0]!=="?"?"?"+t:t}var Ci=(()=>{let e=class e{historyGo(i){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>b(yu),providedIn:"root"});let t=e;return t})(),m8=new D(""),yu=(()=>{let e=class e extends Ci{constructor(i,r){super(),this._platformLocation=i,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??b(U).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}prepareExternalUrl(i){return _u(this._baseHref,i)}path(i=!1){let r=this._platformLocation.pathname+Wi(this._platformLocation.search),o=this._platformLocation.hash;return o&&i?`${r}${o}`:r}pushState(i,r,o,s){let a=this.prepareExternalUrl(o+Wi(s));this._platformLocation.pushState(i,r,a)}replaceState(i,r,o,s){let a=this.prepareExternalUrl(o+Wi(s));this._platformLocation.replaceState(i,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){this._platformLocation.historyGo?.(i)}};e.\u0275fac=function(r){return new(r||e)(g(bu),g(m8,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),wu=(()=>{let e=class e extends Ci{constructor(i,r){super(),this._platformLocation=i,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}path(i=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(i){let r=_u(this._baseHref,i);return r.length>0?"#"+r:r}pushState(i,r,o,s){let a=this.prepareExternalUrl(o+Wi(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(i,r,a)}replaceState(i,r,o,s){let a=this.prepareExternalUrl(o+Wi(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(i,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){this._platformLocation.historyGo?.(i)}};e.\u0275fac=function(r){return new(r||e)(g(bu),g(m8,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),gn=(()=>{let e=class e{constructor(i){this._subject=new ie,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=i;let r=this._locationStrategy.getBaseHref();this._basePath=lD(o8(s8(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(i=!1){return this.normalize(this._locationStrategy.path(i))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(i,r=""){return this.path()==this.normalize(i+Wi(r))}normalize(i){return e.stripTrailingSlash(cD(this._basePath,s8(i)))}prepareExternalUrl(i){return i&&i[0]!=="/"&&(i="/"+i),this._locationStrategy.prepareExternalUrl(i)}go(i,r="",o=null){this._locationStrategy.pushState(o,"",i,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+Wi(r)),o)}replaceState(i,r="",o=null){this._locationStrategy.replaceState(o,"",i,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+Wi(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(i=0){this._locationStrategy.historyGo?.(i)}onUrlChange(i){return this._urlChangeListeners.push(i),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(i);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(i="",r){this._urlChangeListeners.forEach(o=>o(i,r))}subscribe(i,r,o){return this._subject.subscribe({next:i,error:r,complete:o})}};e.normalizeQueryParams=Wi,e.joinWithSlash=_u,e.stripTrailingSlash=o8,e.\u0275fac=function(r){return new(r||e)(g(Ci))},e.\u0275prov=w({token:e,factory:()=>aD(),providedIn:"root"});let t=e;return t})();function aD(){return new gn(g(Ci))}function cD(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function s8(t){return t.replace(/\/index.html$/,"")}function lD(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}function S1(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let i=n.indexOf("="),[r,o]=i==-1?[n,""]:[n.slice(0,i),n.slice(i+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}var mu=/\s+/,a8=[],lo=(()=>{let e=class e{constructor(i,r){this._ngEl=i,this._renderer=r,this.initialClasses=a8,this.stateMap=new Map}set klass(i){this.initialClasses=i!=null?i.trim().split(mu):a8}set ngClass(i){this.rawClass=typeof i=="string"?i.trim().split(mu):i}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let i=this.rawClass;if(Array.isArray(i)||i instanceof Set)for(let r of i)this._updateState(r,!0);else if(i!=null)for(let r of Object.keys(i))this._updateState(r,!!i[r]);this._applyStateDiff()}_updateState(i,r){let o=this.stateMap.get(i);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(i,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let i of this.stateMap){let r=i[0],o=i[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(i,r){i=i.trim(),i.length>0&&i.split(mu).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(r){return new(r||e)(h(V),h(bi))},e.\u0275dir=N({type:e,selectors:[["","ngClass",""]],inputs:{klass:[x.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var hu=class{constructor(e,n,i,r){this.$implicit=e,this.ngForOf=n,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},h8=(()=>{let e=class e{set ngForOf(i){this._ngForOf=i,this._ngForOfDirty=!0}set ngForTrackBy(i){this._trackByFn=i}get ngForTrackBy(){return this._trackByFn}constructor(i,r,o){this._viewContainer=i,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(i){i&&(this._template=i)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let i=this._ngForOf;if(!this._differ&&i)if(0)try{}catch{}else this._differ=this._differs.find(i).create(this.ngForTrackBy)}if(this._differ){let i=this._differ.diff(this._ngForOf);i&&this._applyChanges(i)}}_applyChanges(i){let r=this._viewContainer;i.forEachOperation((o,s,a)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new hu(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)r.remove(s===null?void 0:s);else if(s!==null){let c=r.get(s);r.move(c,a),c8(c,o)}});for(let o=0,s=r.length;o{let s=r.get(o.currentIndex);c8(s,o)})}static ngTemplateContextGuard(i,r){return!0}};e.\u0275fac=function(r){return new(r||e)(h(Ye),h(Je),h(_i))},e.\u0275dir=N({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function c8(t,e){t.context.$implicit=e.item}var k1=(()=>{let e=class e{constructor(i,r){this._viewContainer=i,this._context=new pu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(i){this._context.$implicit=this._context.ngIf=i,this._updateView()}set ngIfThen(i){l8("ngIfThen",i),this._thenTemplateRef=i,this._thenViewRef=null,this._updateView()}set ngIfElse(i){l8("ngIfElse",i),this._elseTemplateRef=i,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(i,r){return!0}};e.\u0275fac=function(r){return new(r||e)(h(Ye),h(Je))},e.\u0275dir=N({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),pu=class{constructor(){this.$implicit=null,this.ngIf=null}};function l8(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${_t(e)}'.`)}var xu=(()=>{let e=class e{constructor(i){this._viewContainerRef=i,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(i){if(this._shouldRecreateView(i)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(i){return!!i.ngTemplateOutlet||!!i.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(i,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(i,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}};e.\u0275fac=function(r){return new(r||e)(h(Ye))},e.\u0275dir=N({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Re]});let t=e;return t})();var At=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})(),Cu="browser",dD="server";function Du(t){return t===Cu}function Mu(t){return t===dD}var p8=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>Du(b(jt))?new gu(b(U),window):new vu});let t=e;return t})(),gu=class{constructor(e,n){this.document=e,this.window=n,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let n=uD(this.document,e);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let n=e.getBoundingClientRect(),i=n.left+this.window.pageXOffset,r=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}};function uD(t,e){let n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}r=i.nextNode()}}return null}var vu=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},co=class{};var Is=class{},T1=class{},cr=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(n=>{let i=n.indexOf(":");if(i>0){let r=n.slice(0,i),o=r.toLowerCase(),s=n.slice(i+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((n,i)=>{this.setHeaderEntries(i,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,i])=>{this.setHeaderEntries(n,i)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let i=e.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(e.name,n);let r=(e.op==="a"?this.headers.get(n):void 0)||[];r.push(...i),this.headers.set(n,r);break;case"d":let o=e.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(e,n){let i=(Array.isArray(n)?n:[n]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var Iu=class{encodeKey(e){return g8(e)}encodeValue(e){return g8(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function hD(t,e){let n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var pD=/%(\d[a-f0-9])/gi,gD={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function g8(t){return encodeURIComponent(t).replace(pD,(e,n)=>gD[n]??e)}function A1(t){return`${t}`}var vn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Iu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=hD(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{let i=e.fromObject[n],r=Array.isArray(i)?i.map(A1):[A1(i)];this.map.set(n,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){let n=[];return Object.keys(e).forEach(i=>{let r=e[i];Array.isArray(r)?r.forEach(o=>{n.push({param:i,value:o,op:"a"})}):n.push({param:i,value:r,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let n=this.encoder.encodeKey(e);return this.map.get(e).map(i=>n+"="+this.encoder.encodeValue(i)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let n=(e.op==="a"?this.map.get(e.param):void 0)||[];n.push(A1(e.value)),this.map.set(e.param,n);break;case"d":if(e.value!==void 0){let i=this.map.get(e.param)||[],r=i.indexOf(A1(e.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(e.param,i):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Su=class{constructor(){this.map=new Map}set(e,n){return this.map.set(e,n),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 vD(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function v8(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function b8(t){return typeof Blob<"u"&&t instanceof Blob}function _8(t){return typeof FormData<"u"&&t instanceof FormData}function bD(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Es=class t{constructor(e,n,i,r){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(vD(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new cr,this.context??=new Su,!this.params)this.params=new vn,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":au.set(f,e.setHeaders[f]),c)),e.setParams&&(l=Object.keys(e.setParams).reduce((u,f)=>u.set(f,e.setParams[f]),l)),new t(n,i,o,{params:l,headers:c,context:d,reportProgress:a,responseType:r,withCredentials:s})}},uo=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}(uo||{}),Ss=class{constructor(e,n=O1.Ok,i="OK"){this.headers=e.headers||new cr,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},ku=class t extends Ss{constructor(e={}){super(e),this.type=uo.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},N1=class t extends Ss{constructor(e={}){super(e),this.type=uo.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},R1=class extends Ss{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},O1=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(O1||{});function Eu(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var ks=(()=>{let e=class e{constructor(i){this.handler=i}request(i,r,o={}){let s;if(i instanceof Es)s=i;else{let l;o.headers instanceof cr?l=o.headers:l=new cr(o.headers);let d;o.params&&(o.params instanceof vn?d=o.params:d=new vn({fromObject:o.params})),s=new Es(i,r,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=T(s).pipe(Fi(l=>this.handler.handle(l)));if(i instanceof Es||o.observe==="events")return a;let c=a.pipe(Te(l=>l instanceof N1));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(P(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return c.pipe(P(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return c.pipe(P(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return c.pipe(P(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(i,r={}){return this.request("DELETE",i,r)}get(i,r={}){return this.request("GET",i,r)}head(i,r={}){return this.request("HEAD",i,r)}jsonp(i,r){return this.request("JSONP",i,{params:new vn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(i,r={}){return this.request("OPTIONS",i,r)}patch(i,r,o={}){return this.request("PATCH",i,Eu(o,r))}post(i,r,o={}){return this.request("POST",i,Eu(o,r))}put(i,r,o={}){return this.request("PUT",i,Eu(o,r))}};e.\u0275fac=function(r){return new(r||e)(g(Is))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function C8(t,e){return e(t)}function _D(t,e){return(n,i)=>e.intercept(n,{handle:r=>t(r,i)})}function yD(t,e,n){return(i,r)=>vi(n,()=>e(i,o=>t(o,r)))}var wD=new D(""),Au=new D(""),xD=new D(""),CD=new D("");function DD(){let t=null;return(e,n)=>{t===null&&(t=(b(wD,{optional:!0})??[]).reduceRight(_D,C8));let i=b(ir),r=i.add();return t(e,n).pipe(li(()=>i.remove(r)))}}var y8=(()=>{let e=class e extends Is{constructor(i,r){super(),this.backend=i,this.injector=r,this.chain=null,this.pendingTasks=b(ir);let o=b(CD,{optional:!0});this.backend=o??i}handle(i){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Au),...this.injector.get(xD,[])]));this.chain=o.reduceRight((s,a)=>yD(s,a,this.injector),C8)}let r=this.pendingTasks.add();return this.chain(i,o=>this.backend.handle(o)).pipe(li(()=>this.pendingTasks.remove(r)))}};e.\u0275fac=function(r){return new(r||e)(g(T1),g(yt))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();var MD=/^\)\]\}',?\n/;function ED(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var w8=(()=>{let e=class e{constructor(i){this.xhrFactory=i}handle(i){if(i.method==="JSONP")throw new C(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?xe(r.\u0275loadImpl()):T(null)).pipe(rt(()=>new K(s=>{let a=r.build();if(a.open(i.method,i.urlWithParams),i.withCredentials&&(a.withCredentials=!0),i.headers.forEach((_,y)=>a.setRequestHeader(_,y.join(","))),i.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!i.headers.has("Content-Type")){let _=i.detectContentTypeHeader();_!==null&&a.setRequestHeader("Content-Type",_)}if(i.responseType){let _=i.responseType.toLowerCase();a.responseType=_!=="json"?_:"text"}let c=i.serializeBody(),l=null,d=()=>{if(l!==null)return l;let _=a.statusText||"OK",y=new cr(a.getAllResponseHeaders()),k=ED(a)||i.url;return l=new ku({headers:y,status:a.status,statusText:_,url:k}),l},u=()=>{let{headers:_,status:y,statusText:k,url:Q}=d(),j=null;y!==O1.NoContent&&(j=typeof a.response>"u"?a.responseText:a.response),y===0&&(y=j?O1.Ok:0);let ge=y>=200&&y<300;if(i.responseType==="json"&&typeof j=="string"){let we=j;j=j.replace(MD,"");try{j=j!==""?JSON.parse(j):null}catch(Ee){j=we,ge&&(ge=!1,j={error:Ee,text:j})}}ge?(s.next(new N1({body:j,headers:_,status:y,statusText:k,url:Q||void 0})),s.complete()):s.error(new R1({error:j,headers:_,status:y,statusText:k,url:Q||void 0}))},f=_=>{let{url:y}=d(),k=new R1({error:_,status:a.status||0,statusText:a.statusText||"Unknown Error",url:y||void 0});s.error(k)},m=!1,p=_=>{m||(s.next(d()),m=!0);let y={type:uo.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(y.total=_.total),i.responseType==="text"&&a.responseText&&(y.partialText=a.responseText),s.next(y)},v=_=>{let y={type:uo.UploadProgress,loaded:_.loaded};_.lengthComputable&&(y.total=_.total),s.next(y)};return a.addEventListener("load",u),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),i.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",v)),a.send(c),s.next({type:uo.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",u),a.removeEventListener("timeout",f),i.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",v)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(r){return new(r||e)(g(co))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),D8=new D(""),ID="XSRF-TOKEN",SD=new D("",{providedIn:"root",factory:()=>ID}),kD="X-XSRF-TOKEN",AD=new D("",{providedIn:"root",factory:()=>kD}),F1=class{},TD=(()=>{let e=class e{constructor(i,r,o){this.doc=i,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=S1(i,this.cookieName),this.lastCookieString=i),this.lastToken}};e.\u0275fac=function(r){return new(r||e)(g(U),g(jt),g(SD))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function ND(t,e){let n=t.url.toLowerCase();if(!b(D8)||t.method==="GET"||t.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return e(t);let i=b(F1).getToken(),r=b(AD);return i!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,i)})),e(t)}var M8=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}(M8||{});function RD(t,e){return{\u0275kind:t,\u0275providers:e}}function OD(...t){let e=[ks,w8,y8,{provide:Is,useExisting:y8},{provide:T1,useExisting:w8},{provide:Au,useValue:ND,multi:!0},{provide:D8,useValue:!0},{provide:F1,useClass:TD}];for(let n of t)e.push(...n.\u0275providers);return bs(e)}var x8=new D("");function FD(){return RD(M8.LegacyInterceptors,[{provide:x8,useFactory:DD},{provide:Au,useExisting:x8,multi:!0}])}var E8=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:[OD(FD())]});let t=e;return t})();var Ru=class extends E1{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ou=class t extends Ru{static makeCurrent(){u8(new t)}onAndCancel(e,n,i){return e.addEventListener(n,i),()=>{e.removeEventListener(n,i)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.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,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=zD();return n==null?null:LD(n)}resetBaseElement(){As=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return S1(document.cookie,e)}},As=null;function zD(){return As=As||document.querySelector("base"),As?As.getAttribute("href"):null}function LD(t){return new URL(t,document.baseURI).pathname}var Fu=class{addToWindow(e){lt.getAngularTestability=(i,r=!0)=>{let o=e.findTestabilityInTree(i,r);if(o==null)throw new C(5103,!1);return o},lt.getAllAngularTestabilities=()=>e.getAllTestabilities(),lt.getAllAngularRootElements=()=>e.getAllRootElements();let n=i=>{let r=lt.getAllAngularTestabilities(),o=r.length,s=function(){o--,o==0&&i()};r.forEach(a=>{a.whenStable(s)})};lt.frameworkStabilizers||(lt.frameworkStabilizers=[]),lt.frameworkStabilizers.push(n)}findTestabilityInTree(e,n,i){if(n==null)return null;let r=e.getTestability(n);return r??(i?ar().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null)}},PD=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),zu=new D(""),A8=(()=>{let e=class e{constructor(i,r){this._zone=r,this._eventNameToPlugin=new Map,i.forEach(o=>{o.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,r,o){return this._findPluginFor(r).addEventListener(i,r,o)}getZone(){return this._zone}_findPluginFor(i){let r=this._eventNameToPlugin.get(i);if(r)return r;if(r=this._plugins.find(s=>s.supports(i)),!r)throw new C(5101,!1);return this._eventNameToPlugin.set(i,r),r}};e.\u0275fac=function(r){return new(r||e)(g(zu),g(S))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),z1=class{constructor(e){this._doc=e}},Tu="ng-app-id",T8=(()=>{let e=class e{constructor(i,r,o,s={}){this.doc=i,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Mu(s),this.resetHostNodes()}addStyles(i){for(let r of i)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(i){for(let r of i)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let i=this.styleNodesInDOM;i&&(i.forEach(r=>r.remove()),i.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(i){this.hostNodes.add(i);for(let r of this.getAllStyles())this.addStyleToHost(i,r)}removeHost(i){this.hostNodes.delete(i)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(i){for(let r of this.hostNodes)this.addStyleToHost(r,i)}onStyleRemoved(i){let r=this.styleRef;r.get(i)?.elements?.forEach(o=>o.remove()),r.delete(i)}collectServerRenderedStyles(){let i=this.doc.head?.querySelectorAll(`style[${Tu}="${this.appId}"]`);if(i?.length){let r=new Map;return i.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(i,r){let o=this.styleRef;if(o.has(i)){let s=o.get(i);return s.usage+=r,s.usage}return o.set(i,{usage:r,elements:[]}),r}getStyleElement(i,r){let o=this.styleNodesInDOM,s=o?.get(r);if(s?.parentNode===i)return o.delete(r),s.removeAttribute(Tu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(Tu,this.appId),i.appendChild(a),a}}addStyleToHost(i,r){let o=this.getStyleElement(i,r),s=this.styleRef,a=s.get(r)?.elements;a?a.push(o):s.set(r,{elements:[o],usage:1})}resetHostNodes(){let i=this.hostNodes;i.clear(),i.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(g(U),g(to),g(_s,8),g(jt))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Nu={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/"},Pu=/%COMP%/g,N8="%COMP%",VD=`_nghost-${N8}`,jD=`_ngcontent-${N8}`,HD=!0,BD=new D("",{providedIn:"root",factory:()=>HD});function UD(t){return jD.replace(Pu,t)}function $D(t){return VD.replace(Pu,t)}function R8(t,e){return e.map(n=>n.replace(Pu,t))}var L1=(()=>{let e=class e{constructor(i,r,o,s,a,c,l,d=null){this.eventManager=i,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=Mu(c),this.defaultRenderer=new Ts(i,a,l,this.platformIsServer)}createRenderer(i,r){if(!i||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===hi.ShadowDom&&(r=Ie(M({},r),{encapsulation:hi.Emulated}));let o=this.getOrCreateRenderer(i,r);return o instanceof P1?o.applyToHost(i):o instanceof Ns&&o.applyStyles(),o}getOrCreateRenderer(i,r){let o=this.rendererByCompId,s=o.get(r.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(r.encapsulation){case hi.Emulated:s=new P1(l,d,r,this.appId,u,a,c,f);break;case hi.ShadowDom:return new Lu(l,d,i,r,a,c,this.nonce,f);default:s=new Ns(l,d,r,u,a,c,f);break}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(g(A8),g(T8),g(to),g(BD),g(U),g(jt),g(S),g(_s))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Ts=class{constructor(e,n,i,r){this.eventManager=e,this.doc=n,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Nu[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(S8(e)?e.content:e).appendChild(n)}insertBefore(e,n,i){e&&(S8(e)?e.content:e).insertBefore(n,i)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let i=typeof e=="string"?this.doc.querySelector(e):e;if(!i)throw new C(-5104,!1);return n||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,i,r){if(r){n=r+":"+n;let o=Nu[r];o?e.setAttributeNS(o,n,i):e.setAttribute(n,i)}else e.setAttribute(n,i)}removeAttribute(e,n,i){if(i){let r=Nu[i];r?e.removeAttributeNS(r,n):e.removeAttribute(`${i}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,i,r){r&(Pi.DashCase|Pi.Important)?e.style.setProperty(n,i,r&Pi.Important?"important":""):e.style[n]=i}removeStyle(e,n,i){i&Pi.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,i){e!=null&&(e[n]=i)}setValue(e,n){e.nodeValue=n}listen(e,n,i){if(typeof e=="string"&&(e=ar().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(i))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function S8(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Lu=class extends Ts{constructor(e,n,i,r,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=R8(r.id,r.styles);for(let d of l){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,i){return super.insertBefore(this.nodeOrShadowRoot(e),n,i)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ns=class extends Ts{constructor(e,n,i,r,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=r,this.styles=c?R8(c,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},P1=class extends Ns{constructor(e,n,i,r,o,s,a,c){let l=r+"-"+i.id;super(e,n,i,o,s,a,c,l),this.contentAttr=UD(l),this.hostAttr=$D(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let i=super.createElement(e,n);return super.setAttribute(i,this.contentAttr,""),i}},qD=(()=>{let e=class e extends z1{constructor(i){super(i)}supports(i){return!0}addEventListener(i,r,o){return i.addEventListener(r,o,!1),()=>this.removeEventListener(i,r,o)}removeEventListener(i,r,o){return i.removeEventListener(r,o)}};e.\u0275fac=function(r){return new(r||e)(g(U))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),k8=["alt","control","meta","shift"],WD={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},GD={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ZD=(()=>{let e=class e extends z1{constructor(i){super(i)}supports(i){return e.parseEventName(i)!=null}addEventListener(i,r,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ar().onAndCancel(i,s.domEventName,a))}static parseEventName(i){let r=i.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(r.pop()),a="",c=r.indexOf("code");if(c>-1&&(r.splice(c,1),a="code."),k8.forEach(d=>{let u=r.indexOf(d);u>-1&&(r.splice(u,1),a+=d+".")}),a+=s,r.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(i,r){let o=WD[i.key]||i.key,s="";return r.indexOf("code.")>-1&&(o=i.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),k8.forEach(a=>{if(a!==o){let c=GD[a];c(i)&&(s+=a+".")}}),s+=o,s===r)}static eventCallback(i,r,o){return s=>{e.matchEventFullKeyCode(s,i)&&o.runGuarded(()=>r(s))}}static _normalizeKey(i){return i==="esc"?"escape":i}};e.\u0275fac=function(r){return new(r||e)(g(U))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function YD(){Ou.makeCurrent()}function QD(){return new kt}function KD(){return I5(document),document}var XD=[{provide:jt,useValue:Cu},{provide:B3,useValue:YD,multi:!0},{provide:U,useFactory:KD,deps:[]}],O8=fu(i8,"browser",XD),JD=new D(""),eM=[{provide:Cs,useClass:Fu,deps:[]},{provide:du,useClass:x1,deps:[S,C1,Cs]},{provide:x1,useClass:x1,deps:[S,C1,Cs]}],tM=[{provide:c1,useValue:"root"},{provide:kt,useFactory:QD,deps:[]},{provide:zu,useClass:qD,multi:!0,deps:[U,S,jt]},{provide:zu,useClass:ZD,multi:!0,deps:[U]},L1,T8,A8,{provide:Kn,useExisting:L1},{provide:co,useClass:PD,deps:[]},[]],V1=(()=>{let e=class e{constructor(i){}static withServerTransition(i){return{ngModule:e,providers:[{provide:to,useValue:i.appId}]}}};e.\u0275fac=function(r){return new(r||e)(g(JD,12))},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:[...tM,...eM],imports:[At,n8]});let t=e;return t})();var F8=(()=>{let e=class e{constructor(i){this._doc=i}getTitle(){return this._doc.title}setTitle(i){this._doc.title=i||""}};e.\u0275fac=function(r){return new(r||e)(g(U))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var lr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=g(iM),o},providedIn:"root"});let t=e;return t})(),iM=(()=>{let e=class e extends lr{constructor(i){super(),this._doc=i}sanitize(i,r){if(r==null)return null;switch(i){case ut.NONE:return r;case ut.HTML:return Bi(r,"HTML")?Ht(r):W3(this._doc,String(r)).toString();case ut.STYLE:return Bi(r,"Style")?Ht(r):r;case ut.SCRIPT:if(Bi(r,"Script"))return Ht(r);throw new C(5200,!1);case ut.URL:return Bi(r,"URL")?Ht(r):m1(String(r));case ut.RESOURCE_URL:if(Bi(r,"ResourceURL"))return Ht(r);throw new C(5201,!1);default:throw new C(5202,!1)}}bypassSecurityTrustHtml(i){return U5(i)}bypassSecurityTrustStyle(i){return $5(i)}bypassSecurityTrustScript(i){return q5(i)}bypassSecurityTrustUrl(i){return W5(i)}bypassSecurityTrustResourceUrl(i){return G5(i)}};e.\u0275fac=function(r){return new(r||e)(g(U))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var bn=(()=>{let e=class e{constructor(i){this.http=i,this.URL_MILESTONES="https://googlechromelabs.github.io/chrome-for-testing/latest-versions-per-milestone-with-downloads.json",this.URL_LAST_KNOWN="https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json"}getMilestones(){return this.http.get(this.URL_MILESTONES).pipe(P(i=>{let r=new Map(Object.entries(i.milestones)),o=new Map;return r.forEach((s,a)=>{let c=new Map(Object.entries(s.downloads)),l=s;l.downloads=c,o.set(a,l)}),{timestamp:i.timestamp,milestones:o}}))}getLatest(){return this.http.get(this.URL_LAST_KNOWN).pipe(P(i=>{let r=new Map(Object.entries(i.channels)),o=new Map;return r.forEach((s,a)=>{let c=new Map(Object.entries(s.downloads)),l=s;l.downloads=c,o.set(a,l)}),{timestamp:i.timestamp,channels:o}}))}getLatestDownloadUrl(){return this.URL_LAST_KNOWN}getMilestoneDownloadUrl(){return this.URL_MILESTONES}};e.\u0275fac=function(r){return new(r||e)(g(ks))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var z8=(()=>{let e=class e{constructor(i){this.dataService=i,this.latestDownloadUrl=i.getLatestDownloadUrl(),this.milestoneDownloadUrl=i.getMilestoneDownloadUrl()}};e.\u0275fac=function(r){return new(r||e)(h(bn))},e.\u0275cmp=Y({type:e,selectors:[["app-about"]],decls:27,vars:4,consts:[[1,"padding-1"],["href","https://www.google.com/chrome/?hl=de"],[3,"href"],["href","https://github.com/GoogleChromeLabs/chrome-for-testing#json-api-endpoints"]],template:function(r,o){r&1&&(E(0,"section",0)(1,"h1"),G(2,"About this tool"),I(),E(3,"p"),G(4,"This tool provides a simple frontend for easy downloads of Chrome for testing. "),I(),E(5,"p"),G(6,"This is no official download page for Chrome. Please go to "),E(7,"a",1),G(8,"https://www.google.com/chrome/"),I(),G(9," to get Google Chrome."),I(),E(10,"p"),G(11,"All information are parsed from JSON endpoints:"),I(),E(12,"div")(13,"ul")(14,"li"),G(15,"Latest versions: "),E(16,"a",2),G(17),I()(),E(18,"li"),G(19,"Milestone versions: "),E(20,"a",2),G(21),I()()()(),E(22,"p"),G(23,"Find some more information on Github at "),E(24,"a",3),G(25,"https://github.com/GoogleChromeLabs/chrome-for-testing#json-api-endpoints"),I(),G(26,". "),I()()),r&2&&(R(16),so("href",o.latestDownloadUrl,io),R(),Dt(o.latestDownloadUrl),R(3),so("href",o.milestoneDownloadUrl,io),R(),Dt(o.milestoneDownloadUrl))}});let t=e;return t})();var L8={prefix:"fab",iconName:"microsoft",icon:[448,512,[],"f3ca","M0 32h214.6v214.6H0V32zm233.4 0H448v214.6H233.4V32zM0 265.4h214.6V480H0V265.4zm233.4 0H448V480H233.4V265.4z"]};var P8={prefix:"fab",iconName:"apple",icon:[384,512,[],"f179","M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"]};var V8={prefix:"fab",iconName:"linux",icon:[448,512,[],"f17c","M220.8 123.3c1 .5 1.8 1.7 3 1.7 1.1 0 2.8-.4 2.9-1.5.2-1.4-1.9-2.3-3.2-2.9-1.7-.7-3.9-1-5.5-.1-.4.2-.8.7-.6 1.1.3 1.3 2.3 1.1 3.4 1.7zm-21.9 1.7c1.2 0 2-1.2 3-1.7 1.1-.6 3.1-.4 3.5-1.6.2-.4-.2-.9-.6-1.1-1.6-.9-3.8-.6-5.5.1-1.3.6-3.4 1.5-3.2 2.9.1 1 1.8 1.5 2.8 1.4zM420 403.8c-3.6-4-5.3-11.6-7.2-19.7-1.8-8.1-3.9-16.8-10.5-22.4-1.3-1.1-2.6-2.1-4-2.9-1.3-.8-2.7-1.5-4.1-2 9.2-27.3 5.6-54.5-3.7-79.1-11.4-30.1-31.3-56.4-46.5-74.4-17.1-21.5-33.7-41.9-33.4-72C311.1 85.4 315.7.1 234.8 0 132.4-.2 158 103.4 156.9 135.2c-1.7 23.4-6.4 41.8-22.5 64.7-18.9 22.5-45.5 58.8-58.1 96.7-6 17.9-8.8 36.1-6.2 53.3-6.5 5.8-11.4 14.7-16.6 20.2-4.2 4.3-10.3 5.9-17 8.3s-14 6-18.5 14.5c-2.1 3.9-2.8 8.1-2.8 12.4 0 3.9.6 7.9 1.2 11.8 1.2 8.1 2.5 15.7.8 20.8-5.2 14.4-5.9 24.4-2.2 31.7 3.8 7.3 11.4 10.5 20.1 12.3 17.3 3.6 40.8 2.7 59.3 12.5 19.8 10.4 39.9 14.1 55.9 10.4 11.6-2.6 21.1-9.6 25.9-20.2 12.5-.1 26.3-5.4 48.3-6.6 14.9-1.2 33.6 5.3 55.1 4.1.6 2.3 1.4 4.6 2.5 6.7v.1c8.3 16.7 23.8 24.3 40.3 23 16.6-1.3 34.1-11 48.3-27.9 13.6-16.4 36-23.2 50.9-32.2 7.4-4.5 13.4-10.1 13.9-18.3.4-8.2-4.4-17.3-15.5-29.7zM223.7 87.3c9.8-22.2 34.2-21.8 44-.4 6.5 14.2 3.6 30.9-4.3 40.4-1.6-.8-5.9-2.6-12.6-4.9 1.1-1.2 3.1-2.7 3.9-4.6 4.8-11.8-.2-27-9.1-27.3-7.3-.5-13.9 10.8-11.8 23-4.1-2-9.4-3.5-13-4.4-1-6.9-.3-14.6 2.9-21.8zM183 75.8c10.1 0 20.8 14.2 19.1 33.5-3.5 1-7.1 2.5-10.2 4.6 1.2-8.9-3.3-20.1-9.6-19.6-8.4.7-9.8 21.2-1.8 28.1 1 .8 1.9-.2-5.9 5.5-15.6-14.6-10.5-52.1 8.4-52.1zm-13.6 60.7c6.2-4.6 13.6-10 14.1-10.5 4.7-4.4 13.5-14.2 27.9-14.2 7.1 0 15.6 2.3 25.9 8.9 6.3 4.1 11.3 4.4 22.6 9.3 8.4 3.5 13.7 9.7 10.5 18.2-2.6 7.1-11 14.4-22.7 18.1-11.1 3.6-19.8 16-38.2 14.9-3.9-.2-7-1-9.6-2.1-8-3.5-12.2-10.4-20-15-8.6-4.8-13.2-10.4-14.7-15.3-1.4-4.9 0-9 4.2-12.3zm3.3 334c-2.7 35.1-43.9 34.4-75.3 18-29.9-15.8-68.6-6.5-76.5-21.9-2.4-4.7-2.4-12.7 2.6-26.4v-.2c2.4-7.6.6-16-.6-23.9-1.2-7.8-1.8-15 .9-20 3.5-6.7 8.5-9.1 14.8-11.3 10.3-3.7 11.8-3.4 19.6-9.9 5.5-5.7 9.5-12.9 14.3-18 5.1-5.5 10-8.1 17.7-6.9 8.1 1.2 15.1 6.8 21.9 16l19.6 35.6c9.5 19.9 43.1 48.4 41 68.9zm-1.4-25.9c-4.1-6.6-9.6-13.6-14.4-19.6 7.1 0 14.2-2.2 16.7-8.9 2.3-6.2 0-14.9-7.4-24.9-13.5-18.2-38.3-32.5-38.3-32.5-13.5-8.4-21.1-18.7-24.6-29.9s-3-23.3-.3-35.2c5.2-22.9 18.6-45.2 27.2-59.2 2.3-1.7.8 3.2-8.7 20.8-8.5 16.1-24.4 53.3-2.6 82.4.6-20.7 5.5-41.8 13.8-61.5 12-27.4 37.3-74.9 39.3-112.7 1.1.8 4.6 3.2 6.2 4.1 4.6 2.7 8.1 6.7 12.6 10.3 12.4 10 28.5 9.2 42.4 1.2 6.2-3.5 11.2-7.5 15.9-9 9.9-3.1 17.8-8.6 22.3-15 7.7 30.4 25.7 74.3 37.2 95.7 6.1 11.4 18.3 35.5 23.6 64.6 3.3-.1 7 .4 10.9 1.4 13.8-35.7-11.7-74.2-23.3-84.9-4.7-4.6-4.9-6.6-2.6-6.5 12.6 11.2 29.2 33.7 35.2 59 2.8 11.6 3.3 23.7.4 35.7 16.4 6.8 35.9 17.9 30.7 34.8-2.2-.1-3.2 0-4.2 0 3.2-10.1-3.9-17.6-22.8-26.1-19.6-8.6-36-8.6-38.3 12.5-12.1 4.2-18.3 14.7-21.4 27.3-2.8 11.2-3.6 24.7-4.4 39.9-.5 7.7-3.6 18-6.8 29-32.1 22.9-76.7 32.9-114.3 7.2zm257.4-11.5c-.9 16.8-41.2 19.9-63.2 46.5-13.2 15.7-29.4 24.4-43.6 25.5s-26.5-4.8-33.7-19.3c-4.7-11.1-2.4-23.1 1.1-36.3 3.7-14.2 9.2-28.8 9.9-40.6.8-15.2 1.7-28.5 4.2-38.7 2.6-10.3 6.6-17.2 13.7-21.1.3-.2.7-.3 1-.5.8 13.2 7.3 26.6 18.8 29.5 12.6 3.3 30.7-7.5 38.4-16.3 9-.3 15.7-.9 22.6 5.1 9.9 8.5 7.1 30.3 17.1 41.6 10.6 11.6 14 19.5 13.7 24.6zM173.3 148.7c2 1.9 4.7 4.5 8 7.1 6.6 5.2 15.8 10.6 27.3 10.6 11.6 0 22.5-5.9 31.8-10.8 4.9-2.6 10.9-7 14.8-10.4s5.9-6.3 3.1-6.6-2.6 2.6-6 5.1c-4.4 3.2-9.7 7.4-13.9 9.8-7.4 4.2-19.5 10.2-29.9 10.2s-18.7-4.8-24.9-9.7c-3.1-2.5-5.7-5-7.7-6.9-1.5-1.4-1.9-4.6-4.3-4.9-1.4-.1-1.8 3.7 1.7 6.5z"]};var Hu;try{Hu=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Hu=!1}var De=(()=>{let e=class e{constructor(i){this._platformId=i,this.isBrowser=this._platformId?Du(this._platformId):typeof document=="object"&&!!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||Hu)&&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}};e.\u0275fac=function(r){return new(r||e)(g(jt))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Os;function nM(){if(Os==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Os=!0}))}finally{Os=Os||!1}return Os}function _n(t){return nM()?t:!!t.capture}var dr;function j8(){if(dr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return dr=!1,dr;if("scrollBehavior"in document.documentElement.style)dr=!0;else{let t=Element.prototype.scrollTo;t?dr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):dr=!1}}return dr}var ju;function rM(){if(ju==null){let t=typeof document<"u"?document.head:null;ju=!!(t&&(t.createShadowRoot||t.attachShadow))}return ju}function H8(t){if(rM()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Jt(t){return t.composedPath?t.composedPath()[0]:t.target}function Fs(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ei(t,...e){return e.length?e.some(n=>t[n]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function yn(t){return t!=null&&`${t}`!="false"}function zs(t,e=0){return oM(t)?Number(t):e}function oM(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function fo(t){return Array.isArray(t)?t:[t]}function Ke(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Gi(t){return t instanceof V?t.nativeElement:t}var sM=(()=>{let e=class e{create(i){return typeof MutationObserver>"u"?null:new MutationObserver(i)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var mo=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:[sM]});let t=e;return t})();var B8=new Set,ur,aM=(()=>{let e=class e{constructor(i,r){this._platform=i,this._nonce=r,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):lM}matchMedia(i){return(this._platform.WEBKIT||this._platform.BLINK)&&cM(i,this._nonce),this._matchMedia(i)}};e.\u0275fac=function(r){return new(r||e)(g(De),g(_s,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function cM(t,e){if(!B8.has(t))try{ur||(ur=document.createElement("style"),e&&(ur.nonce=e),ur.setAttribute("type","text/css"),document.head.appendChild(ur)),ur.sheet&&(ur.sheet.insertRule(`@media ${t} {body{ }}`,0),B8.add(t))}catch(n){console.error(n)}}function lM(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var $8=(()=>{let e=class e{constructor(i,r){this._mediaMatcher=i,this._zone=r,this._queries=new Map,this._destroySubject=new H}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(i){return U8(fo(i)).some(o=>this._registerQuery(o).mql.matches)}observe(i){let o=U8(fo(i)).map(a=>this._registerQuery(a).observable),s=Bn(o);return s=on(s.pipe(Ve(1)),s.pipe(Yo(1),Go(0))),s.pipe(P(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:d})=>{c.matches=c.matches||l,c.breakpoints[d]=l}),c}))}_registerQuery(i){if(this._queries.has(i))return this._queries.get(i);let r=this._mediaMatcher.matchMedia(i),s={observable:new K(a=>{let c=l=>this._zone.run(()=>a.next(l));return r.addListener(c),()=>{r.removeListener(c)}}).pipe(zi(r),P(({matches:a})=>({query:i,matches:a})),le(this._destroySubject)),mql:r};return this._queries.set(i,s),s}};e.\u0275fac=function(r){return new(r||e)(g(aM),g(S))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function U8(t){return t.map(e=>e.split(",")).reduce((e,n)=>e.concat(n)).map(e=>e.trim())}var Z8=" ";function Yu(t,e,n){let i=U1(t,e);n=n.trim(),!i.some(r=>r.trim()===n)&&(i.push(n),t.setAttribute(e,i.join(Z8)))}function G1(t,e,n){let i=U1(t,e);n=n.trim();let r=i.filter(o=>o!==n);r.length?t.setAttribute(e,r.join(Z8)):t.removeAttribute(e)}function U1(t,e){return t.getAttribute(e)?.match(/\S+/g)??[]}var Y8="cdk-describedby-message",j1="cdk-describedby-host",$u=0,Q8=(()=>{let e=class e{constructor(i,r){this._platform=r,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${$u++}`,this._document=i,this._id=b(to)+"-"+$u++}describe(i,r,o){if(!this._canBeDescribed(i,r))return;let s=Bu(r,o);typeof r!="string"?(q8(r,this._id),this._messageRegistry.set(s,{messageElement:r,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(r,o),this._isElementDescribedByMessage(i,s)||this._addMessageReference(i,s)}removeDescription(i,r,o){if(!r||!this._isElementNode(i))return;let s=Bu(r,o);if(this._isElementDescribedByMessage(i,s)&&this._removeMessageReference(i,s),typeof r=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let i=this._document.querySelectorAll(`[${j1}="${this._id}"]`);for(let r=0;ro.indexOf(Y8)!=0);i.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(i,r){let o=this._messageRegistry.get(r);Yu(i,"aria-describedby",o.messageElement.id),i.setAttribute(j1,this._id),o.referenceCount++}_removeMessageReference(i,r){let o=this._messageRegistry.get(r);o.referenceCount--,G1(i,"aria-describedby",o.messageElement.id),i.removeAttribute(j1)}_isElementDescribedByMessage(i,r){let o=U1(i,"aria-describedby"),s=this._messageRegistry.get(r),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(i,r){if(!this._isElementNode(i))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),s=i.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(i){return i.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(r){return new(r||e)(g(U),g(De))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Bu(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function q8(t,e){t.id||(t.id=`${Y8}-${e}-${$u++}`)}var qu=class{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new H,this._typeaheadSubscription=ve.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=n=>n.disabled,this._pressedLetters=[],this.tabOut=new H,this.change=new H,e instanceof Xr&&(this._itemChangesSubscription=e.changes.subscribe(n=>{if(this._activeItem){let r=n.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(ze(n=>this._pressedLetters.push(n)),Go(e),Te(()=>this._pressedLetters.length>0),P(()=>this._pressedLetters.join(""))).subscribe(n=>{let i=this._getItemsArray();for(let r=1;r!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(n){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n)));return}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){let n=this._getItemsArray(),i=typeof e=="number"?e:n.indexOf(e),r=n[i];this._activeItem=r??null,this._activeItemIndex=i}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){let n=this._getItemsArray();for(let i=1;i<=n.length;i++){let r=(this._activeItemIndex+e*i+n.length)%n.length,o=n[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,n){let i=this._getItemsArray();if(i[e]){for(;this._skipPredicateFn(i[e]);)if(e+=n,!i[e])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof Xr?this._items.toArray():this._items}},$1=class extends qu{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}};function Qu(t){return t.buttons===0||t.detail===0}function Ku(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var CM=new D("cdk-input-modality-detector-options"),DM={ignoreKeys:[18,17,224,91,16]},K8=650,ho=_n({passive:!0,capture:!0}),MM=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(i,r,o,s){this._platform=i,this._mostRecentTarget=null,this._modality=new We(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Jt(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(Ku(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Jt(a)},this._options=M(M({},DM),s),this.modalityDetected=this._modality.pipe(Yo(1)),this.modalityChanged=this.modalityDetected.pipe(Fr()),i.isBrowser&&r.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,ho),o.addEventListener("mousedown",this._onMousedown,ho),o.addEventListener("touchstart",this._onTouchstart,ho)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ho),document.removeEventListener("mousedown",this._onMousedown,ho),document.removeEventListener("touchstart",this._onTouchstart,ho))}};e.\u0275fac=function(r){return new(r||e)(g(De),g(S),g(U),g(CM,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),EM=new D("liveAnnouncerElement",{providedIn:"root",factory:IM});function IM(){return null}var SM=new D("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),kM=0,X8=(()=>{let e=class e{constructor(i,r,o,s){this._ngZone=r,this._defaultOptions=s,this._document=o,this._liveElement=i||this._createLiveElement()}announce(i,...r){let o=this._defaultOptions,s,a;return r.length===1&&typeof r[0]=="number"?a=r[0]:[s,a]=r,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&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(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=i,typeof a=="number"&&(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(){let i="cdk-live-announcer-element",r=this._document.getElementsByClassName(i),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(i,r,o,s,a){this._ngZone=i,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 H,this._rootNodeFocusAndBlurListener=c=>{let l=Jt(c);for(let d=l;d;d=d.parentElement)c.type==="focus"?this._onFocus(c,d):this._onBlur(c,d)},this._document=s,this._detectionMode=a?.detectionMode||B1.IMMEDIATE}monitor(i,r=!1){let o=Gi(i);if(!this._platform.isBrowser||o.nodeType!==1)return T();let s=H8(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return r&&(a.checkChildren=!0),a.subject;let c={checkChildren:r,subject:new H,rootNode:s};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(i){let r=Gi(i),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(i,r,o){let s=Gi(i),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([c,l])=>this._originChanged(c,r,l)):(this._setOrigin(r),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((i,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(i){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(i)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:i&&this._isLastInteractionFromInputLabel(i)?"mouse":"program"}_shouldBeAttributedToTouch(i){return this._detectionMode===B1.EVENTUAL||!!i?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(i,r){i.classList.toggle("cdk-focused",!!r),i.classList.toggle("cdk-touch-focused",r==="touch"),i.classList.toggle("cdk-keyboard-focused",r==="keyboard"),i.classList.toggle("cdk-mouse-focused",r==="mouse"),i.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(i,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=i,this._originFromTouchInteraction=i==="touch"&&r,this._detectionMode===B1.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?K8:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(i,r){let o=this._elementInfo.get(r),s=Jt(i);!o||!o.checkChildren&&r!==s||this._originChanged(r,this._getFocusOrigin(s),o)}_onBlur(i,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&i.relatedTarget instanceof Node&&r.contains(i.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(i,r){i.subject.observers.length&&this._ngZone.run(()=>i.subject.next(r))}_registerGlobalListeners(i){if(!this._platform.isBrowser)return;let r=i.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,H1),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,H1)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(le(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(i){let r=i.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,H1),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,H1),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(i,r,o){this._setClasses(i,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(i){let r=[];return this._elementInfo.forEach((o,s)=>{(s===i||o.checkChildren&&s.contains(i))&&r.push([s,o])}),r}_isLastInteractionFromInputLabel(i){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===i||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA"||i.disabled)return!1;let s=i.labels;if(s){for(let a=0;a{let e=class e{constructor(i,r){this._platform=i,this._document=r,this._breakpointSubscription=b($8).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return fr.NONE;let i=this._document.createElement("div");i.style.backgroundColor="rgb(1,2,3)",i.style.position="absolute",this._document.body.appendChild(i);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(i):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(i.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return fr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return fr.BLACK_ON_WHITE}return fr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let i=this._document.body.classList;i.remove(Uu,W8,G8),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===fr.BLACK_ON_WHITE?i.add(Uu,W8):r===fr.WHITE_ON_BLACK&&i.add(Uu,G8)}}};e.\u0275fac=function(r){return new(r||e)(g(De),g(U))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Y1=(()=>{let e=class e{constructor(i){i._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(r){return new(r||e)(g(Xu))},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[mo]});let t=e;return t})();var TM=new D("cdk-dir-doc",{providedIn:"root",factory:NM});function NM(){return b(U)}var RM=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function OM(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?RM.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var ti=(()=>{let e=class e{constructor(i){if(this.value="ltr",this.change=new ie,i){let r=i.body?i.body.dir:null,o=i.documentElement?i.documentElement.dir:null;this.value=OM(r||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(r){return new(r||e)(g(TM,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var wn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})();var FM=["text"];function zM(t,e){if(t&1&&he(0,"mat-pseudo-checkbox",6),t&2){let n=ke();fe("disabled",n.disabled)("state",n.selected?"checked":"unchecked")}}function LM(t,e){if(t&1&&he(0,"mat-pseudo-checkbox",7),t&2){let n=ke();fe("disabled",n.disabled)}}function PM(t,e){if(t&1&&(E(0,"span",8),G(1),I()),t&2){let n=ke();R(),Bt("(",n.group.label,")")}}var VM=[[["mat-icon"]],"*"],jM=["mat-icon","*"];function HM(){return!0}var BM=new D("mat-sanity-checks",{providedIn:"root",factory:HM}),pe=(()=>{let e=class e{constructor(i,r,o){this._sanityChecks=r,this._document=o,this._hasDoneGlobalChecks=!1,i._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(i){return Fs()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[i]}};e.\u0275fac=function(r){return new(r||e)(g(Xu),g(BM,8),g(U))},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[wn,wn]});let t=e;return t})();var K1=class{constructor(e,n,i,r,o){this._defaultMatcher=e,this.ngControl=n,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,n=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,n)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var ap=(()=>{let e=class e{isErrorState(i,r){return!!(i&&i.invalid&&(i.touched||r&&r.submitted))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ut=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(Ut||{}),i4=class{constructor(e,n,i,r=!1){this._renderer=e,this.element=n,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=Ut.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},J8=_n({passive:!0,capture:!0}),n4=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let n=Jt(e);n&&this._events.get(e.type)?.forEach((i,r)=>{(r===n||r.contains(n))&&i.forEach(o=>o.handleEvent(e))})}}addHandler(e,n,i,r){let o=this._events.get(n);if(o){let s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(n,new Map([[i,new Set([r])]])),e.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,J8)})}removeHandler(e,n,i){let r=this._events.get(e);if(!r)return;let o=r.get(n);o&&(o.delete(i),o.size===0&&r.delete(n),r.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,J8)))}},ep={enterDuration:225,exitDuration:150},UM=800,tp=_n({passive:!0,capture:!0}),ip=["mousedown","touchstart"],np=["mouseup","mouseleave","touchend","touchcancel"],Ps=class Ps{constructor(e,n,i,r){this._target=e,this._ngZone=n,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Gi(i))}fadeInRipple(e,n,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=M(M({},ep),i.animation);i.centered&&(e=r.left+r.width/2,n=r.top+r.height/2);let s=i.radius||$M(e,n,r),a=e-r.left,c=n-r.top,l=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${c-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),f=u.transitionProperty,m=u.transitionDuration,p=f==="none"||m==="0s"||m==="0s, 0s"||r.width===0&&r.height===0,v=new i4(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",v.state=Ut.FADING_IN,i.persistent||(this._mostRecentTransientRipple=v);let _=null;return!p&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let y=()=>this._finishRippleTransition(v),k=()=>this._destroyRipple(v);d.addEventListener("transitionend",y),d.addEventListener("transitioncancel",k),_={onTransitionEnd:y,onTransitionCancel:k}}),this._activeRipples.set(v,_),(p||!l)&&this._finishRippleTransition(v),v}fadeOutRipple(e){if(e.state===Ut.FADING_OUT||e.state===Ut.HIDDEN)return;let n=e.element,i=M(M({},ep),e.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",e.state=Ut.FADING_OUT,(e._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let n=Gi(e);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,ip.forEach(i=>{Ps._eventManager.addHandler(this._ngZone,i,n,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{np.forEach(n=>{this._triggerElement.addEventListener(n,this,tp)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===Ut.FADING_IN?this._startFadeOutTransition(e):e.state===Ut.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let n=e===this._mostRecentTransientRipple,{persistent:i}=e.config;e.state=Ut.VISIBLE,!i&&(!n||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let n=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=Ut.HIDDEN,n!==null&&(e.element.removeEventListener("transitionend",n.onTransitionEnd),e.element.removeEventListener("transitioncancel",n.onTransitionCancel)),e.element.remove()}_onMousedown(e){let n=Qu(e),i=this._lastTouchStartEvent&&Date.now(){let n=e.state===Ut.VISIBLE||e.config.terminateOnPointerUp&&e.state===Ut.FADING_IN;!e.config.persistent&&n&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(ip.forEach(n=>Ps._eventManager.removeHandler(n,e,this)),this._pointerUpEventsRegistered&&np.forEach(n=>e.removeEventListener(n,this,tp)))}};Ps._eventManager=new n4;var X1=Ps;function $M(t,e,n){let i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}var o4=new D("mat-ripple-global-options"),cp=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(i){i&&this.fadeOutAllNonPersistent(),this._disabled=i,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(i){this._trigger=i,this._setupTriggerEventsIfEnabled()}constructor(i,r,o,s,a){this._elementRef=i,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new X1(this,r,i,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:M(M(M({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{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(i,r=0,o){return typeof i=="number"?this._rippleRenderer.fadeInRipple(i,r,M(M({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,M(M({},this.rippleConfig),i))}};e.\u0275fac=function(r){return new(r||e)(h(V),h(S),h(De),h(o4,8),h(gt,8))},e.\u0275dir=N({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&me("mat-ripple-unbounded",o.unbounded)},inputs:{color:[x.None,"matRippleColor","color"],unbounded:[x.None,"matRippleUnbounded","unbounded"],centered:[x.None,"matRippleCentered","centered"],radius:[x.None,"matRippleRadius","radius"],animation:[x.None,"matRippleAnimation","animation"],disabled:[x.None,"matRippleDisabled","disabled"],trigger:[x.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let t=e;return t})(),Vs=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,pe]});let t=e;return t})(),qM=(()=>{let e=class e{constructor(i){this._animationMode=i,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(r){return new(r||e)(h(gt,8))},e.\u0275cmp=Y({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,o){r&2&&me("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[be],decls:0,vars:0,template:function(r,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let t=e;return t})(),s4=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe]});let t=e;return t})(),a4=new D("MAT_OPTION_PARENT_COMPONENT");var c4=new D("MatOptgroup");var WM=0,r4=class{constructor(e,n=!1){this.source=e,this.isUserInput=n}},tl=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(i){this._disabled=i}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(i,r,o,s){this._element=i,this._changeDetectorRef=r,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${WM++}`,this.onSelectionChange=new ie,this._stateChanges=new H}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(i=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}deselect(i=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}focus(i,r){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(r)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!ei(i)&&(this._selectViaInteraction(),i.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let i=this.viewValue;i!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=i)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(i=!1){this.onSelectionChange.emit(new r4(this,i))}};e.\u0275fac=function(r){return new(r||e)(h(V),h(st),h(a4,8),h(c4,8))},e.\u0275cmp=Y({type:e,selectors:[["mat-option"]],viewQuery:function(r,o){if(r&1&&et(FM,7),r&2){let s;re(s=oe())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(r,o){r&1&&Qe("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),r&2&&(or("id",o.id),He("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),me("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[x.HasDecoratorInputTransform,"disabled","disabled",_e]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Ze,be],ngContentSelectors:jM,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(r,o){r&1&&(Be(VM),ue(0,zM,1,2,"mat-pseudo-checkbox",0),te(1),E(2,"span",1,2),te(4,1),I(),ue(5,LM,1,1,"mat-pseudo-checkbox",3)(6,PM,2,1,"span",4),he(7,"div",5)),r&2&&(Ae(0,o.multiple?0:-1),R(5),Ae(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),R(),Ae(6,o.group&&o.group._inert?6:-1),R(),fe("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[qM,cp],styles:['.mat-mdc-option{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;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let t=e;return t})();function lp(t,e,n){if(n.length){let i=e.toArray(),r=n.toArray(),o=0;for(let s=0;sn+i?Math.max(0,t-i+e):n}var l4=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[Vs,pe,s4]});let t=e;return t})(),rp={capture:!0},op=["focus","click","mouseenter","touchstart"],e4="mat-ripple-loader-uninitialized",t4="mat-ripple-loader-class-name",sp="mat-ripple-loader-centered",Q1="mat-ripple-loader-disabled",up=(()=>{let e=class e{constructor(){this._document=b(U,{optional:!0}),this._animationMode=b(gt,{optional:!0}),this._globalRippleOptions=b(o4,{optional:!0}),this._platform=b(De),this._ngZone=b(S),this._hosts=new Map,this._onInteraction=i=>{if(!(i.target instanceof HTMLElement))return;let o=i.target.closest(`[${e4}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let i of op)this._document?.addEventListener(i,this._onInteraction,rp)})}ngOnDestroy(){let i=this._hosts.keys();for(let r of i)this.destroyRipple(r);for(let r of op)this._document?.removeEventListener(r,this._onInteraction,rp)}configureRipple(i,r){i.setAttribute(e4,""),(r.className||!i.hasAttribute(t4))&&i.setAttribute(t4,r.className||""),r.centered&&i.setAttribute(sp,""),r.disabled&&i.setAttribute(Q1,"")}getRipple(i){return this._hosts.get(i)||this._createRipple(i)}setDisabled(i,r){let o=this._hosts.get(i);if(o){o.disabled=r;return}r?i.setAttribute(Q1,""):i.removeAttribute(Q1)}_createRipple(i){if(!this._document)return;let r=this._hosts.get(i);if(r)return r;i.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",i.getAttribute(t4)),i.append(o);let s=new cp(new V(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=i,s.centered=i.hasAttribute(sp),s.disabled=i.hasAttribute(Q1),this.attachRipple(i,s),s}attachRipple(i,r){i.removeAttribute(e4),this._hosts.set(i,r)}destroyRipple(i){let r=this._hosts.get(i);r&&(r.ngOnDestroy(),this._hosts.delete(i))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var GM=["*"],il;function ZM(){if(il===void 0&&(il=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(il=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return il}function js(t){return ZM()?.createHTML(t)||t}function mp(t){return Error(`Unable to find icon with the name "${t}"`)}function YM(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function hp(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function pp(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var Zi=class{constructor(e,n,i){this.url=e,this.svgText=n,this.options=i}},d4=(()=>{let e=class e{constructor(i,r,o,s){this._httpClient=i,this._sanitizer=r,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(i,r,o){return this.addSvgIconInNamespace("",i,r,o)}addSvgIconLiteral(i,r,o){return this.addSvgIconLiteralInNamespace("",i,r,o)}addSvgIconInNamespace(i,r,o,s){return this._addSvgIconConfig(i,r,new Zi(o,null,s))}addSvgIconResolver(i){return this._resolvers.push(i),this}addSvgIconLiteralInNamespace(i,r,o,s){let a=this._sanitizer.sanitize(ut.HTML,o);if(!a)throw pp(o);let c=js(a);return this._addSvgIconConfig(i,r,new Zi("",c,s))}addSvgIconSet(i,r){return this.addSvgIconSetInNamespace("",i,r)}addSvgIconSetLiteral(i,r){return this.addSvgIconSetLiteralInNamespace("",i,r)}addSvgIconSetInNamespace(i,r,o){return this._addSvgIconSetConfig(i,new Zi(r,null,o))}addSvgIconSetLiteralInNamespace(i,r,o){let s=this._sanitizer.sanitize(ut.HTML,r);if(!s)throw pp(r);let a=js(s);return this._addSvgIconSetConfig(i,new Zi("",a,o))}registerFontClassAlias(i,r=i){return this._fontCssClassesByAlias.set(i,r),this}classNameForFontAlias(i){return this._fontCssClassesByAlias.get(i)||i}setDefaultFontSetClass(...i){return this._defaultFontSetClass=i,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(i){let r=this._sanitizer.sanitize(ut.RESOURCE_URL,i);if(!r)throw hp(i);let o=this._cachedIconsByUrl.get(r);return o?T(nl(o)):this._loadSvgIconFromConfig(new Zi(i,null)).pipe(ze(s=>this._cachedIconsByUrl.set(r,s)),P(s=>nl(s)))}getNamedSvgIcon(i,r=""){let o=gp(r,i),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(r,i),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(r);return a?this._getSvgFromIconSetConfigs(i,a):rn(mp(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(i){return i.svgText?T(nl(this._svgElementFromConfig(i))):this._loadSvgIconFromConfig(i).pipe(P(r=>nl(r)))}_getSvgFromIconSetConfigs(i,r){let o=this._extractIconWithNameFromAnySet(i,r);if(o)return T(o);let s=r.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Yt(c=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(ut.RESOURCE_URL,a.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(d)),T(null)})));return qo(s).pipe(P(()=>{let a=this._extractIconWithNameFromAnySet(i,r);if(!a)throw mp(i);return a}))}_extractIconWithNameFromAnySet(i,r){for(let o=r.length-1;o>=0;o--){let s=r[o];if(s.svgText&&s.svgText.toString().indexOf(i)>-1){let a=this._svgElementFromConfig(s),c=this._extractSvgIconFromSet(a,i,s.options);if(c)return c}}return null}_loadSvgIconFromConfig(i){return this._fetchIcon(i).pipe(ze(r=>i.svgText=r),P(()=>this._svgElementFromConfig(i)))}_loadSvgIconSetFromConfig(i){return i.svgText?T(null):this._fetchIcon(i).pipe(ze(r=>i.svgText=r))}_extractSvgIconFromSet(i,r,o){let s=i.querySelector(`[id="${r}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let c=this._svgElementFromString(js(""));return c.appendChild(a),this._setSvgAttributes(c,o)}_svgElementFromString(i){let r=this._document.createElement("DIV");r.innerHTML=i;let o=r.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(i){let r=this._svgElementFromString(js("")),o=i.attributes;for(let s=0;sjs(d)),li(()=>this._inProgressUrlFetches.delete(a)),Zo());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(i,r,o){return this._svgIconConfigs.set(gp(i,r),o),this}_addSvgIconSetConfig(i,r){let o=this._iconSetConfigs.get(i);return o?o.push(r):this._iconSetConfigs.set(i,[r]),this}_svgElementFromConfig(i){if(!i.svgElement){let r=this._svgElementFromString(i.svgText);this._setSvgAttributes(r,i.options),i.svgElement=r}return i.svgElement}_getIconConfigFromResolvers(i,r){for(let o=0;oe?e.pathname+e.search:""}}var vp=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],eE=vp.map(t=>`[${t}]`).join(", "),tE=/^url\(['"]?#(.*?)['"]?\)$/,po=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(i){this._color=i}get svgIcon(){return this._svgIcon}set svgIcon(i){i!==this._svgIcon&&(i?this._updateSvgIcon(i):this._svgIcon&&this._clearSvgElement(),this._svgIcon=i)}get fontSet(){return this._fontSet}set fontSet(i){let r=this._cleanupFontValue(i);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(i){let r=this._cleanupFontValue(i);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}constructor(i,r,o,s,a,c){this._elementRef=i,this._iconRegistry=r,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ve.EMPTY,c&&(c.color&&(this.color=this._defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),o||i.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(i){if(!i)return["",""];let r=i.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${i}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let i=this._elementsWithExternalReferences;if(i&&i.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(i){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(i),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(i)}_clearSvgElement(){let i=this._elementRef.nativeElement,r=i.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=i.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let i=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>i.classList.remove(o)),r.forEach(o=>i.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&i.classList.remove(this._previousFontIconClass),this.fontIcon&&i.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(i){return typeof i=="string"?i.trim().split(" ")[0]:i}_prependPathToReferences(i){let r=this._elementsWithExternalReferences;r&&r.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${i}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(i){let r=i.querySelectorAll(eE),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{let c=r[s],l=c.getAttribute(a),d=l?l.match(tE):null;if(d){let u=o.get(c);u||(u=[],o.set(c,u)),u.push({name:a,value:d[1]})}})}_updateSvgIcon(i){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),i){let[r,o]=this._splitIconName(i);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(Ve(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${r}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};e.\u0275fac=function(r){return new(r||e)(h(V),h(d4),gi("aria-hidden"),h(XM),h(kt),h(KM,8))},e.\u0275cmp=Y({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(He("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),rr(o.color?"mat-"+o.color:""),me("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[x.HasDecoratorInputTransform,"inline","inline",_e],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Ze,be],ngContentSelectors:GM,decls:1,vars:0,template:function(r,o){r&1&&(Be(),te(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let t=e;return t})(),bp=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,pe]});let t=e;return t})();function _p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function A(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);n-1;r--){var o=n[r],s=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(i=o)}return Pe.head.insertBefore(e,i),t}}var ME="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Zs(){for(var t=12,e="";t-- >0;)e+=ME[Math.random()*62|0];return e}function yo(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function N4(t){return t.classList?yo(t.classList):(t.getAttribute("class")||"").split(" ").filter(function(e){return e})}function i7(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function EE(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,'="').concat(i7(t[n]),'" ')},"").trim()}function bl(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,": ").concat(t[n].trim(),";")},"")}function R4(t){return t.size!==Mi.size||t.x!==Mi.x||t.y!==Mi.y||t.rotate!==Mi.rotate||t.flipX||t.flipY}function IE(t){var e=t.transform,n=t.containerWidth,i=t.iconWidth,r={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(e.x*32,", ").concat(e.y*32,") "),s="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),a="rotate(".concat(e.rotate," 0 0)"),c={transform:"".concat(o," ").concat(s," ").concat(a)},l={transform:"translate(".concat(i/2*-1," -256)")};return{outer:r,inner:c,path:l}}function SE(t){var e=t.transform,n=t.width,i=n===void 0?v4:n,r=t.height,o=r===void 0?v4:r,s=t.startCentered,a=s===void 0?!1:s,c="";return a&&Yp?c+="translate(".concat(e.x/xn-i/2,"em, ").concat(e.y/xn-o/2,"em) "):a?c+="translate(calc(-50% + ".concat(e.x/xn,"em), calc(-50% + ").concat(e.y/xn,"em)) "):c+="translate(".concat(e.x/xn,"em, ").concat(e.y/xn,"em) "),c+="scale(".concat(e.size/xn*(e.flipX?-1:1),", ").concat(e.size/xn*(e.flipY?-1:1),") "),c+="rotate(".concat(e.rotate,"deg) "),c}var kE=`:root, :host { + --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; + --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; + --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; + --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin"; + --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; + --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; + --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; + --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; + --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp"; + --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; +} + +svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { + overflow: visible; + box-sizing: content-box; +} + +.svg-inline--fa { + display: var(--fa-display, inline-block); + height: 1em; + overflow: visible; + vertical-align: -0.125em; +} +.svg-inline--fa.fa-2xs { + vertical-align: 0.1em; +} +.svg-inline--fa.fa-xs { + vertical-align: 0em; +} +.svg-inline--fa.fa-sm { + vertical-align: -0.0714285705em; +} +.svg-inline--fa.fa-lg { + vertical-align: -0.2em; +} +.svg-inline--fa.fa-xl { + vertical-align: -0.25em; +} +.svg-inline--fa.fa-2xl { + vertical-align: -0.3125em; +} +.svg-inline--fa.fa-pull-left { + margin-right: var(--fa-pull-margin, 0.3em); + width: auto; +} +.svg-inline--fa.fa-pull-right { + margin-left: var(--fa-pull-margin, 0.3em); + width: auto; +} +.svg-inline--fa.fa-li { + width: var(--fa-li-width, 2em); + top: 0.25em; +} +.svg-inline--fa.fa-fw { + width: var(--fa-fw-width, 1.25em); +} + +.fa-layers svg.svg-inline--fa { + bottom: 0; + left: 0; + margin: auto; + position: absolute; + right: 0; + top: 0; +} + +.fa-layers-counter, .fa-layers-text { + display: inline-block; + position: absolute; + text-align: center; +} + +.fa-layers { + display: inline-block; + height: 1em; + position: relative; + text-align: center; + vertical-align: -0.125em; + width: 1em; +} +.fa-layers svg.svg-inline--fa { + -webkit-transform-origin: center center; + transform-origin: center center; +} + +.fa-layers-text { + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + -webkit-transform-origin: center center; + transform-origin: center center; +} + +.fa-layers-counter { + background-color: var(--fa-counter-background-color, #ff253a); + border-radius: var(--fa-counter-border-radius, 1em); + box-sizing: border-box; + color: var(--fa-inverse, #fff); + line-height: var(--fa-counter-line-height, 1); + max-width: var(--fa-counter-max-width, 5em); + min-width: var(--fa-counter-min-width, 1.5em); + overflow: hidden; + padding: var(--fa-counter-padding, 0.25em 0.5em); + right: var(--fa-right, 0); + text-overflow: ellipsis; + top: var(--fa-top, 0); + -webkit-transform: scale(var(--fa-counter-scale, 0.25)); + transform: scale(var(--fa-counter-scale, 0.25)); + -webkit-transform-origin: top right; + transform-origin: top right; +} + +.fa-layers-bottom-right { + bottom: var(--fa-bottom, 0); + right: var(--fa-right, 0); + top: auto; + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: bottom right; + transform-origin: bottom right; +} + +.fa-layers-bottom-left { + bottom: var(--fa-bottom, 0); + left: var(--fa-left, 0); + right: auto; + top: auto; + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: bottom left; + transform-origin: bottom left; +} + +.fa-layers-top-right { + top: var(--fa-top, 0); + right: var(--fa-right, 0); + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: top right; + transform-origin: top right; +} + +.fa-layers-top-left { + left: var(--fa-left, 0); + right: auto; + top: var(--fa-top, 0); + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: top left; + transform-origin: top left; +} + +.fa-1x { + font-size: 1em; +} + +.fa-2x { + font-size: 2em; +} + +.fa-3x { + font-size: 3em; +} + +.fa-4x { + font-size: 4em; +} + +.fa-5x { + font-size: 5em; +} + +.fa-6x { + font-size: 6em; +} + +.fa-7x { + font-size: 7em; +} + +.fa-8x { + font-size: 8em; +} + +.fa-9x { + font-size: 9em; +} + +.fa-10x { + font-size: 10em; +} + +.fa-2xs { + font-size: 0.625em; + line-height: 0.1em; + vertical-align: 0.225em; +} + +.fa-xs { + font-size: 0.75em; + line-height: 0.0833333337em; + vertical-align: 0.125em; +} + +.fa-sm { + font-size: 0.875em; + line-height: 0.0714285718em; + vertical-align: 0.0535714295em; +} + +.fa-lg { + font-size: 1.25em; + line-height: 0.05em; + vertical-align: -0.075em; +} + +.fa-xl { + font-size: 1.5em; + line-height: 0.0416666682em; + vertical-align: -0.125em; +} + +.fa-2xl { + font-size: 2em; + line-height: 0.03125em; + vertical-align: -0.1875em; +} + +.fa-fw { + text-align: center; + width: 1.25em; +} + +.fa-ul { + list-style-type: none; + margin-left: var(--fa-li-margin, 2.5em); + padding-left: 0; +} +.fa-ul > li { + position: relative; +} + +.fa-li { + left: calc(var(--fa-li-width, 2em) * -1); + position: absolute; + text-align: center; + width: var(--fa-li-width, 2em); + line-height: inherit; +} + +.fa-border { + border-color: var(--fa-border-color, #eee); + border-radius: var(--fa-border-radius, 0.1em); + border-style: var(--fa-border-style, solid); + border-width: var(--fa-border-width, 0.08em); + padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); +} + +.fa-pull-left { + float: left; + margin-right: var(--fa-pull-margin, 0.3em); +} + +.fa-pull-right { + float: right; + margin-left: var(--fa-pull-margin, 0.3em); +} + +.fa-beat { + -webkit-animation-name: fa-beat; + animation-name: fa-beat; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-bounce { + -webkit-animation-name: fa-bounce; + animation-name: fa-bounce; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); +} + +.fa-fade { + -webkit-animation-name: fa-fade; + animation-name: fa-fade; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-beat-fade { + -webkit-animation-name: fa-beat-fade; + animation-name: fa-beat-fade; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-flip { + -webkit-animation-name: fa-flip; + animation-name: fa-flip; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-shake { + -webkit-animation-name: fa-shake; + animation-name: fa-shake; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, linear); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin { + -webkit-animation-name: fa-spin; + animation-name: fa-spin; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 2s); + animation-duration: var(--fa-animation-duration, 2s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, linear); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin-reverse { + --fa-animation-direction: reverse; +} + +.fa-pulse, +.fa-spin-pulse { + -webkit-animation-name: fa-spin; + animation-name: fa-spin; + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, steps(8)); + animation-timing-function: var(--fa-animation-timing, steps(8)); +} + +@media (prefers-reduced-motion: reduce) { + .fa-beat, +.fa-bounce, +.fa-fade, +.fa-beat-fade, +.fa-flip, +.fa-pulse, +.fa-shake, +.fa-spin, +.fa-spin-pulse { + -webkit-animation-delay: -1ms; + animation-delay: -1ms; + -webkit-animation-duration: 1ms; + animation-duration: 1ms; + -webkit-animation-iteration-count: 1; + animation-iteration-count: 1; + -webkit-transition-delay: 0s; + transition-delay: 0s; + -webkit-transition-duration: 0s; + transition-duration: 0s; + } +} +@-webkit-keyframes fa-beat { + 0%, 90% { + -webkit-transform: scale(1); + transform: scale(1); + } + 45% { + -webkit-transform: scale(var(--fa-beat-scale, 1.25)); + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@keyframes fa-beat { + 0%, 90% { + -webkit-transform: scale(1); + transform: scale(1); + } + 45% { + -webkit-transform: scale(var(--fa-beat-scale, 1.25)); + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@-webkit-keyframes fa-bounce { + 0% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 10% { + -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 100% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } +} +@keyframes fa-bounce { + 0% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 10% { + -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 100% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } +} +@-webkit-keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@-webkit-keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + -webkit-transform: scale(1); + transform: scale(1); + } + 50% { + opacity: 1; + -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + -webkit-transform: scale(1); + transform: scale(1); + } + 50% { + opacity: 1; + -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@-webkit-keyframes fa-flip { + 50% { + -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@keyframes fa-flip { + 50% { + -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@-webkit-keyframes fa-shake { + 0% { + -webkit-transform: rotate(-15deg); + transform: rotate(-15deg); + } + 4% { + -webkit-transform: rotate(15deg); + transform: rotate(15deg); + } + 8%, 24% { + -webkit-transform: rotate(-18deg); + transform: rotate(-18deg); + } + 12%, 28% { + -webkit-transform: rotate(18deg); + transform: rotate(18deg); + } + 16% { + -webkit-transform: rotate(-22deg); + transform: rotate(-22deg); + } + 20% { + -webkit-transform: rotate(22deg); + transform: rotate(22deg); + } + 32% { + -webkit-transform: rotate(-12deg); + transform: rotate(-12deg); + } + 36% { + -webkit-transform: rotate(12deg); + transform: rotate(12deg); + } + 40%, 100% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } +} +@keyframes fa-shake { + 0% { + -webkit-transform: rotate(-15deg); + transform: rotate(-15deg); + } + 4% { + -webkit-transform: rotate(15deg); + transform: rotate(15deg); + } + 8%, 24% { + -webkit-transform: rotate(-18deg); + transform: rotate(-18deg); + } + 12%, 28% { + -webkit-transform: rotate(18deg); + transform: rotate(18deg); + } + 16% { + -webkit-transform: rotate(-22deg); + transform: rotate(-22deg); + } + 20% { + -webkit-transform: rotate(22deg); + transform: rotate(22deg); + } + 32% { + -webkit-transform: rotate(-12deg); + transform: rotate(-12deg); + } + 36% { + -webkit-transform: rotate(12deg); + transform: rotate(12deg); + } + 40%, 100% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } +} +@-webkit-keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +.fa-rotate-90 { + -webkit-transform: rotate(90deg); + transform: rotate(90deg); +} + +.fa-rotate-180 { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +.fa-rotate-270 { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +.fa-flip-horizontal { + -webkit-transform: scale(-1, 1); + transform: scale(-1, 1); +} + +.fa-flip-vertical { + -webkit-transform: scale(1, -1); + transform: scale(1, -1); +} + +.fa-flip-both, +.fa-flip-horizontal.fa-flip-vertical { + -webkit-transform: scale(-1, -1); + transform: scale(-1, -1); +} + +.fa-rotate-by { + -webkit-transform: rotate(var(--fa-rotate-angle, none)); + transform: rotate(var(--fa-rotate-angle, none)); +} + +.fa-stack { + display: inline-block; + vertical-align: middle; + height: 2em; + position: relative; + width: 2.5em; +} + +.fa-stack-1x, +.fa-stack-2x { + bottom: 0; + left: 0; + margin: auto; + position: absolute; + right: 0; + top: 0; + z-index: var(--fa-stack-z-index, auto); +} + +.svg-inline--fa.fa-stack-1x { + height: 1em; + width: 1.25em; +} +.svg-inline--fa.fa-stack-2x { + height: 2em; + width: 2.5em; +} + +.fa-inverse { + color: var(--fa-inverse, #fff); +} + +.sr-only, +.fa-sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} + +.sr-only-focusable:not(:focus), +.fa-sr-only-focusable:not(:focus) { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} + +.svg-inline--fa .fa-primary { + fill: var(--fa-primary-color, currentColor); + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa .fa-secondary { + fill: var(--fa-secondary-color, currentColor); + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-primary { + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-secondary { + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa mask .fa-primary, +.svg-inline--fa mask .fa-secondary { + fill: black; +} + +.fad.fa-inverse, +.fa-duotone.fa-inverse { + color: var(--fa-inverse, #fff); +}`;function n7(){var t=Qp,e=Kp,n=L.cssPrefix,i=L.replacementClass,r=kE;if(n!==t||i!==e){var o=new RegExp("\\.".concat(t,"\\-"),"g"),s=new RegExp("\\--".concat(t,"\\-"),"g"),a=new RegExp("\\.".concat(e),"g");r=r.replace(o,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(a,".".concat(i))}return r}var Ip=!1;function f4(){L.autoAddCss&&!Ip&&(DE(n7()),Ip=!0)}var AE={mixout:function(){return{dom:{css:n7,insertCss:f4}}},hooks:function(){return{beforeDOMElementCreation:function(){f4()},beforeI2svg:function(){f4()}}}},Qi=Cn||{};Qi[Yi]||(Qi[Yi]={});Qi[Yi].styles||(Qi[Yi].styles={});Qi[Yi].hooks||(Qi[Yi].hooks={});Qi[Yi].shims||(Qi[Yi].shims=[]);var ii=Qi[Yi],r7=[],TE=function t(){Pe.removeEventListener("DOMContentLoaded",t),gl=1,r7.map(function(e){return e()})},gl=!1;Xi&&(gl=(Pe.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Pe.readyState),gl||Pe.addEventListener("DOMContentLoaded",TE));function NE(t){Xi&&(gl?setTimeout(t,0):r7.push(t))}function Ks(t){var e=t.tag,n=t.attributes,i=n===void 0?{}:n,r=t.children,o=r===void 0?[]:r;return typeof t=="string"?i7(t):"<".concat(e," ").concat(EE(i),">").concat(o.map(Ks).join(""),"")}function Sp(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}var RE=function(e,n){return function(i,r,o,s){return e.call(n,i,r,o,s)}},m4=function(e,n,i,r){var o=Object.keys(e),s=o.length,a=r!==void 0?RE(n,r):n,c,l,d;for(i===void 0?(c=1,d=e[o[0]]):(c=0,d=i);c=55296&&r<=56319&&n=55296&&i<=56319&&n>e+1&&(r=t.charCodeAt(e+1),r>=56320&&r<=57343)?(i-55296)*1024+r-56320+65536:i}function kp(t){return Object.keys(t).reduce(function(e,n){var i=t[n],r=!!i.icon;return r?e[i.iconName]=i.icon:e[n]=i,e},{})}function y4(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.skipHooks,r=i===void 0?!1:i,o=kp(e);typeof ii.hooks.addPack=="function"&&!r?ii.hooks.addPack(t,kp(e)):ii.styles[t]=A(A({},ii.styles[t]||{}),o),t==="fas"&&y4("fa",e)}var dl,ul,fl,go=ii.styles,zE=ii.shims,LE=(dl={},tt(dl,Le,Object.values(Ws[Le])),tt(dl,qe,Object.values(Ws[qe])),dl),O4=null,o7={},s7={},a7={},c7={},l7={},PE=(ul={},tt(ul,Le,Object.keys($s[Le])),tt(ul,qe,Object.keys($s[qe])),ul);function VE(t){return~yE.indexOf(t)}function jE(t,e){var n=e.split("-"),i=n[0],r=n.slice(1).join("-");return i===t&&r!==""&&!VE(r)?r:null}var d7=function(){var e=function(o){return m4(go,function(s,a,c){return s[c]=m4(a,o,{}),s},{})};o7=e(function(r,o,s){if(o[3]&&(r[o[3]]=s),o[2]){var a=o[2].filter(function(c){return typeof c=="number"});a.forEach(function(c){r[c.toString(16)]=s})}return r}),s7=e(function(r,o,s){if(r[s]=s,o[2]){var a=o[2].filter(function(c){return typeof c=="string"});a.forEach(function(c){r[c]=s})}return r}),l7=e(function(r,o,s){var a=o[2];return r[s]=s,a.forEach(function(c){r[c]=s}),r});var n="far"in go||L.autoFetchSvg,i=m4(zE,function(r,o){var s=o[0],a=o[1],c=o[2];return a==="far"&&!n&&(a="fas"),typeof s=="string"&&(r.names[s]={prefix:a,iconName:c}),typeof s=="number"&&(r.unicodes[s.toString(16)]={prefix:a,iconName:c}),r},{names:{},unicodes:{}});a7=i.names,c7=i.unicodes,O4=_l(L.styleDefault,{family:L.familyDefault})};CE(function(t){O4=_l(t.styleDefault,{family:L.familyDefault})});d7();function F4(t,e){return(o7[t]||{})[e]}function HE(t,e){return(s7[t]||{})[e]}function hr(t,e){return(l7[t]||{})[e]}function u7(t){return a7[t]||{prefix:null,iconName:null}}function BE(t){var e=c7[t],n=F4("fas",t);return e||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Dn(){return O4}var z4=function(){return{prefix:null,iconName:null,rest:[]}};function _l(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.family,i=n===void 0?Le:n,r=$s[i][t],o=qs[i][t]||qs[i][r],s=t in ii.styles?t:null;return o||s||null}var Ap=(fl={},tt(fl,Le,Object.keys(Ws[Le])),tt(fl,qe,Object.keys(Ws[qe])),fl);function yl(t){var e,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.skipLookups,r=i===void 0?!1:i,o=(e={},tt(e,Le,"".concat(L.cssPrefix,"-").concat(Le)),tt(e,qe,"".concat(L.cssPrefix,"-").concat(qe)),e),s=null,a=Le;(t.includes(o[Le])||t.some(function(l){return Ap[Le].includes(l)}))&&(a=Le),(t.includes(o[qe])||t.some(function(l){return Ap[qe].includes(l)}))&&(a=qe);var c=t.reduce(function(l,d){var u=jE(L.cssPrefix,d);if(go[d]?(d=LE[a].includes(d)?hE[a][d]:d,s=d,l.prefix=d):PE[a].indexOf(d)>-1?(s=d,l.prefix=_l(d,{family:a})):u?l.iconName=u:d!==L.replacementClass&&d!==o[Le]&&d!==o[qe]&&l.rest.push(d),!r&&l.prefix&&l.iconName){var f=s==="fa"?u7(l.iconName):{},m=hr(l.prefix,l.iconName);f.prefix&&(s=null),l.iconName=f.iconName||m||l.iconName,l.prefix=f.prefix||l.prefix,l.prefix==="far"&&!go.far&&go.fas&&!L.autoFetchSvg&&(l.prefix="fas")}return l},z4());return(t.includes("fa-brands")||t.includes("fab"))&&(c.prefix="fab"),(t.includes("fa-duotone")||t.includes("fad"))&&(c.prefix="fad"),!c.prefix&&a===qe&&(go.fass||L.autoFetchSvg)&&(c.prefix="fass",c.iconName=hr(c.prefix,c.iconName)||c.iconName),(c.prefix==="fa"||s==="fa")&&(c.prefix=Dn()||"fas"),c}var UE=function(){function t(){iE(this,t),this.definitions={}}return nE(t,[{key:"add",value:function(){for(var n=this,i=arguments.length,r=new Array(i),o=0;o0&&d.forEach(function(u){typeof u=="string"&&(n[a][u]=l)}),n[a][c]=l}),n}}]),t}(),Tp=[],vo={},bo={},$E=Object.keys(bo);function qE(t,e){var n=e.mixoutsTo;return Tp=t,vo={},Object.keys(bo).forEach(function(i){$E.indexOf(i)===-1&&delete bo[i]}),Tp.forEach(function(i){var r=i.mixout?i.mixout():{};if(Object.keys(r).forEach(function(s){typeof r[s]=="function"&&(n[s]=r[s]),pl(r[s])==="object"&&Object.keys(r[s]).forEach(function(a){n[s]||(n[s]={}),n[s][a]=r[s][a]})}),i.hooks){var o=i.hooks();Object.keys(o).forEach(function(s){vo[s]||(vo[s]=[]),vo[s].push(o[s])})}i.provides&&i.provides(bo)}),n}function w4(t,e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r1?e-1:0),i=1;i0&&arguments[0]!==void 0?arguments[0]:{};return Xi?(gr("beforeI2svg",e),Ki("pseudoElements2svg",e),Ki("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.autoReplaceSvgRoot;L.autoReplaceSvg===!1&&(L.autoReplaceSvg=!0),L.observeMutations=!0,NE(function(){YE({autoReplaceSvgRoot:n}),gr("watch",e)})}},ZE={icon:function(e){if(e===null)return null;if(pl(e)==="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:hr(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){var n=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],i=_l(e[0]);return{prefix:i,iconName:hr(i,n)||n}}if(typeof e=="string"&&(e.indexOf("".concat(L.cssPrefix,"-"))>-1||e.match(pE))){var r=yl(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Dn(),iconName:hr(r.prefix,r.iconName)||r.iconName}}if(typeof e=="string"){var o=Dn();return{prefix:o,iconName:hr(o,e)||e}}}},Rt={noAuto:WE,config:L,dom:GE,parse:ZE,library:f7,findIconDefinition:x4,toHtml:Ks},YE=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.autoReplaceSvgRoot,i=n===void 0?Pe:n;(Object.keys(ii.styles).length>0||L.autoFetchSvg)&&Xi&&L.autoReplaceSvg&&Rt.dom.i2svg({node:i})};function wl(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(function(i){return Ks(i)})}}),Object.defineProperty(t,"node",{get:function(){if(Xi){var i=Pe.createElement("div");return i.innerHTML=t.html,i.children}}}),t}function QE(t){var e=t.children,n=t.main,i=t.mask,r=t.attributes,o=t.styles,s=t.transform;if(R4(s)&&n.found&&!i.found){var a=n.width,c=n.height,l={x:a/c/2,y:.5};r.style=bl(A(A({},o),{},{"transform-origin":"".concat(l.x+s.x/16,"em ").concat(l.y+s.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}function KE(t){var e=t.prefix,n=t.iconName,i=t.children,r=t.attributes,o=t.symbol,s=o===!0?"".concat(e,"-").concat(L.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:A(A({},r),{},{id:s}),children:i}]}]}function L4(t){var e=t.icons,n=e.main,i=e.mask,r=t.prefix,o=t.iconName,s=t.transform,a=t.symbol,c=t.title,l=t.maskId,d=t.titleId,u=t.extra,f=t.watchable,m=f===void 0?!1:f,p=i.found?i:n,v=p.width,_=p.height,y=r==="fak",k=[L.replacementClass,o?"".concat(L.cssPrefix,"-").concat(o):""].filter(function(it){return u.classes.indexOf(it)===-1}).filter(function(it){return it!==""||!!it}).concat(u.classes).join(" "),Q={children:[],attributes:A(A({},u.attributes),{},{"data-prefix":r,"data-icon":o,class:k,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(_)})},j=y&&!~u.classes.indexOf("fa-fw")?{width:"".concat(v/_*16*.0625,"em")}:{};m&&(Q.attributes[pr]=""),c&&(Q.children.push({tag:"title",attributes:{id:Q.attributes["aria-labelledby"]||"title-".concat(d||Zs())},children:[c]}),delete Q.attributes.title);var ge=A(A({},Q),{},{prefix:r,iconName:o,main:n,mask:i,maskId:l,transform:s,symbol:a,styles:A(A({},j),u.styles)}),we=i.found&&n.found?Ki("generateAbstractMask",ge)||{children:[],attributes:{}}:Ki("generateAbstractIcon",ge)||{children:[],attributes:{}},Ee=we.children,Xe=we.attributes;return ge.children=Ee,ge.attributes=Xe,a?KE(ge):QE(ge)}function Np(t){var e=t.content,n=t.width,i=t.height,r=t.transform,o=t.title,s=t.extra,a=t.watchable,c=a===void 0?!1:a,l=A(A(A({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});c&&(l[pr]="");var d=A({},s.styles);R4(r)&&(d.transform=SE({transform:r,startCentered:!0,width:n,height:i}),d["-webkit-transform"]=d.transform);var u=bl(d);u.length>0&&(l.style=u);var f=[];return f.push({tag:"span",attributes:l,children:[e]}),o&&f.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),f}function XE(t){var e=t.content,n=t.title,i=t.extra,r=A(A(A({},i.attributes),n?{title:n}:{}),{},{class:i.classes.join(" ")}),o=bl(i.styles);o.length>0&&(r.style=o);var s=[];return s.push({tag:"span",attributes:r,children:[e]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var h4=ii.styles;function C4(t){var e=t[0],n=t[1],i=t.slice(4),r=I4(i,1),o=r[0],s=null;return Array.isArray(o)?s={tag:"g",attributes:{class:"".concat(L.cssPrefix,"-").concat(mr.GROUP)},children:[{tag:"path",attributes:{class:"".concat(L.cssPrefix,"-").concat(mr.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(L.cssPrefix,"-").concat(mr.PRIMARY),fill:"currentColor",d:o[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:e,height:n,icon:s}}var JE={found:!1,width:512,height:512};function eI(t,e){!Xp&&!L.showMissingIcons&&t&&console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}function D4(t,e){var n=e;return e==="fa"&&L.styleDefault!==null&&(e=Dn()),new Promise(function(i,r){var o={found:!1,width:512,height:512,icon:Ki("missingIconAbstract")||{}};if(n==="fa"){var s=u7(t)||{};t=s.iconName||t,e=s.prefix||e}if(t&&e&&h4[e]&&h4[e][t]){var a=h4[e][t];return i(C4(a))}eI(t,e),i(A(A({},JE),{},{icon:L.showMissingIcons&&t?Ki("missingIconAbstract")||{}:{}}))})}var Rp=function(){},M4=L.measurePerformance&&rl&&rl.mark&&rl.measure?rl:{mark:Rp,measure:Rp},Hs='FA "6.5.1"',tI=function(e){return M4.mark("".concat(Hs," ").concat(e," begins")),function(){return m7(e)}},m7=function(e){M4.mark("".concat(Hs," ").concat(e," ends")),M4.measure("".concat(Hs," ").concat(e),"".concat(Hs," ").concat(e," begins"),"".concat(Hs," ").concat(e," ends"))},P4={begin:tI,end:m7},ml=function(){};function Op(t){var e=t.getAttribute?t.getAttribute(pr):null;return typeof e=="string"}function iI(t){var e=t.getAttribute?t.getAttribute(k4):null,n=t.getAttribute?t.getAttribute(A4):null;return e&&n}function nI(t){return t&&t.classList&&t.classList.contains&&t.classList.contains(L.replacementClass)}function rI(){if(L.autoReplaceSvg===!0)return hl.replace;var t=hl[L.autoReplaceSvg];return t||hl.replace}function oI(t){return Pe.createElementNS("http://www.w3.org/2000/svg",t)}function sI(t){return Pe.createElement(t)}function h7(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.ceFn,i=n===void 0?t.tag==="svg"?oI:sI:n;if(typeof t=="string")return Pe.createTextNode(t);var r=i(t.tag);Object.keys(t.attributes||[]).forEach(function(s){r.setAttribute(s,t.attributes[s])});var o=t.children||[];return o.forEach(function(s){r.appendChild(h7(s,{ceFn:i}))}),r}function aI(t){var e=" ".concat(t.outerHTML," ");return e="".concat(e,"Font Awesome fontawesome.com "),e}var hl={replace:function(e){var n=e[0];if(n.parentNode)if(e[1].forEach(function(r){n.parentNode.insertBefore(h7(r),n)}),n.getAttribute(pr)===null&&L.keepOriginalSource){var i=Pe.createComment(aI(n));n.parentNode.replaceChild(i,n)}else n.remove()},nest:function(e){var n=e[0],i=e[1];if(~N4(n).indexOf(L.replacementClass))return hl.replace(e);var r=new RegExp("".concat(L.cssPrefix,"-.*"));if(delete i[0].attributes.id,i[0].attributes.class){var o=i[0].attributes.class.split(" ").reduce(function(a,c){return c===L.replacementClass||c.match(r)?a.toSvg.push(c):a.toNode.push(c),a},{toNode:[],toSvg:[]});i[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",o.toNode.join(" "))}var s=i.map(function(a){return Ks(a)}).join(` +`);n.setAttribute(pr,""),n.innerHTML=s}};function Fp(t){t()}function p7(t,e){var n=typeof e=="function"?e:ml;if(t.length===0)n();else{var i=Fp;L.mutateApproach===fE&&(i=Cn.requestAnimationFrame||Fp),i(function(){var r=rI(),o=P4.begin("mutate");t.map(r),o(),n()})}}var V4=!1;function g7(){V4=!0}function E4(){V4=!1}var vl=null;function zp(t){if(Dp&&L.observeMutations){var e=t.treeCallback,n=e===void 0?ml:e,i=t.nodeCallback,r=i===void 0?ml:i,o=t.pseudoElementsCallback,s=o===void 0?ml:o,a=t.observeMutationsRoot,c=a===void 0?Pe:a;vl=new Dp(function(l){if(!V4){var d=Dn();yo(l).forEach(function(u){if(u.type==="childList"&&u.addedNodes.length>0&&!Op(u.addedNodes[0])&&(L.searchPseudoElements&&s(u.target),n(u.target)),u.type==="attributes"&&u.target.parentNode&&L.searchPseudoElements&&s(u.target.parentNode),u.type==="attributes"&&Op(u.target)&&~_E.indexOf(u.attributeName))if(u.attributeName==="class"&&iI(u.target)){var f=yl(N4(u.target)),m=f.prefix,p=f.iconName;u.target.setAttribute(k4,m||d),p&&u.target.setAttribute(A4,p)}else nI(u.target)&&r(u.target)})}}),Xi&&vl.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function cI(){vl&&vl.disconnect()}function lI(t){var e=t.getAttribute("style"),n=[];return e&&(n=e.split(";").reduce(function(i,r){var o=r.split(":"),s=o[0],a=o.slice(1);return s&&a.length>0&&(i[s]=a.join(":").trim()),i},{})),n}function dI(t){var e=t.getAttribute("data-prefix"),n=t.getAttribute("data-icon"),i=t.innerText!==void 0?t.innerText.trim():"",r=yl(N4(t));return r.prefix||(r.prefix=Dn()),e&&n&&(r.prefix=e,r.iconName=n),r.iconName&&r.prefix||(r.prefix&&i.length>0&&(r.iconName=HE(r.prefix,t.innerText)||F4(r.prefix,_4(t.innerText))),!r.iconName&&L.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=t.firstChild.data)),r}function uI(t){var e=yo(t.attributes).reduce(function(r,o){return r.name!=="class"&&r.name!=="style"&&(r[o.name]=o.value),r},{}),n=t.getAttribute("title"),i=t.getAttribute("data-fa-title-id");return L.autoA11y&&(n?e["aria-labelledby"]="".concat(L.replacementClass,"-title-").concat(i||Zs()):(e["aria-hidden"]="true",e.focusable="false")),e}function fI(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Mi,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Lp(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=dI(t),i=n.iconName,r=n.prefix,o=n.rest,s=uI(t),a=w4("parseNodeAttributes",{},t),c=e.styleParser?lI(t):[];return A({iconName:i,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:r,transform:Mi,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:c,attributes:s}},a)}var mI=ii.styles;function v7(t){var e=L.autoReplaceSvg==="nest"?Lp(t,{styleParser:!1}):Lp(t);return~e.extra.classes.indexOf(Jp)?Ki("generateLayersText",t,e):Ki("generateSvgReplacementMutation",t,e)}var Mn=new Set;T4.map(function(t){Mn.add("fa-".concat(t))});Object.keys($s[Le]).map(Mn.add.bind(Mn));Object.keys($s[qe]).map(Mn.add.bind(Mn));Mn=Ys(Mn);function Pp(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Xi)return Promise.resolve();var n=Pe.documentElement.classList,i=function(u){return n.add("".concat(Mp,"-").concat(u))},r=function(u){return n.remove("".concat(Mp,"-").concat(u))},o=L.autoFetchSvg?Mn:T4.map(function(d){return"fa-".concat(d)}).concat(Object.keys(mI));o.includes("fa")||o.push("fa");var s=[".".concat(Jp,":not([").concat(pr,"])")].concat(o.map(function(d){return".".concat(d,":not([").concat(pr,"])")})).join(", ");if(s.length===0)return Promise.resolve();var a=[];try{a=yo(t.querySelectorAll(s))}catch{}if(a.length>0)i("pending"),r("complete");else return Promise.resolve();var c=P4.begin("onTree"),l=a.reduce(function(d,u){try{var f=v7(u);f&&d.push(f)}catch(m){Xp||m.name==="MissingIcon"&&console.error(m)}return d},[]);return new Promise(function(d,u){Promise.all(l).then(function(f){p7(f,function(){i("active"),i("complete"),r("pending"),typeof e=="function"&&e(),c(),d()})}).catch(function(f){c(),u(f)})})}function hI(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;v7(t).then(function(n){n&&p7([n],e)})}function pI(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=(e||{}).icon?e:x4(e||{}),r=n.mask;return r&&(r=(r||{}).icon?r:x4(r||{})),t(i,A(A({},n),{},{mask:r}))}}var gI=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.transform,r=i===void 0?Mi:i,o=n.symbol,s=o===void 0?!1:o,a=n.mask,c=a===void 0?null:a,l=n.maskId,d=l===void 0?null:l,u=n.title,f=u===void 0?null:u,m=n.titleId,p=m===void 0?null:m,v=n.classes,_=v===void 0?[]:v,y=n.attributes,k=y===void 0?{}:y,Q=n.styles,j=Q===void 0?{}:Q;if(e){var ge=e.prefix,we=e.iconName,Ee=e.icon;return wl(A({type:"icon"},e),function(){return gr("beforeDOMElementCreation",{iconDefinition:e,params:n}),L.autoA11y&&(f?k["aria-labelledby"]="".concat(L.replacementClass,"-title-").concat(p||Zs()):(k["aria-hidden"]="true",k.focusable="false")),L4({icons:{main:C4(Ee),mask:c?C4(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:ge,iconName:we,transform:A(A({},Mi),r),symbol:s,title:f,maskId:d,titleId:p,extra:{attributes:k,styles:j,classes:_}})})}},vI={mixout:function(){return{icon:pI(gI)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=Pp,n.nodeCallback=hI,n}}},provides:function(e){e.i2svg=function(n){var i=n.node,r=i===void 0?Pe:i,o=n.callback,s=o===void 0?function(){}:o;return Pp(r,s)},e.generateSvgReplacementMutation=function(n,i){var r=i.iconName,o=i.title,s=i.titleId,a=i.prefix,c=i.transform,l=i.symbol,d=i.mask,u=i.maskId,f=i.extra;return new Promise(function(m,p){Promise.all([D4(r,a),d.iconName?D4(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(v){var _=I4(v,2),y=_[0],k=_[1];m([n,L4({icons:{main:y,mask:k},prefix:a,iconName:r,transform:c,symbol:l,maskId:u,title:o,titleId:s,extra:f,watchable:!0})])}).catch(p)})},e.generateAbstractIcon=function(n){var i=n.children,r=n.attributes,o=n.main,s=n.transform,a=n.styles,c=bl(a);c.length>0&&(r.style=c);var l;return R4(s)&&(l=Ki("generateAbstractTransformGrouping",{main:o,transform:s,containerWidth:o.width,iconWidth:o.width})),i.push(l||o.icon),{children:i,attributes:r}}}},bI={mixout:function(){return{layer:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=i.classes,o=r===void 0?[]:r;return wl({type:"layer"},function(){gr("beforeDOMElementCreation",{assembler:n,params:i});var s=[];return n(function(a){Array.isArray(a)?a.map(function(c){s=s.concat(c.abstract)}):s=s.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(L.cssPrefix,"-layers")].concat(Ys(o)).join(" ")},children:s}]})}}}},_I={mixout:function(){return{counter:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=i.title,o=r===void 0?null:r,s=i.classes,a=s===void 0?[]:s,c=i.attributes,l=c===void 0?{}:c,d=i.styles,u=d===void 0?{}:d;return wl({type:"counter",content:n},function(){return gr("beforeDOMElementCreation",{content:n,params:i}),XE({content:n.toString(),title:o,extra:{attributes:l,styles:u,classes:["".concat(L.cssPrefix,"-layers-counter")].concat(Ys(a))}})})}}}},yI={mixout:function(){return{text:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=i.transform,o=r===void 0?Mi:r,s=i.title,a=s===void 0?null:s,c=i.classes,l=c===void 0?[]:c,d=i.attributes,u=d===void 0?{}:d,f=i.styles,m=f===void 0?{}:f;return wl({type:"text",content:n},function(){return gr("beforeDOMElementCreation",{content:n,params:i}),Np({content:n,transform:A(A({},Mi),o),title:a,extra:{attributes:u,styles:m,classes:["".concat(L.cssPrefix,"-layers-text")].concat(Ys(l))}})})}}},provides:function(e){e.generateLayersText=function(n,i){var r=i.title,o=i.transform,s=i.extra,a=null,c=null;if(Yp){var l=parseInt(getComputedStyle(n).fontSize,10),d=n.getBoundingClientRect();a=d.width/l,c=d.height/l}return L.autoA11y&&!r&&(s.attributes["aria-hidden"]="true"),Promise.resolve([n,Np({content:n.innerHTML,width:a,height:c,transform:o,title:r,extra:s,watchable:!0})])}}},wI=new RegExp('"',"ug"),Vp=[1105920,1112319];function xI(t){var e=t.replace(wI,""),n=FE(e,0),i=n>=Vp[0]&&n<=Vp[1],r=e.length===2?e[0]===e[1]:!1;return{value:_4(r?e[0]:e),isSecondary:i||r}}function jp(t,e){var n="".concat(uE).concat(e.replace(":","-"));return new Promise(function(i,r){if(t.getAttribute(n)!==null)return i();var o=yo(t.children),s=o.filter(function(Ee){return Ee.getAttribute(b4)===e})[0],a=Cn.getComputedStyle(t,e),c=a.getPropertyValue("font-family").match(gE),l=a.getPropertyValue("font-weight"),d=a.getPropertyValue("content");if(s&&!c)return t.removeChild(s),i();if(c&&d!=="none"&&d!==""){var u=a.getPropertyValue("content"),f=~["Sharp"].indexOf(c[2])?qe:Le,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(c[2])?qs[f][c[2].toLowerCase()]:vE[f][l],p=xI(u),v=p.value,_=p.isSecondary,y=c[0].startsWith("FontAwesome"),k=F4(m,v),Q=k;if(y){var j=BE(v);j.iconName&&j.prefix&&(k=j.iconName,m=j.prefix)}if(k&&!_&&(!s||s.getAttribute(k4)!==m||s.getAttribute(A4)!==Q)){t.setAttribute(n,Q),s&&t.removeChild(s);var ge=fI(),we=ge.extra;we.attributes[b4]=e,D4(k,m).then(function(Ee){var Xe=L4(A(A({},ge),{},{icons:{main:Ee,mask:z4()},prefix:m,iconName:Q,extra:we,watchable:!0})),it=Pe.createElementNS("http://www.w3.org/2000/svg","svg");e==="::before"?t.insertBefore(it,t.firstChild):t.appendChild(it),it.outerHTML=Xe.map(function(en){return Ks(en)}).join(` +`),t.removeAttribute(n),i()}).catch(r)}else i()}else i()})}function CI(t){return Promise.all([jp(t,"::before"),jp(t,"::after")])}function DI(t){return t.parentNode!==document.head&&!~mE.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(b4)&&(!t.parentNode||t.parentNode.tagName!=="svg")}function Hp(t){if(Xi)return new Promise(function(e,n){var i=yo(t.querySelectorAll("*")).filter(DI).map(CI),r=P4.begin("searchPseudoElements");g7(),Promise.all(i).then(function(){r(),E4(),e()}).catch(function(){r(),E4(),n()})})}var MI={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Hp,n}}},provides:function(e){e.pseudoElements2svg=function(n){var i=n.node,r=i===void 0?Pe:i;L.searchPseudoElements&&Hp(r)}}},Bp=!1,EI={mixout:function(){return{dom:{unwatch:function(){g7(),Bp=!0}}}},hooks:function(){return{bootstrap:function(){zp(w4("mutationObserverCallbacks",{}))},noAuto:function(){cI()},watch:function(n){var i=n.observeMutationsRoot;Bp?E4():zp(w4("mutationObserverCallbacks",{observeMutationsRoot:i}))}}}},Up=function(e){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce(function(i,r){var o=r.toLowerCase().split("-"),s=o[0],a=o.slice(1).join("-");if(s&&a==="h")return i.flipX=!0,i;if(s&&a==="v")return i.flipY=!0,i;if(a=parseFloat(a),isNaN(a))return i;switch(s){case"grow":i.size=i.size+a;break;case"shrink":i.size=i.size-a;break;case"left":i.x=i.x-a;break;case"right":i.x=i.x+a;break;case"up":i.y=i.y-a;break;case"down":i.y=i.y+a;break;case"rotate":i.rotate=i.rotate+a;break}return i},n)},II={mixout:function(){return{parse:{transform:function(n){return Up(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,i){var r=i.getAttribute("data-fa-transform");return r&&(n.transform=Up(r)),n}}},provides:function(e){e.generateAbstractTransformGrouping=function(n){var i=n.main,r=n.transform,o=n.containerWidth,s=n.iconWidth,a={transform:"translate(".concat(o/2," 256)")},c="translate(".concat(r.x*32,", ").concat(r.y*32,") "),l="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),d="rotate(".concat(r.rotate," 0 0)"),u={transform:"".concat(c," ").concat(l," ").concat(d)},f={transform:"translate(".concat(s/2*-1," -256)")},m={outer:a,inner:u,path:f};return{tag:"g",attributes:A({},m.outer),children:[{tag:"g",attributes:A({},m.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:A(A({},i.icon.attributes),m.path)}]}]}}}},p4={x:0,y:0,width:"100%",height:"100%"};function $p(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function SI(t){return t.tag==="g"?t.children:[t]}var kI={hooks:function(){return{parseNodeAttributes:function(n,i){var r=i.getAttribute("data-fa-mask"),o=r?yl(r.split(" ").map(function(s){return s.trim()})):z4();return o.prefix||(o.prefix=Dn()),n.mask=o,n.maskId=i.getAttribute("data-fa-mask-id"),n}}},provides:function(e){e.generateAbstractMask=function(n){var i=n.children,r=n.attributes,o=n.main,s=n.mask,a=n.maskId,c=n.transform,l=o.width,d=o.icon,u=s.width,f=s.icon,m=IE({transform:c,containerWidth:u,iconWidth:l}),p={tag:"rect",attributes:A(A({},p4),{},{fill:"white"})},v=d.children?{children:d.children.map($p)}:{},_={tag:"g",attributes:A({},m.inner),children:[$p(A({tag:d.tag,attributes:A(A({},d.attributes),m.path)},v))]},y={tag:"g",attributes:A({},m.outer),children:[_]},k="mask-".concat(a||Zs()),Q="clip-".concat(a||Zs()),j={tag:"mask",attributes:A(A({},p4),{},{id:k,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,y]},ge={tag:"defs",children:[{tag:"clipPath",attributes:{id:Q},children:SI(f)},j]};return i.push(ge,{tag:"rect",attributes:A({fill:"currentColor","clip-path":"url(#".concat(Q,")"),mask:"url(#".concat(k,")")},p4)}),{children:i,attributes:r}}}},AI={provides:function(e){var n=!1;Cn.matchMedia&&(n=Cn.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var i=[],r={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};i.push({tag:"path",attributes:A(A({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=A(A({},o),{},{attributeName:"opacity"}),a={tag:"circle",attributes:A(A({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||a.children.push({tag:"animate",attributes:A(A({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:A(A({},s),{},{values:"1;0;1;1;0;1;"})}),i.push(a),i.push({tag:"path",attributes:A(A({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:A(A({},s),{},{values:"1;0;0;0;0;1;"})}]}),n||i.push({tag:"path",attributes:A(A({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:A(A({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:i}}}},TI={hooks:function(){return{parseNodeAttributes:function(n,i){var r=i.getAttribute("data-fa-symbol"),o=r===null?!1:r===""?!0:r;return n.symbol=o,n}}}},NI=[AE,vI,bI,_I,yI,MI,EI,II,kI,AI,TI];qE(NI,{mixoutsTo:Rt});var FU=Rt.noAuto,zU=Rt.config,LU=Rt.library,PU=Rt.dom,b7=Rt.parse,VU=Rt.findIconDefinition,jU=Rt.toHtml,_7=Rt.icon,HU=Rt.layer,RI=Rt.text,OI=Rt.counter;var FI=["*"],zI=t=>{throw new Error(`Could not find icon with iconName=${t.iconName} and prefix=${t.prefix} in the icon library.`)},LI=()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")},PI=t=>{let e={[`fa-${t.animation}`]:t.animation!=null&&!t.animation.startsWith("spin"),"fa-spin":t.animation==="spin"||t.animation==="spin-reverse","fa-spin-pulse":t.animation==="spin-pulse"||t.animation==="spin-pulse-reverse","fa-spin-reverse":t.animation==="spin-reverse"||t.animation==="spin-pulse-reverse","fa-pulse":t.animation==="spin-pulse"||t.animation==="spin-pulse-reverse","fa-fw":t.fixedWidth,"fa-border":t.border,"fa-inverse":t.inverse,"fa-layers-counter":t.counter,"fa-flip-horizontal":t.flip==="horizontal"||t.flip==="both","fa-flip-vertical":t.flip==="vertical"||t.flip==="both",[`fa-${t.size}`]:t.size!==null,[`fa-rotate-${t.rotate}`]:t.rotate!==null,[`fa-pull-${t.pull}`]:t.pull!==null,[`fa-stack-${t.stackItemSize}`]:t.stackItemSize!=null};return Object.keys(e).map(n=>e[n]?n:null).filter(n=>n)},VI=t=>t.prefix!==void 0&&t.iconName!==void 0,jI=(t,e)=>VI(t)?t:typeof t=="string"?{prefix:e,iconName:t}:{prefix:t[0],iconName:t[1]},HI=(()=>{let e=class e{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),j4=(()=>{let e=class e{constructor(){this.definitions={}}addIcons(...i){for(let r of i){r.prefix in this.definitions||(this.definitions[r.prefix]={}),this.definitions[r.prefix][r.iconName]=r;for(let o of r.icon[2])typeof o=="string"&&(this.definitions[r.prefix][o]=r)}}addIconPacks(...i){for(let r of i){let o=Object.keys(r).map(s=>r[s]);this.addIcons(...o)}}getIconDefinition(i,r){return i in this.definitions&&r in this.definitions[i]?this.definitions[i][r]:null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),BI=(()=>{let e=class e{constructor(){this.stackItemSize="1x"}ngOnChanges(i){if("size"in i)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=N({type:e,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[Re]});let t=e;return t})(),UI=(()=>{let e=class e{constructor(i,r){this.renderer=i,this.elementRef=r}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(i){"size"in i&&(i.size.currentValue!=null&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${i.size.currentValue}`),i.size.previousValue!=null&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${i.size.previousValue}`))}};e.\u0275fac=function(r){return new(r||e)(h(bi),h(V))},e.\u0275cmp=Y({type:e,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[Re,be],ngContentSelectors:FI,decls:1,vars:0,template:function(r,o){r&1&&(Be(),te(0))},encapsulation:2});let t=e;return t})(),y7=(()=>{let e=class e{set spin(i){this.animation=i?"spin":void 0}set pulse(i){this.animation=i?"spin-pulse":void 0}constructor(i,r,o,s,a){this.sanitizer=i,this.config=r,this.iconLibrary=o,this.stackItem=s,this.classes=[],a!=null&&s==null&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(i){if(this.icon==null&&this.config.fallbackIcon==null){LI();return}if(i){let r=this.icon!=null?this.icon:this.config.fallbackIcon,o=this.findIconDefinition(r);if(o!=null){let s=this.buildParams();this.renderIcon(o,s)}}}render(){this.ngOnChanges({})}findIconDefinition(i){let r=jI(i,this.config.defaultPrefix);if("icon"in r)return r;let o=this.iconLibrary.getIconDefinition(r.prefix,r.iconName);return o??(zI(r),null)}buildParams(){let i={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:typeof this.fixedWidth=="boolean"?this.fixedWidth:this.config.fixedWidth,stackItemSize:this.stackItem!=null?this.stackItem.stackItemSize:null},r=typeof this.transform=="string"?b7.transform(this.transform):this.transform;return{title:this.title,transform:r,classes:[...PI(i),...this.classes],mask:this.mask!=null?this.findIconDefinition(this.mask):null,styles:this.styles!=null?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(i,r){let o=_7(i,r);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(o.html.join(` +`))}};e.\u0275fac=function(r){return new(r||e)(h(lr),h(HI),h(j4),h(BI,8),h(UI,8))},e.\u0275cmp=Y({type:e,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(r,o){r&2&&(or("innerHTML",o.renderedIconHTML,X5),He("title",o.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[Re,be],decls:0,vars:0,template:function(r,o){},encapsulation:2});let t=e;return t})();var w7=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})();var se="primary",ma=Symbol("RouteTitle"),q4=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Mo(t){return new q4(t)}function $I(t,e,n){let i=n.path.split("/");if(i.length>t.length||n.pathMatch==="full"&&(e.hasChildren()||i.lengthi[o]===r)}else return t===e}function N7(t){return t.length>0?t[t.length-1]:null}function An(t){return Hn(t)?t:sr(t)?xe(Promise.resolve(t)):T(t)}var WI={exact:O7,subset:F7},R7={exact:GI,subset:ZI,ignored:()=>!0};function C7(t,e,n){return WI[n.paths](t.root,e.root,n.matrixParams)&&R7[n.queryParams](t.queryParams,e.queryParams)&&!(n.fragment==="exact"&&t.fragment!==e.fragment)}function GI(t,e){return Ei(t,e)}function O7(t,e,n){if(!br(t.segments,e.segments)||!Dl(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let i in e.children)if(!t.children[i]||!O7(t.children[i],e.children[i],n))return!1;return!0}function ZI(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>T7(t[n],e[n]))}function F7(t,e,n){return z7(t,e,e.segments,n)}function z7(t,e,n,i){if(t.segments.length>n.length){let r=t.segments.slice(0,n.length);return!(!br(r,n)||e.hasChildren()||!Dl(r,n,i))}else if(t.segments.length===n.length){if(!br(t.segments,n)||!Dl(t.segments,n,i))return!1;for(let r in e.children)if(!t.children[r]||!F7(t.children[r],e.children[r],i))return!1;return!0}else{let r=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!br(t.segments,r)||!Dl(t.segments,r,i)||!t.children[se]?!1:z7(t.children[se],e,o,i)}}function Dl(t,e,n){return e.every((i,r)=>R7[n](t[r].parameters,i.parameters))}var En=class{constructor(e=new Me([],{}),n={},i=null){this.root=e,this.queryParams=n,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Mo(this.queryParams),this._queryParamMap}toString(){return KI.serialize(this)}},Me=class{constructor(e,n){this.segments=e,this.children=n,this.parent=null,Object.values(n).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ml(this)}},vr=class{constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap??=Mo(this.parameters),this._parameterMap}toString(){return P7(this)}};function YI(t,e){return br(t,e)&&t.every((n,i)=>Ei(n.parameters,e[i].parameters))}function br(t,e){return t.length!==e.length?!1:t.every((n,i)=>n.path===e[i].path)}function QI(t,e){let n=[];return Object.entries(t.children).forEach(([i,r])=>{i===se&&(n=n.concat(e(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==se&&(n=n.concat(e(r,i)))}),n}var ha=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>new ra,providedIn:"root"});let t=e;return t})(),ra=class{parse(e){let n=new Z4(e);return new En(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){let n=`/${Xs(e.root,!0)}`,i=eS(e.queryParams),r=typeof e.fragment=="string"?`#${XI(e.fragment)}`:"";return`${n}${i}${r}`}},KI=new ra;function Ml(t){return t.segments.map(e=>P7(e)).join("/")}function Xs(t,e){if(!t.hasChildren())return Ml(t);if(e){let n=t.children[se]?Xs(t.children[se],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==se&&i.push(`${r}:${Xs(o,!1)}`)}),i.length>0?`${n}(${i.join("//")})`:n}else{let n=QI(t,(i,r)=>r===se?[Xs(t.children[se],!1)]:[`${r}:${Xs(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[se]!=null?`${Ml(t)}/${n[0]}`:`${Ml(t)}/(${n.join("//")})`}}function L7(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xl(t){return L7(t).replace(/%3B/gi,";")}function XI(t){return encodeURI(t)}function G4(t){return L7(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function El(t){return decodeURIComponent(t)}function D7(t){return El(t.replace(/\+/g,"%20"))}function P7(t){return`${G4(t.path)}${JI(t.parameters)}`}function JI(t){return Object.entries(t).map(([e,n])=>`;${G4(e)}=${G4(n)}`).join("")}function eS(t){let e=Object.entries(t).map(([n,i])=>Array.isArray(i)?i.map(r=>`${xl(n)}=${xl(r)}`).join("&"):`${xl(n)}=${xl(i)}`).filter(n=>n);return e.length?`?${e.join("&")}`:""}var tS=/^[^\/()?;#]+/;function H4(t){let e=t.match(tS);return e?e[0]:""}var iS=/^[^\/()?;=#]+/;function nS(t){let e=t.match(iS);return e?e[0]:""}var rS=/^[^=?&#]+/;function oS(t){let e=t.match(rS);return e?e[0]:""}var sS=/^[^&#]+/;function aS(t){let e=t.match(sS);return e?e[0]:""}var Z4=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Me([],{}):new Me([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(i[se]=new Me(e,n)),i}parseSegment(){let e=H4(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(e),new vr(El(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let n=nS(this.remaining);if(!n)return;this.capture(n);let i="";if(this.consumeOptional("=")){let r=H4(this.remaining);r&&(i=r,this.capture(i))}e[El(n)]=El(i)}parseQueryParam(e){let n=oS(this.remaining);if(!n)return;this.capture(n);let i="";if(this.consumeOptional("=")){let s=aS(this.remaining);s&&(i=s,this.capture(i))}let r=D7(n),o=D7(i);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){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=H4(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new C(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=se);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[se]:new Me([],s),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new C(4011,!1)}};function V7(t){return t.segments.length>0?new Me([],{[se]:t}):t}function j7(t){let e={};for(let[i,r]of Object.entries(t.children)){let o=j7(r);if(i===se&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[i]=o)}let n=new Me(t.segments,e);return cS(n)}function cS(t){if(t.numberOfChildren===1&&t.children[se]){let e=t.children[se];return new Me(t.segments.concat(e.segments),e.children)}return t}function Eo(t){return t instanceof En}function lS(t,e,n=null,i=null){let r=H7(t);return B7(r,e,n,i)}function H7(t){let e;function n(o){let s={};for(let c of o.children){let l=n(c);s[c.outlet]=l}let a=new Me(o.url,s);return o===t&&(e=a),a}let i=n(t.root),r=V7(i);return e??r}function B7(t,e,n,i){let r=t;for(;r.parent;)r=r.parent;if(e.length===0)return B4(r,r,r,n,i);let o=dS(e);if(o.toRoot())return B4(r,r,new Me([],{}),n,i);let s=uS(o,r,t),a=s.processChildren?ta(s.segmentGroup,s.index,o.commands):$7(s.segmentGroup,s.index,o.commands);return B4(r,s.segmentGroup,a,n,i)}function Il(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function oa(t){return typeof t=="object"&&t!=null&&t.outlets}function B4(t,e,n,i,r){let o={};i&&Object.entries(i).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`});let s;t===e?s=n:s=U7(t,e,n);let a=V7(j7(s));return new En(a,o,r)}function U7(t,e,n){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===e?i[r]=n:i[r]=U7(o,e,n)}),new Me(t.segments,i)}var Sl=class{constructor(e,n,i){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=i,e&&i.length>0&&Il(i[0]))throw new C(4003,!1);let r=i.find(oa);if(r&&r!==N7(i))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function dS(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Sl(!0,0,t);let e=0,n=!1,i=t.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?e++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new Sl(n,e,i)}var Co=class{constructor(e,n,i){this.segmentGroup=e,this.processChildren=n,this.index=i}};function uS(t,e,n){if(t.isAbsolute)return new Co(e,!0,0);if(!n)return new Co(e,!1,NaN);if(n.parent===null)return new Co(n,!0,0);let i=Il(t.commands[0])?0:1,r=n.segments.length-1+i;return fS(n,r,t.numberOfDoubleDots)}function fS(t,e,n){let i=t,r=e,o=n;for(;o>r;){if(o-=r,i=i.parent,!i)throw new C(4005,!1);r=i.segments.length}return new Co(i,!1,r-o)}function mS(t){return oa(t[0])?t[0].outlets:{[se]:t}}function $7(t,e,n){if(t??=new Me([],{}),t.segments.length===0&&t.hasChildren())return ta(t,e,n);let i=hS(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndexo!==se)&&t.children[se]&&t.numberOfChildren===1&&t.children[se].segments.length===0){let o=ta(t.children[se],e,n);return new Me(t.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=$7(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new Me(t.segments,r)}}function hS(t,e,n){let i=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return o;let s=t.segments[r],a=n[i];if(oa(a))break;let c=`${a}`,l=i0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!E7(c,l,s))return o;i+=2}else{if(!E7(c,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function Y4(t,e,n){let i=t.segments.slice(0,e),r=0;for(;r{typeof i=="string"&&(i=[i]),i!==null&&(e[n]=Y4(new Me([],{}),0,i))}),e}function M7(t){let e={};return Object.entries(t).forEach(([n,i])=>e[n]=`${i}`),e}function E7(t,e,n){return t==n.path&&Ei(e,n.parameters)}var ia="imperative",at=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(at||{}),qt=class{constructor(e,n){this.id=e,this.url=n}},Io=class extends qt{constructor(e,n,i="imperative",r=null){super(e,n),this.type=at.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ni=class extends qt{constructor(e,n,i){super(e,n),this.urlAfterRedirects=i,this.type=at.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},$t=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}($t||{}),kl=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(kl||{}),In=class extends qt{constructor(e,n,i,r){super(e,n),this.reason=i,this.code=r,this.type=at.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Sn=class extends qt{constructor(e,n,i,r){super(e,n),this.reason=i,this.code=r,this.type=at.NavigationSkipped}},sa=class extends qt{constructor(e,n,i,r){super(e,n),this.error=i,this.target=r,this.type=at.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Al=class extends qt{constructor(e,n,i,r){super(e,n),this.urlAfterRedirects=i,this.state=r,this.type=at.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Q4=class extends qt{constructor(e,n,i,r){super(e,n),this.urlAfterRedirects=i,this.state=r,this.type=at.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},K4=class extends qt{constructor(e,n,i,r,o){super(e,n),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=at.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},X4=class extends qt{constructor(e,n,i,r){super(e,n),this.urlAfterRedirects=i,this.state=r,this.type=at.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},J4=class extends qt{constructor(e,n,i,r){super(e,n),this.urlAfterRedirects=i,this.state=r,this.type=at.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ef=class{constructor(e){this.route=e,this.type=at.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},tf=class{constructor(e){this.route=e,this.type=at.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},nf=class{constructor(e){this.snapshot=e,this.type=at.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},rf=class{constructor(e){this.snapshot=e,this.type=at.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},of=class{constructor(e){this.snapshot=e,this.type=at.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sf=class{constructor(e){this.snapshot=e,this.type=at.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Tl=class{constructor(e,n,i){this.routerEvent=e,this.position=n,this.anchor=i,this.type=at.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},aa=class{},ca=class{constructor(e){this.url=e}};var af=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new pa,this.attachRef=null}},pa=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(i,r){let o=this.getOrCreateContext(i);o.outlet=r,this.contexts.set(i,o)}onChildOutletDestroyed(i){let r=this.getContext(i);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let i=this.contexts;return this.contexts=new Map,i}onOutletReAttached(i){this.contexts=i}getOrCreateContext(i){let r=this.getContext(i);return r||(r=new af,this.contexts.set(i,r)),r}getContext(i){return this.contexts.get(i)||null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Nl=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){let n=cf(e,this._root);return n?n.children.map(i=>i.value):[]}firstChild(e){let n=cf(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){let n=lf(e,this._root);return n.length<2?[]:n[n.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return lf(e,this._root).map(n=>n.value)}};function cf(t,e){if(t===e.value)return e;for(let n of e.children){let i=cf(t,n);if(i)return i}return null}function lf(t,e){if(t===e.value)return[e];for(let n of e.children){let i=lf(t,n);if(i.length)return i.unshift(e),i}return[]}var Ot=class{constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}};function xo(t){let e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}var Rl=class extends Nl{constructor(e,n){super(e),this.snapshot=n,_f(this,e)}toString(){return this.snapshot.toString()}};function q7(t){let e=gS(t),n=new We([new vr("",{})]),i=new We({}),r=new We({}),o=new We({}),s=new We(""),a=new kn(n,i,o,s,r,se,t,e.root);return a.snapshot=e.root,new Rl(new Ot(a,[]),e)}function gS(t){let e={},n={},i={},r="",o=new la([],e,i,r,n,se,t,null,{});return new Ol("",new Ot(o,[]))}var kn=class{constructor(e,n,i,r,o,s,a,c){this.urlSubject=e,this.paramsSubject=n,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(P(l=>l[ma]))??T(void 0),this.url=e,this.params=n,this.queryParams=i,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.params.pipe(P(e=>Mo(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(P(e=>Mo(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function bf(t,e,n="emptyOnly"){let i,{routeConfig:r}=t;return e!==null&&(n==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?i={params:M(M({},e.params),t.params),data:M(M({},e.data),t.data),resolve:M(M(M(M({},t.data),e.data),r?.data),t._resolvedData)}:i={params:M({},t.params),data:M({},t.data),resolve:M(M({},t.data),t._resolvedData??{})},r&&G7(r)&&(i.resolve[ma]=r.title),i}var la=class{get title(){return this.data?.[ma]}constructor(e,n,i,r,o,s,a,c,l){this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Mo(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Mo(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(i=>i.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${n}')`}},Ol=class extends Nl{constructor(e,n){super(n),this.url=e,_f(this,n)}toString(){return W7(this._root)}};function _f(t,e){e.value._routerState=t,e.children.forEach(n=>_f(t,n))}function W7(t){let e=t.children.length>0?` { ${t.children.map(W7).join(", ")} } `:"";return`${t.value}${e}`}function U4(t){if(t.snapshot){let e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Ei(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),Ei(e.params,n.params)||t.paramsSubject.next(n.params),qI(e.url,n.url)||t.urlSubject.next(n.url),Ei(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function df(t,e){let n=Ei(t.params,e.params)&&YI(t.url,e.url),i=!t.parent!=!e.parent;return n&&!i&&(!t.parent||df(t.parent,e.parent))}function G7(t){return typeof t.title=="string"||t.title===null}var yf=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=se,this.activateEvents=new ie,this.deactivateEvents=new ie,this.attachEvents=new ie,this.detachEvents=new ie,this.parentContexts=b(pa),this.location=b(Ye),this.changeDetector=b(st),this.environmentInjector=b(yt),this.inputBinder=b(Vl,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(i){if(i.name){let{firstChange:r,previousValue:o}=i.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(i){return this.parentContexts.getContext(i)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let i=this.parentContexts.getContext(this.name);i?.route&&(i.attachRef?this.attach(i.attachRef,i.route):this.activateWith(i.route,i.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,!1);this.location.detach();let i=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(i.instance),i}attach(i,r){this.activated=i,this._activatedRoute=r,this.location.insert(i.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(i.instance)}deactivate(){if(this.activated){let i=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(i)}}activateWith(i,r){if(this.isActivated)throw new C(4013,!1);this._activatedRoute=i;let o=this.location,a=i.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new uf(i,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=N({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Re]});let t=e;return t})(),uf=class{constructor(e,n,i){this.route=e,this.childContexts=n,this.parent=i}get(e,n){return e===kn?this.route:e===pa?this.childContexts:this.parent.get(e,n)}},Vl=new D(""),I7=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(i){this.unsubscribeFromRouteData(i),this.subscribeToRouteData(i)}unsubscribeFromRouteData(i){this.outletDataSubscriptions.get(i)?.unsubscribe(),this.outletDataSubscriptions.delete(i)}subscribeToRouteData(i){let{activatedRoute:r}=i,o=Bn([r.queryParams,r.params,r.data]).pipe(rt(([s,a,c],l)=>(c=M(M(M({},s),a),c),l===0?T(c):Promise.resolve(c)))).subscribe(s=>{if(!i.isActivated||!i.activatedComponentRef||i.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(i);return}let a=r8(r.component);if(!a){this.unsubscribeFromRouteData(i);return}for(let{templateName:c}of a.inputs)i.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(i,o)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function vS(t,e,n){let i=da(t,e._root,n?n._root:void 0);return new Rl(i,e)}function da(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){let i=n.value;i._futureSnapshot=e.value;let r=bS(t,e,n);return new Ot(i,r)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>da(t,a)),s}}let i=_S(e.value),r=e.children.map(o=>da(t,o));return new Ot(i,r)}}function bS(t,e,n){return e.children.map(i=>{for(let r of n.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return da(t,i,r);return da(t,i)})}function _S(t){return new kn(new We(t.url),new We(t.params),new We(t.queryParams),new We(t.fragment),new We(t.data),t.outlet,t.component,t)}var Z7="ngNavigationCancelingError";function Y7(t,e){let{redirectTo:n,navigationBehaviorOptions:i}=Eo(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=Q7(!1,$t.Redirect);return r.url=n,r.navigationBehaviorOptions=i,r}function Q7(t,e){let n=new Error(`NavigationCancelingError: ${t||""}`);return n[Z7]=!0,n.cancellationCode=e,n}function yS(t){return K7(t)&&Eo(t.url)}function K7(t){return!!t&&t[Z7]}var wS=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Y({type:e,selectors:[["ng-component"]],standalone:!0,features:[be],decls:1,vars:0,template:function(r,o){r&1&&he(0,"router-outlet")},dependencies:[yf],encapsulation:2});let t=e;return t})();function xS(t,e){return t.providers&&!t._injector&&(t._injector=b1(t.providers,e,`Route: ${t.path}`)),t._injector??e}function wf(t){let e=t.children&&t.children.map(wf),n=e?Ie(M({},t),{children:e}):M({},t);return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==se&&(n.component=wS),n}function Ii(t){return t.outlet||se}function CS(t,e){let n=t.filter(i=>Ii(i)===e);return n.push(...t.filter(i=>Ii(i)!==e)),n}function ga(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let n=e.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var DS=(t,e,n,i)=>P(r=>(new ff(e,r.targetRouterState,r.currentRouterState,n,i).activate(t),r)),ff=class{constructor(e,n,i,r,o){this.routeReuseStrategy=e,this.futureState=n,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(e){let n=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,i,e),U4(this.futureState.root),this.activateChildRoutes(n,i,e)}deactivateChildRoutes(e,n,i){let r=xo(n);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(e,n,i){let r=e.value,o=n?n.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(e,n,s.children)}else this.deactivateChildRoutes(e,n,i);else o&&this.deactivateRouteAndItsChildren(n,i)}deactivateRouteAndItsChildren(e,n){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){let i=n.getContext(e.value.outlet),r=i&&e.value.component?i.children:n,o=xo(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,n){let i=n.getContext(e.value.outlet),r=i&&e.value.component?i.children:n,o=xo(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(e,n,i){let r=xo(n);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new sf(o.value.snapshot))}),e.children.length&&this.forwardEvent(new rf(e.value.snapshot))}activateRoutes(e,n,i){let r=e.value,o=n?n.value:null;if(U4(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(e,n,s.children)}else this.activateChildRoutes(e,n,i);else if(r.component){let s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let 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),U4(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=ga(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,i)}},Fl=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Do=class{constructor(e,n){this.component=e,this.route=n}};function MS(t,e,n){let i=t._root,r=e?e._root:null;return Js(i,r,n,[i.value])}function ES(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function ko(t,e){let n=Symbol(),i=e.get(t,n);return i===n?typeof t=="function"&&!xh(t)?t:e.get(t):i}function Js(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=xo(e);return t.children.forEach(s=>{IS(s,o[s.value.outlet],n,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>na(a,n.getContext(s),r)),r}function IS(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=SS(s,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new Fl(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Js(t,e,a?a.children:null,i,r):Js(t,e,n,i,r),c&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Do(a.outlet.component,s))}else s&&na(e,a,r),r.canActivateChecks.push(new Fl(i)),o.component?Js(t,null,a?a.children:null,i,r):Js(t,null,n,i,r);return r}function SS(t,e,n){if(typeof n=="function")return n(t,e);switch(n){case"pathParamsChange":return!br(t.url,e.url);case"pathParamsOrQueryParamsChange":return!br(t.url,e.url)||!Ei(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!df(t,e)||!Ei(t.queryParams,e.queryParams);case"paramsChange":default:return!df(t,e)}}function na(t,e,n){let i=xo(t),r=t.value;Object.entries(i).forEach(([o,s])=>{r.component?e?na(s,e.children.getContext(o),n):na(s,null,n):na(s,e,n)}),r.component?e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new Do(e.outlet.component,r)):n.canDeactivateChecks.push(new Do(null,r)):n.canDeactivateChecks.push(new Do(null,r))}function va(t){return typeof t=="function"}function kS(t){return typeof t=="boolean"}function AS(t){return t&&va(t.canLoad)}function TS(t){return t&&va(t.canActivate)}function NS(t){return t&&va(t.canActivateChild)}function RS(t){return t&&va(t.canDeactivate)}function OS(t){return t&&va(t.canMatch)}function X7(t){return t instanceof Ri||t?.name==="EmptyError"}var Cl=Symbol("INITIAL_VALUE");function So(){return rt(t=>Bn(t.map(e=>e.pipe(Ve(1),zi(Cl)))).pipe(P(e=>{for(let n of e)if(n!==!0){if(n===Cl)return Cl;if(n===!1||n instanceof En)return n}return!0}),Te(e=>e!==Cl),Ve(1)))}function FS(t,e){return Ue(n=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?T(Ie(M({},n),{guardsResult:!0})):zS(s,i,r,t).pipe(Ue(a=>a&&kS(a)?LS(i,o,t,e):T(a)),P(a=>Ie(M({},n),{guardsResult:a})))})}function zS(t,e,n,i){return xe(t).pipe(Ue(r=>BS(r.component,r.route,n,e,i)),di(r=>r!==!0,!0))}function LS(t,e,n,i){return xe(e).pipe(Fi(r=>on(VS(r.route.parent,i),PS(r.route,i),HS(t,r.path,n),jS(t,r.route,n))),di(r=>r!==!0,!0))}function PS(t,e){return t!==null&&e&&e(new of(t)),T(!0)}function VS(t,e){return t!==null&&e&&e(new nf(t)),T(!0)}function jS(t,e,n){let i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||i.length===0)return T(!0);let r=i.map(o=>Or(()=>{let s=ga(e)??n,a=ko(o,s),c=TS(a)?a.canActivate(e,t):vi(s,()=>a(e,t));return An(c).pipe(di())}));return T(r).pipe(So())}function HS(t,e,n){let i=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>ES(s)).filter(s=>s!==null).map(s=>Or(()=>{let a=s.guards.map(c=>{let l=ga(s.node)??n,d=ko(c,l),u=NS(d)?d.canActivateChild(i,t):vi(l,()=>d(i,t));return An(u).pipe(di())});return T(a).pipe(So())}));return T(o).pipe(So())}function BS(t,e,n,i,r){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return T(!0);let s=o.map(a=>{let c=ga(e)??r,l=ko(a,c),d=RS(l)?l.canDeactivate(t,e,n,i):vi(c,()=>l(t,e,n,i));return An(d).pipe(di())});return T(s).pipe(So())}function US(t,e,n,i){let r=e.canLoad;if(r===void 0||r.length===0)return T(!0);let o=r.map(s=>{let a=ko(s,t),c=AS(a)?a.canLoad(e,n):vi(t,()=>a(e,n));return An(c)});return T(o).pipe(So(),J7(i))}function J7(t){return Gd(ze(e=>{if(Eo(e))throw Y7(t,e)}),P(e=>e===!0))}function $S(t,e,n,i){let r=e.canMatch;if(!r||r.length===0)return T(!0);let o=r.map(s=>{let a=ko(s,t),c=OS(a)?a.canMatch(e,n):vi(t,()=>a(e,n));return An(c)});return T(o).pipe(So(),J7(i))}var ua=class{constructor(e){this.segmentGroup=e||null}},zl=class extends Error{constructor(e){super(),this.urlTree=e}};function wo(t){return rn(new ua(t))}function qS(t){return rn(new C(4e3,!1))}function WS(t){return rn(Q7(!1,$t.GuardRejected))}var mf=class{constructor(e,n){this.urlSerializer=e,this.urlTree=n}lineralizeSegments(e,n){let i=[],r=n.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return T(i);if(r.numberOfChildren>1||!r.children[se])return qS(e.redirectTo);r=r.children[se]}}applyRedirectCommands(e,n,i){let r=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),e,i);if(n.startsWith("/"))throw new zl(r);return r}applyRedirectCreateUrlTree(e,n,i,r){let o=this.createSegmentGroup(e,n.root,i,r);return new En(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){let i={};return Object.entries(e).forEach(([r,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);i[r]=n[a]}else i[r]=o}),i}createSegmentGroup(e,n,i,r){let o=this.createSegments(e,n.segments,i,r),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,i,r)}),new Me(o,s)}createSegments(e,n,i,r){return n.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,r):this.findOrReturn(o,i))}findPosParam(e,n,i){let r=i[n.path.substring(1)];if(!r)throw new C(4001,!1);return r}findOrReturn(e,n){let i=0;for(let r of n){if(r.path===e.path)return n.splice(i),r;i++}return e}},hf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function GS(t,e,n,i,r){let o=xf(t,e,n);return o.matched?(i=xS(e,i),$S(i,e,n,r).pipe(P(s=>s===!0?o:M({},hf)))):T(o)}function xf(t,e,n){if(e.path==="**")return ZS(n);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||n.length>0)?M({},hf):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let r=(e.matcher||$I)(n,t,e);if(!r)return M({},hf);let o={};Object.entries(r.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=r.consumed.length>0?M(M({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:n.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function ZS(t){return{matched:!0,parameters:t.length>0?N7(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function S7(t,e,n,i){return n.length>0&&KS(t,n,i)?{segmentGroup:new Me(e,QS(i,new Me(n,t.children))),slicedSegments:[]}:n.length===0&&XS(t,n,i)?{segmentGroup:new Me(t.segments,YS(t,n,i,t.children)),slicedSegments:n}:{segmentGroup:new Me(t.segments,t.children),slicedSegments:n}}function YS(t,e,n,i){let r={};for(let o of n)if(jl(t,e,o)&&!i[Ii(o)]){let s=new Me([],{});r[Ii(o)]=s}return M(M({},i),r)}function QS(t,e){let n={};n[se]=e;for(let i of t)if(i.path===""&&Ii(i)!==se){let r=new Me([],{});n[Ii(i)]=r}return n}function KS(t,e,n){return n.some(i=>jl(t,e,i)&&Ii(i)!==se)}function XS(t,e,n){return n.some(i=>jl(t,e,i))}function jl(t,e,n){return(t.hasChildren()||e.length>0)&&n.pathMatch==="full"?!1:n.path===""}function JS(t,e,n,i){return Ii(t)!==i&&(i===se||!jl(e,n,t))?!1:xf(e,t,n).matched}function ek(t,e,n){return e.length===0&&!t.children[n]}var pf=class{};function tk(t,e,n,i,r,o,s="emptyOnly"){return new gf(t,e,n,i,r,s,o).recognize()}var ik=31,gf=class{constructor(e,n,i,r,o,s,a){this.injector=e,this.configLoader=n,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new mf(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new C(4002,`'${e.segmentGroup}'`)}recognize(){let e=S7(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(P(n=>{let i=new la([],Object.freeze({}),Object.freeze(M({},this.urlTree.queryParams)),this.urlTree.fragment,{},se,this.rootComponentType,null,{}),r=new Ot(i,n),o=new Ol("",r),s=lS(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,se).pipe(Yt(i=>{if(i instanceof zl)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof ua?this.noMatchError(i):i}))}inheritParamsAndData(e,n){let i=e.value,r=bf(i,n,this.paramsInheritanceStrategy);i.params=Object.freeze(r.params),i.data=Object.freeze(r.data),e.children.forEach(o=>this.inheritParamsAndData(o,i))}processSegmentGroup(e,n,i,r){return i.segments.length===0&&i.hasChildren()?this.processChildren(e,n,i):this.processSegment(e,n,i,i.segments,r,!0).pipe(P(o=>o instanceof Ot?[o]:[]))}processChildren(e,n,i){let r=[];for(let o of Object.keys(i.children))o==="primary"?r.unshift(o):r.push(o);return xe(r).pipe(Fi(o=>{let s=i.children[o],a=CS(n,o);return this.processSegmentGroup(e,a,s,o)}),e2((o,s)=>(o.push(...s),o)),sn(null),Jd(),Ue(o=>{if(o===null)return wo(i);let s=e9(o);return nk(s),T(s)}))}processSegment(e,n,i,r,o,s){return xe(n).pipe(Fi(a=>this.processSegmentAgainstRoute(a._injector??e,n,a,i,r,o,s).pipe(Yt(c=>{if(c instanceof ua)return T(null);throw c}))),di(a=>!!a),Yt(a=>{if(X7(a))return ek(i,r,o)?T(new pf):wo(i);throw a}))}processSegmentAgainstRoute(e,n,i,r,o,s,a){return JS(i,r,o,s)?i.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,i,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s):wo(r):wo(r)}expandSegmentAgainstRouteUsingRedirect(e,n,i,r,o,s){let{matched:a,consumedSegments:c,positionalParamSegments:l,remainingSegments:d}=xf(n,r,o);if(!a)return wo(n);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ik&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(c,r.redirectTo,l);return this.applyRedirects.lineralizeSegments(r,u).pipe(Ue(f=>this.processSegment(e,i,n,f.concat(d),s,!1)))}matchSegmentAgainstRoute(e,n,i,r,o){let s=GS(n,i,r,e,this.urlSerializer);return i.path==="**"&&(n.children={}),s.pipe(rt(a=>a.matched?(e=i._injector??e,this.getChildConfig(e,i,r).pipe(rt(({routes:c})=>{let l=i._loadedInjector??e,{consumedSegments:d,remainingSegments:u,parameters:f}=a,m=new la(d,f,Object.freeze(M({},this.urlTree.queryParams)),this.urlTree.fragment,ok(i),Ii(i),i.component??i._loadedComponent??null,i,sk(i)),{segmentGroup:p,slicedSegments:v}=S7(n,d,u,c);if(v.length===0&&p.hasChildren())return this.processChildren(l,c,p).pipe(P(y=>y===null?null:new Ot(m,y)));if(c.length===0&&v.length===0)return T(new Ot(m,[]));let _=Ii(i)===o;return this.processSegment(l,c,p,v,_?se:o,!0).pipe(P(y=>new Ot(m,y instanceof Ot?[y]:[])))}))):wo(n)))}getChildConfig(e,n,i){return n.children?T({routes:n.children,injector:e}):n.loadChildren?n._loadedRoutes!==void 0?T({routes:n._loadedRoutes,injector:n._loadedInjector}):US(e,n,i,this.urlSerializer).pipe(Ue(r=>r?this.configLoader.loadChildren(e,n).pipe(ze(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):WS(n))):T({routes:[],injector:e})}};function nk(t){t.sort((e,n)=>e.value.outlet===se?-1:n.value.outlet===se?1:e.value.outlet.localeCompare(n.value.outlet))}function rk(t){let e=t.value.routeConfig;return e&&e.path===""}function e9(t){let e=[],n=new Set;for(let i of t){if(!rk(i)){e.push(i);continue}let r=e.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),n.add(r)):e.push(i)}for(let i of n){let r=e9(i.children);e.push(new Ot(i.value,r))}return e.filter(i=>!n.has(i))}function ok(t){return t.data||{}}function sk(t){return t.resolve||{}}function ak(t,e,n,i,r,o){return Ue(s=>tk(t,e,n,i,s.extractedUrl,r,o).pipe(P(({state:a,tree:c})=>Ie(M({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function ck(t,e){return Ue(n=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=n;if(!r.length)return T(n);let o=new Set(r.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of t9(c))s.add(l);let a=0;return xe(s).pipe(Fi(c=>o.has(c)?lk(c,i,t,e):(c.data=bf(c,c.parent,t).resolve,T(void 0))),ze(()=>a++),zr(1),Ue(c=>a===s.size?T(n):Mt))})}function t9(t){let e=t.children.map(n=>t9(n)).flat();return[t,...e]}function lk(t,e,n,i){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!G7(r)&&(o[ma]=r.title),dk(o,t,e,i).pipe(P(s=>(t._resolvedData=s,t.data=bf(t,t.parent,n).resolve,null)))}function dk(t,e,n,i){let r=W4(t);if(r.length===0)return T({});let o={};return xe(r).pipe(Ue(s=>uk(t[s],e,n,i).pipe(di(),ze(a=>{o[s]=a}))),zr(1),Xd(o),Yt(s=>X7(s)?Mt:rn(s)))}function uk(t,e,n,i){let r=ga(e)??i,o=ko(t,r),s=o.resolve?o.resolve(e,n):vi(r,()=>o(e,n));return An(s)}function $4(t){return rt(e=>{let n=t(e);return n?xe(n).pipe(P(()=>e)):T(e)})}var i9=(()=>{let e=class e{buildTitle(i){let r,o=i.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(s=>s.outlet===se);return r}getResolvedTitleForRoute(i){return i.data[ma]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>b(fk),providedIn:"root"});let t=e;return t})(),fk=(()=>{let e=class e extends i9{constructor(i){super(),this.title=i}updateTitle(i){let r=this.buildTitle(i);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(g(F8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ba=new D("",{providedIn:"root",factory:()=>({})}),fa=new D(""),Cf=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=b(w1)}loadComponent(i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return T(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let r=An(i.loadComponent()).pipe(P(n9),ze(s=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=s}),li(()=>{this.componentLoaders.delete(i)})),o=new nn(r,()=>new H).pipe(Ar());return this.componentLoaders.set(i,o),o}loadChildren(i,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return T({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let s=mk(r,this.compiler,i,this.onLoadEndListener).pipe(li(()=>{this.childrenLoaders.delete(r)})),a=new nn(s,()=>new H).pipe(Ar());return this.childrenLoaders.set(r,a),a}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function mk(t,e,n,i){return An(t.loadChildren()).pipe(P(n9),Ue(r=>r instanceof ls||Array.isArray(r)?T(r):xe(e.compileModuleAsync(r))),P(r=>{i&&i(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(n).injector,s=o.get(fa,[],{optional:!0,self:!0}).flat()),{routes:s.map(wf),injector:o}}))}function hk(t){return t&&typeof t=="object"&&"default"in t}function n9(t){return hk(t)?t.default:t}var Df=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>b(pk),providedIn:"root"});let t=e;return t})(),pk=(()=>{let e=class e{shouldProcessUrl(i){return!0}extract(i){return i}merge(i,r){return i}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),r9=new D(""),o9=new D("");function gk(t,e,n){let i=t.get(o9),r=t.get(U);return t.get(S).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,Promise.resolve();let o,s=new Promise(l=>{o=l}),a=r.startViewTransition(()=>(o(),vk(t))),{onViewTransitionCreated:c}=i;return c&&vi(t,()=>c({transition:a,from:e,to:n})),s})}function vk(t){return new Promise(e=>{ru(e,{injector:t})})}var Mf=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new H,this.transitionAbortSubject=new H,this.configLoader=b(Cf),this.environmentInjector=b(yt),this.urlSerializer=b(ha),this.rootContexts=b(pa),this.location=b(gn),this.inputBindingEnabled=b(Vl,{optional:!0})!==null,this.titleStrategy=b(i9),this.options=b(ba,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=b(Df),this.createViewTransition=b(r9,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>T(void 0),this.rootComponentType=null;let i=o=>this.events.next(new ef(o)),r=o=>this.events.next(new tf(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=i}complete(){this.transitions?.complete()}handleNavigationRequest(i){let r=++this.navigationId;this.transitions?.next(Ie(M(M({},this.transitions.value),i),{id:r}))}setupNavigations(i,r,o){return this.transitions=new We({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ia,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Te(s=>s.id!==0),P(s=>Ie(M({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),rt(s=>{this.currentTransition=s;let a=!1,c=!1;return T(s).pipe(ze(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?Ie(M({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),rt(l=>{let d=!i.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=l.extras.onSameUrlNavigation??i.onSameUrlNavigation;if(!d&&u!=="reload"){let f="";return this.events.next(new Sn(l.id,this.urlSerializer.serialize(l.rawUrl),f,kl.IgnoredSameUrlNavigation)),l.resolve(null),Mt}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return T(l).pipe(rt(f=>{let m=this.transitions?.getValue();return this.events.next(new Io(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),m!==this.transitions?.getValue()?Mt:Promise.resolve(f)}),ak(this.environmentInjector,this.configLoader,this.rootComponentType,i.config,this.urlSerializer,this.paramsInheritanceStrategy),ze(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=Ie(M({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let m=new Al(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(m)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:f,extractedUrl:m,source:p,restoredState:v,extras:_}=l,y=new Io(f,this.urlSerializer.serialize(m),p,v);this.events.next(y);let k=q7(this.rootComponentType).snapshot;return this.currentTransition=s=Ie(M({},l),{targetSnapshot:k,urlAfterRedirects:m,extras:Ie(M({},_),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=m,T(s)}else{let f="";return this.events.next(new Sn(l.id,this.urlSerializer.serialize(l.extractedUrl),f,kl.IgnoredByUrlHandlingStrategy)),l.resolve(null),Mt}}),ze(l=>{let d=new Q4(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),P(l=>(this.currentTransition=s=Ie(M({},l),{guards:MS(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),s)),FS(this.environmentInjector,l=>this.events.next(l)),ze(l=>{if(s.guardsResult=l.guardsResult,Eo(l.guardsResult))throw Y7(this.urlSerializer,l.guardsResult);let d=new K4(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(d)}),Te(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",$t.GuardRejected),!1)),$4(l=>{if(l.guards.canActivateChecks.length)return T(l).pipe(ze(d=>{let u=new X4(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),rt(d=>{let u=!1;return T(d).pipe(ck(this.paramsInheritanceStrategy,this.environmentInjector),ze({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",$t.NoDataFromResolver)}}))}),ze(d=>{let u=new J4(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),$4(l=>{let d=u=>{let f=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(u.routeConfig).pipe(ze(m=>{u.component=m}),P(()=>{})));for(let m of u.children)f.push(...d(m));return f};return Bn(d(l.targetSnapshot.root)).pipe(sn(null),Ve(1))}),$4(()=>this.afterPreactivation()),rt(()=>{let{currentSnapshot:l,targetSnapshot:d}=s,u=this.createViewTransition?.(this.environmentInjector,l.root,d.root);return u?xe(u).pipe(P(()=>s)):T(s)}),P(l=>{let d=vS(i.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s=Ie(M({},l),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),ze(()=>{this.events.next(new aa)}),DS(this.rootContexts,i.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Ve(1),ze({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ni(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),le(this.transitionAbortSubject.pipe(ze(l=>{throw l}))),li(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",$t.SupersededByNewNavigation),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),Yt(l=>{if(c=!0,K7(l))this.events.next(new In(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),yS(l)?this.events.next(new ca(l.url)):s.resolve(!1);else{this.events.next(new sa(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0));try{s.resolve(i.errorHandler(l))}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Mt}))}))}cancelNavigationTransition(i,r,o){let s=new In(i.id,this.urlSerializer.serialize(i.extractedUrl),r,o);this.events.next(s),i.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function bk(t){return t!==ia}var _k=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>b(yk),providedIn:"root"});let t=e;return t})(),vf=class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}},yk=(()=>{let e=class e extends vf{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),s9=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>b(wk),providedIn:"root"});let t=e;return t})(),wk=(()=>{let e=class e extends s9{constructor(){super(...arguments),this.location=b(gn),this.urlSerializer=b(ha),this.options=b(ba,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=b(Df),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new En,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=q7(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(i){return this.location.subscribe(r=>{r.type==="popstate"&&i(r.url,r.state)})}handleRouterEvent(i,r){if(i instanceof Io)this.stateMemento=this.createStateMemento();else if(i instanceof Sn)this.rawUrlTree=r.initialUrl;else if(i instanceof Al){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else i instanceof aa?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):i instanceof In&&(i.code===$t.GuardRejected||i.code===$t.NoDataFromResolver)?this.restoreHistory(r):i instanceof sa?this.restoreHistory(r,!0):i instanceof ni&&(this.lastSuccessfulId=i.id,this.currentPageId=this.browserPageId)}setBrowserUrl(i,r){let o=this.urlSerializer.serialize(i);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let s=this.browserPageId,a=M(M({},r.extras.state),this.generateNgRouterState(r.id,s));this.location.replaceState(o,"",a)}else{let s=M(M({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(i,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===i.finalUrl&&s===0&&(this.resetState(i),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(i),this.resetUrlToCurrentUrlTree())}resetState(i){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(i,r){return this.canceledNavigationResolution==="computed"?{navigationId:i,\u0275routerPageId:r}:{navigationId:i}}};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ea=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(ea||{});function a9(t,e){t.events.pipe(Te(n=>n instanceof ni||n instanceof In||n instanceof sa||n instanceof Sn),P(n=>n instanceof ni||n instanceof Sn?ea.COMPLETE:(n instanceof In?n.code===$t.Redirect||n.code===$t.SupersededByNewNavigation:!1)?ea.REDIRECTING:ea.FAILED),Te(n=>n!==ea.REDIRECTING),Ve(1)).subscribe(()=>{e()})}function xk(t){throw t}var Ck={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Dk={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Si=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=b(y1),this.stateManager=b(s9),this.options=b(ba,{optional:!0})||{},this.pendingTasks=b(ir),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=b(Mf),this.urlSerializer=b(ha),this.location=b(gn),this.urlHandlingStrategy=b(Df),this._events=new H,this.errorHandler=this.options.errorHandler||xk,this.navigated=!1,this.routeReuseStrategy=b(_k),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=b(fa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!b(Vl,{optional:!0}),this.eventsSubscription=new ve,this.isNgZoneEnabled=b(S)instanceof S&&S.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:i=>{this.console.warn(i)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let i=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(r,s),r instanceof In&&r.code!==$t.Redirect&&r.code!==$t.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof ni)this.navigated=!0;else if(r instanceof ca){let a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||bk(o.source)};this.scheduleNavigation(a,ia,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Ek(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(i)}resetRootComponentType(i){this.routerState.root.component=i,this.navigationTransitions.rootComponentType=i}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ia,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((i,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(i,"popstate",r)},0)})}navigateToSyncWithBrowser(i,r,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=M({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(i);this.scheduleNavigation(c,r,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(i){this.config=i.map(wf),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(i,r={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=r,d=l?this.currentUrlTree.fragment:a,u=null;switch(c){case"merge":u=M(M({},this.currentUrlTree.queryParams),s);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}u!==null&&(u=this.removeEmptyProps(u));let f;try{let m=o?o.snapshot:this.routerState.snapshot.root;f=H7(m)}catch{(typeof i[0]!="string"||!i[0].startsWith("/"))&&(i=[]),f=this.currentUrlTree.root}return B7(f,i,u,d??null)}navigateByUrl(i,r={skipLocationChange:!1}){let o=Eo(i)?i:this.parseUrl(i),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,ia,null,r)}navigate(i,r={skipLocationChange:!1}){return Mk(i),this.navigateByUrl(this.createUrlTree(i,r),r)}serializeUrl(i){return this.urlSerializer.serialize(i)}parseUrl(i){try{return this.urlSerializer.parse(i)}catch{return this.urlSerializer.parse("/")}}isActive(i,r){let o;if(r===!0?o=M({},Ck):r===!1?o=M({},Dk):o=r,Eo(i))return C7(this.currentUrlTree,i,o);let s=this.parseUrl(i);return C7(this.currentUrlTree,s,o)}removeEmptyProps(i){return Object.entries(i).reduce((r,[o,s])=>(s!=null&&(r[o]=s),r),{})}scheduleNavigation(i,r,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,l,d;a?(c=a.resolve,l=a.reject,d=a.promise):d=new Promise((f,m)=>{c=f,l=m});let u=this.pendingTasks.add();return a9(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:i,extras:s,resolve:c,reject:l,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(f=>Promise.reject(f))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Mk(t){for(let e=0;e{let e=class e{constructor(i,r,o,s,a,c){this.router=i,this.route=r,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new H,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=i.events.subscribe(d=>{d instanceof ni&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(i){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",i)}ngOnChanges(i){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(i){i!=null?(this.commands=Array.isArray(i)?i:[i],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(i,r,o,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(i!==0||r||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let i=this.urlTree;this.href=i!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(i)):null;let r=this.href===null?null:J5(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(i,r){let o=this.renderer,s=this.el.nativeElement;r!==null?o.setAttribute(s,i,r):o.removeAttribute(s,i)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(r){return new(r||e)(h(Si),h(kn),gi("tabindex"),h(bi),h(V),h(Ci))},e.\u0275dir=N({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&Qe("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&He("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[x.HasDecoratorInputTransform,"preserveFragment","preserveFragment",_e],skipLocationChange:[x.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",_e],replaceUrl:[x.HasDecoratorInputTransform,"replaceUrl","replaceUrl",_e],routerLink:"routerLink"},standalone:!0,features:[Ze,Re]});let t=e;return t})(),c9=(()=>{let e=class e{get isActive(){return this._isActive}constructor(i,r,o,s,a){this.router=i,this.element=r,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ie,this.routerEventsSubscription=i.events.subscribe(c=>{c instanceof ni&&this.update()})}ngAfterContentInit(){T(this.links.changes,T(null)).pipe(ci()).subscribe(i=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let i=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=xe(i).pipe(ci()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(i){let r=Array.isArray(i)?i:i.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(i){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let i=this.hasActiveLinks();this._isActive!==i&&(this._isActive=i,this.cdr.markForCheck(),this.classes.forEach(r=>{i?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),i&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(i))})}isLinkActive(i){let r=Ik(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let s=o.urlTree;return s?i.isActive(s,r):!1}}hasActiveLinks(){let i=this.isLinkActive(this.router);return this.link&&i(this.link)||this.links.some(i)}};e.\u0275fac=function(r){return new(r||e)(h(Si),h(V),h(bi),h(st),h(Ll,8))},e.\u0275dir=N({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,s){if(r&1&&Oe(s,Ll,5),r&2){let a;re(a=oe())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Re]});let t=e;return t})();function Ik(t){return!!t.paths}var Pl=class{},l9=(()=>{let e=class e{preload(i,r){return r().pipe(Yt(()=>T(null)))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Sk=(()=>{let e=class e{constructor(i,r,o,s,a){this.router=i,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Te(i=>i instanceof ni),Fi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(i,r){let o=[];for(let s of r){s.providers&&!s._injector&&(s._injector=b1(s.providers,i,`Route: ${s.path}`));let a=s._injector??i,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return xe(o).pipe(ci())}preloadConfig(i,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(i,r):o=T(null);let s=o.pipe(Ue(a=>a===null?T(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??i,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);return xe([s,a]).pipe(ci())}else return s})}};e.\u0275fac=function(r){return new(r||e)(g(Si),g(w1),g(yt),g(Pl),g(Cf))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),d9=new D(""),kk=(()=>{let e=class e{constructor(i,r,o,s,a={}){this.urlSerializer=i,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||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(i=>{i instanceof Io?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=i.navigationTrigger,this.restoredId=i.restoredState?i.restoredState.navigationId:0):i instanceof ni?(this.lastId=i.id,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.urlAfterRedirects).fragment)):i instanceof Sn&&i.code===kl.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(i=>{i instanceof Tl&&(i.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(i.position):i.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(i.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(i,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Tl(i,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(r){ws()},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function u9(t,...e){return bs([{provide:fa,multi:!0,useValue:t},[],{provide:kn,useFactory:f9,deps:[Si]},{provide:Ds,multi:!0,useFactory:m9},e.map(n=>n.\u0275providers)])}function f9(t){return t.routerState.root}function Ao(t,e){return{\u0275kind:t,\u0275providers:e}}function m9(){let t=b(xt);return e=>{let n=t.get(qi);if(e!==n.components[0])return;let i=t.get(Si),r=t.get(h9);t.get(Ef)===1&&i.initialNavigation(),t.get(p9,null,de.Optional)?.setUpPreloading(),t.get(d9,null,de.Optional)?.init(),i.resetRootComponentType(n.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var h9=new D("",{factory:()=>new H}),Ef=new D("",{providedIn:"root",factory:()=>1});function Ak(){return Ao(2,[{provide:Ef,useValue:0},{provide:D1,multi:!0,deps:[xt],useFactory:e=>{let n=e.get(f8,Promise.resolve());return()=>n.then(()=>new Promise(i=>{let r=e.get(Si),o=e.get(h9);a9(r,()=>{i(!0)}),e.get(Mf).afterPreactivation=()=>(i(!0),o.closed?T(void 0):o),r.initialNavigation()}))}}])}function Tk(){return Ao(3,[{provide:D1,multi:!0,useFactory:()=>{let e=b(Si);return()=>{e.setUpLocationChangeListener()}}},{provide:Ef,useValue:2}])}var p9=new D("");function Nk(t){return Ao(0,[{provide:p9,useExisting:Sk},{provide:Pl,useExisting:t}])}function g9(){return Ao(6,[{provide:Ci,useClass:wu}])}function Rk(){return Ao(8,[I7,{provide:Vl,useExisting:I7}])}function Ok(t){let e=[{provide:r9,useValue:gk},{provide:o9,useValue:M({skipNextTransition:!!t?.skipInitialTransition},t)}];return Ao(9,e)}var k7=new D("ROUTER_FORROOT_GUARD"),Fk=[gn,{provide:ha,useClass:ra},Si,pa,{provide:kn,useFactory:f9,deps:[Si]},Cf,[]],If=(()=>{let e=class e{constructor(i){}static forRoot(i,r){return{ngModule:e,providers:[Fk,[],{provide:fa,multi:!0,useValue:i},{provide:k7,useFactory:Vk,deps:[[Si,new vs,new a1]]},{provide:ba,useValue:r||{}},r?.useHash?Lk():Pk(),zk(),r?.preloadingStrategy?Nk(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?jk(r):[],r?.bindToComponentInputs?Rk().\u0275providers:[],r?.enableViewTransitions?Ok().\u0275providers:[],Hk()]}}static forChild(i){return{ngModule:e,providers:[{provide:fa,multi:!0,useValue:i}]}}};e.\u0275fac=function(r){return new(r||e)(g(k7,8))},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})();function zk(){return{provide:d9,useFactory:()=>{let t=b(p8),e=b(S),n=b(ba),i=b(Mf),r=b(ha);return n.scrollOffset&&t.setOffset(n.scrollOffset),new kk(r,i,t,e,n)}}}function Lk(){return{provide:Ci,useClass:wu}}function Pk(){return{provide:Ci,useClass:yu}}function Vk(t){return"guarded"}function jk(t){return[t.initialNavigation==="disabled"?Tk().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Ak().\u0275providers:[]]}var A7=new D("");function Hk(){return[{provide:A7,useFactory:m9},{provide:Ds,multi:!0,useExisting:A7}]}var v9=["mat-button",""],b9=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],_9=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Uk='.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(100% + 4px);width:calc(100% + 4px);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{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.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)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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}.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 .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)}',$k=".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}";var qk=new D("MAT_BUTTON_CONFIG");var Wk=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],y9=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(i){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,i)}get disableRipple(){return this._disableRipple}set disableRipple(i){this._disableRipple=i,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._updateRippleDisabled()}constructor(i,r,o,s){this._elementRef=i,this._platform=r,this._ngZone=o,this._animationMode=s,this._focusMonitor=b(Z1),this._rippleLoader=b(up),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=b(qk,{optional:!0}),c=i.nativeElement,l=c.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(c,{className:"mat-mdc-button-ripple"});for(let{attribute:d,mdcClasses:u}of Wk)c.hasAttribute(d)&&l.add(...u)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(i="program",r){i?this._focusMonitor.focusVia(this._elementRef.nativeElement,i,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(r){ws()},e.\u0275dir=N({type:e,inputs:{color:"color",disableRipple:[x.HasDecoratorInputTransform,"disableRipple","disableRipple",_e],disabled:[x.HasDecoratorInputTransform,"disabled","disabled",_e],ariaDisabled:[x.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",_e],disabledInteractive:[x.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",_e]},features:[Ze]});let t=e;return t})();var Gk=(()=>{let e=class e extends y9{constructor(i,r,o,s){super(i,r,o,s),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}};e.\u0275fac=function(r){ws()},e.\u0275dir=N({type:e,inputs:{tabIndex:[x.HasDecoratorInputTransform,"tabIndex","tabIndex",i=>i==null?void 0:ao(i)]},features:[Ze,Ce]});let t=e;return t})(),w9=(()=>{let e=class e extends y9{constructor(i,r,o,s){super(i,r,o,s)}};e.\u0275fac=function(r){return new(r||e)(h(V),h(De),h(S),h(gt,8))},e.\u0275cmp=Y({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(r,o){r&2&&(He("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),rr(o.color?"mat-"+o.color:""),me("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Ce,be],attrs:v9,ngContentSelectors:_9,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(r,o){r&1&&(Be(b9),he(0,"span",0),te(1),E(2,"span",1),te(3,1),I(),te(4,2),he(5,"span",2)(6,"span",3)),r&2&&me("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._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(100% + 4px);width:calc(100% + 4px);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{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.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)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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}.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 .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});let t=e;return t})(),x9=(()=>{let e=class e extends Gk{constructor(i,r,o,s){super(i,r,o,s)}};e.\u0275fac=function(r){return new(r||e)(h(V),h(De),h(S),h(gt,8))},e.\u0275cmp=Y({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(r,o){r&2&&(He("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getDisabledAttribute()),rr(o.color?"mat-"+o.color:""),me("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[Ce,be],attrs:v9,ngContentSelectors:_9,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(r,o){r&1&&(Be(b9),he(0,"span",0),te(1),E(2,"span",1),te(3,1),I(),te(4,2),he(5,"span",2)(6,"span",3)),r&2&&me("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[Uk,$k],encapsulation:2,changeDetection:0});let t=e;return t})();var C9=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,Vs,pe]});let t=e;return t})();var Zk=["*",[["mat-toolbar-row"]]],Yk=["*","mat-toolbar-row"],Qk=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=N({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0});let t=e;return t})(),M9=(()=>{let e=class e{constructor(i,r,o){this._elementRef=i,this._platform=r,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}};e.\u0275fac=function(r){return new(r||e)(h(V),h(De),h(U))},e.\u0275cmp=Y({type:e,selectors:[["mat-toolbar"]],contentQueries:function(r,o,s){if(r&1&&Oe(s,Qk,5),r&2){let a;re(a=oe())&&(o._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(r,o){r&2&&(rr(o.color?"mat-"+o.color:""),me("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[be],ngContentSelectors:Yk,decls:2,vars:0,template:function(r,o){r&1&&(Be(Zk),te(0),te(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0});let t=e;return t})();var E9=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,pe]});let t=e;return t})();var Hl=(()=>{let e=class e{constructor(i,r,o){this.matIconRegistry=i,this.domSanitizer=r,this.faLibrary=o,this.title="g4t-download";let s={viewBox:"0 0 128 128"};this.matIconRegistry.addSvgIcon("chrome4test",this.domSanitizer.bypassSecurityTrustResourceUrl("assets/logo.svg"),s),this.faLibrary.addIcons(V8,P8,L8)}};e.\u0275fac=function(r){return new(r||e)(h(d4),h(lr),h(j4))},e.\u0275cmp=Y({type:e,selectors:[["app-root"]],decls:18,vars:0,consts:[["mat-stroked-button","","color","primary","routerLink","/latest","routerLinkActive","mat-accent","ariaCurrentWhenActive","page",1,"mr-1"],["mat-stroked-button","","color","primary","routerLink","/milestone","routerLinkActive","mat-accent","ariaCurrentWhenActive","page",1,"mr-1"],["mat-stroked-button","","color","primary","routerLink","/about","routerLinkActive","mat-accent","ariaCurrentWhenActive","page"],[1,"tab-spacer"]],template:function(r,o){r&1&&(E(0,"mat-toolbar")(1,"button",0)(2,"mat-icon"),G(3,"download"),I(),G(4," Download latest "),I(),E(5,"button",1)(6,"mat-icon"),G(7,"download"),I(),G(8," Download milestones "),I(),E(9,"button",2)(10,"mat-icon"),G(11,"info"),I(),G(12," Info "),I(),he(13,"span",3),E(14,"span")(15,"h3"),G(16,"Download Chrome for testing"),I()()(),he(17,"router-outlet"))},dependencies:[yf,Ll,c9,w9,po,M9],styles:[".tab-spacer[_ngcontent-%COMP%]{flex:1 1 auto}"]});let t=e;return t})();var I9=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,At,pe]});let t=e;return t})();var Sf=class{constructor(e){this._box=e,this._destroyed=new H,this._resizeSubject=new H,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(n=>this._resizeSubject.next(n)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new K(n=>{let i=this._resizeSubject.subscribe(n);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),i.unsubscribe(),this._elementObservables.delete(e)}}).pipe(Te(n=>n.some(i=>i.target===e)),mc({bufferSize:1,refCount:!0}),le(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},S9=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=b(S),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,i]of this._observers)i.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(i,r){let o=r?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Sf(o)),this._observers.get(o).observe(i)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var J=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(J||{}),ki="*";function ya(t,e){return{type:J.Trigger,name:t,definitions:e,options:{}}}function wa(t,e=null){return{type:J.Animate,styles:e,timings:t}}function k9(t,e=null){return{type:J.Sequence,steps:t,options:e}}function Ai(t){return{type:J.Style,styles:t,offset:null}}function Bl(t,e,n){return{type:J.State,name:t,styles:e,options:n}}function To(t,e,n=null){return{type:J.Transition,expr:t,animation:e,options:n}}function A9(t=null){return{type:J.AnimateChild,options:t}}function T9(t,e,n=null){return{type:J.Query,selector:t,animation:e,options:n}}var Tn=class{constructor(e=0,n=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+n}_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){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(i=>i()),n.length=0}},_a=class{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 n=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==o&&this._onFinish()}),s.onDestroy(()=>{++i==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){let n=e*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,n/i.totalTime):1;i.setPosition(r)})}getPosition(){let e=this.players.reduce((n,i)=>n===null||i.totalTime>n.totalTime?i:n,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(i=>i()),n.length=0}},Ul="!";var Xk=["notch"],Jk=["matFormFieldNotchedOutline",""],eA=["*"],tA=["textField"],iA=["iconPrefixContainer"],nA=["textPrefixContainer"];function rA(t,e){t&1&&he(0,"span",16)}function oA(t,e){if(t&1&&(E(0,"label",14),te(1,1),ue(2,rA,1,0,"span",15),I()),t&2){let n=ke(2);fe("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),He("for",n._control.id),R(2),Ae(2,!n.hideRequiredMarker&&n._control.required?2:-1)}}function sA(t,e){if(t&1&&ue(0,oA,3,5,"label",14),t&2){let n=ke();Ae(0,n._hasFloatingLabel()?0:-1)}}function aA(t,e){t&1&&he(0,"div",17)}function cA(t,e){}function lA(t,e){if(t&1&&ue(0,cA,0,0,"ng-template",9),t&2){ke(2);let n=pn(1);fe("ngTemplateOutlet",n)}}function dA(t,e){if(t&1&&(E(0,"div",5),ue(1,lA,1,1,null,9),I()),t&2){let n=ke();fe("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),R(),Ae(1,n._forceDisplayInfixLabel()?-1:1)}}function uA(t,e){t&1&&(E(0,"div",18,19),te(2,2),I())}function fA(t,e){t&1&&(E(0,"div",20,21),te(2,3),I())}function mA(t,e){}function hA(t,e){if(t&1&&ue(0,mA,0,0,"ng-template",9),t&2){ke();let n=pn(1);fe("ngTemplateOutlet",n)}}function pA(t,e){t&1&&(E(0,"div",22),te(1,4),I())}function gA(t,e){t&1&&(E(0,"div",23),te(1,5),I())}function vA(t,e){t&1&&he(0,"div",12)}function bA(t,e){if(t&1&&(E(0,"div",24),te(1,6),I()),t&2){let n=ke();fe("@transitionMessages",n._subscriptAnimationState)}}function _A(t,e){if(t&1&&(E(0,"mat-hint",26),G(1),I()),t&2){let n=ke(2);fe("id",n._hintLabelId),R(),Dt(n.hintLabel)}}function yA(t,e){if(t&1&&(E(0,"div",25),ue(1,_A,2,2,"mat-hint",26),te(2,7),he(3,"div",27),te(4,8),I()),t&2){let n=ke();fe("@transitionMessages",n._subscriptAnimationState),R(),Ae(1,n.hintLabel?1:-1)}}var wA=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],xA=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"],ql=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=N({type:e,selectors:[["mat-label"]],standalone:!0});let t=e;return t})();var CA=new D("MatError");var DA=0,N9=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${DA++}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=N({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(r,o){r&2&&(or("id",o.id),He("align",null),me("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let t=e;return t})(),MA=new D("MatPrefix");var EA=new D("MatSuffix");var j9=new D("FloatingLabelParent"),R9=(()=>{let e=class e{get floating(){return this._floating}set floating(i){this._floating=i,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(i){this._monitorResize=i,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(i){this._elementRef=i,this._floating=!1,this._monitorResize=!1,this._resizeObserver=b(S9),this._ngZone=b(S),this._parent=b(j9),this._resizeSubscription=new ve}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return IA(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(r){return new(r||e)(h(V))},e.\u0275dir=N({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(r,o){r&2&&me("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let t=e;return t})();function IA(t){let e=t;if(e.offsetParent!==null)return e.scrollWidth;let n=e.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);let i=n.scrollWidth;return n.remove(),i}var O9="mdc-line-ripple--active",$l="mdc-line-ripple--deactivating",F9=(()=>{let e=class e{constructor(i,r){this._elementRef=i,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains($l);o.propertyName==="opacity"&&a&&s.remove(O9,$l)},r.runOutsideAngular(()=>{i.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let i=this._elementRef.nativeElement.classList;i.remove($l),i.add(O9)}deactivate(){this._elementRef.nativeElement.classList.add($l)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(r){return new(r||e)(h(V),h(S))},e.\u0275dir=N({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let t=e;return t})(),z9=(()=>{let e=class e{constructor(i,r){this._elementRef=i,this._ngZone=r,this.open=!1}ngAfterViewInit(){let i=this._elementRef.nativeElement.querySelector(".mdc-floating-label");i?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(i){!this.open||!i?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${i}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(r){return new(r||e)(h(V),h(S))},e.\u0275cmp=Y({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,o){if(r&1&&et(Xk,5),r&2){let s;re(s=oe())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,o){r&2&&me("mdc-notched-outline--notched",o.open)},inputs:{open:[x.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[be],attrs:Jk,ngContentSelectors:eA,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(r,o){r&1&&(Be(),he(0,"div",0),E(1,"div",1,2),te(3),I(),he(4,"div",3))},encapsulation:2,changeDetection:0});let t=e;return t})(),SA={transitionMessages:ya("transitionMessages",[Bl("enter",Ai({opacity:1,transform:"translateY(0%)"})),To("void => enter",[Ai({opacity:0,transform:"translateY(-5px)"}),wa("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},kf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=N({type:e});let t=e;return t})();var Af=new D("MatFormField"),kA=new D("MAT_FORM_FIELD_DEFAULT_OPTIONS"),L9=0,P9="fill",AA="auto",V9="fixed",TA="translateY(-50%)",H9=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(i){this._hideRequiredMarker=yn(i)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||AA}set floatLabel(i){i!==this._floatLabel&&(this._floatLabel=i,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(i){let r=this._appearance,o=i||this._defaults?.appearance||P9;this._appearance=o,this._appearance==="outline"&&this._appearance!==r&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||V9}set subscriptSizing(i){this._subscriptSizing=i||this._defaults?.subscriptSizing||V9}get hintLabel(){return this._hintLabel}set hintLabel(i){this._hintLabel=i,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(i){this._explicitFormFieldControl=i}constructor(i,r,o,s,a,c,l,d){this._elementRef=i,this._changeDetectorRef=r,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=c,this._animationMode=l,this._hideRequiredMarker=!1,this.color="primary",this._appearance=P9,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${L9++}`,this._hintLabelId=`mat-mdc-hint-${L9++}`,this._subscriptAnimationState="",this._destroyed=new H,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=!!c?.hideRequiredMarker,c.color&&(this.color=c.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let i=this._control;i.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${i.controlType}`),i.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),i.ngControl&&i.ngControl.valueChanges&&i.ngControl.valueChanges.pipe(le(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(i=>!i._isText),this._hasTextPrefix=!!this._prefixChildren.find(i=>i._isText),this._hasIconSuffix=!!this._suffixChildren.find(i=>!i._isText),this._hasTextSuffix=!!this._suffixChildren.find(i=>i._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Oi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(le(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(le(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(i){let r=this._control?this._control.ngControl:null;return r&&r[i]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let i=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&i.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let r=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;r?i.push(r.id):this._hintLabel&&i.push(this._hintLabelId),o&&i.push(o.id)}else this._errorChildren&&i.push(...this._errorChildren.map(r=>r.id));this._control.setDescribedByIds(i)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let i=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){i.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let r=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=r?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0,c=this._dir.value==="rtl"?"-1":"1",l=`${s+a}px`,u=`calc(${c} * (${l} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;i.style.transform=`var( + --mat-mdc-form-field-label-transform, + ${TA} translateX(${u}) + )`}_isAttachedToDom(){let i=this._elementRef.nativeElement;if(i.getRootNode){let r=i.getRootNode();return r&&r!==i}return document.documentElement.contains(i)}};e.\u0275fac=function(r){return new(r||e)(h(V),h(st),h(S),h(ti),h(De),h(kA,8),h(gt,8),h(U))},e.\u0275cmp=Y({type:e,selectors:[["mat-form-field"]],contentQueries:function(r,o,s){if(r&1&&(Oe(s,ql,5),Oe(s,ql,7),Oe(s,kf,5),Oe(s,MA,5),Oe(s,EA,5),Oe(s,CA,5),Oe(s,N9,5)),r&2){let a;re(a=oe())&&(o._labelChildNonStatic=a.first),re(a=oe())&&(o._labelChildStatic=a.first),re(a=oe())&&(o._formFieldControl=a.first),re(a=oe())&&(o._prefixChildren=a),re(a=oe())&&(o._suffixChildren=a),re(a=oe())&&(o._errorChildren=a),re(a=oe())&&(o._hintChildren=a)}},viewQuery:function(r,o){if(r&1&&(et(tA,5),et(iA,5),et(nA,5),et(R9,5),et(z9,5),et(F9,5)),r&2){let s;re(s=oe())&&(o._textField=s.first),re(s=oe())&&(o._iconPrefixContainer=s.first),re(s=oe())&&(o._textPrefixContainer=s.first),re(s=oe())&&(o._floatingLabel=s.first),re(s=oe())&&(o._notchedOutline=s.first),re(s=oe())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(r,o){r&2&&me("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[Fe([{provide:Af,useExisting:e},{provide:j9,useExisting:e}]),be],ngContentSelectors:xA,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(r,o){if(r&1&&(Be(wA),ue(0,sA,1,1,"ng-template",null,0,xs),E(2,"div",1,2),Qe("click",function(a){return o._control.onContainerClick(a)}),ue(4,aA,1,0,"div",3),E(5,"div",4),ue(6,dA,2,2,"div",5)(7,uA,3,0,"div",6)(8,fA,3,0,"div",7),E(9,"div",8),ue(10,hA,1,1,null,9),te(11),I(),ue(12,pA,2,0,"div",10)(13,gA,2,0,"div",11),I(),ue(14,vA,1,0,"div",12),I(),E(15,"div",13),ue(16,bA,2,1)(17,yA,5,2),I()),r&2){let s;R(2),me("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),R(2),Ae(4,!o._hasOutline()&&!o._control.disabled?4:-1),R(2),Ae(6,o._hasOutline()?6:-1),R(),Ae(7,o._hasIconPrefix?7:-1),R(),Ae(8,o._hasTextPrefix?8:-1),R(2),Ae(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),R(2),Ae(12,o._hasTextSuffix?12:-1),R(),Ae(13,o._hasIconSuffix?13:-1),R(),Ae(14,o._hasOutline()?-1:14),R(),me("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),R(),Ae(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[R9,z9,xu,F9,N9],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[SA.transitionMessages]},changeDetection:0});let t=e;return t})(),Wl=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,At,mo,pe]});let t=e;return t})();function Zl(t){return t&&typeof t.connect=="function"&&!(t instanceof nn)}var No=function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t}(No||{}),xa=new D("_ViewRepeater"),Ro=class{applyChanges(e,n,i,r,o){e.forEachOperation((s,a,c)=>{let l,d;if(s.previousIndex==null){let u=i(s,a,c);l=n.createEmbeddedView(u.templateRef,u.context,u.index),d=No.INSERTED}else c==null?(n.remove(a),d=No.REMOVED):(l=n.get(a),n.move(l,c),d=No.MOVED);o&&o({context:l?.context,operation:d,record:s})})}detach(){}};var Gl=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,n,i=!0,r){this._multiple=e,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new H,n&&n.length&&(e?n.forEach(o=>this._markSelected(o)):this._markSelected(n[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(i=>this._markSelected(i));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}deselect(...e){this._verifyValueAssignment(e),e.forEach(i=>this._unmarkSelected(i));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}setSelection(...e){this._verifyValueAssignment(e);let n=this.selected,i=new Set(e);e.forEach(o=>this._markSelected(o)),n.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let n=this._hasQueuedChanges();return e&&this._emitChangeEvent(),n}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,n){if(this.compareWith){n=n??this._selection;for(let i of n)if(this.compareWith(e,i))return i;return e}else return e}};var RA=20,Ca=(()=>{let e=class e{constructor(i,r,o){this._ngZone=i,this._platform=r,this._scrolled=new H,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(i){this.scrollContainers.has(i)||this.scrollContainers.set(i,i.elementScrolled().subscribe(()=>this._scrolled.next(i)))}deregister(i){let r=this.scrollContainers.get(i);r&&(r.unsubscribe(),this.scrollContainers.delete(i))}scrolled(i=RA){return this._platform.isBrowser?new K(r=>{this._globalSubscription||this._addGlobalListener();let o=i>0?this._scrolled.pipe(uc(i)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):T()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((i,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(i,r){let o=this.getAncestorScrollContainers(i);return this.scrolled(r).pipe(Te(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(i){let r=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,i)&&r.push(s)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(i,r){let o=Gi(r),s=i.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let i=this._getWindow();return Wo(i.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(r){return new(r||e)(g(S),g(De),g(U,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var OA=20,Nn=(()=>{let e=class e{constructor(i,r,o){this._platform=i,this._change=new H,this._changeListener=s=>{this._change.next(s)},this._document=o,r.runOutsideAngular(()=>{if(i.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let i=this._getWindow();i.removeEventListener("resize",this._changeListener),i.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let i={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),i}getViewportRect(){let i=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:i.top,left:i.left,bottom:i.top+o,right:i.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let i=this._document,r=this._getWindow(),o=i.documentElement,s=o.getBoundingClientRect(),a=-s.top||i.body.scrollTop||r.scrollY||o.scrollTop||0,c=-s.left||i.body.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:a,left:c}}change(i=OA){return i>0?this._change.pipe(uc(i)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let i=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:i.innerWidth,height:i.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(r){return new(r||e)(g(De),g(S),g(U,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Oo=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})(),Da=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[wn,Oo,wn,Oo]});let t=e;return t})();var Ma=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Ea=class extends Ma{constructor(e,n,i,r,o){super(),this.component=e,this.viewContainerRef=n,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}},Ia=class extends Ma{constructor(e,n,i,r){super(),this.templateRef=e,this.viewContainerRef=n,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,n=this.context){return this.context=n,super.attach(e)}detach(){return this.context=void 0,super.detach()}},Nf=class extends Ma{constructor(e){super(),this.element=e instanceof V?e.nativeElement:e}},Rf=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Ea)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Ia)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Nf)return this._attachedPortal=e,this.attachDomPortal(e)}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)}};var Yl=class extends Rf{constructor(e,n,i,r,o){super(),this.outletElement=e,this._componentFactoryResolver=n,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let c=this._document.createComment("dom-portal");a.parentNode.insertBefore(c,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=o}attachComponentPortal(e){let i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(e.injector||this._defaultInjector||xt.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 n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=n.indexOf(i);r!==-1&&n.remove(r)}),this._attachedPortal=e,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var B9=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({});let t=e;return t})();var U9=j8(),Of=class{constructor(e,n){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Ke(-this._previousScrollPosition.left),e.style.top=Ke(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,n=this._document.body,i=e.style,r=n.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),U9&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),U9&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let n=this._document.body,i=this._viewportRuler.getViewportSize();return n.scrollHeight>i.height||n.scrollWidth>i.width}};var Ff=class{constructor(e,n,i,r){this._scrollDispatcher=e,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Te(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-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}},Ql=class{enable(){}disable(){}attach(){}};function zf(t,e){return e.some(n=>{let i=t.bottomn.bottom,o=t.rightn.right;return i||r||o||s})}function $9(t,e){return e.some(n=>{let i=t.topn.bottom,o=t.leftn.right;return i||r||o||s})}var Lf=class{constructor(e,n,i,r){this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();zf(n,[{width:i,height:r,bottom:r,right:i,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}},FA=(()=>{let e=class e{constructor(i,r,o,s){this._scrollDispatcher=i,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new Ql,this.close=a=>new Ff(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new Of(this._viewportRuler,this._document),this.reposition=a=>new Lf(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(r){return new(r||e)(g(Ca),g(Nn),g(S),g(U))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kl=class{constructor(e){if(this.scrollStrategy=new Ql,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let n=Object.keys(e);for(let i of n)e[i]!==void 0&&(this[i]=e[i])}}};var Pf=class{constructor(e,n){this.connectionPair=e,this.scrollableViewProperties=n}};var Y9=(()=>{let e=class e{constructor(i){this._attachedOverlays=[],this._document=i}ngOnDestroy(){this.detach()}add(i){this.remove(i),this._attachedOverlays.push(i)}remove(i){let r=this._attachedOverlays.indexOf(i);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(r){return new(r||e)(g(U))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),zA=(()=>{let e=class e extends Y9{constructor(i,r){super(i),this._ngZone=r,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let c=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(o)):c.next(o);break}}}add(i){super.add(i),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)}};e.\u0275fac=function(r){return new(r||e)(g(U),g(S,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),LA=(()=>{let e=class e extends Y9{constructor(i,r,o){super(i),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Jt(s)},this._clickListener=s=>{let a=Jt(s),c=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let d=l.length-1;d>-1;d--){let u=l[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(c))break;let f=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>f.next(s)):f.next(s)}}}add(i){if(super.add(i),!this._isAttached){let 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){let i=this._document.body;i.removeEventListener("pointerdown",this._pointerDownListener,!0),i.removeEventListener("click",this._clickListener,!0),i.removeEventListener("auxclick",this._clickListener,!0),i.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(i.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(i){i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(r){return new(r||e)(g(U),g(De),g(S,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Q9=(()=>{let e=class e{constructor(i,r){this._platform=r,this._document=i}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let i="cdk-overlay-container";if(this._platform.isBrowser||Fs()){let o=this._document.querySelectorAll(`.${i}[platform="server"], .${i}[platform="test"]`);for(let s=0;sthis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new H,this._outsidePointerEvents=new H,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);let n=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(Ve(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),typeof n?.onDestroy=="function"&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let 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=M(M({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Ie(M({},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(){let e=this._config.direction;return e?typeof e=="string"?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;let e=this._pane.style;e.width=Ke(this._config.width),e.height=Ke(this._config.height),e.minWidth=Ke(this._config.minWidth),e.minHeight=Ke(this._config.minHeight),e.maxWidth=Ke(this._config.maxWidth),e.maxHeight=Ke(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let 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(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}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,n,i){let r=fo(n||[]).filter(o=>!!o);r.length&&(i?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(le(Oi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(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(){let 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)}},q9="cdk-overlay-connected-position-bounding-box",PA=/([A-Za-z%]+)$/,jf=class{get positions(){return this._preferredPositions}constructor(e,n,i,r,o){this._viewportRuler=n,this._document=i,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 H,this._resizeSubscription=ve.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(q9),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){this.reapplyLastPosition();return}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();let e=this._originRect,n=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(e,r,a),l=this._getOverlayPoint(c,n,a),d=this._getOverlayFit(l,n,i,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(d,l,i)){o.push({position:a,origin:c,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleAreac&&(c=d,a=l)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_r(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(q9),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,n)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(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,n,i){let r;if(i.originX=="center")r=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;r=i.originX=="start"?s:a}n.left<0&&(r-=n.left);let o;return i.originY=="center"?o=e.top+e.height/2:o=i.originY=="top"?e.top:e.bottom,n.top<0&&(o-=n.top),{x:r,y:o}}_getOverlayPoint(e,n,i){let r;i.overlayX=="center"?r=-n.width/2:i.overlayX==="start"?r=this._isRtl()?-n.width:0:r=this._isRtl()?0:-n.width;let o;return i.overlayY=="center"?o=-n.height/2:o=i.overlayY=="top"?0:-n.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,n,i,r){let o=G9(n),{x:s,y:a}=e,c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(s+=c),l&&(a+=l);let d=0-s,u=s+o.width-i.width,f=0-a,m=a+o.height-i.height,p=this._subtractOverflows(o.width,d,u),v=this._subtractOverflows(o.height,f,m),_=p*v;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:v===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(e,n,i){if(this._hasFlexibleDimensions){let r=i.bottom-n.y,o=i.right-n.x,s=W9(this._overlayRef.getConfig().minHeight),a=W9(this._overlayRef.getConfig().minWidth),c=e.fitsInViewportVertically||s!=null&&s<=r,l=e.fitsInViewportHorizontally||a!=null&&a<=o;return c&&l}return!1}_pushOverlayOnScreen(e,n,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let r=G9(n),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),a=Math.max(e.y+r.height-o.height,0),c=Math.max(o.top-i.top-e.y,0),l=Math.max(o.left-i.left-e.x,0),d=0,u=0;return r.width<=o.width?d=l||-s:d=e.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-p/2)}let c=n.overlayX==="start"&&!r||n.overlayX==="end"&&r,l=n.overlayX==="end"&&!r||n.overlayX==="start"&&r,d,u,f;if(l)f=i.width-e.x+this._viewportMargin,d=e.x-this._viewportMargin;else if(c)u=e.x,d=i.right-e.x;else{let m=Math.min(i.right-e.x+i.left,e.x),p=this._lastBoundingBoxSize.width;d=m*2,u=e.x-m,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-p/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:o}}_setBoundingBoxStyles(e,n){let i=this._calculateBoundingBoxRect(e,n);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Ke(i.height),r.top=Ke(i.top),r.bottom=Ke(i.bottom),r.width=Ke(i.width),r.left=Ke(i.left),r.right=Ke(i.right),n.overlayX==="center"?r.alignItems="center":r.alignItems=n.overlayX==="end"?"flex-end":"flex-start",n.overlayY==="center"?r.justifyContent="center":r.justifyContent=n.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=Ke(o)),s&&(r.maxWidth=Ke(s))}this._lastBoundingBoxSize=i,_r(this._boundingBox.style,r)}_resetBoundingBoxStyles(){_r(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_r(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,n){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();_r(i,this._getExactOverlayY(n,e,d)),_r(i,this._getExactOverlayX(n,e,d))}else i.position="static";let a="",c=this._getOffset(n,"x"),l=this._getOffset(n,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Ke(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Ke(s.maxWidth):o&&(i.maxWidth="")),_r(this._pane.style,i)}_getExactOverlayY(e,n,i){let r={top:"",bottom:""},o=this._getOverlayPoint(n,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=Ke(o.y);return r}_getExactOverlayX(e,n,i){let r={left:"",right:""},o=this._getOverlayPoint(n,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=Ke(o.x);return r}_getScrollVisibility(){let e=this._getOriginRect(),n=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:$9(e,i),isOriginOutsideView:zf(e,i),isOverlayClipped:$9(n,i),isOverlayOutsideView:zf(n,i)}}_subtractOverflows(e,...n){return n.reduce((i,r)=>i-Math.max(r,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.top+n-this._viewportMargin,width:e-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,n){return n==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&fo(e).forEach(n=>{n!==""&&this._appliedPanelClasses.indexOf(n)===-1&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof V)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let n=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+n,height:i,width:n}}};function _r(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function W9(t){if(typeof t!="number"&&t!=null){let[e,n]=t.split(PA);return!n||n==="px"?parseFloat(e):null}return t||null}function G9(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)}}var Z9="cdk-global-overlay-wrapper",Hf=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let n=e.getConfig();this._overlayRef=e,this._width&&!n.width&&e.updateSize({width:this._width}),this._height&&!n.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(Z9),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;let e=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,c=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,f=this._overlayRef.getConfig().direction==="rtl",m="",p="",v="";c?v="flex-start":d==="center"?(v="center",f?p=u:m=u):f?d==="left"||d==="end"?(v="flex-end",m=u):(d==="right"||d==="start")&&(v="flex-start",p=u):d==="left"||d==="start"?(v="flex-start",m=u):(d==="right"||d==="end")&&(v="flex-end",p=u),e.position=this._cssPosition,e.marginLeft=c?"0":m,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=c?"0":p,n.justifyContent=v,n.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,i=n.style;n.classList.remove(Z9),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},VA=(()=>{let e=class e{constructor(i,r,o,s){this._viewportRuler=i,this._document=r,this._platform=o,this._overlayContainer=s}global(){return new Hf}flexibleConnectedTo(i){return new jf(i,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(r){return new(r||e)(g(Nn),g(U),g(De),g(Q9))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),jA=0,Wt=(()=>{let e=class e{constructor(i,r,o,s,a,c,l,d,u,f,m,p){this.scrollStrategies=i,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=c,this._ngZone=l,this._document=d,this._directionality=u,this._location=f,this._outsideClickDispatcher=m,this._animationsModuleType=p}create(i){let r=this._createHostElement(),o=this._createPaneElement(r),s=this._createPortalOutlet(o),a=new Kl(i);return a.direction=a.direction||this._directionality.value,new Vf(s,r,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(i){let r=this._document.createElement("div");return r.id=`cdk-overlay-${jA++}`,r.classList.add("cdk-overlay-pane"),i.appendChild(r),r}_createHostElement(){let i=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalOutlet(i){return this._appRef||(this._appRef=this._injector.get(qi)),new Yl(i,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(r){return new(r||e)(g(FA),g(Q9),g(tr),g(VA),g(zA),g(xt),g(S),g(U),g(ti),g(gn),g(LA),g(gt,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),HA=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],K9=new D("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=b(Wt);return()=>t.scrollStrategies.reposition()}}),Xl=(()=>{let e=class e{constructor(i){this.elementRef=i}};e.\u0275fac=function(r){return new(r||e)(h(V))},e.\u0275dir=N({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let t=e;return t})(),Uf=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(i){this._offsetX=i,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(i){this._offsetY=i,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(i){this._disposeOnNavigation=i}constructor(i,r,o,s,a){this._overlay=i,this._dir=a,this._backdropSubscription=ve.EMPTY,this._attachSubscription=ve.EMPTY,this._detachSubscription=ve.EMPTY,this._positionSubscription=ve.EMPTY,this._disposeOnNavigation=!1,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new ie,this.positionChange=new ie,this.attach=new ie,this.detach=new ie,this.overlayKeydown=new ie,this.overlayOutsideClick=new ie,this._templatePortal=new Ia(r,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(i){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),i.origin&&this.open&&this._position.apply()),i.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=HA);let i=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=i.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=i.detachments().subscribe(()=>this.detach.emit()),i.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!ei(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{this.overlayOutsideClick.next(r)})}_buildConfig(){let i=this._position=this.positionStrategy||this._createPositionStrategy(),r=new Kl({direction:this._dir,positionStrategy:i,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(r.width=this.width),(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(i){let r=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return i.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let i=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(i),i}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Xl?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(i=>{this.backdropClick.emit(i)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(i2(()=>this.positionChange.observers.length>0)).subscribe(i=>{this.positionChange.emit(i),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)(h(Wt),h(Je),h(Ye),h(K9),h(ti,8))},e.\u0275dir=N({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[x.None,"cdkConnectedOverlayOrigin","origin"],positions:[x.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[x.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[x.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[x.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[x.None,"cdkConnectedOverlayWidth","width"],height:[x.None,"cdkConnectedOverlayHeight","height"],minWidth:[x.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[x.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[x.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[x.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[x.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[x.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[x.None,"cdkConnectedOverlayOpen","open"],disableClose:[x.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[x.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[x.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",_e],lockPosition:[x.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",_e],flexibleDimensions:[x.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",_e],growAfterOpen:[x.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",_e],push:[x.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",_e],disposeOnNavigation:[x.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",_e]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Ze,Re]});let t=e;return t})();function BA(t){return()=>t.scrollStrategies.reposition()}var UA={provide:K9,deps:[Wt],useFactory:BA},Jl=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:[Wt,UA],imports:[wn,B9,Da,Da]});let t=e;return t})();function Rn(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function rg(t){return t!=null&&typeof t.length=="number"}var og=new D(""),sg=new D(""),qA=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,td=class{static min(e){return WA(e)}static max(e){return GA(e)}static required(e){return ZA(e)}static requiredTrue(e){return YA(e)}static email(e){return QA(e)}static minLength(e){return KA(e)}static maxLength(e){return XA(e)}static pattern(e){return JA(e)}static nullValidator(e){return ag(e)}static compose(e){return mg(e)}static composeAsync(e){return hg(e)}};function WA(t){return e=>{if(Rn(e.value)||Rn(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n{if(Rn(e.value)||Rn(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function ZA(t){return Rn(t.value)?{required:!0}:null}function YA(t){return t.value===!0?null:{required:!0}}function QA(t){return Rn(t.value)||qA.test(t.value)?null:{email:!0}}function KA(t){return e=>Rn(e.value)||!rg(e.value)?null:e.value.lengthrg(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function JA(t){if(!t)return ag;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),i=>{if(Rn(i.value))return null;let r=i.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function ag(t){return null}function cg(t){return t!=null}function lg(t){return sr(t)?xe(t):t}function dg(t){let e={};return t.forEach(n=>{e=n!=null?M(M({},e),n):e}),Object.keys(e).length===0?null:e}function ug(t,e){return e.map(n=>n(t))}function eT(t){return!t.validate}function fg(t){return t.map(e=>eT(e)?e:n=>e.validate(n))}function mg(t){if(!t)return null;let e=t.filter(cg);return e.length==0?null:function(n){return dg(ug(n,e))}}function Wf(t){return t!=null?mg(fg(t)):null}function hg(t){if(!t)return null;let e=t.filter(cg);return e.length==0?null:function(n){let i=ug(n,e).map(lg);return qo(i).pipe(P(dg))}}function Gf(t){return t!=null?hg(fg(t)):null}function X9(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function pg(t){return t._rawValidators}function gg(t){return t._rawAsyncValidators}function $f(t){return t?Array.isArray(t)?t:[t]:[]}function id(t,e){return Array.isArray(t)?t.includes(e):t===e}function J9(t,e){let n=$f(e);return $f(t).forEach(r=>{id(n,r)||n.push(r)}),n}function eg(t,e){return $f(e).filter(n=>!id(t,n))}var nd=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Wf(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Gf(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,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},zo=class extends nd{get formDirective(){return null}get path(){return null}},rd=class extends nd{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}};var tT={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Qq=Ie(M({},tT),{"[class.ng-submitted]":"isSubmitted"});var Sa="VALID",ed="INVALID",Fo="PENDING",ka="DISABLED";function vg(t){return(ld(t)?t.validators:t)||null}function iT(t){return Array.isArray(t)?Wf(t):t||null}function bg(t,e){return(ld(e)?e.asyncValidators:t)||null}function nT(t){return Array.isArray(t)?Gf(t):t||null}function ld(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function rT(t,e,n){let i=t.controls;if(!(e?Object.keys(i):i).length)throw new C(1e3,"");if(!i[n])throw new C(1001,"")}function oT(t,e,n){t._forEachChild((i,r)=>{if(n[r]===void 0)throw new C(1002,"")})}var od=class{constructor(e,n){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(n)}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===Sa}get invalid(){return this.status===ed}get pending(){return this.status==Fo}get disabled(){return this.status===ka}get enabled(){return this.status!==ka}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(J9(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(J9(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(eg(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(eg(e,this._rawAsyncValidators))}hasValidator(e){return id(this._rawValidators,e)}hasAsyncValidator(e){return id(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(n=>{n.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(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Fo,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=ka,this.errors=null,this._forEachChild(i=>{i.disable(Ie(M({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Ie(M({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=Sa,this._forEachChild(i=>{i.enable(Ie(M({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Ie(M({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!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===Sa||this.status===Fo)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ka:Sa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Fo,this._hasOwnPendingAsyncValidator=!0;let n=lg(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((i,r)=>i&&i._find(r),this)}getError(e,n){let i=n?this.get(n):this;return i&&i.errors?i.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}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 ie,this.statusChanges=new ie}_calculateStatus(){return this._allControlsDisabled()?ka:this.errors?ed:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Fo)?Fo:this._anyControlsHaveStatus(ed)?ed:Sa}_anyControlsHaveStatus(e){return this._anyControls(n=>n.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){ld(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=iT(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=nT(this._rawAsyncValidators)}},sd=class extends od{constructor(e,n,i){super(vg(n),bg(i,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,i={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){oT(this,!0,e),Object.keys(e).forEach(i=>{rT(this,!0,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(i=>{let r=this.controls[i];r&&r.patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((i,r)=>{i.reset(e?e[r]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,i)=>(e[i]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,i)=>i._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let i=this.controls[n];i&&e(i,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,i]of Object.entries(this.controls))if(this.contains(n)&&e(i))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,i,r)=>((i.enabled||this.disabled)&&(n[r]=i.value),n))}_reduceChildren(e,n){let i=e;return this._forEachChild((r,o)=>{i=n(i,r,o)}),i}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var _g=new D("CallSetDisabledState",{providedIn:"root",factory:()=>yg}),yg="always";function qf(t,e,n=yg){Zf(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),aT(t,e),lT(t,e),cT(t,e),sT(t,e)}function tg(t,e,n=!0){let i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),cd(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function ad(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function sT(t,e){if(e.valueAccessor.setDisabledState){let n=i=>{e.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function Zf(t,e){let n=pg(t);e.validator!==null?t.setValidators(X9(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let i=gg(t);e.asyncValidator!==null?t.setAsyncValidators(X9(i,e.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();ad(e._rawValidators,r),ad(e._rawAsyncValidators,r)}function cd(t,e){let n=!1;if(t!==null){if(e.validator!==null){let r=pg(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.validator);o.length!==r.length&&(n=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let r=gg(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.asyncValidator);o.length!==r.length&&(n=!0,t.setAsyncValidators(o))}}}let i=()=>{};return ad(e._rawValidators,i),ad(e._rawAsyncValidators,i),n}function aT(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&wg(t,e)})}function cT(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&wg(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function wg(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function lT(t,e){let n=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function xg(t,e){t==null,Zf(t,e)}function dT(t,e){return cd(t,e)}function Cg(t,e){t._syncPendingControls(),e.forEach(n=>{let i=n.control;i.updateOn==="submit"&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function uT(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var fT={provide:zo,useExisting:us(()=>Yf)},Aa=Promise.resolve(),Yf=(()=>{let e=class e extends zo{constructor(i,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ie,this.form=new sd({},Wf(i),Gf(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){Aa.then(()=>{let r=this._findContainer(i.path);i.control=r.registerControl(i.name,i.control),qf(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){Aa.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){Aa.then(()=>{let r=this._findContainer(i.path),o=new sd({});xg(o,i),r.registerControl(i.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){Aa.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,r){Aa.then(()=>{this.form.get(i.path).setValue(r)})}setValue(i){this.control.setValue(i)}onSubmit(i){return this.submitted=!0,Cg(this.form,this._directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(i){return i.pop(),i.length?this.form.get(i):this.form}};e.\u0275fac=function(r){return new(r||e)(h(og,10),h(sg,10),h(_g,8))},e.\u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&Qe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[x.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Fe([fT]),Ce]});let t=e;return t})();function ig(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function ng(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var mT=class extends od{constructor(e=null,n,i){super(vg(n),bg(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ld(n)&&(n.nonNullable||n.initialValueIsDefault)&&(ng(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ig(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ig(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){ng(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var hT=t=>t instanceof mT;var pT={provide:zo,useExisting:us(()=>Qf)},Qf=(()=>{let e=class e extends zo{constructor(i,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ie,this._setValidators(i),this._setAsyncValidators(r)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(cd(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){let r=this.form.get(i.path);return qf(r,i,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),r}getControl(i){return this.form.get(i.path)}removeControl(i){tg(i.control||null,i,!1),uT(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,r){this.form.get(i.path).setValue(r)}onSubmit(i){return this.submitted=!0,Cg(this.form,this.directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_updateDomValue(){this.directives.forEach(i=>{let r=i.control,o=this.form.get(i.path);r!==o&&(tg(r||null,i),hT(o)&&(qf(o,i,this.callSetDisabledState),i.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){let r=this.form.get(i.path);xg(r,i),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){let r=this.form.get(i.path);r&&dT(r,i)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Zf(this.form,this),this._oldForm&&cd(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(r){return new(r||e)(h(og,10),h(sg,10),h(_g,8))},e.\u0275dir=N({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&Qe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[x.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Fe([pT]),Ce,Re]});let t=e;return t})();var vT=["trigger"],bT=["panel"];function _T(t,e){if(t&1&&(E(0,"span",9),G(1),I()),t&2){let n=ke();R(),Dt(n.placeholder)}}function yT(t,e){t&1&&te(0)}function wT(t,e){if(t&1&&(E(0,"span",11),G(1),I()),t&2){let n=ke(2);R(),Dt(n.triggerValue)}}function xT(t,e){if(t&1&&(E(0,"span",10),ue(1,yT,1,0)(2,wT,2,1),I()),t&2){let n=ke();R(),Ae(1,n.customTrigger?1:2)}}function CT(t,e){if(t&1){let n=B6();i1(),L3(),E(0,"div",12,13),Qe("@transformPanel.done",function(r){A3(n);let o=ke();return T3(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){A3(n);let o=ke();return T3(o._handleKeydown(r))}),te(2,1),I()}if(t&2){let n=ke();P6("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",n._getPanelTheme(),""),fe("ngClass",n.panelClass)("@transformPanel","showing"),He("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}var DT=[[["mat-select-trigger"]],"*"],MT=["mat-select-trigger","*"],ET={transformPanelWrap:ya("transformPanelWrap",[To("* => void",T9("@transformPanel",[A9()],{optional:!0}))]),transformPanel:ya("transformPanel",[Bl("void",Ai({opacity:0,transform:"scale(1, 0.8)"})),To("void => showing",wa("120ms cubic-bezier(0, 0, 0.2, 1)",Ai({opacity:1,transform:"scale(1, 1)"}))),To("* => void",wa("100ms linear",Ai({opacity:0})))])};var Dg=0,Mg=new D("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=b(Wt);return()=>t.scrollStrategies.reposition()}});function IT(t){return()=>t.scrollStrategies.reposition()}var ST=new D("MAT_SELECT_CONFIG"),kT={provide:Mg,deps:[Wt],useFactory:IT},AT=new D("MatSelectTrigger"),Kf=class{constructor(e,n){this.source=e,this.value=n}},Eg=(()=>{let e=class e{_scrollOptionIntoView(i){let r=this.options.toArray()[i];if(r){let o=this.panel.nativeElement,s=lp(i,this.options,this.optionGroups),a=r._getHostElement();i===0&&s===1?o.scrollTop=0:o.scrollTop=dp(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(i){return new Kf(this,i)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(i){this._hideSingleSelectionIndicator=i,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(i){this._placeholder=i,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(td.required)??!1}set required(i){this._required=i,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(i){this._selectionModel,this._multiple=i}get compareWith(){return this._compareWith}set compareWith(i){this._compareWith=i,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(i){this._assignValue(i)&&this._onChange(i)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(i){this._errorStateTracker.matcher=i}get id(){return this._id}set id(i){this._id=i||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(i){this._errorStateTracker.errorState=i}constructor(i,r,o,s,a,c,l,d,u,f,m,p,v,_){this._viewportRuler=i,this._changeDetectorRef=r,this._ngZone=o,this._elementRef=a,this._dir=c,this._parentFormField=u,this.ngControl=f,this._liveAnnouncer=v,this._defaultOptions=_,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(y,k)=>y===k,this._uid=`mat-select-${Dg++}`,this._triggerAriaLabelledBy=null,this._destroy=new H,this.stateChanges=new H,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${Dg++}`,this._panelDoneAnimatingStream=new H,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=Or(()=>{let y=this.options;return y?y.changes.pipe(zi(y),rt(()=>Oi(...y.map(k=>k.onSelectionChange)))):this._ngZone.onStable.pipe(Ve(1),rt(()=>this.optionSelectionChanges))}),this.openedChange=new ie,this._openedStream=this.openedChange.pipe(Te(y=>y),P(()=>{})),this._closedStream=this.openedChange.pipe(Te(y=>!y),P(()=>{})),this.selectionChange=new ie,this.valueChange=new ie,this._trackedModal=null,this._skipPredicate=y=>this.panelOpen?!1:y.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),_?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=_.typeaheadDebounceInterval),this._errorStateTracker=new K1(s,f,d,l,this.stateChanges),this._scrollStrategyFactory=p,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Gl(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Fr(),le(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(le(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(le(this._destroy)).subscribe(i=>{i.added.forEach(r=>r.select()),i.removed.forEach(r=>r.deselect())}),this.options.changes.pipe(zi(null),le(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let i=this._getTriggerAriaLabelledby(),r=this.ngControl;if(i!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=i,i?o.setAttribute("aria-labelledby",i):o.removeAttribute("aria-labelledby")}r&&(this._previousControl!==r.control&&(this._previousControl!==void 0&&r.disabled!==null&&r.disabled!==this.disabled&&(this.disabled=r.disabled),this._previousControl=r.control),this.updateErrorState())}ngOnChanges(i){(i.disabled||i.userAriaDescribedBy)&&this.stateChanges.next(),i.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let i=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!i)return;let r=`${this.id}-panel`;this._trackedModal&&G1(this._trackedModal,"aria-owns",r),Yu(i,"aria-owns",r),this._trackedModal=i}_clearFromModal(){if(!this._trackedModal)return;let i=`${this.id}-panel`;G1(this._trackedModal,"aria-owns",i),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(i){this._assignValue(i)}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let i=this._selectionModel.selected.map(r=>r.viewValue);return this._isRtl()&&i.reverse(),i.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(i){this.disabled||(this.panelOpen?this._handleOpenKeydown(i):this._handleClosedKeydown(i))}_handleClosedKeydown(i){let r=i.keyCode,o=r===40||r===38||r===37||r===39,s=r===13||r===32,a=this._keyManager;if(!a.isTyping()&&s&&!ei(i)||(this.multiple||i.altKey)&&o)i.preventDefault(),this.open();else if(!this.multiple){let c=this.selected;a.onKeydown(i);let l=this.selected;l&&c!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(i){let r=this._keyManager,o=i.keyCode,s=o===40||o===38,a=r.isTyping();if(s&&i.altKey)i.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&r.activeItem&&!ei(i))i.preventDefault(),r.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&i.ctrlKey){i.preventDefault();let c=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(c?l.select():l.deselect())})}else{let c=r.activeItemIndex;r.onKeydown(i),this._multiple&&s&&i.shiftKey&&r.activeItem&&r.activeItemIndex!==c&&r.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ve(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(i){if(this.options.forEach(r=>r.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&i)Array.isArray(i),i.forEach(r=>this._selectOptionByValue(r)),this._sortValues();else{let r=this._selectOptionByValue(i);r?this._keyManager.updateActiveItem(r):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(i){let r=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,i)}catch{return!1}});return r&&this._selectionModel.select(r),r}_assignValue(i){return i!==this._value||this._multiple&&Array.isArray(i)?(this.options&&this._setSelectionByValue(i),this._value=i,!0):!1}_getOverlayWidth(i){return this.panelWidth==="auto"?(i instanceof Xl?i.elementRef:i||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let i of this.options)i._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new $1(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let i=Oi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(le(i)).subscribe(r=>{this._onSelect(r.source,r.isUserInput),r.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Oi(...this.options.map(r=>r._stateChanges)).pipe(le(i)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(i,r){let o=this._selectionModel.isSelected(i);i.value==null&&!this._multiple?(i.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(i.value)):(o!==i.selected&&(i.selected?this._selectionModel.select(i):this._selectionModel.deselect(i)),r&&this._keyManager.setActiveItem(i),this.multiple&&(this._sortValues(),r&&this.focus())),o!==this._selectionModel.isSelected(i)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let i=this.options.toArray();this._selectionModel.sort((r,o)=>this.sortComparator?this.sortComparator(r,o,i):i.indexOf(r)-i.indexOf(o)),this.stateChanges.next()}}_propagateChanges(i){let r;this.multiple?r=this.selected.map(o=>o.value):r=this.selected?this.selected.value:i,this._value=r,this.valueChange.emit(r),this._onChange(r),this.selectionChange.emit(this._getChangeEvent(r)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let i=-1;for(let r=0;r0}focus(i){this._elementRef.nativeElement.focus(i)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let i=this._parentFormField?.getLabelId(),r=i?i+" ":"";return this.ariaLabelledby?r+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let i=this._parentFormField?.getLabelId(),r=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_panelDoneAnimating(i){this.openedChange.emit(i)}setDescribedByIds(i){i.length?this._elementRef.nativeElement.setAttribute("aria-describedby",i.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(r){return new(r||e)(h(Nn),h(st),h(S),h(ap),h(V),h(ti,8),h(Yf,8),h(Qf,8),h(Af,8),h(rd,10),gi("tabindex"),h(Mg),h(X8),h(ST,8))},e.\u0275cmp=Y({type:e,selectors:[["mat-select"]],contentQueries:function(r,o,s){if(r&1&&(Oe(s,AT,5),Oe(s,tl,5),Oe(s,c4,5)),r&2){let a;re(a=oe())&&(o.customTrigger=a.first),re(a=oe())&&(o.options=a),re(a=oe())&&(o.optionGroups=a)}},viewQuery:function(r,o){if(r&1&&(et(vT,5),et(bT,5),et(Uf,5)),r&2){let s;re(s=oe())&&(o.trigger=s.first),re(s=oe())&&(o.panel=s.first),re(s=oe())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(r,o){r&1&&Qe("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),r&2&&(He("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),me("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[x.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[x.HasDecoratorInputTransform,"disabled","disabled",_e],disableRipple:[x.HasDecoratorInputTransform,"disableRipple","disableRipple",_e],tabIndex:[x.HasDecoratorInputTransform,"tabIndex","tabIndex",i=>i==null?0:ao(i)],hideSingleSelectionIndicator:[x.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",_e],placeholder:"placeholder",required:[x.HasDecoratorInputTransform,"required","required",_e],multiple:[x.HasDecoratorInputTransform,"multiple","multiple",_e],disableOptionCentering:[x.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",_e],compareWith:"compareWith",value:"value",ariaLabel:[x.None,"aria-label","ariaLabel"],ariaLabelledby:[x.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[x.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",ao],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Fe([{provide:kf,useExisting:e},{provide:a4,useExisting:e}]),Ze,Re,be],ngContentSelectors:MT,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(r,o){if(r&1&&(Be(DT),E(0,"div",0,1),Qe("click",function(){return o.open()}),E(3,"div",2),ue(4,_T,2,1,"span",3)(5,xT,3,1),I(),E(6,"div",4)(7,"div",5),i1(),E(8,"svg",6),he(9,"path",7),I()()()(),ue(10,CT,3,9,"ng-template",8),Qe("backdropClick",function(){return o.close()})("attach",function(){return o._onAttached()})("detach",function(){return o.close()})),r&2){let s=pn(1);R(3),He("id",o._valueId),R(),Ae(4,o.empty?4:5),R(6),fe("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[Xl,Uf,lo],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow: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);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[ET.transformPanel]},changeDetection:0});let t=e;return t})();var Ig=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:[kT],imports:[At,Jl,l4,pe,Oo,Wl,l4,pe]});let t=e;return t})();function RT(t,e){t&1&&te(0,2)}function OT(t,e){t&1&&(E(0,"thead",0),Ct(1,1),I(),E(2,"tbody",0),Ct(3,2)(4,3),I(),E(5,"tfoot",0),Ct(6,4),I())}function FT(t,e){t&1&&Ct(0,1)(1,2)(2,3)(3,4)}var zT=[[["caption"]],[["colgroup"],["col"]],"*"],LT=["caption","colgroup, col","*"];function im(t){return class extends t{get sticky(){return this._sticky}set sticky(e){let n=this._sticky;this._sticky=yn(e),this._hasStickyChanged=n!==this._sticky}hasStickyChanged(){let e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...e){super(...e),this._sticky=!1,this._hasStickyChanged=!1}}}var ri=new D("CDK_TABLE");var pd=(()=>{let e=class e{constructor(i){this.template=i}};e.\u0275fac=function(r){return new(r||e)(h(Je))},e.\u0275dir=N({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let t=e;return t})(),gd=(()=>{let e=class e{constructor(i){this.template=i}};e.\u0275fac=function(r){return new(r||e)(h(Je))},e.\u0275dir=N({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let t=e;return t})(),Ag=(()=>{let e=class e{constructor(i){this.template=i}};e.\u0275fac=function(r){return new(r||e)(h(Je))},e.\u0275dir=N({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let t=e;return t})(),Xf=class{},PT=im(Xf),Lo=(()=>{let e=class e extends PT{get name(){return this._name}set name(i){this._setNameInput(i)}get stickyEnd(){return this._stickyEnd}set stickyEnd(i){i!==this._stickyEnd&&(this._stickyEnd=i,this._hasStickyChanged=!0)}constructor(i){super(),this._table=i,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(i){i&&(this._name=i,this.cssClassFriendlyName=i.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(r){return new(r||e)(h(ri,8))},e.\u0275dir=N({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(r,o,s){if(r&1&&(Oe(s,pd,5),Oe(s,gd,5),Oe(s,Ag,5)),r&2){let a;re(a=oe())&&(o.cell=a.first),re(a=oe())&&(o.headerCell=a.first),re(a=oe())&&(o.footerCell=a.first)}},inputs:{sticky:"sticky",name:[x.None,"cdkColumnDef","name"],stickyEnd:[x.HasDecoratorInputTransform,"stickyEnd","stickyEnd",_e]},standalone:!0,features:[Fe([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),Ze,Ce]});let t=e;return t})(),ud=class{constructor(e,n){n.nativeElement.classList.add(...e._columnCssClassName)}},Tg=(()=>{let e=class e extends ud{constructor(i,r){super(i,r)}};e.\u0275fac=function(r){return new(r||e)(h(Lo),h(V))},e.\u0275dir=N({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[Ce]});let t=e;return t})();var Ng=(()=>{let e=class e extends ud{constructor(i,r){super(i,r);let o=i._table?._getCellRole();o&&r.nativeElement.setAttribute("role",o)}};e.\u0275fac=function(r){return new(r||e)(h(Lo),h(V))},e.\u0275dir=N({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[Ce]});let t=e;return t})(),fd=class{constructor(){this.tasks=[],this.endTasks=[]}},md=new D("_COALESCED_STYLE_SCHEDULER"),nm=(()=>{let e=class e{constructor(i){this._ngZone=i,this._currentSchedule=null,this._destroyed=new H}schedule(i){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(i)}scheduleEnd(i){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(i)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new fd,this._getScheduleObservable().pipe(le(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let i=this._currentSchedule;this._currentSchedule=new fd;for(let r of i.tasks)r();for(let r of i.endTasks)r()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?xe(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Ve(1))}};e.\u0275fac=function(r){return new(r||e)(g(S))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();var rm=(()=>{let e=class e{constructor(i,r){this.template=i,this._differs=r}ngOnChanges(i){if(!this._columnsDiffer){let r=i.columns&&i.columns.currentValue||[];this._columnsDiffer=this._differs.find(r).create(),this._columnsDiffer.diff(r)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(i){return this instanceof Ta?i.headerCell.template:this instanceof om?i.footerCell.template:i.cell.template}};e.\u0275fac=function(r){return new(r||e)(h(Je),h(_i))},e.\u0275dir=N({type:e,features:[Re]});let t=e;return t})(),Jf=class extends rm{},VT=im(Jf),Ta=(()=>{let e=class e extends VT{constructor(i,r,o){super(i,r),this._table=o}ngOnChanges(i){super.ngOnChanges(i)}};e.\u0275fac=function(r){return new(r||e)(h(Je),h(_i),h(ri,8))},e.\u0275dir=N({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[x.None,"cdkHeaderRowDef","columns"],sticky:[x.None,"cdkHeaderRowDefSticky","sticky"]},standalone:!0,features:[Ce,Re]});let t=e;return t})(),em=class extends rm{},jT=im(em),om=(()=>{let e=class e extends jT{constructor(i,r,o){super(i,r),this._table=o}ngOnChanges(i){super.ngOnChanges(i)}};e.\u0275fac=function(r){return new(r||e)(h(Je),h(_i),h(ri,8))},e.\u0275dir=N({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[x.None,"cdkFooterRowDef","columns"],sticky:[x.None,"cdkFooterRowDefSticky","sticky"]},standalone:!0,features:[Ce,Re]});let t=e;return t})(),vd=(()=>{let e=class e extends rm{constructor(i,r,o){super(i,r),this._table=o}};e.\u0275fac=function(r){return new(r||e)(h(Je),h(_i),h(ri,8))},e.\u0275dir=N({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[x.None,"cdkRowDefColumns","columns"],when:[x.None,"cdkRowDefWhen","when"]},standalone:!0,features:[Ce]});let t=e;return t})(),yr=(()=>{let e=class e{constructor(i){this._viewContainer=i,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(r){return new(r||e)(h(Ye))},e.\u0275dir=N({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let t=e;return t})(),sm=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Y({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[be],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Ct(0,0)},dependencies:[yr],encapsulation:2});let t=e;return t})();var am=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Y({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[be],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Ct(0,0)},dependencies:[yr],encapsulation:2});let t=e;return t})(),Rg=(()=>{let e=class e{constructor(i){this.templateRef=i,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(r){return new(r||e)(h(Je))},e.\u0275dir=N({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let t=e;return t})(),Sg=["top","bottom","left","right"],tm=class{constructor(e,n,i,r,o=!0,s=!0,a){this._isNativeHtmlTable=e,this._stickCellCss=n,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${n}-border-elem-top`,bottom:`${n}-border-elem-bottom`,left:`${n}-border-elem-left`,right:`${n}-border-elem-right`}}clearStickyPositioning(e,n){let i=[];for(let r of e)if(r.nodeType===r.ELEMENT_NODE){i.push(r);for(let o=0;o{for(let r of i)this._removeStickyStyle(r,n)})}updateStickyColumns(e,n,i,r=!0){if(!e.length||!this._isBrowser||!(n.some(o=>o)||i.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=e[0],s=o.children.length,a=this._getCellWidths(o,r),c=this._getStickyStartColumnPositions(a,n),l=this._getStickyEndColumnPositions(a,i),d=n.lastIndexOf(!0),u=i.indexOf(!0),f=this.direction==="rtl",m=f?"right":"left",p=f?"left":"right";for(let v of e)for(let _=0;_n[_]?v:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:u===-1?[]:a.slice(u).map((v,_)=>i[_+u]?v:null).reverse()}))})}stickRows(e,n,i){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let r=i==="bottom"?e.slice().reverse():e,o=i==="bottom"?n.slice().reverse():n,s=[],a=[],c=[];for(let d=0,u=0;d{let i=e.querySelector("tfoot");n.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(e,n){for(let r of n)e.style[r]="",e.classList.remove(this._borderCellCss[r]);Sg.some(r=>n.indexOf(r)===-1&&e.style[r])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,n,i,r){e.classList.add(this._stickCellCss),r&&e.classList.add(this._borderCellCss[n]),e.style[n]=`${i}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let n={top:100,bottom:10,left:1,right:1},i=0;for(let r of Sg)e.style[r]&&(i+=n[r]);return i?`${i}`:""}_getCellWidths(e,n=!0){if(!n&&this._cachedCellWidths.length)return this._cachedCellWidths;let i=[],r=e.children;for(let o=0;o0;o--)n[o]&&(i[o]=r,r+=e[o]);return i}};var hd=new D("CDK_SPL");var cm=(()=>{let e=class e{constructor(i,r){this.viewContainer=i,this.elementRef=r;let o=b(ri);o._rowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(r){return new(r||e)(h(Ye),h(V))},e.\u0275dir=N({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let t=e;return t})(),lm=(()=>{let e=class e{constructor(i,r){this.viewContainer=i,this.elementRef=r;let o=b(ri);o._headerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(r){return new(r||e)(h(Ye),h(V))},e.\u0275dir=N({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let t=e;return t})(),dm=(()=>{let e=class e{constructor(i,r){this.viewContainer=i,this.elementRef=r;let o=b(ri);o._footerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(r){return new(r||e)(h(Ye),h(V))},e.\u0275dir=N({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let t=e;return t})(),um=(()=>{let e=class e{constructor(i,r){this.viewContainer=i,this.elementRef=r;let o=b(ri);o._noDataRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(r){return new(r||e)(h(Ye),h(V))},e.\u0275dir=N({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let t=e;return t})();var fm=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let i=this._elementRef.nativeElement.getAttribute("role"),r=i==="grid"||i==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&r==="cell"?null:r}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(i){this._trackByFn=i}get dataSource(){return this._dataSource}set dataSource(i){this._dataSource!==i&&this._switchDataSource(i)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(i){this._multiTemplateDataRows=i,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(i){this._fixedLayout=i,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(i,r,o,s,a,c,l,d,u,f,m,p){this._differs=i,this._changeDetectorRef=r,this._elementRef=o,this._dir=a,this._platform=l,this._viewRepeater=d,this._coalescedStyleScheduler=u,this._viewportRuler=f,this._stickyPositioningListener=m,this._ngZone=p,this._onDestroy=new H,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasRendered=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new ie,this.viewChange=new We({start:0,end:Number.MAX_VALUE}),s||o.nativeElement.setAttribute("role","table"),this._document=c,this._isServer=!l.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((i,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r),this._viewportRuler.change().pipe(le(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._hasRendered&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(i=>{i?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Zl(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let i=this._dataDiffer.diff(this._renderRows);if(!i){this._updateNoDataRow(),this.contentChanged.next();return}let r=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(i,r,(o,s,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===No.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),i.forEachIdentityChange(o=>{let s=r.get(o.currentIndex);s.context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&S.isInAngularZone()?this._ngZone.onStable.pipe(Ve(1),le(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(i){this._customColumnDefs.add(i)}removeColumnDef(i){this._customColumnDefs.delete(i)}addRowDef(i){this._customRowDefs.add(i)}removeRowDef(i){this._customRowDefs.delete(i)}addHeaderRowDef(i){this._customHeaderRowDefs.add(i),this._headerRowDefChanged=!0}removeHeaderRowDef(i){this._customHeaderRowDefs.delete(i),this._headerRowDefChanged=!0}addFooterRowDef(i){this._customFooterRowDefs.add(i),this._footerRowDefChanged=!0}removeFooterRowDef(i){this._customFooterRowDefs.delete(i),this._footerRowDefChanged=!0}setNoDataRow(i){this._customNoDataRow=i}updateStickyHeaderRowStyles(){let i=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=kg(this._headerRowOutlet,"thead");o&&(o.style.display=i.length?"":"none")}let r=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(i,["top"]),this._stickyStyler.stickRows(i,r,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let i=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=kg(this._footerRowOutlet,"tfoot");o&&(o.style.display=i.length?"":"none")}let r=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(i,["bottom"]),this._stickyStyler.stickRows(i,r,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,r),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let i=this._getRenderedRows(this._headerRowOutlet),r=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...i,...r,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),i.forEach((s,a)=>{this._addStickyColumnStyles([s],this._headerRowDefs[a])}),this._rowDefs.forEach(s=>{let a=[];for(let c=0;c{this._addStickyColumnStyles([s],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.resetStickyChanged())}_outletAssigned(){!this._hasRendered&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasRendered=!0,this._render())}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let r=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||r,this._forceRecalculateCellWidths=r,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let i=[],r=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let c=o&&o.has(a)?o.get(a):[];if(c.length){let l=c.shift();return l.dataIndex=r,l}else return{data:i,rowDef:a,dataIndex:r}})}_cacheColumnDefs(){this._columnDefsByName.clear(),dd(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(r=>{this._columnDefsByName.has(r.name),this._columnDefsByName.set(r.name,r)})}_cacheRowDefs(){this._headerRowDefs=dd(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=dd(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=dd(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let i=this._rowDefs.filter(r=>!r.when);!this.multiTemplateDataRows&&i.length>1,this._defaultRowDef=i[0]}_renderUpdatedColumns(){let i=(a,c)=>a||!!c.getColumnsDiff(),r=this._rowDefs.reduce(i,!1);r&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(i,!1);o&&this._forceRenderHeaderRows();let s=this._footerRowDefs.reduce(i,!1);return s&&this._forceRenderFooterRows(),r||o||s}_switchDataSource(i){this._data=[],Zl(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),i||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=i}_observeRenderChanges(){if(!this.dataSource)return;let i;Zl(this.dataSource)?i=this.dataSource.connect(this):Hn(this.dataSource)?i=this.dataSource:Array.isArray(this.dataSource)&&(i=T(this.dataSource)),this._renderChangeSubscription=i.pipe(le(this._onDestroy)).subscribe(r=>{this._data=r||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((i,r)=>this._renderRow(this._headerRowOutlet,i,r)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((i,r)=>this._renderRow(this._footerRowOutlet,i,r)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(i,r){let o=Array.from(r.columns||[]).map(c=>{let l=this._columnDefsByName.get(c);return l}),s=o.map(c=>c.sticky),a=o.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(i,s,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(i){let r=[];for(let o=0;o!s.when||s.when(r,i));else{let s=this._rowDefs.find(a=>a.when&&a.when(r,i))||this._defaultRowDef;s&&o.push(s)}return o.length,o}_getEmbeddedViewArgs(i,r){let o=i.rowDef,s={$implicit:i.data};return{templateRef:o.template,context:s,index:r}}_renderRow(i,r,o,s={}){let a=i.viewContainer.createEmbeddedView(r.template,s,o);return this._renderCellTemplateForItem(r,s),a}_renderCellTemplateForItem(i,r){for(let o of this._getCellTemplates(i))yr.mostRecentCellOutlet&&yr.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,r);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let i=this._rowOutlet.viewContainer;for(let r=0,o=i.length;r{let o=this._columnDefsByName.get(r);return i.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let i=(r,o)=>r||o.hasStickyChanged();this._headerRowDefs.reduce(i,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(i,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(i,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let i=this._dir?this._dir.value:"ltr";this._stickyStyler=new tm(this._isNativeHtmlTable,this.stickyCssClass,i,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:T()).pipe(le(this._onDestroy)).subscribe(r=>{this._stickyStyler.direction=r,this.updateStickyColumnStyles()})}_getOwnDefs(i){return i.filter(r=>!r._table||r._table===this)}_updateNoDataRow(){let i=this._customNoDataRow||this._noDataRow;if(!i)return;let r=this._rowOutlet.viewContainer.length===0;if(r===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(r){let s=o.createEmbeddedView(i.templateRef),a=s.rootNodes[0];s.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(i._contentClassName))}else o.clear();this._isShowingNoDataRow=r,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(r){return new(r||e)(h(_i),h(st),h(V),gi("role"),h(ti,8),h(U),h(De),h(xa),h(md),h(Nn),h(hd,12),h(S,8))},e.\u0275cmp=Y({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(r,o,s){if(r&1&&(Oe(s,Rg,5),Oe(s,Lo,5),Oe(s,vd,5),Oe(s,Ta,5),Oe(s,om,5)),r&2){let a;re(a=oe())&&(o._noDataRow=a.first),re(a=oe())&&(o._contentColumnDefs=a),re(a=oe())&&(o._contentRowDefs=a),re(a=oe())&&(o._contentHeaderRowDefs=a),re(a=oe())&&(o._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(r,o){r&2&&me("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[x.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",_e],fixedLayout:[x.HasDecoratorInputTransform,"fixedLayout","fixedLayout",_e]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[Fe([{provide:ri,useExisting:e},{provide:xa,useClass:Ro},{provide:md,useClass:nm},{provide:hd,useValue:null}]),Ze,be],ngContentSelectors:LT,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(r,o){r&1&&(Be(zT),te(0),te(1,1),ue(2,RT,1,0)(3,OT,7,0)(4,FT,4,0)),r&2&&(R(2),Ae(2,o._isServer?2:-1),R(),Ae(3,o._isNativeHtmlTable?3:4))},dependencies:[lm,cm,um,dm],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let t=e;return t})();function dd(t,e){return t.concat(Array.from(e))}function kg(t,e){let n=e.toUpperCase(),i=t.viewContainer.element.nativeElement;for(;i;){let r=i.nodeType===1?i.nodeName:null;if(r===n)return i;if(r==="TABLE")break;i=i.parentNode}return null}var Og=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[Da]});let t=e;return t})();function HT(t,e){t&1&&te(0,2)}function BT(t,e){t&1&&(E(0,"thead",0),Ct(1,1),I(),E(2,"tbody",2),Ct(3,3)(4,4),I(),E(5,"tfoot",0),Ct(6,5),I())}function UT(t,e){t&1&&Ct(0,1)(1,3)(2,4)(3,5)}var $T=[[["caption"]],[["colgroup"],["col"]],"*"],qT=["caption","colgroup, col","*"];var Fg=(()=>{let e=class e extends fm{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275cmp=Y({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(r,o){r&2&&me("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[Fe([{provide:fm,useExisting:e},{provide:ri,useExisting:e},{provide:md,useClass:nm},{provide:xa,useClass:Ro},{provide:hd,useValue:null}]),Ce,be],ngContentSelectors:qT,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(r,o){r&1&&(Be($T),te(0),te(1,1),ue(2,HT,1,0)(3,BT,7,0)(4,UT,4,0)),r&2&&(R(2),Ae(2,o._isServer?2:-1),R(),Ae(3,o._isNativeHtmlTable?3:4))},dependencies:[lm,cm,um,dm],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let t=e;return t})(),zg=(()=>{let e=class e extends pd{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[Fe([{provide:pd,useExisting:e}]),Ce]});let t=e;return t})(),Lg=(()=>{let e=class e extends gd{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[Fe([{provide:gd,useExisting:e}]),Ce]});let t=e;return t})();var Pg=(()=>{let e=class e extends Lo{get name(){return this._name}set name(i){this._setNameInput(i)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:[x.None,"matColumnDef","name"]},standalone:!0,features:[Fe([{provide:Lo,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),Ce]});let t=e;return t})(),Vg=(()=>{let e=class e extends Tg{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[Ce]});let t=e;return t})();var jg=(()=>{let e=class e extends Ng{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[Ce]});let t=e;return t})();var Hg=(()=>{let e=class e extends Ta{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[x.None,"matHeaderRowDef","columns"],sticky:[x.None,"matHeaderRowDefSticky","sticky"]},standalone:!0,features:[Fe([{provide:Ta,useExisting:e}]),Ce]});let t=e;return t})();var Bg=(()=>{let e=class e extends vd{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[x.None,"matRowDefColumns","columns"],when:[x.None,"matRowDefWhen","when"]},standalone:!0,features:[Fe([{provide:vd,useExisting:e}]),Ce]});let t=e;return t})(),Ug=(()=>{let e=class e extends sm{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275cmp=Y({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[Fe([{provide:sm,useExisting:e}]),Ce,be],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Ct(0,0)},dependencies:[yr],encapsulation:2});let t=e;return t})();var $g=(()=>{let e=class e extends am{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=ot(e)))(o||e)}})(),e.\u0275cmp=Y({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[Fe([{provide:am,useExisting:e}]),Ce,be],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Ct(0,0)},dependencies:[yr],encapsulation:2});let t=e;return t})();var qg=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,Og,pe]});let t=e;return t})();function Wg(t){return new C(3e3,!1)}function GT(){return new C(3100,!1)}function ZT(){return new C(3101,!1)}function YT(t){return new C(3001,!1)}function QT(t){return new C(3003,!1)}function KT(t){return new C(3004,!1)}function XT(t,e){return new C(3005,!1)}function JT(){return new C(3006,!1)}function eN(){return new C(3007,!1)}function tN(t,e){return new C(3008,!1)}function iN(t){return new C(3002,!1)}function nN(t,e,n,i,r){return new C(3010,!1)}function rN(){return new C(3011,!1)}function oN(){return new C(3012,!1)}function sN(){return new C(3200,!1)}function aN(){return new C(3202,!1)}function cN(){return new C(3013,!1)}function lN(t){return new C(3014,!1)}function dN(t){return new C(3015,!1)}function uN(t){return new C(3016,!1)}function fN(t,e){return new C(3404,!1)}function mN(t){return new C(3502,!1)}function hN(t){return new C(3503,!1)}function pN(){return new C(3300,!1)}function gN(t){return new C(3504,!1)}function vN(t){return new C(3301,!1)}function bN(t,e){return new C(3302,!1)}function _N(t){return new C(3303,!1)}function yN(t,e){return new C(3400,!1)}function wN(t){return new C(3401,!1)}function xN(t){return new C(3402,!1)}function CN(t,e){return new C(3505,!1)}function On(t){switch(t.length){case 0:return new Tn;case 1:return t[0];default:return new _a(t)}}function sv(t,e,n=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(e.forEach(c=>{let l=c.get("offset"),d=l==s,u=d&&a||new Map;c.forEach((f,m)=>{let p=m,v=f;if(m!=="offset")switch(p=t.normalizePropertyName(p,r),v){case Ul:v=n.get(m);break;case ki:v=i.get(m);break;default:v=t.normalizeStyleValue(m,p,v,r);break}u.set(p,v)}),d||o.push(u),a=u,s=l}),r.length)throw mN(r);return o}function Fm(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&mm(n,"start",t)));break;case"done":t.onDone(()=>i(n&&mm(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&mm(n,"destroy",t)));break}}function mm(t,e,n){let i=n.totalTime,r=!!n.disabled,o=zm(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,i??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function zm(t,e,n,i,r="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function zt(t,e,n){let i=t.get(e);return i||t.set(e,i=n),i}function Gg(t){let e=t.indexOf(":"),n=t.substring(1,e),i=t.slice(e+1);return[n,i]}var DN=typeof document>"u"?null:document.documentElement;function Lm(t){let e=t.parentNode||t.host||null;return e===DN?null:e}function MN(t){return t.substring(1,6)=="ebkit"}var wr=null,Zg=!1;function EN(t){wr||(wr=IN()||{},Zg=wr.style?"WebkitAppearance"in wr.style:!1);let e=!0;return wr.style&&!MN(t)&&(e=t in wr.style,!e&&Zg&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in wr.style)),e}function IN(){return typeof document<"u"?document.body:null}function av(t,e){for(;e;){if(e===t)return!0;e=Lm(e)}return!1}function cv(t,e,n){if(n)return Array.from(t.querySelectorAll(e));let i=t.querySelector(e);return i?[i]:[]}var Pm=(()=>{let e=class e{validateStyleProperty(i){return EN(i)}matchesElement(i,r){return!1}containsElement(i,r){return av(i,r)}getParentElement(i){return Lm(i)}query(i,r,o){return cv(i,r,o)}computeStyle(i,r,o){return o||""}animate(i,r,o,s,a,c=[],l){return new Tn(o,s)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Bm=class Bm{};Bm.NOOP=new Pm;var Dr=Bm,Mr=class{};var SN=1e3,lv="{{",kN="}}",dv="ng-enter",_m="ng-leave",bd="ng-trigger",Cd=".ng-trigger",Yg="ng-animating",ym=".ng-animating";function Ji(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:wm(parseFloat(e[1]),e[2])}function wm(t,e){switch(e){case"s":return t*SN;default:return t}}function Dd(t,e,n){return t.hasOwnProperty("duration")?t:AN(t,e,n)}function AN(t,e,n){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof t=="string"){let a=t.match(i);if(a===null)return e.push(Wg(t)),{duration:0,delay:0,easing:""};r=wm(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(o=wm(parseFloat(c),a[4]));let l=a[5];l&&(s=l)}else r=t;if(!n){let a=!1,c=e.length;r<0&&(e.push(GT()),a=!0),o<0&&(e.push(ZT()),a=!0),a&&e.splice(c,0,Wg(t))}return{duration:r,delay:o,easing:s}}function TN(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function Ti(t,e,n){e.forEach((i,r)=>{let o=Vm(r);n&&!n.has(r)&&n.set(r,t.style[o]),t.style[o]=i})}function Cr(t,e){e.forEach((n,i)=>{let r=Vm(i);t.style[r]=""})}function Na(t){return Array.isArray(t)?t.length==1?t[0]:k9(t):t}function NN(t,e,n){let i=e.params||{},r=uv(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||n.push(YT(o))})}var xm=new RegExp(`${lv}\\s*(.+?)\\s*${kN}`,"g");function uv(t){let e=[];if(typeof t=="string"){let n;for(;n=xm.exec(t);)e.push(n[1]);xm.lastIndex=0}return e}function Oa(t,e,n){let i=`${t}`,r=i.replace(xm,(o,s)=>{let a=e[s];return a==null&&(n.push(QT(s)),a=""),a.toString()});return r==i?t:r}var RN=/-+([a-z0-9])/g;function Vm(t){return t.replace(RN,(...e)=>e[1].toUpperCase())}function ON(t,e){return t===0||e===0}function FN(t,e,n){if(n.size&&e.length){let i=e[0],r=[];if(n.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,jm(t,a)))}}return e}function Ft(t,e,n){switch(e.type){case J.Trigger:return t.visitTrigger(e,n);case J.State:return t.visitState(e,n);case J.Transition:return t.visitTransition(e,n);case J.Sequence:return t.visitSequence(e,n);case J.Group:return t.visitGroup(e,n);case J.Animate:return t.visitAnimate(e,n);case J.Keyframes:return t.visitKeyframes(e,n);case J.Style:return t.visitStyle(e,n);case J.Reference:return t.visitReference(e,n);case J.AnimateChild:return t.visitAnimateChild(e,n);case J.AnimateRef:return t.visitAnimateRef(e,n);case J.Query:return t.visitQuery(e,n);case J.Stagger:return t.visitStagger(e,n);default:throw KT(e.type)}}function jm(t,e){return window.getComputedStyle(t)[e]}var zN=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"]),Md=class extends Mr{normalizePropertyName(e,n){return Vm(e)}normalizeStyleValue(e,n,i,r){let o="",s=i.toString().trim();if(zN.has(n)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(XT(e,i))}return s+o}};var Ed="*";function LN(t,e){let n=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>PN(i,n,e)):n.push(t),n}function PN(t,e,n){if(t[0]==":"){let c=VN(t,n);if(typeof c=="function"){e.push(c);return}t=c}let i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return n.push(dN(t)),e;let r=i[1],o=i[2],s=i[3];e.push(Qg(r,s));let a=r==Ed&&s==Ed;o[0]=="<"&&!a&&e.push(Qg(s,r))}function VN(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,i)=>parseFloat(i)>parseFloat(n);case":decrement":return(n,i)=>parseFloat(i) *"}}var _d=new Set(["true","1"]),yd=new Set(["false","0"]);function Qg(t,e){let n=_d.has(t)||yd.has(t),i=_d.has(e)||yd.has(e);return(r,o)=>{let s=t==Ed||t==r,a=e==Ed||e==o;return!s&&n&&typeof r=="boolean"&&(s=r?_d.has(t):yd.has(t)),!a&&i&&typeof o=="boolean"&&(a=o?_d.has(e):yd.has(e)),s&&a}}var fv=":self",jN=new RegExp(`s*${fv}s*,?`,"g");function mv(t,e,n,i){return new Cm(t).build(e,n,i)}var Kg="",Cm=class{constructor(e){this._driver=e}build(e,n,i){let r=new Dm(n);return this._resetContextStyleTimingState(r),Ft(this,Na(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=Kg,e.collectedStyles=new Map,e.collectedStyles.set(Kg,new Map),e.currentTime=0}visitTrigger(e,n){let i=n.queryCount=0,r=n.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&n.errors.push(JT()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==J.State){let c=a,l=c.name;l.toString().split(/\s*,\s*/).forEach(d=>{c.name=d,o.push(this.visitState(c,n))}),c.name=l}else if(a.type==J.Transition){let c=this.visitTransition(a,n);i+=c.queryCount,r+=c.depCount,s.push(c)}else n.errors.push(eN())}),{type:J.Trigger,name:e.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(e,n){let i=this.visitStyle(e.styles,n),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{uv(c).forEach(l=>{s.hasOwnProperty(l)||o.add(l)})})}),o.size&&n.errors.push(tN(e.name,[...o.values()]))}return{type:J.State,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;let i=Ft(this,Na(e.animation),n),r=LN(e.expr,n.errors);return{type:J.Transition,matchers:r,animation:i,queryCount:n.queryCount,depCount:n.depCount,options:xr(e.options)}}visitSequence(e,n){return{type:J.Sequence,steps:e.steps.map(i=>Ft(this,i,n)),options:xr(e.options)}}visitGroup(e,n){let i=n.currentTime,r=0,o=e.steps.map(s=>{n.currentTime=i;let a=Ft(this,s,n);return r=Math.max(r,n.currentTime),a});return n.currentTime=r,{type:J.Group,steps:o,options:xr(e.options)}}visitAnimate(e,n){let i=$N(e.timings,n.errors);n.currentAnimateTimings=i;let r,o=e.styles?e.styles:Ai({});if(o.type==J.Keyframes)r=this.visitKeyframes(o,n);else{let s=e.styles,a=!1;if(!s){a=!0;let l={};i.easing&&(l.easing=i.easing),s=Ai(l)}n.currentTime+=i.duration+i.delay;let c=this.visitStyle(s,n);c.isEmptyStep=a,r=c}return n.currentAnimateTimings=null,{type:J.Animate,timings:i,style:r,options:null}}visitStyle(e,n){let i=this._makeStyleAst(e,n);return this._validateStyleAst(i,n),i}_makeStyleAst(e,n){let i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)typeof a=="string"?a===ki?i.push(a):n.errors.push(iN(a)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let c of a.values())if(c.toString().indexOf(lv)>=0){o=!0;break}}}),{type:J.Style,styles:i,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,n){let i=n.currentAnimateTimings,r=n.currentTime,o=n.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,c)=>{let l=n.collectedStyles.get(n.currentQuerySelector),d=l.get(c),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(n.errors.push(nN(c,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&l.set(c,{startTime:o,endTime:r}),n.options&&NN(a,n.options,n.errors)})})}visitKeyframes(e,n){let i={type:J.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(rN()),i;let r=1,o=0,s=[],a=!1,c=!1,l=0,d=e.steps.map(y=>{let k=this._makeStyleAst(y,n),Q=k.offset!=null?k.offset:UN(k.styles),j=0;return Q!=null&&(o++,j=k.offset=Q),c=c||j<0||j>1,a=a||j0&&o{let Q=f>0?k==m?1:f*k:s[k],j=Q*_;n.currentTime=p+v.delay+j,v.duration=j,this._validateStyleAst(y,n),y.offset=Q,i.styles.push(y)}),i}visitReference(e,n){return{type:J.Reference,animation:Ft(this,Na(e.animation),n),options:xr(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:J.AnimateChild,options:xr(e.options)}}visitAnimateRef(e,n){return{type:J.AnimateRef,animation:this.visitReference(e.animation,n),options:xr(e.options)}}visitQuery(e,n){let i=n.currentQuerySelector,r=e.options||{};n.queryCount++,n.currentQuery=e;let[o,s]=HN(e.selector);n.currentQuerySelector=i.length?i+" "+o:o,zt(n.collectedStyles,n.currentQuerySelector,new Map);let a=Ft(this,Na(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=i,{type:J.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:xr(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(cN());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Dd(e.timings,n.errors,!0);return{type:J.Stagger,animation:Ft(this,Na(e.animation),n),timings:i,options:null}}};function HN(t){let e=!!t.split(/\s*,\s*/).find(n=>n==fv);return e&&(t=t.replace(jN,"")),t=t.replace(/@\*/g,Cd).replace(/@\w+/g,n=>Cd+"-"+n.slice(1)).replace(/:animating/g,ym),[t,e]}function BN(t){return t?M({},t):null}var Dm=class{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 UN(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){let i=n;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}function $N(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Dd(t,e).duration;return hm(o,0,"")}let n=t;if(n.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=hm(0,0,"");return o.dynamic=!0,o.strValue=n,o}let r=Dd(n,e);return hm(r.duration,r.delay,r.easing)}function xr(t){return t?(t=M({},t),t.params&&(t.params=BN(t.params))):t={},t}function hm(t,e,n){return{duration:t,delay:e,easing:n}}function Hm(t,e,n,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}var Fa=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,n){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}},qN=1,WN=":enter",GN=new RegExp(WN,"g"),ZN=":leave",YN=new RegExp(ZN,"g");function hv(t,e,n,i,r,o=new Map,s=new Map,a,c,l=[]){return new Mm().buildKeyframes(t,e,n,i,r,o,s,a,c,l)}var Mm=class{buildKeyframes(e,n,i,r,o,s,a,c,l,d=[]){l=l||new Fa;let u=new Em(e,n,l,r,o,d,[]);u.options=c;let f=c.delay?Ji(c.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,c),Ft(this,i,u);let m=u.timelines.filter(p=>p.containsAnimation());if(m.length&&a.size){let p;for(let v=m.length-1;v>=0;v--){let _=m[v];if(_.element===n){p=_;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,c)}return m.length?m.map(p=>p.buildKeyframes()):[Hm(n,[],[],[],0,f,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){let i=n.subInstructions.get(n.element);if(i){let r=n.createSubContext(e.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=e}visitAnimateRef(e,n){let i=n.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],n,i),this.visitReference(e.animation,i),n.transformIntoNewTimeline(i.currentTimeline.currentTime),n.previousNode=e}_applyAnimationRefDelays(e,n,i){for(let r of e){let o=r?.delay;if(o){let s=typeof o=="number"?o:Ji(Oa(o,r?.params??{},n.errors));i.delayNextStep(s)}}}_visitSubInstructions(e,n,i){let o=n.currentTimeline.currentTime,s=i.duration!=null?Ji(i.duration):null,a=i.delay!=null?Ji(i.delay):null;return s!==0&&e.forEach(c=>{let l=n.appendInstructionToTimeline(c,s,a);o=Math.max(o,l.duration+l.delay)}),o}visitReference(e,n){n.updateOptions(e.options,!0),Ft(this,e.animation,n),n.previousNode=e}visitSequence(e,n){let i=n.subContextCount,r=n,o=e.options;if(o&&(o.params||o.delay)&&(r=n.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==J.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Id);let s=Ji(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>Ft(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){let i=[],r=n.currentTimeline.currentTime,o=e.options&&e.options.delay?Ji(e.options.delay):0;e.steps.forEach(s=>{let a=n.createSubContext(e.options);o&&a.delayNextStep(o),Ft(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(r),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){let i=e.strValue,r=n.params?Oa(i,n.params,n.errors):i;return Dd(r,n.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){let i=n.currentAnimateTimings=this._visitTiming(e.timings,n),r=n.currentTimeline;i.delay&&(n.incrementTime(i.delay),r.snapshotCurrentStyles());let o=e.style;o.type==J.Keyframes?this.visitKeyframes(o,n):(n.incrementTime(i.duration),this.visitStyle(o,n),r.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){let i=n.currentTimeline,r=n.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(o):i.setStyles(e.styles,o,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){let i=n.currentAnimateTimings,r=n.currentTimeline.duration,o=i.duration,a=n.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(c=>{let l=c.offset||0;a.forwardTime(l*o),a.setStyles(c.styles,c.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(r+o),n.previousNode=e}visitQuery(e,n){let i=n.currentTimeline.currentTime,r=e.options||{},o=r.delay?Ji(r.delay):0;o&&(n.previousNode.type===J.Style||i==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Id);let s=i,a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,n.errors);n.currentQueryTotal=a.length;let c=null;a.forEach((l,d)=>{n.currentQueryIndex=d;let u=n.createSubContext(e.options,l);o&&u.delayNextStep(o),l===n.element&&(c=u.currentTimeline),Ft(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let f=u.currentTimeline.currentTime;s=Math.max(s,f)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),c&&(n.currentTimeline.mergeTimelineCollectedStyles(c),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){let i=n.parentContext,r=n.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1),c=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=i.currentStaggerTime;break}let d=n.currentTimeline;c&&d.delayNextStep(c);let u=d.currentTime;Ft(this,e.animation,n),n.previousNode=e,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}},Id={},Em=class t{constructor(e,n,i,r,o,s,a,c){this._driver=e,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Id,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Sd(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;let i=e,r=this.options;i.duration!=null&&(r.duration=Ji(i.duration)),i.delay!=null&&(r.delay=Ji(i.delay));let o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=Oa(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let n=this.options.params;if(n){let i=e.params={};Object.keys(n).forEach(r=>{i[r]=n[r]})}}return e}createSubContext(e=null,n,i){let r=n||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||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=Id,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,i){let r={duration:n??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},o=new Im(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,n,i,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=e.replace(GN,"."+this._enterClassName),e=e.replace(YN,"."+this._leaveClassName);let c=i!=1,l=this._driver.query(this.element,e,c);i!==0&&(l=i<0?l.slice(l.length+i,l.length):l.slice(0,i)),a.push(...l)}return!o&&a.length==0&&s.push(lN(n)),a}},Sd=class t{constructor(e,n,i,r){this._driver=e,this.element=n,this.startTime=i,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(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,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){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||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+=qN,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles.set(e,n),this._globalTimelineStyles.set(e,n),this._styleSummary.set(e,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[n,i]of this._globalTimelineStyles)this._backFill.set(n,i||ki),this._currentKeyframe.set(n,ki);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,i,r){n&&this._previousKeyframe.set("easing",n);let o=r&&r.params||{},s=QN(e,this._globalTimelineStyles);for(let[a,c]of s){let l=Oa(c,o,i);this._pendingStyles.set(a,l),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ki),this._updateStyle(a,l)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,n)=>{this._currentKeyframe.set(n,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,e)}))}snapshotCurrentStyles(){for(let[e,n]of this._localTimelineStyles)this._pendingStyles.set(e,n),this._updateStyle(e,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,i)=>{let r=this._styleSummary.get(i);(!r||n.time>r.time)&&this._updateStyle(i,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,n=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,c)=>{let l=new Map([...this._backFill,...a]);l.forEach((d,u)=>{d===Ul?e.add(u):d===ki&&n.add(u)}),i||l.set("offset",c/this.duration),r.push(l)});let o=[...e.values()],s=[...n.values()];if(i){let a=r[0],c=new Map(a);a.set("offset",0),c.set("offset",1),r=[a,c]}return Hm(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Im=class extends Sd{constructor(e,n,i,r,o,s,a=!1){super(e,n,s.delay),this.keyframes=i,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:n,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&n){let o=[],s=i+n,a=n/s,c=new Map(e[0]);c.set("offset",0),o.push(c);let l=new Map(e[0]);l.set("offset",Xg(a)),o.push(l);let d=e.length-1;for(let u=1;u<=d;u++){let f=new Map(e[u]),m=f.get("offset"),p=n+m*i;f.set("offset",Xg(p/s)),o.push(f)}i=s,n=0,r="",e=o}return Hm(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}};function Xg(t,e=3){let n=Math.pow(10,e-1);return Math.round(t*n)/n}function QN(t,e){let n=new Map,i;return t.forEach(r=>{if(r==="*"){i??=e.keys();for(let o of i)n.set(o,ki)}else for(let[o,s]of r)n.set(o,s)}),n}function Jg(t,e,n,i,r,o,s,a,c,l,d,u,f){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:d,totalTime:u,errors:f}}var pm={},kd=class{constructor(e,n,i){this._triggerName=e,this.ast=n,this._stateStyles=i}match(e,n,i,r){return KN(this.ast.matchers,e,n,i,r)}buildStyles(e,n,i){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(n,i):new Map}build(e,n,i,r,o,s,a,c,l,d){let u=[],f=this.ast.options&&this.ast.options.params||pm,m=a&&a.params||pm,p=this.buildStyles(i,m,u),v=c&&c.params||pm,_=this.buildStyles(r,v,u),y=new Set,k=new Map,Q=new Map,j=r==="void",ge={params:pv(v,f),delay:this.ast.options?.delay},we=d?[]:hv(e,n,this.ast.animation,o,s,p,_,ge,l,u),Ee=0;return we.forEach(Xe=>{Ee=Math.max(Xe.duration+Xe.delay,Ee)}),u.length?Jg(n,this._triggerName,i,r,j,p,_,[],[],k,Q,Ee,u):(we.forEach(Xe=>{let it=Xe.element,en=zt(k,it,new Set);Xe.preStyleProps.forEach(Fn=>en.add(Fn));let $m=zt(Q,it,new Set);Xe.postStyleProps.forEach(Fn=>$m.add(Fn)),it!==n&&y.add(it)}),Jg(n,this._triggerName,i,r,j,p,_,we,[...y.values()],k,Q,Ee))}};function KN(t,e,n,i,r){return t.some(o=>o(e,n,i,r))}function pv(t,e){let n=M({},e);return Object.entries(t).forEach(([i,r])=>{r!=null&&(n[i]=r)}),n}var Sm=class{constructor(e,n,i){this.styles=e,this.defaultParams=n,this.normalizer=i}buildStyles(e,n){let i=new Map,r=pv(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Oa(s,r,n));let c=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,c,s,n),i.set(a,s)})}),i}};function XN(t,e,n){return new km(t,e,n)}var km=class{constructor(e,n,i){this.name=e,this.ast=n,this._normalizer=i,this.transitionFactories=[],this.states=new Map,n.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Sm(r.style,o,i))}),ev(this.states,"true","1"),ev(this.states,"false","0"),n.transitions.forEach(r=>{this.transitionFactories.push(new kd(e,r,this.states))}),this.fallbackTransition=JN(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,i,r){return this.transitionFactories.find(s=>s.match(e,n,i,r))||null}matchStyles(e,n,i){return this.fallbackTransition.buildStyles(e,n,i)}};function JN(t,e,n){let i=[(s,a)=>!0],r={type:J.Sequence,steps:[],options:null},o={type:J.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new kd(t,o,e)}function ev(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}var eR=new Fa,Am=class{constructor(e,n,i){this.bodyNode=e,this._driver=n,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,n){let i=[],r=[],o=mv(this._driver,n,i,r);if(i.length)throw hN(i);r.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,n,i){let r=e.element,o=sv(this._normalizer,e.keyframes,n,i);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,n,i={}){let r=[],o=this._animations.get(e),s,a=new Map;if(o?(s=hv(this._driver,n,o,dv,_m,new Map,new Map,i,eR,r),s.forEach(d=>{let u=zt(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(r.push(pN()),s=[]),r.length)throw gN(r);a.forEach((d,u)=>{d.forEach((f,m)=>{d.set(m,this._driver.computeStyle(u,m,ki))})});let c=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),l=On(c);return this._playersById.set(e,l),l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){let n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);let i=this.players.indexOf(n);i>=0&&this.players.splice(i,1)}_getPlayer(e){let n=this._playersById.get(e);if(!n)throw vN(e);return n}listen(e,n,i,r){let o=zm(n,"","","");return Fm(this._getPlayer(e),i,o,r),()=>{}}command(e,n,i,r){if(i=="register"){this.register(e,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(e,n,s);return}let o=this._getPlayer(e);switch(i){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);break}}},tv="ng-animate-queued",tR=".ng-animate-queued",gm="ng-animate-disabled",iR=".ng-animate-disabled",nR="ng-star-inserted",rR=".ng-star-inserted",oR=[],gv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},sR={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},oi="__ng_removed",za=class{get params(){return this.options.params}constructor(e,n=""){this.namespaceId=n;let i=e&&e.hasOwnProperty("value"),r=i?e.value:e;if(this.value=cR(r),i){let o=e,{value:s}=o,a=Ld(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let n=e.params;if(n){let i=this.options.params;Object.keys(n).forEach(r=>{i[r]==null&&(i[r]=n[r])})}}},Ra="void",vm=new za(Ra),Tm=class{constructor(e,n,i){this.id=e,this.hostElement=n,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Gt(n,this._hostClassName)}listen(e,n,i,r){if(!this._triggers.has(n))throw bN(i,n);if(i==null||i.length==0)throw _N(n);if(!lR(i))throw yN(i,n);let o=zt(this._elementListeners,e,[]),s={name:n,phase:i,callback:r};o.push(s);let a=zt(this._engine.statesByElement,e,new Map);return a.has(n)||(Gt(e,bd),Gt(e,bd+"-"+n),a.set(n,vm)),()=>{this._engine.afterFlush(()=>{let c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(n)||a.delete(n)})}}register(e,n){return this._triggers.has(e)?!1:(this._triggers.set(e,n),!0)}_getTrigger(e){let n=this._triggers.get(e);if(!n)throw wN(e);return n}trigger(e,n,i,r=!0){let o=this._getTrigger(n),s=new La(this.id,n,e),a=this._engine.statesByElement.get(e);a||(Gt(e,bd),Gt(e,bd+"-"+n),this._engine.statesByElement.set(e,a=new Map));let c=a.get(n),l=new za(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a.set(n,l),c||(c=vm),!(l.value===Ra)&&c.value===l.value){if(!fR(c.params,l.params)){let v=[],_=o.matchStyles(c.value,c.params,v),y=o.matchStyles(l.value,l.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{Cr(e,_),Ti(e,y)})}return}let f=zt(this._engine.playersByElement,e,[]);f.forEach(v=>{v.namespaceId==this.id&&v.triggerName==n&&v.queued&&v.destroy()});let m=o.matchTransition(c.value,l.value,e,l.params),p=!1;if(!m){if(!r)return;m=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:m,fromState:c,toState:l,player:s,isFallbackTransition:p}),p||(Gt(e,tv),s.onStart(()=>{Po(e,tv)})),s.onDone(()=>{let v=this.players.indexOf(s);v>=0&&this.players.splice(v,1);let _=this._engine.playersByElement.get(e);if(_){let y=_.indexOf(s);y>=0&&_.splice(y,1)}}),this.players.push(s),f.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(n=>n.delete(e)),this._elementListeners.forEach((n,i)=>{this._elementListeners.set(i,n.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let n=this._engine.playersByElement.get(e);n&&(n.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){let i=this._engine.driver.query(e,Cd,!0);i.forEach(r=>{if(r[oi])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,n,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,n,i,r){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((c,l)=>{if(s.set(l,c.value),this._triggers.has(l)){let d=this.trigger(e,l,Ra,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,s),i&&On(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let n=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(n&&i){let r=new Set;n.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let c=this._triggers.get(s).fallbackTransition,l=i.get(s)||vm,d=new za(Ra),u=new La(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:c,fromState:l,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,n){let i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,n);else{let o=e[oi];(!o||o===gv)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,n))}}insertNode(e,n){Gt(e,this._hostClassName)}drainQueuedTransitions(e){let n=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){let c=zm(o,i.triggerName,i.fromState.value,i.toState.value);c._data=e,Fm(i.player,a.phase,c,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):n.push(i)}),this._queue=[],n.sort((i,r)=>{let o=i.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Nm=class{_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}constructor(e,n,i,r){this.bodyNode=e,this.driver=n,this._normalizer=i,this.scheduler=r,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=(o,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(n=>{n.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,n){let i=new Tm(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(i,n):(this.newHostElements.set(n,i),this.collectEnterElement(n)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,n){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){let c=r.get(a);if(c){let l=i.indexOf(c);i.splice(l+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(e)}else i.push(e);return r.set(n,e),e}register(e,n){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,n)),i}registerTrigger(e,n,i){let r=this._namespaceLookup[e];r&&r.register(n,i)&&this.totalAnimations++}destroy(e,n){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(n),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let n=new Set,i=this.statesByElement.get(e);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&n.add(o)}}return n}trigger(e,n,i,r){if(wd(n)){let o=this._fetchNamespace(e);if(o)return o.trigger(n,i,r),!0}return!1}insertNode(e,n,i,r){if(!wd(n))return;let o=n[oi];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(n,i)}r&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Gt(e,gm)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Po(e,gm))}removeNode(e,n,i){if(wd(n)){this.scheduler?.notify();let r=e?this._fetchNamespace(e):null;r?r.removeNode(n,i):this.markElementAsRemoved(e,n,!1,i);let o=this.namespacesByHostElement.get(n);o&&o.id!==e&&o.removeNode(n,i)}else this._onRemovalComplete(n,i)}markElementAsRemoved(e,n,i,r,o){this.collectedLeaveElements.push(n),n[oi]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,n,i,r,o){return wd(n)?this._fetchNamespace(e).listen(n,i,r,o):()=>{}}_buildInstruction(e,n,i,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,n,o)}destroyInnerAnimations(e){let n=this.driver.query(e,Cd,!0);n.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(e,ym,!0),n.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){let n=this.playersByElement.get(e);n&&n.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){let n=this.playersByQueriedElement.get(e);n&&n.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return On(this.players).onDone(()=>e());e()})}processLeaveNode(e){let n=e[oi];if(n&&n.setForRemoval){if(e[oi]=gv,n.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}e.classList?.contains(gm)&&this.markElementAsDisabled(e,!1),this.driver.query(e,iR,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],n.length?On(n).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw xN(e)}_flushAnimations(e,n){let i=new Fa,r=[],o=new Map,s=[],a=new Map,c=new Map,l=new Map,d=new Set;this.disabledNodes.forEach(O=>{d.add(O);let B=this.driver.query(O,tR,!0);for(let q=0;q{let q=dv+v++;p.set(B,q),O.forEach(ye=>Gt(ye,q))});let _=[],y=new Set,k=new Set;for(let O=0;Oy.add(ye)):k.add(B))}let Q=new Map,j=rv(f,Array.from(y));j.forEach((O,B)=>{let q=_m+v++;Q.set(B,q),O.forEach(ye=>Gt(ye,q))}),e.push(()=>{m.forEach((O,B)=>{let q=p.get(B);O.forEach(ye=>Po(ye,q))}),j.forEach((O,B)=>{let q=Q.get(B);O.forEach(ye=>Po(ye,q))}),_.forEach(O=>{this.processLeaveNode(O)})});let ge=[],we=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(n).forEach(q=>{let ye=q.player,nt=q.element;if(ge.push(ye),this.collectedEnterElements.length){let ft=nt[oi];if(ft&&ft.setForMove){if(ft.previousTriggersValues&&ft.previousTriggersValues.has(q.triggerName)){let zn=ft.previousTriggersValues.get(q.triggerName),Lt=this.statesByElement.get(q.element);if(Lt&&Lt.has(q.triggerName)){let Pa=Lt.get(q.triggerName);Pa.value=zn,Lt.set(q.triggerName,Pa)}}ye.destroy();return}}let si=!u||!this.driver.containsElement(u,nt),Tt=Q.get(nt),tn=p.get(nt),je=this._buildInstruction(q,i,tn,Tt,si);if(je.errors&&je.errors.length){we.push(je);return}if(si){ye.onStart(()=>Cr(nt,je.fromStyles)),ye.onDestroy(()=>Ti(nt,je.toStyles)),r.push(ye);return}if(q.isFallbackTransition){ye.onStart(()=>Cr(nt,je.fromStyles)),ye.onDestroy(()=>Ti(nt,je.toStyles)),r.push(ye);return}let Gm=[];je.timelines.forEach(ft=>{ft.stretchStartingKeyframe=!0,this.disabledNodes.has(ft.element)||Gm.push(ft)}),je.timelines=Gm,i.append(nt,je.timelines);let Pv={instruction:je,player:ye,element:nt};s.push(Pv),je.queriedElements.forEach(ft=>zt(a,ft,[]).push(ye)),je.preStyleProps.forEach((ft,zn)=>{if(ft.size){let Lt=c.get(zn);Lt||c.set(zn,Lt=new Set),ft.forEach((Pa,zd)=>Lt.add(zd))}}),je.postStyleProps.forEach((ft,zn)=>{let Lt=l.get(zn);Lt||l.set(zn,Lt=new Set),ft.forEach((Pa,zd)=>Lt.add(zd))})});if(we.length){let O=[];we.forEach(B=>{O.push(CN(B.triggerName,B.errors))}),ge.forEach(B=>B.destroy()),this.reportError(O)}let Ee=new Map,Xe=new Map;s.forEach(O=>{let B=O.element;i.has(B)&&(Xe.set(B,B),this._beforeAnimationBuild(O.player.namespaceId,O.instruction,Ee))}),r.forEach(O=>{let B=O.element;this._getPreviousPlayers(B,!1,O.namespaceId,O.triggerName,null).forEach(ye=>{zt(Ee,B,[]).push(ye),ye.destroy()})});let it=_.filter(O=>ov(O,c,l)),en=new Map;nv(en,this.driver,k,l,ki).forEach(O=>{ov(O,c,l)&&it.push(O)});let Fn=new Map;m.forEach((O,B)=>{nv(Fn,this.driver,new Set(O),c,Ul)}),it.forEach(O=>{let B=en.get(O),q=Fn.get(O);en.set(O,new Map([...B?.entries()??[],...q?.entries()??[]]))});let Fd=[],qm=[],Wm={};s.forEach(O=>{let{element:B,player:q,instruction:ye}=O;if(i.has(B)){if(d.has(B)){q.onDestroy(()=>Ti(B,ye.toStyles)),q.disabled=!0,q.overrideTotalTime(ye.totalTime),r.push(q);return}let nt=Wm;if(Xe.size>1){let Tt=B,tn=[];for(;Tt=Tt.parentNode;){let je=Xe.get(Tt);if(je){nt=je;break}tn.push(Tt)}tn.forEach(je=>Xe.set(je,nt))}let si=this._buildAnimation(q.namespaceId,ye,Ee,o,Fn,en);if(q.setRealPlayer(si),nt===Wm)Fd.push(q);else{let Tt=this.playersByElement.get(nt);Tt&&Tt.length&&(q.parentPlayer=On(Tt)),r.push(q)}}else Cr(B,ye.fromStyles),q.onDestroy(()=>Ti(B,ye.toStyles)),qm.push(q),d.has(B)&&r.push(q)}),qm.forEach(O=>{let B=o.get(O.element);if(B&&B.length){let q=On(B);O.setRealPlayer(q)}}),r.forEach(O=>{O.parentPlayer?O.syncPlayerEvents(O.parentPlayer):O.destroy()});for(let O=0;O<_.length;O++){let B=_[O],q=B[oi];if(Po(B,_m),q&&q.hasAnimation)continue;let ye=[];if(a.size){let si=a.get(B);si&&si.length&&ye.push(...si);let Tt=this.driver.query(B,ym,!0);for(let tn=0;tn!si.destroyed);nt.length?dR(this,B,nt):this.processLeaveNode(B)}return _.length=0,Fd.forEach(O=>{this.players.push(O),O.onDone(()=>{O.destroy();let B=this.players.indexOf(O);this.players.splice(B,1)}),O.play()}),Fd}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,i,r,o){let s=[];if(n){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let c=!o||o==Ra;a.forEach(l=>{l.queued||!c&&l.triggerName!=r||s.push(l)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,n,i){let r=n.triggerName,o=n.element,s=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:r;for(let c of n.timelines){let l=c.element,d=l!==o,u=zt(i,l,[]);this._getPreviousPlayers(l,d,s,a,n.toState).forEach(m=>{let p=m.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),m.destroy(),u.push(m)})}Cr(o,n.fromStyles)}_buildAnimation(e,n,i,r,o,s){let a=n.triggerName,c=n.element,l=[],d=new Set,u=new Set,f=n.timelines.map(p=>{let v=p.element;d.add(v);let _=v[oi];if(_&&_.removedBeforeQueried)return new Tn(p.duration,p.delay);let y=v!==c,k=uR((i.get(v)||oR).map(Ee=>Ee.getRealPlayer())).filter(Ee=>{let Xe=Ee;return Xe.element?Xe.element===v:!1}),Q=o.get(v),j=s.get(v),ge=sv(this._normalizer,p.keyframes,Q,j),we=this._buildPlayer(p,ge,k);if(p.subTimeline&&r&&u.add(v),y){let Ee=new La(e,a,v);Ee.setRealPlayer(we),l.push(Ee)}return we});l.forEach(p=>{zt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>aR(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>Gt(p,Yg));let m=On(f);return m.onDestroy(()=>{d.forEach(p=>Po(p,Yg)),Ti(c,n.toStyles)}),u.forEach(p=>{zt(r,p,[]).push(m)}),m}_buildPlayer(e,n,i){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,i):new Tn(e.duration,e.delay)}},La=class{constructor(e,n,i){this.namespaceId=e,this.triggerName=n,this.element=i,this._player=new Tn,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((n,i)=>{n.forEach(r=>Fm(e,i,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){let n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){zt(this._queuedCallbacks,e,[]).push(n)}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?!1: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){let n=this._player;n.triggerCallback&&n.triggerCallback(e)}};function aR(t,e,n){let i=t.get(e);if(i){if(i.length){let r=i.indexOf(n);i.splice(r,1)}i.length==0&&t.delete(e)}return i}function cR(t){return t??null}function wd(t){return t&&t.nodeType===1}function lR(t){return t=="start"||t=="done"}function iv(t,e){let n=t.style.display;return t.style.display=e??"none",n}function nv(t,e,n,i,r){let o=[];n.forEach(c=>o.push(iv(c)));let s=[];i.forEach((c,l)=>{let d=new Map;c.forEach(u=>{let f=e.computeStyle(l,u,r);d.set(u,f),(!f||f.length==0)&&(l[oi]=sR,s.push(l))}),t.set(l,d)});let a=0;return n.forEach(c=>iv(c,o[a++])),s}function rv(t,e){let n=new Map;if(t.forEach(a=>n.set(a,[])),e.length==0)return n;let i=1,r=new Set(e),o=new Map;function s(a){if(!a)return i;let c=o.get(a);if(c)return c;let l=a.parentNode;return n.has(l)?c=l:r.has(l)?c=i:c=s(l),o.set(a,c),c}return e.forEach(a=>{let c=s(a);c!==i&&n.get(c).push(a)}),n}function Gt(t,e){t.classList?.add(e)}function Po(t,e){t.classList?.remove(e)}function dR(t,e,n){On(n).onDone(()=>t.processLeaveNode(e))}function uR(t){let e=[];return vv(t,e),e}function vv(t,e){for(let n=0;nr.add(o)):e.set(t,i),n.delete(t),!0}var jo=class{constructor(e,n,i,r){this._driver=n,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new Nm(e.body,n,i,r),this._timelineEngine=new Am(e.body,n,i),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(e,n,i,r,o){let s=e+"-"+r,a=this._triggerCache[s];if(!a){let c=[],l=[],d=mv(this._driver,o,c,l);if(c.length)throw fN(r,c);l.length&&void 0,a=XN(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,r,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,i,r){this._transitionEngine.insertNode(e,n,i,r)}onRemove(e,n,i){this._transitionEngine.removeNode(e,n,i)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,i,r){if(i.charAt(0)=="@"){let[o,s]=Gg(i),a=r;this._timelineEngine.command(o,n,s,a)}else this._transitionEngine.trigger(e,n,i,r)}listen(e,n,i,r,o){if(i.charAt(0)=="@"){let[s,a]=Gg(i);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(e,n,i,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)}};function mR(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=bm(e[0]),e.length>1&&(i=bm(e[e.length-1]))):e instanceof Map&&(n=bm(e)),n||i?new Rm(t,n,i):null}var Vo=class Vo{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=Vo.initialStylesByElement.get(e);r||Vo.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Ti(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ti(this._element,this._initialStyles),this._endStyles&&(Ti(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Vo.initialStylesByElement.delete(this._element),this._startStyles&&(Cr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Cr(this._element,this._endStyles),this._endStyles=null),Ti(this._element,this._initialStyles),this._state=3)}};Vo.initialStylesByElement=new WeakMap;var Rm=Vo;function bm(t){let e=null;return t.forEach((n,i)=>{hR(i)&&(e=e||new Map,e.set(i,n))}),e}function hR(t){return t==="display"||t==="position"}var Ad=class{constructor(e,n,i,r){this.element=e,this.keyframes=n,this.options=i,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=i.duration,this._delay=i.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;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let n=[];return e.forEach(i=>{n.push(Object.fromEntries(i))}),n}_triggerWebAnimation(e,n,i){return e.animate(this._convertKeyframesToObject(n),i)}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){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&e.set(r,this._finished?i:jm(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let n=e==="start"?this._onStartFns:this._onDoneFns;n.forEach(i=>i()),n.length=0}},Td=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,n){return!1}containsElement(e,n){return av(e,n)}getParentElement(e){return Lm(e)}query(e,n,i){return cv(e,n,i)}computeStyle(e,n,i){return jm(e,n)}animate(e,n,i,r,o,s=[]){let a=r==0?"both":"forwards",c={duration:i,delay:r,fill:a};o&&(c.easing=o);let l=new Map,d=s.filter(m=>m instanceof Ad);ON(i,r)&&d.forEach(m=>{m.currentSnapshot.forEach((p,v)=>l.set(v,p))});let u=TN(n).map(m=>new Map(m));u=FN(e,u,l);let f=mR(e,u);return new Ad(e,u,c,f)}};var xd="@",bv="@.disabled",Nd=class{constructor(e,n,i,r){this.namespaceId=e,this.delegate=n,this.engine=i,this._onDestroy=r,this.\u0275type=0}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,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,i,r=!0){this.delegate.insertBefore(e,n,i),this.engine.onInsert(this.namespaceId,n,e,r)}removeChild(e,n,i){this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,i,r){this.delegate.setAttribute(e,n,i,r)}removeAttribute(e,n,i){this.delegate.removeAttribute(e,n,i)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,i,r){this.delegate.setStyle(e,n,i,r)}removeStyle(e,n,i){this.delegate.removeStyle(e,n,i)}setProperty(e,n,i){n.charAt(0)==xd&&n==bv?this.disableAnimations(e,!!i):this.delegate.setProperty(e,n,i)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,i){return this.delegate.listen(e,n,i)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}},Om=class extends Nd{constructor(e,n,i,r,o){super(n,i,r,o),this.factory=e,this.namespaceId=n}setProperty(e,n,i){n.charAt(0)==xd?n.charAt(1)=="."&&n==bv?(i=i===void 0?!0:!!i,this.disableAnimations(e,i)):this.engine.process(this.namespaceId,e,n.slice(1),i):this.delegate.setProperty(e,n,i)}listen(e,n,i){if(n.charAt(0)==xd){let r=pR(e),o=n.slice(1),s="";return o.charAt(0)!=xd&&([o,s]=gR(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,i,a)})}return this.delegate.listen(e,n,i)}};function pR(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function gR(t){let e=t.indexOf("."),n=t.substring(0,e),i=t.slice(e+1);return[n,i]}var Rd=class{constructor(e,n,i){this.delegate=e,this.engine=n,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(r,o)=>{let s=o?.parentNode(r);s&&o.removeChild(s,r)}}createRenderer(e,n){let i="",r=this.delegate.createRenderer(e,n);if(!e||!n?.data?.animation){let l=this._rendererCache,d=l.get(r);if(!d){let u=()=>l.delete(r);d=new Nd(i,r,this.engine,u),l.set(r,d)}return d}let o=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=l=>{Array.isArray(l)?l.forEach(a):this.engine.registerTrigger(o,s,e,l.name,l)};return n.data.animation.forEach(a),new Om(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,i){if(e>=0&&en(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([n,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var bR=(()=>{let e=class e extends jo{constructor(i,r,o){super(i,r,o,b(ss,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(r){return new(r||e)(g(U),g(Dr),g(Mr))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function _R(){return new Md}function yR(t,e,n){return new Rd(t,e,n)}var yv=[{provide:Mr,useFactory:_R},{provide:jo,useClass:bR},{provide:Kn,useFactory:yR,deps:[L1,jo,S]}],_v=[{provide:Dr,useFactory:()=>new Td},{provide:gt,useValue:"BrowserAnimations"},...yv],wR=[{provide:Dr,useClass:Pm},{provide:gt,useValue:"NoopAnimations"},...yv],wv=(()=>{let e=class e{static withConfig(i){return{ngModule:e,providers:i.disableAnimations?wR:_v}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:_v,imports:[V1]});let t=e;return t})();var xR=["tooltip"],Dv=20;var Mv=new D("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=b(Wt);return()=>t.scrollStrategies.reposition({scrollThrottle:Dv})}});function CR(t){return()=>t.scrollStrategies.reposition({scrollThrottle:Dv})}var DR={provide:Mv,deps:[Wt],useFactory:CR};function MR(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var ER=new D("mat-tooltip-default-options",{providedIn:"root",factory:MR});var xv="tooltip-panel",Cv=_n({passive:!0}),IR=500,SR=8,kR=8,AR=24,TR=200,Ev=(()=>{let e=class e{get position(){return this._position}set position(i){i!==this._position&&(this._position=i,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(i){this._positionAtOrigin=yn(i),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(i){this._disabled=yn(i),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(i){this._showDelay=zs(i)}get hideDelay(){return this._hideDelay}set hideDelay(i){this._hideDelay=zs(i),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(i){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=i!=null?String(i).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(i){this._tooltipClass=i,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(i,r,o,s,a,c,l,d,u,f,m,p){this._overlay=i,this._elementRef=r,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=c,this._ariaDescriber=l,this._focusMonitor=d,this._dir=f,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=NR,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new H,this._scrollStrategy=u,this._document=p,m&&(this._showDelay=m.showDelay,this._hideDelay=m.hideDelay,m.position&&(this.position=m.position),m.positionAtOrigin&&(this.positionAtOrigin=m.positionAtOrigin),m.touchGestures&&(this.touchGestures=m.touchGestures)),f.change.pipe(le(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=SR}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(le(this._destroyed)).subscribe(i=>{i?i==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let i=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([r,o])=>{i.removeEventListener(r,o,Cv)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(i,this.message,"tooltip"),this._focusMonitor.stopMonitoring(i)}show(i=this.showDelay,r){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(r);this._detach(),this._portal=this._portal||new Ea(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(le(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(i)}hide(i=this.hideDelay){let r=this._tooltipInstance;r&&(r.isVisible()?r.hide(i):(r._cancelPendingAnimations(),this._detach()))}toggle(i){this._isTooltipVisible()?this.hide():this.show(void 0,i)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(i){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!i)&&s._origin instanceof V)return this._overlayRef;this._detach()}let r=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?i||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(r);return o.positionChanges.pipe(le(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${xv}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(le(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(le(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(le(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!ei(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(i){let r=i.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();r.withPositions([this._addOffset(M(M({},o.main),s.main)),this._addOffset(M(M({},o.fallback),s.fallback))])}_addOffset(i){let r=kR,o=!this._dir||this._dir.value=="ltr";return i.originY==="top"?i.offsetY=-r:i.originY==="bottom"?i.offsetY=r:i.originX==="start"?i.offsetX=o?-r:r:i.originX==="end"&&(i.offsetX=o?r:-r),i}_getOrigin(){let i=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"||r=="below"?o={originX:"center",originY:r=="above"?"top":"bottom"}:r=="before"||r=="left"&&i||r=="right"&&!i?o={originX:"start",originY:"center"}:(r=="after"||r=="right"&&i||r=="left"&&!i)&&(o={originX:"end",originY:"center"});let{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){let i=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"?o={overlayX:"center",overlayY:"bottom"}:r=="below"?o={overlayX:"center",overlayY:"top"}:r=="before"||r=="left"&&i||r=="right"&&!i?o={overlayX:"end",overlayY:"center"}:(r=="after"||r=="right"&&i||r=="left"&&!i)&&(o={overlayX:"start",overlayY:"center"});let{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Ve(1),le(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(i){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=i,this._tooltipInstance._markForCheck())}_invertPosition(i,r){return this.position==="above"||this.position==="below"?r==="top"?r="bottom":r==="bottom"&&(r="top"):i==="end"?i="start":i==="start"&&(i="end"),{x:i,y:r}}_updateCurrentPositionClass(i){let{overlayY:r,originX:o,originY:s}=i,a;if(r==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=r==="bottom"&&s==="top"?"above":"below",a!==this._currentPosition){let c=this._overlayRef;if(c){let l=`${this._cssClassPrefix}-${xv}-`;c.removePanelClass(l+this._currentPosition),c.addPanelClass(l+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",i=>{this._setupPointerExitEventsIfNeeded();let r;i.x!==void 0&&i.y!==void 0&&(r=i),this.show(void 0,r)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",i=>{let r=i.targetTouches?.[0],o=r?{x:r.clientX,y:r.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),IR)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let i=[];if(this._platformSupportsMouseEvents())i.push(["mouseleave",r=>{let o=r.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",r=>this._wheelListener(r)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let r=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};i.push(["touchend",r],["touchcancel",r])}this._addListeners(i),this._passiveListeners.push(...i)}_addListeners(i){i.forEach(([r,o])=>{this._elementRef.nativeElement.addEventListener(r,o,Cv)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(i){if(this._isTooltipVisible()){let r=this._document.elementFromPoint(i.clientX,i.clientY),o=this._elementRef.nativeElement;r!==o&&!o.contains(r)&&this.hide()}}_disableNativeGesturesIfNecessary(){let i=this.touchGestures;if(i!=="off"){let r=this._elementRef.nativeElement,o=r.style;(i==="on"||r.nodeName!=="INPUT"&&r.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(i==="on"||!r.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};e.\u0275fac=function(r){return new(r||e)(h(Wt),h(V),h(Ca),h(Ye),h(S),h(De),h(Q8),h(Z1),h(Mv),h(ti),h(ER,8),h(U))},e.\u0275dir=N({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(r,o){r&2&&me("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[x.None,"matTooltipPosition","position"],positionAtOrigin:[x.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[x.None,"matTooltipDisabled","disabled"],showDelay:[x.None,"matTooltipShowDelay","showDelay"],hideDelay:[x.None,"matTooltipHideDelay","hideDelay"],touchGestures:[x.None,"matTooltipTouchGestures","touchGestures"],message:[x.None,"matTooltip","message"],tooltipClass:[x.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let t=e;return t})(),NR=(()=>{let e=class e{constructor(i,r,o){this._changeDetectorRef=i,this._elementRef=r,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new H,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(i){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},i)}hide(i){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},i)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:i}){(!i||!this._triggerElement.contains(i))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let i=this._elementRef.nativeElement.getBoundingClientRect();return i.height>AR&&i.width>=TR}_handleAnimationEnd({animationName:i}){(i===this._showAnimation||i===this._hideAnimation)&&this._finalizeAnimation(i===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(i){i?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(i){let r=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(r.classList.remove(i?s:o),r.classList.add(i?o:s),this._isVisible=i,i&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(r);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}i&&this._onShow(),this._animationsDisabled&&(r.classList.add("_mat-animation-noopable"),this._finalizeAnimation(i))}};e.\u0275fac=function(r){return new(r||e)(h(st),h(V),h(gt,8))},e.\u0275cmp=Y({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(r,o){if(r&1&&et(xR,7),r&2){let s;re(s=oe())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(r,o){r&1&&Qe("mouseleave",function(a){return o._handleMouseLeave(a)}),r&2&&nr("zoom",o.isVisible()?1:null)},standalone:!0,features:[be],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(r,o){r&1&&(E(0,"div",0,1),Qe("animationend",function(a){return o._handleAnimationEnd(a)}),E(2,"div",2),G(3),I()()),r&2&&(me("mdc-tooltip--multiline",o._isMultiline),fe("ngClass",o.tooltipClass),R(3),Dt(o.message))},dependencies:[lo],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__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-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{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);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let t=e;return t})();var Iv=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({providers:[DR],imports:[Y1,At,Jl,pe,pe,Oo]});let t=e;return t})();var Sv=(()=>{let e=class e{transform(i,r){switch(i.toLowerCase()){case"stable":return"badge-ok";case"beta":return"badge-warn";case"canary":return"badge-alert";default:return""}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=hs({name:"getChannelClass",type:e,pure:!0});let t=e;return t})();var kv=(()=>{let e=class e{transform(i,r){let o=i.toLowerCase();switch(!0){case o.includes("linux"):return["fab","linux"];case o.includes("mac"):return["fab","apple"];case o.includes("win"):return["fab","microsoft"];default:return["far","square"]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=hs({name:"getPlatformIcon",type:e,pure:!0});let t=e;return t})();function zR(t,e){if(t&1&&(E(0,"span",10),cu(1,"getChannelClass"),G(2),I()),t&2){let n=ke(3);fe("ngClass",lu(1,2,n.milestone.channel)),R(2),Dt(n.milestone.channel)}}function LR(t,e){if(t&1&&(E(0,"th",8),G(1),ue(2,zR,3,4,"span",9),I()),t&2){let n=ke(2);R(),Bt(" Chrome ",n.milestone.version," "),R(),fe("ngIf",n.milestone.channel)}}function PR(t,e){if(t&1&&(E(0,"td",11),G(1),I()),t&2){let n=e.$implicit;R(),Bt(" ",n.app,"")}}function VR(t,e){t&1&&(E(0,"th",8),G(1," Downloads"),I())}function jR(t,e){if(t&1&&(E(0,"span")(1,"a",13),he(2,"fa-icon",14),cu(3,"getPlatformIcon"),G(4),I()()),t&2){let n=e.$implicit;R(),so("matTooltip",n.url),fe("href",n.url,io)("matTooltipShowDelay",200),R(),fe("icon",lu(3,5,n.platform)),R(2),Bt(" ",n.platform," ")}}function HR(t,e){if(t&1&&(E(0,"td",11),ue(1,jR,5,7,"span",12),I()),t&2){let n=e.$implicit;R(),fe("ngForOf",n.downloads)}}function BR(t,e){t&1&&he(0,"tr",15)}function UR(t,e){t&1&&he(0,"tr",16)}function $R(t,e){if(t&1&&(wi(0),E(1,"table",1),wi(2,2),ue(3,LR,3,2,"th",3)(4,PR,2,1,"td",4),xi(),wi(5,5),ue(6,VR,2,0,"th",3)(7,HR,2,1,"td",4),xi(),ue(8,BR,1,0,"tr",6)(9,UR,1,0,"tr",7),I(),xi()),t&2){let n=ke();R(),fe("dataSource",n.appDownloads),R(7),fe("matHeaderRowDef",n.displayedColumns),R(),fe("matRowDefColumns",n.displayedColumns)}}var Od=(()=>{let e=class e{constructor(){this.appDownloads=[],this.displayedColumns=["app","downloads"]}ngOnChanges(i){i.milestone&&(this.appDownloads=[],this.milestone?.downloads.forEach((r,o)=>{this.appDownloads.push({app:o,downloads:r})}))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Y({type:e,selectors:[["app-milestone"]],inputs:{milestone:"milestone"},features:[Re],decls:1,vars:1,consts:[[4,"ngIf"],["mat-table","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","app"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","downloads"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[3,"ngClass",4,"ngIf"],[3,"ngClass"],["mat-cell",""],[4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mr-1",3,"href","matTooltip","matTooltipShowDelay"],[1,"fa-xl","icon-color",3,"icon"],["mat-header-row",""],["mat-row",""]],template:function(r,o){r&1&&ue(0,$R,10,3,"ng-container",0),r&2&&fe("ngIf",o.appDownloads.length>0)},dependencies:[lo,h8,k1,y7,x9,Fg,Lg,Hg,Pg,zg,Bg,Vg,jg,Ug,$g,Ev,Sv,kv],styles:["table[_ngcontent-%COMP%]{min-width:850px}.mat-column-app[_ngcontent-%COMP%]{min-width:250px}.mat-column-downloads[_ngcontent-%COMP%]{min-width:600px}.icon-color[_ngcontent-%COMP%]{color:#708090}"]});let t=e;return t})();function qR(t,e){if(t&1&&(E(0,"mat-option",6),G(1),I()),t&2){let n=e.$implicit;fe("value",n.version),R(),Dt(n.milestone)}}function WR(t,e){if(t&1&&(wi(0),he(1,"app-milestone",7),xi()),t&2){let n=ke();R(),fe("milestone",n.selectedMilestone)}}function GR(t,e){t&1&&(E(0,"h3"),G(1,"No version selected."),I())}var Tv=(()=>{let e=class e{constructor(i){this.dataService=i}ngOnInit(){this.dataService.getMilestones().subscribe(i=>{this.milestones=Array.from(i.milestones.values()).sort((r,o)=>r.milestoner.version===i).shift()}};e.\u0275fac=function(r){return new(r||e)(h(bn))},e.\u0275cmp=Y({type:e,selectors:[["app-dl-milestone"]],features:[Fe([bn])],decls:15,vars:3,consts:[[1,"padding-1"],["svgIcon","chrome4test","aria-label","Chrome for testing",1,"h1-icon","mr-1","ml-1"],[3,"selectionChange"],[1,"ml-1"],[4,"ngIf","ngIfElse"],["nothing",""],[3,"value"],[3,"milestone"]],template:function(r,o){if(r&1&&(E(0,"section",0)(1,"h1"),he(2,"mat-icon",1),G(3," Download milestone versions "),I(),E(4,"mat-form-field")(5,"mat-label"),G(6,"Chrome version"),I(),E(7,"mat-select",2),Qe("selectionChange",function(a){return o.showDownloads(a.value)}),j6(8,qR,2,2,"mat-option",6,V6),I()(),E(10,"span",3),G(11),I(),ue(12,WR,2,1,"ng-container",4)(13,GR,2,0,"ng-template",null,5,xs),I()),r&2){let s=pn(14);R(8),H6(o.milestones),R(3),Bt("Last update: ",o.updated,""),R(),fe("ngIf",o.selectedMilestone)("ngIfElse",s)}},dependencies:[k1,po,H9,ql,Eg,tl,Od]});let t=e;return t})();var Nv=(()=>{let e=class e{constructor(i){this.dataService=i}ngOnInit(){this.dataService.getLatest().subscribe(i=>{this.stableMilestone=i.channels.get("Stable"),this.betaMilestone=i.channels.get("Beta"),this.canMilestone=i.channels.get("Canary")})}};e.\u0275fac=function(r){return new(r||e)(h(bn))},e.\u0275cmp=Y({type:e,selectors:[["app-dl-latest"]],decls:9,vars:3,consts:[[1,"padding-1"],["svgIcon","chrome4test","aria-label","Chrome for testing",1,"h1-icon","mr-1","ml-1"],[3,"milestone"]],template:function(r,o){r&1&&(E(0,"section",0)(1,"h1"),he(2,"mat-icon",1),G(3," Download latest versions "),I(),he(4,"app-milestone",2)(5,"div",0)(6,"app-milestone",2)(7,"div",0)(8,"app-milestone",2),I()),r&2&&(R(4),fe("milestone",o.stableMilestone),R(2),fe("milestone",o.betaMilestone),R(2),fe("milestone",o.canMilestone))},dependencies:[po,Od]});let t=e;return t})();var Um=[{path:"",pathMatch:"full",redirectTo:"/latest"},{path:"latest",component:Nv},{path:"milestone",component:Tv},{path:"about",component:z8}],Rv=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e,bootstrap:[Hl]}),e.\u0275inj=F({imports:[If.forRoot(Um,{preloadingStrategy:l9}),If]});let t=e;return t})();var Ov=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[pe,pe]});let t=e;return t})();var Fv=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[mo,At,pe,Vs,s4,Ov]});let t=e;return t})();var zv=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e}),e.\u0275inj=F({imports:[Y1,pe,pe]});let t=e;return t})();var Lv=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=z({type:e,bootstrap:[Hl]}),e.\u0275inj=F({providers:[u9(Um,g9())],imports:[Rv,wv,V1,At,w7,E8,zv,C9,I9,bp,Wl,Fv,Ig,qg,E9,Iv]});let t=e;return t})();O8().bootstrapModule(Lv).catch(t=>console.error(t)); diff --git a/dev/polyfills-RX4V3J3S.js b/dev/polyfills-RT5I6R6G.js similarity index 71% rename from dev/polyfills-RX4V3J3S.js rename to dev/polyfills-RT5I6R6G.js index eba136a..96a6393 100644 --- a/dev/polyfills-RX4V3J3S.js +++ b/dev/polyfills-RT5I6R6G.js @@ -1,2 +1,2 @@ -(function(e){let n=e.performance;function c(L){n&&n.mark&&n.mark(L)}function r(L,t){n&&n.measure&&n.measure(L,t)}c("Zone");let a=e.__Zone_symbol_prefix||"__zone_symbol__";function l(L){return a+L}let y=e[l("forceDuplicateZoneCheck")]===!0;if(e.Zone){if(y||typeof e.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return e.Zone}let se=class se{static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=se.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return ne}static __load_patch(t,s,o=!1){if(oe.hasOwnProperty(t)){if(!o&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let v="Zone:"+t;c(v),oe[t]=s(e,se,z),r(v,v)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new k(this,this._parent&&this._parent._zoneDelegate,s)}get(t){let s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if(typeof t!="function")throw new Error("Expecting function got: "+t);let o=this._zoneDelegate.intercept(this,t,s),v=this;return function(){return v.runGuarded(o,this,arguments,s)}}run(t,s,o,v){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,s,o,v)}finally{U=U.parent}}runGuarded(t,s=null,o,v){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,o,v)}catch(F){if(this._zoneDelegate.handleError(this,F))throw F}}finally{U=U.parent}}runTask(t,s,o){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(t.state===H&&(t.type===K||t.type===P))return;let v=t.state!=T;v&&t._transitionTo(T,M),t.runCount++;let F=ne;ne=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,o)}catch(f){if(this._zoneDelegate.handleError(this,f))throw f}}finally{t.state!==H&&t.state!==d&&(t.type==K||t.data&&t.data.isPeriodic?v&&t._transitionTo(M,T):(t.runCount=0,this._updateTaskCount(t,-1),v&&t._transitionTo(H,T,H))),U=U.parent,ne=F}}scheduleTask(t){if(t.zone&&t.zone!==this){let o=this;for(;o;){if(o===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);o=o.parent}}t._transitionTo(X,H);let s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(o){throw t._transitionTo(d,X,H),this._zoneDelegate.handleError(this,o),o}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(M,X),t}scheduleMicroTask(t,s,o,v){return this.scheduleTask(new p(N,t,s,o,v,void 0))}scheduleMacroTask(t,s,o,v,F){return this.scheduleTask(new p(P,t,s,o,v,F))}scheduleEventTask(t,s,o,v,F){return this.scheduleTask(new p(K,t,s,o,v,F))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(!(t.state!==M&&t.state!==T)){t._transitionTo(x,M,T);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(d,x),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(H,x),t.runCount=0,t}}_updateTaskCount(t,s){let o=t._zoneDelegates;s==-1&&(t._zoneDelegates=null);for(let v=0;vL.hasTask(s,o),onScheduleTask:(L,t,s,o)=>L.scheduleTask(s,o),onInvokeTask:(L,t,s,o,v,F)=>L.invokeTask(s,o,v,F),onCancelTask:(L,t,s,o)=>L.cancelTask(s,o)};class k{constructor(t,s,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=s,this._forkZS=o&&(o&&o.onFork?o:s._forkZS),this._forkDlgt=o&&(o.onFork?s:s._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:s._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:s._interceptZS),this._interceptDlgt=o&&(o.onIntercept?s:s._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:s._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:s._invokeZS),this._invokeDlgt=o&&(o.onInvoke?s:s._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:s._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:s._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?s:s._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:s._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:s._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?s:s._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:s._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:s._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?s:s._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:s._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:s._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?s:s._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:s._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let v=o&&o.onHasTask,F=s&&s._hasTaskZS;(v||F)&&(this._hasTaskZS=v?o:b,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,o.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this.zone))}fork(t,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,s):new _(t,s)}intercept(t,s,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,s,o):s}invoke(t,s,o,v,F){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,s,o,v,F):s.apply(o,v)}handleError(t,s){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,s):!0}scheduleTask(t,s){let o=s;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,s),o||(o=s);else if(s.scheduleFn)s.scheduleFn(s);else if(s.type==N)R(s);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(t,s,o,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,s,o,v):s.callback.apply(o,v)}cancelTask(t,s){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");o=s.cancelFn(s)}return o}hasTask(t,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,s)}catch(o){this.handleError(t,o)}}_updateTaskCount(t,s){let o=this._taskCounts,v=o[t],F=o[t]=v+s;if(F<0)throw new Error("More tasks executed then were scheduled.");if(v==0||F==0){let f={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:t};this.hasTask(this.zone,f)}}}class p{constructor(t,s,o,v,F,f){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=s,this.data=v,this.scheduleFn=F,this.cancelFn=f,!o)throw new Error("callback is not defined");this.callback=o;let u=this;t===K&&v&&v.useG?this.invoke=p.invokeTask:this.invoke=function(){return p.invokeTask.call(e,u,this,arguments)}}static invokeTask(t,s,o){t||(t=this),ee++;try{return t.runCount++,t.zone.runTask(t,s,o)}finally{ee==1&&E(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(H,X)}_transitionTo(t,s,o){if(this._state===s||this._state===o)this._state=t,t==H&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${s}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let I=l("setTimeout"),O=l("Promise"),Z=l("then"),B=[],j=!1,J;function q(L){if(J||e[O]&&(J=e[O].resolve(0)),J){let t=J[Z];t||(t=J.then),t.call(J,L)}else e[I](L,0)}function R(L){ee===0&&B.length===0&&q(E),L&&B.push(L)}function E(){if(!j){for(j=!0;B.length;){let L=B;B=[];for(let t=0;tU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!_[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q},U={parent:null,zone:new _(null,null)},ne=null,ee=0;function W(){}return r("Zone","Zone"),e.Zone=_})(globalThis);var ge=Object.getOwnPropertyDescriptor,Ie=Object.defineProperty,Me=Object.getPrototypeOf,ct=Object.create,at=Array.prototype.slice,Le="addEventListener",je="removeEventListener",De=Zone.__symbol__(Le),Oe=Zone.__symbol__(je),ce="true",ae="false",me=Zone.__symbol__("");function Ae(e,n){return Zone.current.wrap(e,n)}function He(e,n,c,r,a){return Zone.current.scheduleMacroTask(e,n,c,r,a)}var A=Zone.__symbol__,we=typeof window<"u",Te=we?window:void 0,Y=we&&Te||globalThis,lt="removeAttribute";function xe(e,n){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ae(e[c],n+"_"+c));return e}function ut(e,n){let c=e.constructor.name;for(let r=0;r{let b=function(){return _.apply(this,xe(arguments,c+"."+a))};return le(b,_),b})(l)}}}function $e(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var Je=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in Y)&&typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]",Ge=!Re&&!Je&&!!(we&&Te.HTMLElement),Ke=typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]"&&!Je&&!!(we&&Te.HTMLElement),Pe={},qe=function(e){if(e=e||Y.event,!e)return;let n=Pe[e.type];n||(n=Pe[e.type]=A("ON_PROPERTY"+e.type));let c=this||e.target||Y,r=c[n],a;if(Ge&&c===Te&&e.type==="error"){let l=e;a=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),a===!0&&e.preventDefault()}else a=r&&r.apply(this,arguments),a!=null&&!a&&e.preventDefault();return a};function Xe(e,n,c){let r=ge(e,n);if(!r&&c&&ge(c,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let a=A("on"+n+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete r.writable,delete r.value;let l=r.get,y=r.set,_=n.slice(2),b=Pe[_];b||(b=Pe[_]=A("ON_PROPERTY"+_)),r.set=function(k){let p=this;if(!p&&e===Y&&(p=Y),!p)return;typeof p[b]=="function"&&p.removeEventListener(_,qe),y&&y.call(p,null),p[b]=k,typeof k=="function"&&p.addEventListener(_,qe,!1)},r.get=function(){let k=this;if(!k&&e===Y&&(k=Y),!k)return null;let p=k[b];if(p)return p;if(l){let I=l.call(this);if(I)return r.set.call(this,I),typeof k[lt]=="function"&&k.removeAttribute(n),I}return null},Ie(e,n,r),e[a]=!0}function Qe(e,n,c){if(n)for(let r=0;rfunction(y,_){let b=c(y,_);return b.cbIdx>=0&&typeof _[b.cbIdx]=="function"?He(b.name,_[b.cbIdx],b,a):l.apply(y,_)})}function le(e,n){e[A("OriginalDelegate")]=n}var ze=!1,Ze=!1;function ht(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function dt(){if(ze)return Ze;ze=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Ze=!0)}catch{}return Ze}Zone.__load_patch("ZoneAwarePromise",(e,n,c)=>{let r=Object.getOwnPropertyDescriptor,a=Object.defineProperty;function l(f){if(f&&f.toString===Object.prototype.toString){let u=f.constructor&&f.constructor.name;return(u||"")+": "+JSON.stringify(f)}return f?f.toString():Object.prototype.toString.call(f)}let y=c.symbol,_=[],b=e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,k=y("Promise"),p=y("then"),I="__creationTrace__";c.onUnhandledError=f=>{if(c.showUncaughtError()){let u=f&&f.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(f)}},c.microtaskDrainDone=()=>{for(;_.length;){let f=_.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(u){Z(u)}}};let O=y("unhandledPromiseRejectionHandler");function Z(f){c.onUnhandledError(f);try{let u=n[O];typeof u=="function"&&u.call(this,f)}catch{}}function B(f){return f&&f.then}function j(f){return f}function J(f){return t.reject(f)}let q=y("state"),R=y("value"),E=y("finally"),$=y("parentPromiseValue"),H=y("parentPromiseState"),X="Promise.then",M=null,T=!0,x=!1,d=0;function N(f,u){return i=>{try{z(f,u,i)}catch(h){z(f,!1,h)}}}let P=function(){let f=!1;return function(i){return function(){f||(f=!0,i.apply(null,arguments))}}},K="Promise resolved with itself",oe=y("currentTaskTrace");function z(f,u,i){let h=P();if(f===i)throw new TypeError(K);if(f[q]===M){let m=null;try{(typeof i=="object"||typeof i=="function")&&(m=i&&i.then)}catch(w){return h(()=>{z(f,!1,w)})(),f}if(u!==x&&i instanceof t&&i.hasOwnProperty(q)&&i.hasOwnProperty(R)&&i[q]!==M)ne(i),z(f,i[q],i[R]);else if(u!==x&&typeof m=="function")try{m.call(i,h(N(f,u)),h(N(f,!1)))}catch(w){h(()=>{z(f,!1,w)})()}else{f[q]=u;let w=f[R];if(f[R]=i,f[E]===E&&u===T&&(f[q]=f[H],f[R]=f[$]),u===x&&i instanceof Error){let g=n.currentTask&&n.currentTask.data&&n.currentTask.data[I];g&&a(i,oe,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g{try{let C=f[R],S=!!i&&E===i[E];S&&(i[$]=C,i[H]=w);let D=u.run(g,void 0,S&&g!==J&&g!==j?[]:[C]);z(i,!0,D)}catch(C){z(i,!1,C)}},i)}let W="function ZoneAwarePromise() { [native code] }",se=function(){},L=e.AggregateError;class t{static toString(){return W}static resolve(u){return u instanceof t?u:z(new this(null),T,u)}static reject(u){return z(new this(null),x,u)}static withResolvers(){let u={};return u.promise=new t((i,h)=>{u.resolve=i,u.reject=h}),u}static any(u){if(!u||typeof u[Symbol.iterator]!="function")return Promise.reject(new L([],"All promises were rejected"));let i=[],h=0;try{for(let g of u)h++,i.push(t.resolve(g))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(h===0)return Promise.reject(new L([],"All promises were rejected"));let m=!1,w=[];return new t((g,C)=>{for(let S=0;S{m||(m=!0,g(D))},D=>{w.push(D),h--,h===0&&(m=!0,C(new L(w,"All promises were rejected")))})})}static race(u){let i,h,m=new this((C,S)=>{i=C,h=S});function w(C){i(C)}function g(C){h(C)}for(let C of u)B(C)||(C=this.resolve(C)),C.then(w,g);return m}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(u,i){let h,m,w=new this((D,G)=>{h=D,m=G}),g=2,C=0,S=[];for(let D of u){B(D)||(D=this.resolve(D));let G=C;try{D.then(V=>{S[G]=i?i.thenCallback(V):V,g--,g===0&&h(S)},V=>{i?(S[G]=i.errorCallback(V),g--,g===0&&h(S)):m(V)})}catch(V){m(V)}g++,C++}return g-=2,g===0&&h(S),w}constructor(u){let i=this;if(!(i instanceof t))throw new Error("Must be an instanceof Promise.");i[q]=M,i[R]=[];try{let h=P();u&&u(h(N(i,T)),h(N(i,x)))}catch(h){z(i,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,i){let h=this.constructor?.[Symbol.species];(!h||typeof h!="function")&&(h=this.constructor||t);let m=new h(se),w=n.current;return this[q]==M?this[R].push(w,m,u,i):ee(this,w,m,u,i),m}catch(u){return this.then(null,u)}finally(u){let i=this.constructor?.[Symbol.species];(!i||typeof i!="function")&&(i=t);let h=new i(se);h[E]=E;let m=n.current;return this[q]==M?this[R].push(m,h,u,u):ee(this,m,h,u,u),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;let s=e[k]=e.Promise;e.Promise=t;let o=y("thenPatched");function v(f){let u=f.prototype,i=r(u,"then");if(i&&(i.writable===!1||!i.configurable))return;let h=u.then;u[p]=h,f.prototype.then=function(m,w){return new t((C,S)=>{h.call(this,C,S)}).then(m,w)},f[o]=!0}c.patchThen=v;function F(f){return function(u,i){let h=f.apply(u,i);if(h instanceof t)return h;let m=h.constructor;return m[o]||v(m),h}}return s&&(v(s),ue(e,"fetch",f=>F(f))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,c=A("OriginalDelegate"),r=A("Promise"),a=A("Error"),l=function(){if(typeof this=="function"){let k=this[c];if(k)return typeof k=="function"?n.call(k):Object.prototype.toString.call(k);if(this===Promise){let p=e[r];if(p)return n.call(p)}if(this===Error){let p=e[a];if(p)return n.call(p)}}return n.call(this)};l[c]=n,Function.prototype.toString=l;let y=Object.prototype.toString,_="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?_:y.call(this)}});var _e=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{_e=!1}var _t={useG:!0},te={},et={},tt=new RegExp("^"+me+"(\\w+)(true|false)$"),nt=A("propagationStopped");function rt(e,n){let c=(n?n(e):e)+ae,r=(n?n(e):e)+ce,a=me+c,l=me+r;te[e]={},te[e][ae]=a,te[e][ce]=l}function Et(e,n,c,r){let a=r&&r.add||Le,l=r&&r.rm||je,y=r&&r.listeners||"eventListeners",_=r&&r.rmAll||"removeAllListeners",b=A(a),k="."+a+":",p="prependListener",I="."+p+":",O=function(R,E,$){if(R.isRemoved)return;let H=R.callback;typeof H=="object"&&H.handleEvent&&(R.callback=T=>H.handleEvent(T),R.originalDelegate=H);let X;try{R.invoke(R,E,[$])}catch(T){X=T}let M=R.options;if(M&&typeof M=="object"&&M.once){let T=R.originalDelegate?R.originalDelegate:R.callback;E[l].call(E,$.type,T,M)}return X};function Z(R,E,$){if(E=E||e.event,!E)return;let H=R||E.target||e,X=H[te[E.type][$?ce:ae]];if(X){let M=[];if(X.length===1){let T=O(X[0],H,E);T&&M.push(T)}else{let T=X.slice();for(let x=0;x{throw x})}}}let B=function(R){return Z(this,R,!1)},j=function(R){return Z(this,R,!0)};function J(R,E){if(!R)return!1;let $=!0;E&&E.useG!==void 0&&($=E.useG);let H=E&&E.vh,X=!0;E&&E.chkDup!==void 0&&(X=E.chkDup);let M=!1;E&&E.rt!==void 0&&(M=E.rt);let T=R;for(;T&&!T.hasOwnProperty(a);)T=Me(T);if(!T&&R[a]&&(T=R),!T||T[b])return!1;let x=E&&E.eventNameToString,d={},N=T[b]=T[a],P=T[A(l)]=T[l],K=T[A(y)]=T[y],oe=T[A(_)]=T[_],z;E&&E.prepend&&(z=T[A(E.prepend)]=T[E.prepend]);function U(i,h){return!_e&&typeof i=="object"&&i?!!i.capture:!_e||!h?i:typeof i=="boolean"?{capture:i,passive:!0}:i?typeof i=="object"&&i.passive!==!1?{...i,passive:!0}:i:{passive:!0}}let ne=function(i){if(!d.isExisting)return N.call(d.target,d.eventName,d.capture?j:B,d.options)},ee=function(i){if(!i.isRemoved){let h=te[i.eventName],m;h&&(m=h[i.capture?ce:ae]);let w=m&&i.target[m];if(w){for(let g=0;g{ie.zone.cancelTask(ie)},{once:!0})),d.target=null,pe&&(pe.taskData=null),Ve&&(Q.once=!0),!_e&&typeof ie.options=="boolean"||(ie.options=Q),ie.target=S,ie.capture=Ce,ie.eventName=D,V&&(ie.originalDelegate=G),C?de.unshift(ie):de.push(ie),g)return S}};return T[a]=u(N,k,t,s,M),z&&(T[p]=u(z,I,se,s,M,!0)),T[l]=function(){let i=this||e,h=arguments[0];E&&E.transferEventName&&(h=E.transferEventName(h));let m=arguments[2],w=m?typeof m=="boolean"?!0:m.capture:!1,g=arguments[1];if(!g)return P.apply(this,arguments);if(H&&!H(P,g,i,arguments))return;let C=te[h],S;C&&(S=C[w?ce:ae]);let D=S&&i[S];if(D)for(let G=0;Gfunction(a,l){a[nt]=!0,r&&r.apply(a,l)})}function yt(e,n,c,r,a){let l=Zone.__symbol__(r);if(n[l])return;let y=n[l]=n[r];n[r]=function(_,b,k){return b&&b.prototype&&a.forEach(function(p){let I=`${c}.${r}::`+p,O=b.prototype;try{if(O.hasOwnProperty(p)){let Z=e.ObjectGetOwnPropertyDescriptor(O,p);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,I),e._redefineProperty(b.prototype,p,Z)):O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],I))}else O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],I))}catch{}}),y.call(n,_,b,k)},e.attachOriginToPatched(n[r],y)}function st(e,n,c){if(!c||c.length===0)return n;let r=c.filter(l=>l.target===e);if(!r||r.length===0)return n;let a=r[0].ignoreProperties;return n.filter(l=>a.indexOf(l)===-1)}function Ye(e,n,c,r){if(!e)return;let a=st(e,n,c);Qe(e,a,r)}function Ne(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function pt(e,n){if(Re&&!Ke||Zone[e.symbol("patchEvents")])return;let c=n.__Zone_ignore_on_properties,r=[];if(Ge){let a=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=ht()?[{target:a,ignoreProperties:["error"]}]:[];Ye(a,Ne(a),c&&c.concat(l),Me(a))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{let r=Ne(e);c.patchOnProperties=Qe,c.patchMethod=ue,c.bindArguments=xe,c.patchMacroTask=ft;let a=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[a]=e[l]),e[a]&&(n[a]=n[l]=e[a]),c.patchEventPrototype=Tt,c.patchEventTarget=Et,c.isIEOrEdge=dt,c.ObjectDefineProperty=Ie,c.ObjectGetOwnPropertyDescriptor=ge,c.ObjectCreate=ct,c.ArraySlice=at,c.patchClass=ke,c.wrapWithCurrentZone=Ae,c.filterProperties=st,c.attachOriginToPatched=le,c._redefineProperty=Object.defineProperty,c.patchCallbacks=yt,c.getGlobalObjects=()=>({globalSources:et,zoneSymbolEventNames:te,eventNames:r,isBrowser:Ge,isMix:Ke,isNode:Re,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Le,REMOVE_EVENT_LISTENER_STR:je})});function gt(e,n){n.patchMethod(e,"queueMicrotask",c=>function(r,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}var be=A("zoneTask");function Ee(e,n,c,r){let a=null,l=null;n+=r,c+=r;let y={};function _(k){let p=k.data;return p.args[0]=function(){return k.invoke.apply(this,arguments)},p.handleId=a.apply(e,p.args),k}function b(k){return l.call(e,k.data.handleId)}a=ue(e,n,k=>function(p,I){if(typeof I[0]=="function"){let O={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?I[1]||0:void 0,args:I},Z=I[0];I[0]=function(){try{return Z.apply(this,arguments)}finally{O.isPeriodic||(typeof O.handleId=="number"?delete y[O.handleId]:O.handleId&&(O.handleId[be]=null))}};let B=He(n,I[0],O,_,b);if(!B)return B;let j=B.data.handleId;return typeof j=="number"?y[j]=B:j&&(j[be]=B),j&&j.ref&&j.unref&&typeof j.ref=="function"&&typeof j.unref=="function"&&(B.ref=j.ref.bind(j),B.unref=j.unref.bind(j)),typeof j=="number"||j?j:B}else return k.apply(e,I)}),l=ue(e,c,k=>function(p,I){let O=I[0],Z;typeof O=="number"?Z=y[O]:(Z=O&&O[be],Z||(Z=O)),Z&&typeof Z.type=="string"?Z.state!=="notScheduled"&&(Z.cancelFn&&Z.data.isPeriodic||Z.runCount===0)&&(typeof O=="number"?delete y[O]:O&&(O[be]=null),Z.zone.cancelTask(Z)):k.apply(e,I)})}function mt(e,n){let{isBrowser:c,isMix:r}=n.getGlobalObjects();if(!c&&!r||!e.customElements||!("customElements"in e))return;let a=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",a)}function kt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:r,TRUE_STR:a,FALSE_STR:l,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",c="clear";Ee(e,n,c,"Timeout"),Ee(e,n,c,"Interval"),Ee(e,n,c,"Immediate")});Zone.__load_patch("requestAnimationFrame",e=>{Ee(e,"request","cancel","AnimationFrame"),Ee(e,"mozRequest","mozCancel","AnimationFrame"),Ee(e,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(e,n)=>{let c=["alert","prompt","confirm"];for(let r=0;rfunction(b,k){return n.current.run(l,e,k,_)})}});Zone.__load_patch("EventTarget",(e,n,c)=>{vt(e,c),kt(e,c);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&c.patchEventTarget(e,c,[r.prototype])});Zone.__load_patch("MutationObserver",(e,n,c)=>{ke("MutationObserver"),ke("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,c)=>{ke("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,c)=>{ke("FileReader")});Zone.__load_patch("on_property",(e,n,c)=>{pt(c,e)});Zone.__load_patch("customElements",(e,n,c)=>{mt(e,c)});Zone.__load_patch("XHR",(e,n)=>{b(e);let c=A("xhrTask"),r=A("xhrSync"),a=A("xhrListener"),l=A("xhrScheduled"),y=A("xhrURL"),_=A("xhrErrorBeforeScheduled");function b(k){let p=k.XMLHttpRequest;if(!p)return;let I=p.prototype;function O(d){return d[c]}let Z=I[De],B=I[Oe];if(!Z){let d=k.XMLHttpRequestEventTarget;if(d){let N=d.prototype;Z=N[De],B=N[Oe]}}let j="readystatechange",J="scheduled";function q(d){let N=d.data,P=N.target;P[l]=!1,P[_]=!1;let K=P[a];Z||(Z=P[De],B=P[Oe]),K&&B.call(P,j,K);let oe=P[a]=()=>{if(P.readyState===P.DONE)if(!N.aborted&&P[l]&&d.state===J){let U=P[n.__symbol__("loadfalse")];if(P.status!==0&&U&&U.length>0){let ne=d.invoke;d.invoke=function(){let ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(d,N){return d[r]=N[2]==!1,d[y]=N[1],$.apply(d,N)}),H="XMLHttpRequest.send",X=A("fetchTaskAborting"),M=A("fetchTaskScheduling"),T=ue(I,"send",()=>function(d,N){if(n.current[M]===!0||d[r])return T.apply(d,N);{let P={target:d,url:d[y],isPeriodic:!1,args:N,aborted:!1},K=He(H,R,P,q,E);d&&d[_]===!0&&!P.aborted&&K.state===J&&K.invoke()}}),x=ue(I,"abort",()=>function(d,N){let P=O(d);if(P&&typeof P.type=="string"){if(P.cancelFn==null||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(n.current[X]===!0)return x.apply(d,N)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&ut(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function c(r){return function(a){ot(e,r).forEach(y=>{let _=e.PromiseRejectionEvent;if(_){let b=new _(r,{promise:a.promise,reason:a.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),n[A("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,c)=>{gt(e,c)}); +(function(e){let n=e.performance;function c(L){n&&n.mark&&n.mark(L)}function r(L,t){n&&n.measure&&n.measure(L,t)}c("Zone");let a=e.__Zone_symbol_prefix||"__zone_symbol__";function l(L){return a+L}let y=e[l("forceDuplicateZoneCheck")]===!0;if(e.Zone){if(y||typeof e.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return e.Zone}let se=class se{static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=se.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return ne}static __load_patch(t,s,o=!1){if(oe.hasOwnProperty(t)){if(!o&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let v="Zone:"+t;c(v),oe[t]=s(e,se,z),r(v,v)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new k(this,this._parent&&this._parent._zoneDelegate,s)}get(t){let s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if(typeof t!="function")throw new Error("Expecting function got: "+t);let o=this._zoneDelegate.intercept(this,t,s),v=this;return function(){return v.runGuarded(o,this,arguments,s)}}run(t,s,o,v){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,s,o,v)}finally{U=U.parent}}runGuarded(t,s=null,o,v){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,o,v)}catch(F){if(this._zoneDelegate.handleError(this,F))throw F}}finally{U=U.parent}}runTask(t,s,o){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(t.state===H&&(t.type===K||t.type===P))return;let v=t.state!=T;v&&t._transitionTo(T,M),t.runCount++;let F=ne;ne=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,o)}catch(f){if(this._zoneDelegate.handleError(this,f))throw f}}finally{t.state!==H&&t.state!==d&&(t.type==K||t.data&&t.data.isPeriodic?v&&t._transitionTo(M,T):(t.runCount=0,this._updateTaskCount(t,-1),v&&t._transitionTo(H,T,H))),U=U.parent,ne=F}}scheduleTask(t){if(t.zone&&t.zone!==this){let o=this;for(;o;){if(o===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);o=o.parent}}t._transitionTo(X,H);let s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(o){throw t._transitionTo(d,X,H),this._zoneDelegate.handleError(this,o),o}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(M,X),t}scheduleMicroTask(t,s,o,v){return this.scheduleTask(new m(N,t,s,o,v,void 0))}scheduleMacroTask(t,s,o,v,F){return this.scheduleTask(new m(P,t,s,o,v,F))}scheduleEventTask(t,s,o,v,F){return this.scheduleTask(new m(K,t,s,o,v,F))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(!(t.state!==M&&t.state!==T)){t._transitionTo(x,M,T);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(d,x),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(H,x),t.runCount=0,t}}_updateTaskCount(t,s){let o=t._zoneDelegates;s==-1&&(t._zoneDelegates=null);for(let v=0;vL.hasTask(s,o),onScheduleTask:(L,t,s,o)=>L.scheduleTask(s,o),onInvokeTask:(L,t,s,o,v,F)=>L.invokeTask(s,o,v,F),onCancelTask:(L,t,s,o)=>L.cancelTask(s,o)};class k{constructor(t,s,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=s,this._forkZS=o&&(o&&o.onFork?o:s._forkZS),this._forkDlgt=o&&(o.onFork?s:s._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:s._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:s._interceptZS),this._interceptDlgt=o&&(o.onIntercept?s:s._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:s._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:s._invokeZS),this._invokeDlgt=o&&(o.onInvoke?s:s._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:s._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:s._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?s:s._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:s._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:s._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?s:s._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:s._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:s._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?s:s._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:s._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:s._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?s:s._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:s._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let v=o&&o.onHasTask,F=s&&s._hasTaskZS;(v||F)&&(this._hasTaskZS=v?o:b,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,o.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this.zone))}fork(t,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,s):new _(t,s)}intercept(t,s,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,s,o):s}invoke(t,s,o,v,F){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,s,o,v,F):s.apply(o,v)}handleError(t,s){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,s):!0}scheduleTask(t,s){let o=s;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,s),o||(o=s);else if(s.scheduleFn)s.scheduleFn(s);else if(s.type==N)R(s);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(t,s,o,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,s,o,v):s.callback.apply(o,v)}cancelTask(t,s){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");o=s.cancelFn(s)}return o}hasTask(t,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,s)}catch(o){this.handleError(t,o)}}_updateTaskCount(t,s){let o=this._taskCounts,v=o[t],F=o[t]=v+s;if(F<0)throw new Error("More tasks executed then were scheduled.");if(v==0||F==0){let f={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:t};this.hasTask(this.zone,f)}}}class m{constructor(t,s,o,v,F,f){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=s,this.data=v,this.scheduleFn=F,this.cancelFn=f,!o)throw new Error("callback is not defined");this.callback=o;let u=this;t===K&&v&&v.useG?this.invoke=m.invokeTask:this.invoke=function(){return m.invokeTask.call(e,u,this,arguments)}}static invokeTask(t,s,o){t||(t=this),ee++;try{return t.runCount++,t.zone.runTask(t,s,o)}finally{ee==1&&E(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(H,X)}_transitionTo(t,s,o){if(this._state===s||this._state===o)this._state=t,t==H&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${s}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let I=l("setTimeout"),O=l("Promise"),Z=l("then"),B=[],j=!1,J;function q(L){if(J||e[O]&&(J=e[O].resolve(0)),J){let t=J[Z];t||(t=J.then),t.call(J,L)}else e[I](L,0)}function R(L){ee===0&&B.length===0&&q(E),L&&B.push(L)}function E(){if(!j){for(j=!0;B.length;){let L=B;B=[];for(let t=0;tU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!_[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q},U={parent:null,zone:new _(null,null)},ne=null,ee=0;function W(){}return r("Zone","Zone"),e.Zone=_})(globalThis);var pe=Object.getOwnPropertyDescriptor,Ie=Object.defineProperty,Me=Object.getPrototypeOf,ct=Object.create,at=Array.prototype.slice,Le="addEventListener",je="removeEventListener",De=Zone.__symbol__(Le),Oe=Zone.__symbol__(je),ce="true",ae="false",ge=Zone.__symbol__("");function Ae(e,n){return Zone.current.wrap(e,n)}function He(e,n,c,r,a){return Zone.current.scheduleMacroTask(e,n,c,r,a)}var A=Zone.__symbol__,we=typeof window<"u",Te=we?window:void 0,Y=we&&Te||globalThis,lt="removeAttribute";function xe(e,n){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ae(e[c],n+"_"+c));return e}function ut(e,n){let c=e.constructor.name;for(let r=0;r{let b=function(){return _.apply(this,xe(arguments,c+"."+a))};return le(b,_),b})(l)}}}function $e(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var Je=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in Y)&&typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]",Ge=!Re&&!Je&&!!(we&&Te.HTMLElement),Ke=typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]"&&!Je&&!!(we&&Te.HTMLElement),Pe={},qe=function(e){if(e=e||Y.event,!e)return;let n=Pe[e.type];n||(n=Pe[e.type]=A("ON_PROPERTY"+e.type));let c=this||e.target||Y,r=c[n],a;if(Ge&&c===Te&&e.type==="error"){let l=e;a=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),a===!0&&e.preventDefault()}else a=r&&r.apply(this,arguments),a!=null&&!a&&e.preventDefault();return a};function Xe(e,n,c){let r=pe(e,n);if(!r&&c&&pe(c,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let a=A("on"+n+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete r.writable,delete r.value;let l=r.get,y=r.set,_=n.slice(2),b=Pe[_];b||(b=Pe[_]=A("ON_PROPERTY"+_)),r.set=function(k){let m=this;if(!m&&e===Y&&(m=Y),!m)return;typeof m[b]=="function"&&m.removeEventListener(_,qe),y&&y.call(m,null),m[b]=k,typeof k=="function"&&m.addEventListener(_,qe,!1)},r.get=function(){let k=this;if(!k&&e===Y&&(k=Y),!k)return null;let m=k[b];if(m)return m;if(l){let I=l.call(this);if(I)return r.set.call(this,I),typeof k[lt]=="function"&&k.removeAttribute(n),I}return null},Ie(e,n,r),e[a]=!0}function Qe(e,n,c){if(n)for(let r=0;rfunction(y,_){let b=c(y,_);return b.cbIdx>=0&&typeof _[b.cbIdx]=="function"?He(b.name,_[b.cbIdx],b,a):l.apply(y,_)})}function le(e,n){e[A("OriginalDelegate")]=n}var ze=!1,Ze=!1;function ht(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function dt(){if(ze)return Ze;ze=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Ze=!0)}catch{}return Ze}Zone.__load_patch("ZoneAwarePromise",(e,n,c)=>{let r=Object.getOwnPropertyDescriptor,a=Object.defineProperty;function l(f){if(f&&f.toString===Object.prototype.toString){let u=f.constructor&&f.constructor.name;return(u||"")+": "+JSON.stringify(f)}return f?f.toString():Object.prototype.toString.call(f)}let y=c.symbol,_=[],b=e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,k=y("Promise"),m=y("then"),I="__creationTrace__";c.onUnhandledError=f=>{if(c.showUncaughtError()){let u=f&&f.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(f)}},c.microtaskDrainDone=()=>{for(;_.length;){let f=_.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(u){Z(u)}}};let O=y("unhandledPromiseRejectionHandler");function Z(f){c.onUnhandledError(f);try{let u=n[O];typeof u=="function"&&u.call(this,f)}catch{}}function B(f){return f&&f.then}function j(f){return f}function J(f){return t.reject(f)}let q=y("state"),R=y("value"),E=y("finally"),$=y("parentPromiseValue"),H=y("parentPromiseState"),X="Promise.then",M=null,T=!0,x=!1,d=0;function N(f,u){return i=>{try{z(f,u,i)}catch(h){z(f,!1,h)}}}let P=function(){let f=!1;return function(i){return function(){f||(f=!0,i.apply(null,arguments))}}},K="Promise resolved with itself",oe=y("currentTaskTrace");function z(f,u,i){let h=P();if(f===i)throw new TypeError(K);if(f[q]===M){let g=null;try{(typeof i=="object"||typeof i=="function")&&(g=i&&i.then)}catch(w){return h(()=>{z(f,!1,w)})(),f}if(u!==x&&i instanceof t&&i.hasOwnProperty(q)&&i.hasOwnProperty(R)&&i[q]!==M)ne(i),z(f,i[q],i[R]);else if(u!==x&&typeof g=="function")try{g.call(i,h(N(f,u)),h(N(f,!1)))}catch(w){h(()=>{z(f,!1,w)})()}else{f[q]=u;let w=f[R];if(f[R]=i,f[E]===E&&u===T&&(f[q]=f[H],f[R]=f[$]),u===x&&i instanceof Error){let p=n.currentTask&&n.currentTask.data&&n.currentTask.data[I];p&&a(i,oe,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{let C=f[R],S=!!i&&E===i[E];S&&(i[$]=C,i[H]=w);let D=u.run(p,void 0,S&&p!==J&&p!==j?[]:[C]);z(i,!0,D)}catch(C){z(i,!1,C)}},i)}let W="function ZoneAwarePromise() { [native code] }",se=function(){},L=e.AggregateError;class t{static toString(){return W}static resolve(u){return u instanceof t?u:z(new this(null),T,u)}static reject(u){return z(new this(null),x,u)}static withResolvers(){let u={};return u.promise=new t((i,h)=>{u.resolve=i,u.reject=h}),u}static any(u){if(!u||typeof u[Symbol.iterator]!="function")return Promise.reject(new L([],"All promises were rejected"));let i=[],h=0;try{for(let p of u)h++,i.push(t.resolve(p))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(h===0)return Promise.reject(new L([],"All promises were rejected"));let g=!1,w=[];return new t((p,C)=>{for(let S=0;S{g||(g=!0,p(D))},D=>{w.push(D),h--,h===0&&(g=!0,C(new L(w,"All promises were rejected")))})})}static race(u){let i,h,g=new this((C,S)=>{i=C,h=S});function w(C){i(C)}function p(C){h(C)}for(let C of u)B(C)||(C=this.resolve(C)),C.then(w,p);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(u,i){let h,g,w=new this((D,G)=>{h=D,g=G}),p=2,C=0,S=[];for(let D of u){B(D)||(D=this.resolve(D));let G=C;try{D.then(V=>{S[G]=i?i.thenCallback(V):V,p--,p===0&&h(S)},V=>{i?(S[G]=i.errorCallback(V),p--,p===0&&h(S)):g(V)})}catch(V){g(V)}p++,C++}return p-=2,p===0&&h(S),w}constructor(u){let i=this;if(!(i instanceof t))throw new Error("Must be an instanceof Promise.");i[q]=M,i[R]=[];try{let h=P();u&&u(h(N(i,T)),h(N(i,x)))}catch(h){z(i,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,i){let h=this.constructor?.[Symbol.species];(!h||typeof h!="function")&&(h=this.constructor||t);let g=new h(se),w=n.current;return this[q]==M?this[R].push(w,g,u,i):ee(this,w,g,u,i),g}catch(u){return this.then(null,u)}finally(u){let i=this.constructor?.[Symbol.species];(!i||typeof i!="function")&&(i=t);let h=new i(se);h[E]=E;let g=n.current;return this[q]==M?this[R].push(g,h,u,u):ee(this,g,h,u,u),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;let s=e[k]=e.Promise;e.Promise=t;let o=y("thenPatched");function v(f){let u=f.prototype,i=r(u,"then");if(i&&(i.writable===!1||!i.configurable))return;let h=u.then;u[m]=h,f.prototype.then=function(g,w){return new t((C,S)=>{h.call(this,C,S)}).then(g,w)},f[o]=!0}c.patchThen=v;function F(f){return function(u,i){let h=f.apply(u,i);if(h instanceof t)return h;let g=h.constructor;return g[o]||v(g),h}}return s&&(v(s),ue(e,"fetch",f=>F(f))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,c=A("OriginalDelegate"),r=A("Promise"),a=A("Error"),l=function(){if(typeof this=="function"){let k=this[c];if(k)return typeof k=="function"?n.call(k):Object.prototype.toString.call(k);if(this===Promise){let m=e[r];if(m)return n.call(m)}if(this===Error){let m=e[a];if(m)return n.call(m)}}return n.call(this)};l[c]=n,Function.prototype.toString=l;let y=Object.prototype.toString,_="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?_:y.call(this)}});var _e=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{_e=!1}var _t={useG:!0},te={},et={},tt=new RegExp("^"+ge+"(\\w+)(true|false)$"),nt=A("propagationStopped");function rt(e,n){let c=(n?n(e):e)+ae,r=(n?n(e):e)+ce,a=ge+c,l=ge+r;te[e]={},te[e][ae]=a,te[e][ce]=l}function Et(e,n,c,r){let a=r&&r.add||Le,l=r&&r.rm||je,y=r&&r.listeners||"eventListeners",_=r&&r.rmAll||"removeAllListeners",b=A(a),k="."+a+":",m="prependListener",I="."+m+":",O=function(R,E,$){if(R.isRemoved)return;let H=R.callback;typeof H=="object"&&H.handleEvent&&(R.callback=T=>H.handleEvent(T),R.originalDelegate=H);let X;try{R.invoke(R,E,[$])}catch(T){X=T}let M=R.options;if(M&&typeof M=="object"&&M.once){let T=R.originalDelegate?R.originalDelegate:R.callback;E[l].call(E,$.type,T,M)}return X};function Z(R,E,$){if(E=E||e.event,!E)return;let H=R||E.target||e,X=H[te[E.type][$?ce:ae]];if(X){let M=[];if(X.length===1){let T=O(X[0],H,E);T&&M.push(T)}else{let T=X.slice();for(let x=0;x{throw x})}}}let B=function(R){return Z(this,R,!1)},j=function(R){return Z(this,R,!0)};function J(R,E){if(!R)return!1;let $=!0;E&&E.useG!==void 0&&($=E.useG);let H=E&&E.vh,X=!0;E&&E.chkDup!==void 0&&(X=E.chkDup);let M=!1;E&&E.rt!==void 0&&(M=E.rt);let T=R;for(;T&&!T.hasOwnProperty(a);)T=Me(T);if(!T&&R[a]&&(T=R),!T||T[b])return!1;let x=E&&E.eventNameToString,d={},N=T[b]=T[a],P=T[A(l)]=T[l],K=T[A(y)]=T[y],oe=T[A(_)]=T[_],z;E&&E.prepend&&(z=T[A(E.prepend)]=T[E.prepend]);function U(i,h){return!_e&&typeof i=="object"&&i?!!i.capture:!_e||!h?i:typeof i=="boolean"?{capture:i,passive:!0}:i?typeof i=="object"&&i.passive!==!1?{...i,passive:!0}:i:{passive:!0}}let ne=function(i){if(!d.isExisting)return N.call(d.target,d.eventName,d.capture?j:B,d.options)},ee=function(i){if(!i.isRemoved){let h=te[i.eventName],g;h&&(g=h[i.capture?ce:ae]);let w=g&&i.target[g];if(w){for(let p=0;p{ie.zone.cancelTask(ie)},{once:!0})),d.target=null,me&&(me.taskData=null),Ve&&(Q.once=!0),!_e&&typeof ie.options=="boolean"||(ie.options=Q),ie.target=S,ie.capture=Ce,ie.eventName=D,V&&(ie.originalDelegate=G),C?de.unshift(ie):de.push(ie),p)return S}};return T[a]=u(N,k,t,s,M),z&&(T[m]=u(z,I,se,s,M,!0)),T[l]=function(){let i=this||e,h=arguments[0];E&&E.transferEventName&&(h=E.transferEventName(h));let g=arguments[2],w=g?typeof g=="boolean"?!0:g.capture:!1,p=arguments[1];if(!p)return P.apply(this,arguments);if(H&&!H(P,p,i,arguments))return;let C=te[h],S;C&&(S=C[w?ce:ae]);let D=S&&i[S];if(D)for(let G=0;Gfunction(a,l){a[nt]=!0,r&&r.apply(a,l)})}function yt(e,n,c,r,a){let l=Zone.__symbol__(r);if(n[l])return;let y=n[l]=n[r];n[r]=function(_,b,k){return b&&b.prototype&&a.forEach(function(m){let I=`${c}.${r}::`+m,O=b.prototype;try{if(O.hasOwnProperty(m)){let Z=e.ObjectGetOwnPropertyDescriptor(O,m);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,I),e._redefineProperty(b.prototype,m,Z)):O[m]&&(O[m]=e.wrapWithCurrentZone(O[m],I))}else O[m]&&(O[m]=e.wrapWithCurrentZone(O[m],I))}catch{}}),y.call(n,_,b,k)},e.attachOriginToPatched(n[r],y)}function st(e,n,c){if(!c||c.length===0)return n;let r=c.filter(l=>l.target===e);if(!r||r.length===0)return n;let a=r[0].ignoreProperties;return n.filter(l=>a.indexOf(l)===-1)}function Ye(e,n,c,r){if(!e)return;let a=st(e,n,c);Qe(e,a,r)}function Ne(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function mt(e,n){if(Re&&!Ke||Zone[e.symbol("patchEvents")])return;let c=n.__Zone_ignore_on_properties,r=[];if(Ge){let a=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=ht()?[{target:a,ignoreProperties:["error"]}]:[];Ye(a,Ne(a),c&&c.concat(l),Me(a))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{let r=Ne(e);c.patchOnProperties=Qe,c.patchMethod=ue,c.bindArguments=xe,c.patchMacroTask=ft;let a=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[a]=e[l]),e[a]&&(n[a]=n[l]=e[a]),c.patchEventPrototype=Tt,c.patchEventTarget=Et,c.isIEOrEdge=dt,c.ObjectDefineProperty=Ie,c.ObjectGetOwnPropertyDescriptor=pe,c.ObjectCreate=ct,c.ArraySlice=at,c.patchClass=ke,c.wrapWithCurrentZone=Ae,c.filterProperties=st,c.attachOriginToPatched=le,c._redefineProperty=Object.defineProperty,c.patchCallbacks=yt,c.getGlobalObjects=()=>({globalSources:et,zoneSymbolEventNames:te,eventNames:r,isBrowser:Ge,isMix:Ke,isNode:Re,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ge,ADD_EVENT_LISTENER_STR:Le,REMOVE_EVENT_LISTENER_STR:je})});function pt(e,n){n.patchMethod(e,"queueMicrotask",c=>function(r,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}var be=A("zoneTask");function Ee(e,n,c,r){let a=null,l=null;n+=r,c+=r;let y={};function _(k){let m=k.data;return m.args[0]=function(){return k.invoke.apply(this,arguments)},m.handleId=a.apply(e,m.args),k}function b(k){return l.call(e,k.data.handleId)}a=ue(e,n,k=>function(m,I){if(typeof I[0]=="function"){let O={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?I[1]||0:void 0,args:I},Z=I[0];I[0]=function(){try{return Z.apply(this,arguments)}finally{O.isPeriodic||(typeof O.handleId=="number"?delete y[O.handleId]:O.handleId&&(O.handleId[be]=null))}};let B=He(n,I[0],O,_,b);if(!B)return B;let j=B.data.handleId;return typeof j=="number"?y[j]=B:j&&(j[be]=B),j&&j.ref&&j.unref&&typeof j.ref=="function"&&typeof j.unref=="function"&&(B.ref=j.ref.bind(j),B.unref=j.unref.bind(j)),typeof j=="number"||j?j:B}else return k.apply(e,I)}),l=ue(e,c,k=>function(m,I){let O=I[0],Z;typeof O=="number"?Z=y[O]:(Z=O&&O[be],Z||(Z=O)),Z&&typeof Z.type=="string"?Z.state!=="notScheduled"&&(Z.cancelFn&&Z.data.isPeriodic||Z.runCount===0)&&(typeof O=="number"?delete y[O]:O&&(O[be]=null),Z.zone.cancelTask(Z)):k.apply(e,I)})}function gt(e,n){let{isBrowser:c,isMix:r}=n.getGlobalObjects();if(!c&&!r||!e.customElements||!("customElements"in e))return;let a=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",a)}function kt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:r,TRUE_STR:a,FALSE_STR:l,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",c="clear";Ee(e,n,c,"Timeout"),Ee(e,n,c,"Interval"),Ee(e,n,c,"Immediate")});Zone.__load_patch("requestAnimationFrame",e=>{Ee(e,"request","cancel","AnimationFrame"),Ee(e,"mozRequest","mozCancel","AnimationFrame"),Ee(e,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(e,n)=>{let c=["alert","prompt","confirm"];for(let r=0;rfunction(b,k){return n.current.run(l,e,k,_)})}});Zone.__load_patch("EventTarget",(e,n,c)=>{vt(e,c),kt(e,c);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&c.patchEventTarget(e,c,[r.prototype])});Zone.__load_patch("MutationObserver",(e,n,c)=>{ke("MutationObserver"),ke("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,c)=>{ke("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,c)=>{ke("FileReader")});Zone.__load_patch("on_property",(e,n,c)=>{mt(c,e)});Zone.__load_patch("customElements",(e,n,c)=>{gt(e,c)});Zone.__load_patch("XHR",(e,n)=>{b(e);let c=A("xhrTask"),r=A("xhrSync"),a=A("xhrListener"),l=A("xhrScheduled"),y=A("xhrURL"),_=A("xhrErrorBeforeScheduled");function b(k){let m=k.XMLHttpRequest;if(!m)return;let I=m.prototype;function O(d){return d[c]}let Z=I[De],B=I[Oe];if(!Z){let d=k.XMLHttpRequestEventTarget;if(d){let N=d.prototype;Z=N[De],B=N[Oe]}}let j="readystatechange",J="scheduled";function q(d){let N=d.data,P=N.target;P[l]=!1,P[_]=!1;let K=P[a];Z||(Z=P[De],B=P[Oe]),K&&B.call(P,j,K);let oe=P[a]=()=>{if(P.readyState===P.DONE)if(!N.aborted&&P[l]&&d.state===J){let U=P[n.__symbol__("loadfalse")];if(P.status!==0&&U&&U.length>0){let ne=d.invoke;d.invoke=function(){let ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(d,N){return d[r]=N[2]==!1,d[y]=N[1],$.apply(d,N)}),H="XMLHttpRequest.send",X=A("fetchTaskAborting"),M=A("fetchTaskScheduling"),T=ue(I,"send",()=>function(d,N){if(n.current[M]===!0||d[r])return T.apply(d,N);{let P={target:d,url:d[y],isPeriodic:!1,args:N,aborted:!1},K=He(H,R,P,q,E);d&&d[_]===!0&&!P.aborted&&K.state===J&&K.invoke()}}),x=ue(I,"abort",()=>function(d,N){let P=O(d);if(P&&typeof P.type=="string"){if(P.cancelFn==null||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(n.current[X]===!0)return x.apply(d,N)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&ut(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function c(r){return function(a){ot(e,r).forEach(y=>{let _=e.PromiseRejectionEvent;if(_){let b=new _(r,{promise:a.promise,reason:a.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),n[A("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,c)=>{pt(e,c)});