diff --git a/pipboy-setup.sh b/pipboy-setup.sh index ee16830..f1d68ce 100644 --- a/pipboy-setup.sh +++ b/pipboy-setup.sh @@ -26,7 +26,14 @@ cd fbcp-ili9341 mkdir build && cd build #append to fix -DDISPLAY_INVERT_COLORS=ON -DSTATISTICS=0 -cmake -DUSE_GPU=ON -DSPI_BUS_CLOCK_DIVISOR=12 -DGPIO_TFT_DATA_CONTROL=25 -DGPIO_TFT_RESET_PIN=17 -DILI9488=ON -DUSE_DMA_TRANSFERS=OFF -DDISPLAY_INVERT_COLORS=ON -DSTATISTICS=0 .. +#stable but slowle +#cmake -DUSE_GPU=ON -DSPI_BUS_CLOCK_DIVISOR=12 -DGPIO_TFT_DATA_CONTROL=25 -DGPIO_TFT_RESET_PIN=17 -DILI9488=ON -DUSE_DMA_TRANSFERS=OFF -DDISPLAY_INVERT_COLORS=ON -DSTATISTICS=0 .. + +#uncoma define RUN_WITH_REALTIME_THREAD_PRIORITY in config.h +#use DMA +# #define TARGET_FRAME_RATE 24 in display.h +cmake -DUSE_GPU=ON -DSPI_BUS_CLOCK_DIVISOR=12 -DGPIO_TFT_DATA_CONTROL=25 -DGPIO_TFT_RESET_PIN=17 -DILI9488=ON -DUSE_DMA_TRANSFERS=ON -DDISPLAY_INVERT_COLORS=ON -DSTATISTICS=1 .. + make -j$(nproc) sudo install fbcp-ili9341 /usr/local/bin/ ./config.sh diff --git a/pipboyUI/dist/pipboy-ui/index.html b/pipboyUI/dist/pipboy-ui/index.html index ee2d645..2a83626 100644 --- a/pipboyUI/dist/pipboy-ui/index.html +++ b/pipboyUI/dist/pipboy-ui/index.html @@ -7,9 +7,10 @@ - + +
- + \ No newline at end of file diff --git a/pipboyUI/dist/pipboy-ui/main.b6c51b3b3e8bb158.js b/pipboyUI/dist/pipboy-ui/main.30dd391d117b260e.js similarity index 75% rename from pipboyUI/dist/pipboy-ui/main.b6c51b3b3e8bb158.js rename to pipboyUI/dist/pipboy-ui/main.30dd391d117b260e.js index ea2dd39..5ef3ec9 100644 --- a/pipboyUI/dist/pipboy-ui/main.b6c51b3b3e8bb158.js +++ b/pipboyUI/dist/pipboy-ui/main.30dd391d117b260e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpipboyUI=self.webpackChunkpipboyUI||[]).push([[179],{542:()=>{function ae(n){return"function"==typeof n}function Po(n){const e=n(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const pa=Po(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function Dr(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class et{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(ae(i))try{i()}catch(o){t=o instanceof pa?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{hg(o)}catch(s){t=t??[],s instanceof pa?t=[...t,...s.errors]:t.push(s)}}if(t)throw new pa(t)}}add(t){var e;if(t&&t!==this)if(this.closed)hg(t);else{if(t instanceof et){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&Dr(e,t)}remove(t){const{_finalizers:e}=this;e&&Dr(e,t),t instanceof et&&t._removeParent(this)}}et.EMPTY=(()=>{const n=new et;return n.closed=!0,n})();const ug=et.EMPTY;function dg(n){return n instanceof et||n&&"closed"in n&&ae(n.remove)&&ae(n.add)&&ae(n.unsubscribe)}function hg(n){ae(n)?n():n.unsubscribe()}const Vi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ma={setTimeout(n,t,...e){const{delegate:i}=ma;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=ma;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function fg(n){ma.setTimeout(()=>{const{onUnhandledError:t}=Vi;if(!t)throw n;t(n)})}function ga(){}const eA=Su("C",void 0,void 0);function Su(n,t,e){return{kind:n,value:t,error:e}}let Bi=null;function _a(n){if(Vi.useDeprecatedSynchronousErrorHandling){const t=!Bi;if(t&&(Bi={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:i}=Bi;if(Bi=null,e)throw i}}else n()}class ya extends et{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,dg(t)&&t.add(this)):this.destination=aA}static create(t,e,i){return new No(t,e,i)}next(t){this.isStopped?Au(function nA(n){return Su("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Au(function tA(n){return Su("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Au(eA,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const rA=Function.prototype.bind;function Mu(n,t){return rA.call(n,t)}class oA{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){va(i)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){va(i)}else va(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){va(e)}}}class No extends ya{constructor(t,e,i){let r;if(super(),ae(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Vi.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Mu(t.next,o),error:t.error&&Mu(t.error,o),complete:t.complete&&Mu(t.complete,o)}):r=t}this.destination=new oA(r)}}function va(n){Vi.useDeprecatedSynchronousErrorHandling?function iA(n){Vi.useDeprecatedSynchronousErrorHandling&&Bi&&(Bi.errorThrown=!0,Bi.error=n)}(n):fg(n)}function Au(n,t){const{onStoppedNotification:e}=Vi;e&&ma.setTimeout(()=>e(n,t))}const aA={closed:!0,next:ga,error:function sA(n){throw n},complete:ga},Iu="function"==typeof Symbol&&Symbol.observable||"@@observable";function mi(n){return n}function pg(n){return 0===n.length?mi:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}let _e=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function uA(n){return n&&n instanceof ya||function cA(n){return n&&ae(n.next)&&ae(n.error)&&ae(n.complete)}(n)&&dg(n)}(e)?e:new No(e,i,r);return _a(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=mg(i))((r,o)=>{const s=new No({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[Iu](){return this}pipe(...e){return pg(e)(this)}toPromise(e){return new(e=mg(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function mg(n){var t;return null!==(t=n??Vi.Promise)&&void 0!==t?t:Promise}const dA=Po(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ee=(()=>{class n extends _e{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Tu(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new dA}next(e){_a(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){_a(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){_a(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?ug:(this.currentObservers=null,o.push(e),new et(()=>{this.currentObservers=null,Dr(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new _e;return e.source=this,e}}return n.create=(t,e)=>new Tu(t,e),n})();class Tu extends ee{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:ug}}function gg(n){return ae(n?.lift)}function Re(n){return t=>{if(gg(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ye(n,t,e,i,r){return new hA(n,t,e,i,r)}class hA extends ya{constructor(t,e,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function $(n,t){return Re((e,i)=>{let r=0;e.subscribe(ye(i,o=>{i.next(n.call(t,o,r++))}))})}function gi(n){return this instanceof gi?(this.v=n,this):new gi(n)}function vg(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(n,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(f){return function(p){return Promise.resolve(p).then(f,d)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(f,p){i[f]&&(r[f]=function(m){return new Promise(function(y,v){o.push([f,m,y,v])>1||l(f,m)})},p&&(r[f]=p(r[f])))}function l(f,p){try{!function c(f){f.value instanceof gi?Promise.resolve(f.value.v).then(u,d):h(o[0][2],f)}(i[f](p))}catch(m){h(o[0][3],m)}}function u(f){l("next",f)}function d(f){l("throw",f)}function h(f,p){f(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}function bg(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=function Fu(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=n[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Pu=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Cg(n){return ae(n?.then)}function wg(n){return ae(n[Iu])}function Dg(n){return Symbol.asyncIterator&&ae(n?.[Symbol.asyncIterator])}function Eg(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Sg=function BA(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Mg(n){return ae(n?.[Sg])}function Ag(n){return vg(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:i,done:r}=yield gi(e.read());if(r)return yield gi(void 0);yield yield gi(i)}}finally{e.releaseLock()}})}function Ig(n){return ae(n?.getReader)}function xt(n){if(n instanceof _e)return n;if(null!=n){if(wg(n))return function HA(n){return new _e(t=>{const e=n[Iu]();if(ae(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(Pu(n))return function jA(n){return new _e(t=>{for(let e=0;e{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,fg)})}(n);if(Dg(n))return Tg(n);if(Mg(n))return function $A(n){return new _e(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(Ig(n))return function zA(n){return Tg(Ag(n))}(n)}throw Eg(n)}function Tg(n){return new _e(t=>{(function WA(n,t){var e,i,r,o;return function _g(n,t,e,i){return new(e||(e=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof e?o:new e(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=bg(n);!(i=yield e.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function $n(n,t,e,i=0,r=!1){const o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function tt(n,t,e=1/0){return ae(t)?tt((i,r)=>$((o,s)=>t(i,o,r,s))(xt(n(i,r))),e):("number"==typeof t&&(e=t),Re((i,r)=>function GA(n,t,e,i,r,o,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&t.complete()},f=m=>c{o&&t.next(m),c++;let y=!1;xt(e(m,u++)).subscribe(ye(t,v=>{r?.(v),o?f(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&cp(v)):p(v)}h()}catch(v){t.error(v)}}))};return n.subscribe(ye(t,f,()=>{d=!0,h()})),()=>{a?.()}}(i,r,n,e)))}function Er(n=1/0){return tt(mi,n)}const zn=new _e(n=>n.complete());function xg(n){return n&&ae(n.schedule)}function Nu(n){return n[n.length-1]}function Rg(n){return ae(Nu(n))?n.pop():void 0}function Lo(n){return xg(Nu(n))?n.pop():void 0}function kg(n,t=0){return Re((e,i)=>{e.subscribe(ye(i,r=>$n(i,n,()=>i.next(r),t),()=>$n(i,n,()=>i.complete(),t),r=>$n(i,n,()=>i.error(r),t)))})}function Fg(n,t=0){return Re((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function Og(n,t){if(!n)throw new Error("Iterable cannot be null");return new _e(e=>{$n(e,t,()=>{const i=n[Symbol.asyncIterator]();$n(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function Ge(n,t){return t?function eI(n,t){if(null!=n){if(wg(n))return function YA(n,t){return xt(n).pipe(Fg(t),kg(t))}(n,t);if(Pu(n))return function QA(n,t){return new _e(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}(n,t);if(Cg(n))return function ZA(n,t){return xt(n).pipe(Fg(t),kg(t))}(n,t);if(Dg(n))return Og(n,t);if(Mg(n))return function XA(n,t){return new _e(e=>{let i;return $n(e,t,()=>{i=n[Sg](),$n(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void e.error(s)}o?e.complete():e.next(r)},0,!0)}),()=>ae(i?.return)&&i.return()})}(n,t);if(Ig(n))return function JA(n,t){return Og(Ag(n),t)}(n,t)}throw Eg(n)}(n,t):xt(n)}function Lu(...n){const t=Lo(n),e=function KA(n,t){return"number"==typeof Nu(n)?n.pop():t}(n,1/0),i=n;return i.length?1===i.length?xt(i[0]):Er(e)(Ge(i,t)):zn}function Pg(n={}){const{connector:t=(()=>new ee),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,u=d=!1},p=()=>{const m=s;f(),m?.unsubscribe()};return Re((m,y)=>{c++,!d&&!u&&h();const v=l=l??t();y.add(()=>{c--,0===c&&!d&&!u&&(a=Vu(p,r))}),v.subscribe(y),!s&&c>0&&(s=new No({next:D=>v.next(D),error:D=>{d=!0,h(),a=Vu(f,e,D),v.error(D)},complete:()=>{u=!0,h(),a=Vu(f,i),v.complete()}}),xt(m).subscribe(s))})(o)}}function Vu(n,t,...e){if(!0===t)return void n();if(!1===t)return;const i=new No({next:()=>{i.unsubscribe(),n()}});return t(...e).subscribe(i)}function ve(n){for(let t in n)if(n[t]===ve)return t;throw Error("Could not find renamed property on target object.")}function Bu(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function be(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(be).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Hu(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const tI=ve({__forward_ref__:ve});function De(n){return n.__forward_ref__=De,n.toString=function(){return be(this())},n}function U(n){return ju(n)?n():n}function ju(n){return"function"==typeof n&&n.hasOwnProperty(tI)&&n.__forward_ref__===De}class C extends Error{constructor(t,e){super(function ba(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}(t,e)),this.code=t}}function W(n){return"string"==typeof n?n:null==n?"":String(n)}function Ca(n,t){throw new C(-201,!1)}function Nt(n,t){null==n&&function me(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function S(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function ce(n){return{providers:n.providers||[],imports:n.imports||[]}}function wa(n){return Ng(n,Da)||Ng(n,Vg)}function Ng(n,t){return n.hasOwnProperty(t)?n[t]:null}function Lg(n){return n&&(n.hasOwnProperty(Uu)||n.hasOwnProperty(uI))?n[Uu]:null}const Da=ve({\u0275prov:ve}),Uu=ve({\u0275inj:ve}),Vg=ve({ngInjectableDef:ve}),uI=ve({ngInjectorDef:ve});var L=(()=>((L=L||{})[L.Default=0]="Default",L[L.Host=1]="Host",L[L.Self=2]="Self",L[L.SkipSelf=4]="SkipSelf",L[L.Optional=8]="Optional",L))();let $u;function Jt(n){const t=$u;return $u=n,t}function Bg(n,t,e){const i=wa(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&L.Optional?null:void 0!==t?t:void Ca(be(n))}function _i(n){return{toString:n}.toString()}var hn=(()=>((hn=hn||{})[hn.OnPush=0]="OnPush",hn[hn.Default=1]="Default",hn))(),fn=(()=>{return(n=fn||(fn={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",fn;var n})();const Ee=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Sr={},he=[],Ea=ve({\u0275cmp:ve}),zu=ve({\u0275dir:ve}),Wu=ve({\u0275pipe:ve}),Hg=ve({\u0275mod:ve}),Gn=ve({\u0275fac:ve}),Vo=ve({__NG_ELEMENT_ID__:ve});let hI=0;function ue(n){return _i(()=>{const e=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===hn.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||he,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||fn.Emulated,id:"c"+hI++,styles:n.styles||he,_:null,setInput:null,schemas:n.schemas||null,tView:null},o=n.dependencies,s=n.features;return r.inputs=$g(n.inputs,i),r.outputs=$g(n.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(jg).filter(Ug):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(bt).filter(Ug):null,r})}function jg(n){return ge(n)||vt(n)}function Ug(n){return null!==n}function fe(n){return _i(()=>({type:n.type,bootstrap:n.bootstrap||he,declarations:n.declarations||he,imports:n.imports||he,exports:n.exports||he,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function $g(n,t){if(null==n)return Sr;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}const N=ue;function Rt(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function ge(n){return n[Ea]||null}function vt(n){return n[zu]||null}function bt(n){return n[Wu]||null}function Lt(n,t){const e=n[Hg]||null;if(!e&&!0===t)throw new Error(`Type ${be(n)} does not have '\u0275mod' property.`);return e}const Y=11;function kt(n){return Array.isArray(n)&&"object"==typeof n[1]}function mn(n){return Array.isArray(n)&&!0===n[1]}function Ku(n){return 0!=(8&n.flags)}function Ia(n){return 2==(2&n.flags)}function Ta(n){return 1==(1&n.flags)}function gn(n){return null!==n.template}function yI(n){return 0!=(256&n[2])}function zi(n,t){return n.hasOwnProperty(Gn)?n[Gn]:null}class CI{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Gg(n){return n.type.prototype.ngOnChanges&&(n.setInput=DI),wI}function wI(){const n=Kg(this),t=n?.current;if(t){const e=n.previous;if(e===Sr)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function DI(n,t,e,i){const r=Kg(n)||function EI(n,t){return n[qg]=t}(n,{previous:Sr,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[e],l=s[a];o[a]=new CI(l&&l.currentValue,t,s===Sr),n[i]=t}const qg="__ngSimpleChanges__";function Kg(n){return n[qg]||null}function qe(n){for(;Array.isArray(n);)n=n[0];return n}function xa(n,t){return qe(t[n])}function Bt(n,t){return qe(t[n.index])}function Ju(n,t){return n.data[t]}function xr(n,t){return n[t]}function Ht(n,t){const e=t[n];return kt(e)?e:e[0]}function Ra(n){return 64==(64&n[2])}function yi(n,t){return null==t?null:n[t]}function Yg(n){n[18]=0}function ed(n,t){n[5]+=t;let e=n,i=n[3];for(;null!==i&&(1===t&&1===e[5]||-1===t&&0===e[5]);)i[5]+=t,e=i,i=i[3]}const z={lFrame:o_(null),bindingsEnabled:!0};function Qg(){return z.bindingsEnabled}function w(){return z.lFrame.lView}function se(){return z.lFrame.tView}function Rr(n){return z.lFrame.contextLView=n,n[8]}function kr(n){return z.lFrame.contextLView=null,n}function nt(){let n=Xg();for(;null!==n&&64===n.type;)n=n.parent;return n}function Xg(){return z.lFrame.currentTNode}function An(n,t){const e=z.lFrame;e.currentTNode=n,e.isParent=t}function td(){return z.lFrame.isParent}function nd(){z.lFrame.isParent=!1}function qn(){return z.lFrame.bindingIndex}function Fr(){return z.lFrame.bindingIndex++}function Kn(n){const t=z.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function BI(n,t){const e=z.lFrame;e.bindingIndex=e.bindingRootIndex=n,id(t)}function id(n){z.lFrame.currentDirectiveIndex=n}function rd(n){const t=z.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function n_(){return z.lFrame.currentQueryIndex}function od(n){z.lFrame.currentQueryIndex=n}function jI(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function i_(n,t,e){if(e&L.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&L.Host||(r=jI(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,n=o}const i=z.lFrame=r_();return i.currentTNode=t,i.lView=n,!0}function sd(n){const t=r_(),e=n[1];z.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function r_(){const n=z.lFrame,t=null===n?null:n.child;return null===t?o_(n):t}function o_(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function s_(){const n=z.lFrame;return z.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const a_=s_;function ad(){const n=s_();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function wt(){return z.lFrame.selectedIndex}function vi(n){z.lFrame.selectedIndex=n}function Ne(){const n=z.lFrame;return Ju(n.tView,n.selectedIndex)}function ka(){z.lFrame.currentNamespace="svg"}function Fa(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<0&&(n[18]+=65536),(a>11>16&&(3&n[2])===t){n[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class zo{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Na(n,t,e){let i=0;for(;it){s=o-1;break}}}for(;o>16}(n),i=t;for(;e>0;)i=i[15],e--;return i}let ud=!0;function Va(n){const t=ud;return ud=n,t}let tT=0;const In={};function Go(n,t){const e=hd(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,dd(i.data,n),dd(t,null),dd(i.blueprint,null));const r=Ba(n,t),o=n.injectorIndex;if(h_(r)){const s=Or(r),a=Pr(r,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function dd(n,t){n.push(0,0,0,0,0,0,0,0,t)}function hd(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function Ba(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=C_(r),null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Ha(n,t,e){!function nT(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Vo)&&(i=e[Vo]),null==i&&(i=e[Vo]=tT++);const r=255&i;t.data[n+(r>>5)]|=1<=0?255&t:sT:t}(e);if("function"==typeof o){if(!i_(t,n,i))return i&L.Host?m_(r,0,i):g_(t,e,i,r);try{const s=o(i);if(null!=s||i&L.Optional)return s;Ca()}finally{a_()}}else if("number"==typeof o){let s=null,a=hd(n,t),l=-1,c=i&L.Host?t[16][6]:null;for((-1===a||i&L.SkipSelf)&&(l=-1===a?Ba(n,t):t[a+8],-1!==l&&b_(i,!1)?(s=t[1],a=Or(l),t=Pr(l,t)):a=-1);-1!==a;){const u=t[1];if(v_(o,a,u.data)){const d=rT(a,t,e,s,i,c);if(d!==In)return d}l=t[a+8],-1!==l&&b_(i,t[1].data[a+8]===c)&&v_(o,a,t)?(s=u,a=Or(l),t=Pr(l,t)):a=-1}}return r}function rT(n,t,e,i,r,o){const s=t[1],a=s.data[n+8],u=ja(a,s,e,null==i?Ia(a)&&ud:i!=s&&0!=(3&a.type),r&L.Host&&o===a);return null!==u?qo(t,s,u,a):In}function ja(n,t,e,i,r){const o=n.providerIndexes,s=t.data,a=1048575&o,l=n.directiveStart,u=o>>20,h=r?a+u:n.directiveEnd;for(let f=i?a:a+u;f=l&&p.type===e)return f}if(r){const f=s[l];if(f&&gn(f)&&f.type===e)return l}return null}function qo(n,t,e,i){let r=n[e];const o=t.data;if(function ZI(n){return n instanceof zo}(r)){const s=r;s.resolving&&function nI(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new C(-200,`Circular dependency in DI detected for ${n}${e}`)}(function de(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():W(n)}(o[e]));const a=Va(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Jt(s.injectImpl):null;i_(n,i,L.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function KI(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Gg(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==l&&Jt(l),Va(a),s.resolving=!1,a_()}}return r}function v_(n,t,e){return!!(e[t+(n>>5)]&1<{const t=n.prototype.constructor,e=t[Gn]||fd(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[Gn]||fd(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function fd(n){return ju(n)?()=>{const t=fd(U(n));return t&&t()}:zi(n)}function C_(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}function Lr(n){return function iT(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function pd(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Br)?l[Br]:Object.defineProperty(l,Br,{value:[]})[Br];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class E{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=S({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function jt(n,t){void 0===t&&(t=n);for(let e=0;eArray.isArray(e)?Yn(e,t):t(e))}function D_(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Ua(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Zo(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function dT(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function gd(n,t){const e=Ur(n,t);if(e>=0)return n[1|e]}function Ur(n,t){return function M_(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=n[o<t?r=o:i=o+1}return~(r<((Ft=Ft||{})[Ft.Important=1]="Important",Ft[Ft.DashCase=2]="DashCase",Ft))();const Ed=new Map;let HT=0;const Md="__ngContext__";function pt(n,t){kt(t)?(n[Md]=t[20],function UT(n){Ed.set(n[20],n)}(t)):n[Md]=t}function Id(n,t){return undefined(n,t)}function is(n){const t=n[3];return mn(t)?t[3]:t}function Td(n){return K_(n[13])}function xd(n){return K_(n[4])}function K_(n){for(;null!==n&&!mn(n);)n=n[4];return n}function Gr(n,t,e,i,r){if(null!=i){let o,s=!1;mn(i)?o=i:kt(i)&&(s=!0,i=i[0]);const a=qe(i);0===n&&null!==e?null==r?ey(t,e,a):Wi(t,e,a,r||null,!0):1===n&&null!==e?Wi(t,e,a,r||null,!0):2===n?function Ld(n,t,e){const i=qa(n,t);i&&function ux(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,a,s):3===n&&t.destroyNode(a),null!=o&&function fx(n,t,e,i,r){const o=e[7];o!==qe(e)&&Gr(t,n,i,o,r);for(let a=10;a0&&(n[e-1][4]=i[4]);const o=Ua(n,10+t);!function nx(n,t){rs(n,t,t[Y],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Q_(n,t){if(!(128&t[2])){const e=t[Y];e.destroyNode&&rs(n,t,e,3,null,null),function ox(n){let t=n[13];if(!t)return Od(n[1],n);for(;t;){let e=null;if(kt(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)kt(t)&&Od(t[1],t),t=t[3];null===t&&(t=n),kt(t)&&Od(t[1],t),e=t&&t[4]}t=e}}(t)}}function Od(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function cx(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const s=i[r=e[o+1]];e[o].call(s)}if(null!==i){for(let o=r+1;on,createScript:n=>n,createScriptURL:n=>n})}catch{}return Za}()?.createHTML(n)||n}function hy(n){return function Ud(){if(void 0===Qa&&(Qa=null,Ee.trustedTypes))try{Qa=Ee.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Qa}()?.createScriptURL(n)||n}class qi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class vx extends qi{getTypeName(){return"HTML"}}class bx extends qi{getTypeName(){return"Style"}}class Cx extends qi{getTypeName(){return"Script"}}class wx extends qi{getTypeName(){return"URL"}}class Dx extends qi{getTypeName(){return"ResourceURL"}}function $t(n){return n instanceof qi?n.changingThisBreaksApplicationSecurity:n}function Tn(n,t){const e=function Ex(n){return n instanceof qi&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}class xx{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Gi(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class Rx{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Gi(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=Gi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0"),!0}endElement(t){const e=t.nodeName.toLowerCase();$d.hasOwnProperty(e)&&!py.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(yy(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Nx=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Lx=/([^\#-~ |!])/g;function yy(n){return n.replace(/&/g,"&").replace(Nx,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Lx,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Ja;function vy(n,t){let e=null;try{Ja=Ja||function fy(n){const t=new Rx(n);return function kx(){try{return!!(new window.DOMParser).parseFromString(Gi(""),"text/html")}catch{return!1}}()?new xx(t):t}(n);let i=t?String(t):"";e=Ja.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=Ja.getInertBodyElement(i)}while(i!==o);return Gi((new Px).sanitizeChildren(Wd(e)||e))}finally{if(e){const i=Wd(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Wd(n){return"content"in n&&function Vx(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var pe=(()=>((pe=pe||{})[pe.NONE=0]="NONE",pe[pe.HTML=1]="HTML",pe[pe.STYLE=2]="STYLE",pe[pe.SCRIPT=3]="SCRIPT",pe[pe.URL=4]="URL",pe[pe.RESOURCE_URL=5]="RESOURCE_URL",pe))();function qd(n){const t=function ss(){const n=w();return n&&n[12]}();if(t)return hy(t.sanitize(pe.RESOURCE_URL,n)||"");if(Tn(n,"ResourceURL"))return hy($t(n));throw new C(904,!1)}const Kd=new E("ENVIRONMENT_INITIALIZER"),by=new E("INJECTOR",-1),Cy=new E("INJECTOR_DEF_TYPES");class wy{get(t,e=Qo){if(e===Qo){const i=new Error(`NullInjectorError: No provider for ${be(t)}!`);throw i.name="NullInjectorError",i}return e}}function Gx(...n){return{\u0275providers:Dy(0,n)}}function Dy(n,...t){const e=[],i=new Set;let r;return Yn(t,o=>{const s=o;Yd(s,e,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&Ey(r,e),e}function Ey(n,t){for(let e=0;e{t.push(o)})}}function Yd(n,t,e,i){if(!(n=U(n)))return!1;let r=null,o=Lg(n);const s=!o&&ge(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=Lg(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Yd(c,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Yn(o.imports,u=>{Yd(u,t,e,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&Ey(c,t)}if(!a){const c=zi(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:he},{provide:Cy,useValue:r,multi:!0},{provide:Kd,useValue:()=>_(r),multi:!0})}const l=o.providers;null==l||a||Yn(l,u=>{t.push(u)})}}return r!==n&&void 0!==n.providers}const qx=ve({provide:String,useValue:ve});function Zd(n){return null!==n&&"object"==typeof n&&qx in n}function Ki(n){return"function"==typeof n}const Qd=new E("Set Injector scope."),el={},Yx={};let Xd;function tl(){return void 0===Xd&&(Xd=new wy),Xd}class wi{}class Ay extends wi{constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,eh(t,s=>this.processProvider(s)),this.records.set(by,qr(void 0,this)),r.has("environment")&&this.records.set(wi,qr(void 0,this));const o=this.records.get(Qd);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Cy.multi,he,L.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=$r(this),i=Jt(void 0);try{return t()}finally{$r(e),Jt(i)}}get(t,e=Qo,i=L.Default){this.assertNotDestroyed();const r=$r(this),o=Jt(void 0);try{if(!(i&L.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function eR(n){return"function"==typeof n||"object"==typeof n&&n instanceof E}(t)&&wa(t);a=l&&this.injectableDefInScope(l)?qr(Jd(t),el):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&L.Self?tl():this.parent).get(t,e=i&L.Optional&&e===Qo?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[za]=s[za]||[]).unshift(be(t)),r)throw s;return function DT(n,t,e,i){const r=n[za];throw t[A_]&&r.unshift(t[A_]),n.message=function ET(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=be(t);if(Array.isArray(t))r=t.map(be).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):be(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(vT,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[za]=null,n}(s,t,"R3InjectorError",this.source)}throw s}finally{Jt(o),$r(r)}}resolveInjectorInitializers(){const t=$r(this),e=Jt(void 0);try{const i=this.get(Kd.multi,he,L.Self);for(const r of i)r()}finally{$r(t),Jt(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(be(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let e=Ki(t=U(t))?t:U(t&&t.provide);const i=function Qx(n){return Zd(n)?qr(void 0,n.useValue):qr(function Iy(n,t,e){let i;if(Ki(n)){const r=U(n);return zi(r)||Jd(r)}if(Zd(n))i=()=>U(n.useValue);else if(function My(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...vd(n.deps||[]));else if(function Sy(n){return!(!n||!n.useExisting)}(n))i=()=>_(U(n.useExisting));else{const r=U(n&&(n.useClass||n.provide));if(!function Xx(n){return!!n.deps}(n))return zi(r)||Jd(r);i=()=>new r(...vd(n.deps))}return i}(n),el)}(t);if(Ki(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=qr(void 0,el,!0),r.factory=()=>vd(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===el&&(e.value=Yx,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Jx(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=U(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Jd(n){const t=wa(n),e=null!==t?t.factory:zi(n);if(null!==e)return e;if(n instanceof E)throw new C(204,!1);if(n instanceof Function)return function Zx(n){const t=n.length;if(t>0)throw Zo(t,"?"),new C(204,!1);const e=function lI(n){const t=n&&(n[Da]||n[Vg]);if(t){const e=function cI(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new C(204,!1)}function qr(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function tR(n){return!!n.\u0275providers}function eh(n,t){for(const e of n)Array.isArray(e)?eh(e,t):tR(e)?eh(e.\u0275providers,t):t(e)}class Ty{}class rR{resolveComponentFactory(t){throw function iR(n){const t=Error(`No component factory found for ${be(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let Yi=(()=>{class n{}return n.NULL=new rR,n})();function oR(){return Kr(nt(),w())}function Kr(n,t){return new Fe(Bt(n,t))}let Fe=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=oR,n})();function sR(n){return n instanceof Fe?n.nativeElement:n}class as{}let lR=(()=>{class n{}return n.\u0275prov=S({token:n,providedIn:"root",factory:()=>null}),n})();class Zi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const cR=new Zi("14.3.0"),th={};function ih(n){return n.ngOriginalError}class Xn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&ih(t);for(;e&&ih(e);)e=ih(e);return e||null}}function Ry(n){return n.ownerDocument}function Jn(n){return n instanceof Function?n():n}function Fy(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}const Oy="ng-template";function vR(n,t,e){let i=0;for(;io?"":r[d+1].toLowerCase();const f=8&i?h:null;if(f&&-1!==Fy(f,c,0)||2&i&&c!==h){if(_n(i))return!1;s=!0}}}}else{if(!s&&!_n(i)&&!_n(l))return!1;if(s&&_n(l))continue;s=!1,i=l|1&i}}return _n(i)||s}function _n(n){return 0==(1&n)}function wR(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!_n(s)&&(t+=Ly(o,r),r=""),i=s,o=o||!_n(i);e++}return""!==r&&(t+=Ly(o,r)),t}const G={};function O(n){Vy(se(),w(),wt()+n,!1)}function Vy(n,t,e,i){if(!i)if(3==(3&t[2])){const o=n.preOrderCheckHooks;null!==o&&Oa(t,o,e)}else{const o=n.preOrderHooks;null!==o&&Pa(t,o,0,e)}vi(e)}function Uy(n,t=null,e=null,i){const r=$y(n,t,e,i);return r.resolveInjectorInitializers(),r}function $y(n,t=null,e=null,i,r=new Set){const o=[e||he,Gx(n)];return i=i||("object"==typeof n?void 0:be(n)),new Ay(o,t||tl(),i||null,r)}let Oe=(()=>{class n{static create(e,i){if(Array.isArray(e))return Uy({name:""},i,e,"");{const r=e.name??"";return Uy({name:r},e.parent,e.providers,r)}}}return n.THROW_IF_NOT_FOUND=Qo,n.NULL=new wy,n.\u0275prov=S({token:n,providedIn:"any",factory:()=>_(by)}),n.__NG_ELEMENT_ID__=-1,n})();function g(n,t=L.Default){const e=w();return null===e?_(n,t):__(nt(),e,U(n),t)}function il(){throw new Error("invalid")}function rl(n,t){return n<<17|t<<2}function yn(n){return n>>17&32767}function lh(n){return 2|n}function ei(n){return(131068&n)>>2}function ch(n,t){return-131069&n|t<<2}function uh(n){return 1|n}function sv(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i22&&Vy(n,t,22,!1),e(i,r)}finally{vi(o)}}function bh(n,t,e){!Qg()||(function pk(n,t,e,i){const r=e.directiveStart,o=e.directiveEnd;n.firstCreatePass||Go(e,t),pt(i,t);const s=e.initialInputs;for(let a=r;a0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(i,r,s)}}function mv(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function gv(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function yk(n,t,e){if(e){if(t.exportAs)for(let i=0;i0&&Sh(e)}}function Sh(n){for(let i=Td(n);null!==i;i=xd(i))for(let r=10;r0&&Sh(o)}const e=n[1].components;if(null!==e)for(let i=0;i0&&Sh(r)}}function Sk(n,t){const e=Ht(t,n),i=e[1];(function Mk(n,t){for(let e=t.length;e-1&&(Fd(t,i),Ua(e,i))}this._attachedToViewContainer=!1}Q_(this._lView[1],this._lView)}onDestroy(t){uv(this._lView[1],this._lView,null,t)}markForCheck(){Mh(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){ul(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function rx(n,t){rs(n,t,t[Y],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class Ak extends ls{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ul(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Th extends Yi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=ge(t);return new cs(e,this.ngModule)}}function Ev(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class Tk{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){const r=this.injector.get(t,th,i);return r!==th||e===th?r:this.parentInjector.get(t,e,i)}}class cs extends Ty{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function IR(n){return n.map(AR).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ev(this.componentDef.inputs)}get outputs(){return Ev(this.componentDef.outputs)}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof wi?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new Tk(t,o):t,a=s.get(as,null);if(null===a)throw new C(407,!1);const l=s.get(lR,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function lk(n,t,e){return n.selectRootElement(t,e===fn.ShadowDom)}(c,i,this.componentDef.encapsulation):kd(c,u,function Ik(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),h=this.componentDef.onPush?288:272,f=wh(0,null,null,1,0,null,null,null,null,null),p=al(null,f,null,h,null,null,a,c,l,s,null);let m,y;sd(p);try{const v=function kk(n,t,e,i,r,o){const s=e[1];e[22]=n;const l=Qr(s,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&(dl(l,c,!0),null!==n&&(Na(r,n,c),null!==l.classes&&Bd(r,n,l.classes),null!==l.styles&&ly(r,n,l.styles)));const u=i.createRenderer(n,t),d=al(e,cv(t),null,t.onPush?32:16,e[22],l,i,u,o||null,null,null);return s.firstCreatePass&&(Ha(Go(l,e),s,t.type),gv(s,l),_v(l,e.length,1)),cl(e,d),e[22]=d}(d,this.componentDef,p,a,c);if(d)if(i)Na(c,d,["ng-version",cR.full]);else{const{attrs:D,classes:b}=function TR(n){const t=[],e=[];let i=1,r=2;for(;i0&&Bd(c,d,b.join(" "))}if(y=Ju(f,22),void 0!==e){const D=y.projection=[];for(let b=0;b=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=La(r.hostAttrs,e=La(e,r.hostAttrs))}}(i)}function xh(n){return n===Sr?{}:n===he?[]:n}function Nk(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function Lk(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function Vk(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}let fl=null;function Qi(){if(!fl){const n=Ee.Symbol;if(n&&n.iterator)fl=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(qe(X[i.index])):i.index;let M=null;if(!a&&l&&(M=function Zk(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,t,r,i.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=o,M.__ngLastListenerFn__=o,f=!1;else{o=Bv(i,t,d,o,!1);const X=e.listen(v,r,o);h.push(o,X),u&&u.push(r,b,D,D+1)}}else o=Bv(i,t,d,o,!1);const p=i.outputs;let m;if(f&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let v=0;v0;)t=t[15],n--;return t}(n,z.lFrame.contextLView))[8]}(n)}function Qk(n,t){let e=null;const i=function DR(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let r=0;r=0}function Ji(n,t,e){return vn(n,t,e,!1),Ji}function $e(n,t){return vn(n,t,null,!0),$e}function vn(n,t,e,i){const r=w(),o=se(),s=Kn(2);o.firstUpdatePass&&function ib(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[wt()],s=function nb(n,t){return t>=n.expandoStartIndex}(n,e);(function ab(n,t){return 0!=(n.flags&(t?16:32))})(o,i)&&null===t&&!s&&(t=!1),t=function cF(n,t,e,i){const r=rd(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=fs(e=Hh(null,n,t,e,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==r)if(e=Hh(r,n,t,e,i),null===o){let l=function uF(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==ei(i))return n[yn(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=Hh(null,n,t,l[1],i),l=fs(l,t.attrs,i),function dF(n,t,e,i){n[yn(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else o=function hF(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(c=!0)}else u=e;if(r)if(0!==l){const h=yn(n[a+1]);n[i+1]=rl(h,a),0!==h&&(n[h+1]=ch(n[h+1],i)),n[a+1]=function KR(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=rl(a,0),0!==a&&(n[a+1]=ch(n[a+1],i)),a=i;else n[i+1]=rl(l,0),0===a?a=i:n[l+1]=ch(n[l+1],i),l=i;c&&(n[i+1]=lh(n[i+1])),Yv(n,u,i,!0),Yv(n,u,i,!1),function Jk(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&Ur(o,t)>=0&&(e[i+1]=uh(e[i+1]))}(t,u,n,i,o),s=rl(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,e,s,i)}}(o,n,s,i),t!==G&&mt(r,s,t)&&function ob(n,t,e,i,r,o,s,a){if(!(3&t.type))return;const l=n.data,c=l[a+1];gl(function Xy(n){return 1==(1&n)}(c)?sb(l,t,e,r,ei(c),s):void 0)||(gl(o)||function Qy(n){return 2==(2&n)}(c)&&(o=sb(l,null,e,r,a,s)),function px(n,t,e,i,r){if(t)r?n.addClass(e,i):n.removeClass(e,i);else{let o=-1===i.indexOf("-")?void 0:Ft.DashCase;null==r?n.removeStyle(e,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Ft.Important),n.setStyle(e,i,r,o))}}(i,s,xa(wt(),e),r,o))}(o,o.data[wt()],r,r[Y],n,r[s+1]=function mF(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=be($t(n)))),n}(t,e),i,s)}function Hh(n,t,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=n[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=e[r+1];h===G&&(h=d?he:void 0);let f=d?gd(h,i):u===i?h:void 0;if(c&&!gl(f)&&(f=gd(l,i)),gl(f)&&(a=f,s))return a;const p=n[r+1];r=s?yn(p):ei(p)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=gd(l,i))}return a}function gl(n){return void 0!==n}function ie(n,t=""){const e=w(),i=se(),r=n+22,o=i.firstCreatePass?Qr(i,r,1,t,null):i.data[r],s=e[r]=function Rd(n,t){return n.createText(t)}(e[Y],t);Ka(i,e,s,o),An(o,!1)}function Te(n){return On("",n,""),Te}function On(n,t,e){const i=w(),r=function eo(n,t,e,i){return mt(n,Fr(),e)?t+W(e)+i:G}(i,n,t,e);return r!==G&&ti(i,wt(),r),On}function jh(n,t,e,i,r,o,s){const a=w(),l=no(a,n,t,e,i,r,o,s);return l!==G&&ti(a,wt(),l),jh}function Uh(n,t,e,i,r,o,s,a,l){const c=w(),u=io(c,n,t,e,i,r,o,s,a,l);return u!==G&&ti(c,wt(),u),Uh}function $h(n,t,e){const i=w();return mt(i,Fr(),t)&&zt(se(),Ne(),i,n,t,i[Y],e,!0),$h}function _l(n,t,e){const i=w();if(mt(i,Fr(),t)){const o=se(),s=Ne();zt(o,s,i,n,t,wv(rd(o.data),s,i),e,!0)}return _l}const er=void 0;var PF=["en",[["a","p"],["AM","PM"],er],[["AM","PM"],er,er],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],er,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],er,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",er,"{1} 'at' {0}",er],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function OF(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let uo={};function Et(n){const t=function NF(n){return n.toLowerCase().replace(/_/g,"-")}(n);let e=Eb(t);if(e)return e;const i=t.split("-")[0];if(e=Eb(i),e)return e;if("en"===i)return PF;throw new C(701,!1)}function Eb(n){return n in uo||(uo[n]=Ee.ng&&Ee.ng.common&&Ee.ng.common.locales&&Ee.ng.common.locales[n]),uo[n]}var T=(()=>((T=T||{})[T.LocaleId=0]="LocaleId",T[T.DayPeriodsFormat=1]="DayPeriodsFormat",T[T.DayPeriodsStandalone=2]="DayPeriodsStandalone",T[T.DaysFormat=3]="DaysFormat",T[T.DaysStandalone=4]="DaysStandalone",T[T.MonthsFormat=5]="MonthsFormat",T[T.MonthsStandalone=6]="MonthsStandalone",T[T.Eras=7]="Eras",T[T.FirstDayOfWeek=8]="FirstDayOfWeek",T[T.WeekendRange=9]="WeekendRange",T[T.DateFormat=10]="DateFormat",T[T.TimeFormat=11]="TimeFormat",T[T.DateTimeFormat=12]="DateTimeFormat",T[T.NumberSymbols=13]="NumberSymbols",T[T.NumberFormats=14]="NumberFormats",T[T.CurrencyCode=15]="CurrencyCode",T[T.CurrencySymbol=16]="CurrencySymbol",T[T.CurrencyName=17]="CurrencyName",T[T.Currencies=18]="Currencies",T[T.Directionality=19]="Directionality",T[T.PluralCase=20]="PluralCase",T[T.ExtraData=21]="ExtraData",T))();const ho="en-US";let Sb=ho;class tr{}class Qb{}class Xb extends tr{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Th(this);const i=Lt(t);this._bootstrapComponents=Jn(i.bootstrap),this._r3Injector=$y(t,e,[{provide:tr,useValue:this},{provide:Yi,useValue:this.componentFactoryResolver}],be(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Zh extends Qb{constructor(t){super(),this.moduleType=t}create(t){return new Xb(this.moduleType,t)}}class PO extends tr{constructor(t,e,i){super(),this.componentFactoryResolver=new Th(this),this.instance=null;const r=new Ay([...t,{provide:tr,useValue:this},{provide:Yi,useValue:this.componentFactoryResolver}],e||tl(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function wl(n,t,e=null){return new PO(n,t,e).injector}let NO=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=Dy(0,e.type),r=i.length>0?wl([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=S({token:n,providedIn:"environment",factory:()=>new n(_(wi))}),n})();function Jb(n){n.getStandaloneInjector=t=>t.get(NO).getOrCreateStandaloneInjector(n)}function aC(n,t,e,i,r,o,s){const a=t+e;return Xi(n,a,r,o)?function Rn(n,t,e){return n[t]=e}(n,a+2,s?i.call(s,r,o):i(r,o)):function vs(n,t){const e=n[t];return e===G?void 0:e}(n,a+2)}function Xh(n,t){const e=se();let i;const r=n+22;e.firstCreatePass?(i=function tP(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=zi(i.type)),s=Jt(g);try{const a=Va(!1),l=o();return Va(a),function qk(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,w(),r,l),l}finally{Jt(s)}}function Jh(n,t,e,i){const r=n+22,o=w(),s=xr(o,r);return function bs(n,t){return n[1].data[t].pure}(o,r)?aC(o,function Ct(){const n=z.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}(),t,s.transform,e,i,s):s.transform(e,i)}function ef(n){return t=>{setTimeout(n,void 0,t)}}const xe=class sP extends ee{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),s=i;if(t&&"object"==typeof t){const l=t;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=ef(o),r&&(r=ef(r)),s&&(s=ef(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof et&&t.add(a),a}};function aP(){return this._results[Qi()]()}class tf{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Qi(),i=tf.prototype;i[e]||(i[e]=aP)}get changes(){return this._changes||(this._changes=new xe)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=jt(t);(this._changesDetected=!function cT(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=uP,n})();const lP=Cn,cP=class extends lP{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tViews,r=al(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(i)),vh(i,r,t),new ls(r)}};function uP(){return Dl(nt(),w())}function Dl(n,t){return 4&n.type?new cP(t,n,Kr(n,t)):null}let on=(()=>{class n{}return n.__NG_ELEMENT_ID__=dP,n})();function dP(){return fC(nt(),w())}const hP=on,dC=class extends hP{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return Kr(this._hostTNode,this._hostLView)}get injector(){return new Nr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ba(this._hostTNode,this._hostLView);if(h_(t)){const e=Pr(t,this._hostLView),i=Or(t);return new Nr(e[1].data[i+8],e)}return new Nr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=hC(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=t.createEmbeddedView(e||{},o);return this.insert(s,r),s}createComponent(t,e,i,r,o){const s=t&&!function Yo(n){return"function"==typeof n}(t);let a;if(s)a=e;else{const d=e||{};a=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?t:new cs(ge(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const h=(s?c:this.parentInjector).get(wi,null);h&&(o=h)}const u=l.create(c,r,void 0,o);return this.insert(u.hostView,a),u}insert(t,e){const i=t._lView,r=i[1];if(function RI(n){return mn(n[3])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[3],h=new dC(d,d[6],d[3]);h.detach(h.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;!function sx(n,t,e,i){const r=10+i,o=e.length;i>0&&(e[r-1][4]=t),i0)i.push(s[a/2]);else{const c=o[a+1],u=t[-l];for(let d=10;d{class n{constructor(e){this.appInits=e,this.resolve=Sl,this.reject=Sl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:a,error:l})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(_(Ml,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ds=new E("AppId",{providedIn:"root",factory:function LC(){return`${mf()}${mf()}${mf()}`}});function mf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const VC=new E("Platform Initializer"),Il=new E("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),BC=new E("appBootstrapListener"),rr=new E("AnimationModuleType");let jP=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const Pn=new E("LocaleId",{providedIn:"root",factory:()=>Ie(Pn,L.Optional|L.SkipSelf)||function UP(){return typeof $localize<"u"&&$localize.locale||ho}()});class zP{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let gf=(()=>{class n{compileModuleSync(e){return new Zh(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=Jn(Lt(e).declarations).reduce((s,a)=>{const l=ge(a);return l&&s.push(new cs(l)),s},[]);return new zP(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qP=(()=>Promise.resolve(0))();function _f(n){typeof Zone>"u"?qP.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class te{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new xe(!1),this.onMicrotaskEmpty=new xe(!1),this.onStable=new xe(!1),this.onError=new xe(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const r=this;if(r._nesting=0,r._outer=r._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;r._inner=r._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function KP(){let n=Ee.requestAnimationFrame,t=Ee.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function QP(n){const t=()=>{!function ZP(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Ee,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,vf(n),n.isCheckStableRunning=!0,yf(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),vf(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return UC(n),e.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),$C(n)}},onInvoke:(e,i,r,o,s,a,l)=>{try{return UC(n),e.invoke(r,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),$C(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,vf(n),yf(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!te.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(te.isInAngularZone())throw new C(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,YP,Sl,Sl);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const YP={};function yf(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function vf(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function UC(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function $C(n){n._nesting--,yf(n)}class XP{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new xe,this.onMicrotaskEmpty=new xe,this.onStable=new xe,this.onError=new xe}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}const zC=new E(""),Tl=new E("");let wf,bf=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,wf||(function JP(n){wf=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{te.assertNotInAngularZone(),_f(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())_f(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!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(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(_(te),_(Cf),_(Tl))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Cf=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return wf?.findTestabilityInTree(this,e,i)??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),Si=null;const WC=new E("AllowMultipleToken"),Df=new E("PlatformDestroyListeners");class GC{constructor(t,e){this.name=t,this.token=e}}function KC(n,t,e=[]){const i=`Platform: ${t}`,r=new E(i);return(o=[])=>{let s=Ef();if(!s||s.injector.get(WC,!1)){const a=[...e,...o,{provide:r,useValue:!0}];n?n(a):function nN(n){if(Si&&!Si.get(WC,!1))throw new C(400,!1);Si=n;const t=n.get(ZC);(function qC(n){const t=n.get(VC,null);t&&t.forEach(e=>e())})(n)}(function YC(n=[],t){return Oe.create({name:t,providers:[{provide:Qd,useValue:"platform"},{provide:Df,useValue:new Set([()=>Si=null])},...n]})}(a,i))}return function rN(n){const t=Ef();if(!t)throw new C(401,!1);return t}()}}function Ef(){return Si?.get(ZC)??null}let ZC=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function XC(n,t){let e;return e="noop"===n?new XP:("zone.js"===n?void 0:n)||new te(t),e}(i?.ngZone,function QC(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:te,useValue:r}];return r.run(()=>{const s=Oe.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(Xn,null);if(!l)throw new C(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{xl(this._modules,a),c.unsubscribe()})}),function JC(n,t,e){try{const i=e();return hs(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(Al);return c.runInitializers(),c.donePromise.then(()=>(function Mb(n){Nt(n,"Expected localeId to be defined"),"string"==typeof n&&(Sb=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Pn,ho)||ho),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=ew({},i);return function eN(n,t,e){const i=new Zh(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(mo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new C(403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(Df,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(_(Oe))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function ew(n,t){return Array.isArray(t)?t.reduce(ew,n):{...n,...t}}let mo=(()=>{class n{constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new _e(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new _e(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{te.assertNotInAngularZone(),_f(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{te.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Lu(o,s.pipe(Pg()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof Ty;if(!this._injector.get(Al).done)throw!r&&function Mr(n){const t=ge(n)||vt(n)||bt(n);return null!==t&&t.standalone}(e),new C(405,false);let s;s=r?e:this._injector.get(Yi).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function tN(n){return n.isBoundToModule}(s)?void 0:this._injector.get(tr),c=s.create(Oe.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(zC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),xl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;xl(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(BC,[]).concat(this._bootstrapListeners).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>xl(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new C(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(_(te),_(wi),_(Xn))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function xl(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let nw=!0,or=(()=>{class n{}return n.__NG_ELEMENT_ID__=aN,n})();function aN(n){return function lN(n,t,e){if(Ia(n)&&!e){const i=Ht(n.index,t);return new ls(i,i)}return 47&n.type?new ls(t[16],t):null}(nt(),w(),16==(16&n))}class aw{constructor(){}supports(t){return us(t)}create(t){return new pN(t)}}const fN=(n,t)=>t;class pN{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||fN}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const s=!i||e&&e.currentIndex{s=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new mN(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new lw),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new lw),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class mN{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class gN{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class lw{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new gN,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function cw(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||dw()),deps:[[n,new zr,new Ci]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new C(901,!1)}}return n.\u0275prov=S({token:n,providedIn:"root",factory:dw}),n})();const CN=KC(null,"core",[]);let wN=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(_(mo))},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})(),Ol=null;function Nn(){return Ol}const q=new E("DocumentToken");let Tf=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:function(){return function MN(){return _(fw)}()},providedIn:"platform"}),n})();const AN=new E("Location Initialized");let fw=(()=>{class n extends Tf{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Nn().getBaseHref(this._doc)}onPopState(e){const i=Nn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Nn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}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(e){this.location.pathname=e}pushState(e,i,r){pw()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){pw()?this._history.replaceState(e,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:function(){return function IN(){return new fw(_(q))}()},providedIn:"platform"}),n})();function pw(){return!!window.history.pushState}function xf(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function mw(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function ri(n){return n&&"?"!==n[0]?"?"+n:n}let ar=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:function(){return Ie(_w)},providedIn:"root"}),n})();const gw=new E("appBaseHref");let _w=(()=>{class n extends ar{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Ie(q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return xf(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+ri(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+ri(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+ri(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(_(Tf),_(gw,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),TN=(()=>{class n extends ar{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=xf(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+ri(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+ri(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(_(Tf),_(gw,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Ss=(()=>{class n{constructor(e){this._subject=new xe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=mw(yw(i)),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+ri(i))}normalize(e){return n.stripTrailingSlash(function RN(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,yw(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ri(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ri(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=ri,n.joinWithSlash=xf,n.stripTrailingSlash=mw,n.\u0275fac=function(e){return new(e||n)(_(ar))},n.\u0275prov=S({token:n,factory:function(){return function xN(){return new Ss(_(ar))}()},providedIn:"root"}),n})();function yw(n){return n.replace(/\/index.html$/,"")}var ze=(()=>((ze=ze||{})[ze.Format=0]="Format",ze[ze.Standalone=1]="Standalone",ze))(),re=(()=>((re=re||{})[re.Narrow=0]="Narrow",re[re.Abbreviated=1]="Abbreviated",re[re.Wide=2]="Wide",re[re.Short=3]="Short",re))(),Le=(()=>((Le=Le||{})[Le.Short=0]="Short",Le[Le.Medium=1]="Medium",Le[Le.Long=2]="Long",Le[Le.Full=3]="Full",Le))(),V=(()=>((V=V||{})[V.Decimal=0]="Decimal",V[V.Group=1]="Group",V[V.List=2]="List",V[V.PercentSign=3]="PercentSign",V[V.PlusSign=4]="PlusSign",V[V.MinusSign=5]="MinusSign",V[V.Exponential=6]="Exponential",V[V.SuperscriptingExponent=7]="SuperscriptingExponent",V[V.PerMille=8]="PerMille",V[V.Infinity=9]="Infinity",V[V.NaN=10]="NaN",V[V.TimeSeparator=11]="TimeSeparator",V[V.CurrencyDecimal=12]="CurrencyDecimal",V[V.CurrencyGroup=13]="CurrencyGroup",V))();function Pl(n,t){return an(Et(n)[T.DateFormat],t)}function Nl(n,t){return an(Et(n)[T.TimeFormat],t)}function Ll(n,t){return an(Et(n)[T.DateTimeFormat],t)}function sn(n,t){const e=Et(n),i=e[T.NumberSymbols][t];if(typeof i>"u"){if(t===V.CurrencyDecimal)return e[T.NumberSymbols][V.Decimal];if(t===V.CurrencyGroup)return e[T.NumberSymbols][V.Group]}return i}function bw(n){if(!n[T.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[T.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function an(n,t){for(let e=t;e>-1;e--)if(typeof n[e]<"u")return n[e];throw new Error("Locale data API: locale data undefined")}function kf(n){const[t,e]=n.split(":");return{hours:+t,minutes:+e}}const zN=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ms={},WN=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var at=(()=>((at=at||{})[at.Short=0]="Short",at[at.ShortGMT=1]="ShortGMT",at[at.Long=2]="Long",at[at.Extended=3]="Extended",at))(),H=(()=>((H=H||{})[H.FullYear=0]="FullYear",H[H.Month=1]="Month",H[H.Date=2]="Date",H[H.Hours=3]="Hours",H[H.Minutes=4]="Minutes",H[H.Seconds=5]="Seconds",H[H.FractionalSeconds=6]="FractionalSeconds",H[H.Day=7]="Day",H))(),Q=(()=>((Q=Q||{})[Q.DayPeriods=0]="DayPeriods",Q[Q.Days=1]="Days",Q[Q.Months=2]="Months",Q[Q.Eras=3]="Eras",Q))();function GN(n,t,e,i){let r=function t1(n){if(Dw(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){const[r,o=1,s=1]=n.split("-").map(a=>+a);return Vl(r,o-1,s)}const e=parseFloat(n);if(!isNaN(n-e))return new Date(e);let i;if(i=n.match(zN))return function n1(n){const t=new Date(0);let e=0,i=0;const r=n[8]?t.setUTCFullYear:t.setFullYear,o=n[8]?t.setUTCHours:t.setHours;n[9]&&(e=Number(n[9]+n[10]),i=Number(n[9]+n[11])),r.call(t,Number(n[1]),Number(n[2])-1,Number(n[3]));const s=Number(n[4]||0)-e,a=Number(n[5]||0)-i,l=Number(n[6]||0),c=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return o.call(t,s,a,l,c),t}(i)}const t=new Date(n);if(!Dw(t))throw new Error(`Unable to convert "${n}" into a date`);return t}(n);t=oi(e,t)||t;let a,s=[];for(;t;){if(a=WN.exec(t),!a){s.push(t);break}{s=s.concat(a.slice(1));const u=s.pop();if(!u)break;t=u}}let l=r.getTimezoneOffset();i&&(l=ww(i,l),r=function e1(n,t,e){const i=e?-1:1,r=n.getTimezoneOffset();return function JN(n,t){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+t),n}(n,i*(ww(t,r)-r))}(r,i,!0));let c="";return s.forEach(u=>{const d=function XN(n){if(Of[n])return Of[n];let t;switch(n){case"G":case"GG":case"GGG":t=Ae(Q.Eras,re.Abbreviated);break;case"GGGG":t=Ae(Q.Eras,re.Wide);break;case"GGGGG":t=Ae(Q.Eras,re.Narrow);break;case"y":t=Ze(H.FullYear,1,0,!1,!0);break;case"yy":t=Ze(H.FullYear,2,0,!0,!0);break;case"yyy":t=Ze(H.FullYear,3,0,!1,!0);break;case"yyyy":t=Ze(H.FullYear,4,0,!1,!0);break;case"Y":t=Ul(1);break;case"YY":t=Ul(2,!0);break;case"YYY":t=Ul(3);break;case"YYYY":t=Ul(4);break;case"M":case"L":t=Ze(H.Month,1,1);break;case"MM":case"LL":t=Ze(H.Month,2,1);break;case"MMM":t=Ae(Q.Months,re.Abbreviated);break;case"MMMM":t=Ae(Q.Months,re.Wide);break;case"MMMMM":t=Ae(Q.Months,re.Narrow);break;case"LLL":t=Ae(Q.Months,re.Abbreviated,ze.Standalone);break;case"LLLL":t=Ae(Q.Months,re.Wide,ze.Standalone);break;case"LLLLL":t=Ae(Q.Months,re.Narrow,ze.Standalone);break;case"w":t=Ff(1);break;case"ww":t=Ff(2);break;case"W":t=Ff(1,!0);break;case"d":t=Ze(H.Date,1);break;case"dd":t=Ze(H.Date,2);break;case"c":case"cc":t=Ze(H.Day,1);break;case"ccc":t=Ae(Q.Days,re.Abbreviated,ze.Standalone);break;case"cccc":t=Ae(Q.Days,re.Wide,ze.Standalone);break;case"ccccc":t=Ae(Q.Days,re.Narrow,ze.Standalone);break;case"cccccc":t=Ae(Q.Days,re.Short,ze.Standalone);break;case"E":case"EE":case"EEE":t=Ae(Q.Days,re.Abbreviated);break;case"EEEE":t=Ae(Q.Days,re.Wide);break;case"EEEEE":t=Ae(Q.Days,re.Narrow);break;case"EEEEEE":t=Ae(Q.Days,re.Short);break;case"a":case"aa":case"aaa":t=Ae(Q.DayPeriods,re.Abbreviated);break;case"aaaa":t=Ae(Q.DayPeriods,re.Wide);break;case"aaaaa":t=Ae(Q.DayPeriods,re.Narrow);break;case"b":case"bb":case"bbb":t=Ae(Q.DayPeriods,re.Abbreviated,ze.Standalone,!0);break;case"bbbb":t=Ae(Q.DayPeriods,re.Wide,ze.Standalone,!0);break;case"bbbbb":t=Ae(Q.DayPeriods,re.Narrow,ze.Standalone,!0);break;case"B":case"BB":case"BBB":t=Ae(Q.DayPeriods,re.Abbreviated,ze.Format,!0);break;case"BBBB":t=Ae(Q.DayPeriods,re.Wide,ze.Format,!0);break;case"BBBBB":t=Ae(Q.DayPeriods,re.Narrow,ze.Format,!0);break;case"h":t=Ze(H.Hours,1,-12);break;case"hh":t=Ze(H.Hours,2,-12);break;case"H":t=Ze(H.Hours,1);break;case"HH":t=Ze(H.Hours,2);break;case"m":t=Ze(H.Minutes,1);break;case"mm":t=Ze(H.Minutes,2);break;case"s":t=Ze(H.Seconds,1);break;case"ss":t=Ze(H.Seconds,2);break;case"S":t=Ze(H.FractionalSeconds,1);break;case"SS":t=Ze(H.FractionalSeconds,2);break;case"SSS":t=Ze(H.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Hl(at.Short);break;case"ZZZZZ":t=Hl(at.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Hl(at.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Hl(at.Long);break;default:return null}return Of[n]=t,t}(u);c+=d?d(r,e,l):"''"===u?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Vl(n,t,e){const i=new Date(0);return i.setFullYear(n,t,e),i.setHours(0,0,0),i}function oi(n,t){const e=function kN(n){return Et(n)[T.LocaleId]}(n);if(Ms[e]=Ms[e]||{},Ms[e][t])return Ms[e][t];let i="";switch(t){case"shortDate":i=Pl(n,Le.Short);break;case"mediumDate":i=Pl(n,Le.Medium);break;case"longDate":i=Pl(n,Le.Long);break;case"fullDate":i=Pl(n,Le.Full);break;case"shortTime":i=Nl(n,Le.Short);break;case"mediumTime":i=Nl(n,Le.Medium);break;case"longTime":i=Nl(n,Le.Long);break;case"fullTime":i=Nl(n,Le.Full);break;case"short":const r=oi(n,"shortTime"),o=oi(n,"shortDate");i=Bl(Ll(n,Le.Short),[r,o]);break;case"medium":const s=oi(n,"mediumTime"),a=oi(n,"mediumDate");i=Bl(Ll(n,Le.Medium),[s,a]);break;case"long":const l=oi(n,"longTime"),c=oi(n,"longDate");i=Bl(Ll(n,Le.Long),[l,c]);break;case"full":const u=oi(n,"fullTime"),d=oi(n,"fullDate");i=Bl(Ll(n,Le.Full),[u,d])}return i&&(Ms[e][t]=i),i}function Bl(n,t){return t&&(n=n.replace(/\{([^}]+)}/g,function(e,i){return null!=t&&i in t?t[i]:e})),n}function Dn(n,t,e="-",i,r){let o="";(n<0||r&&n<=0)&&(r?n=1-n:(n=-n,o=e));let s=String(n);for(;s.length0||a>-e)&&(a+=e),n===H.Hours)0===a&&-12===e&&(a=12);else if(n===H.FractionalSeconds)return function qN(n,t){return Dn(n,3).substring(0,t)}(a,t);const l=sn(s,V.MinusSign);return Dn(a,t,l,i,r)}}function Ae(n,t,e=ze.Format,i=!1){return function(r,o){return function YN(n,t,e,i,r,o){switch(e){case Q.Months:return function PN(n,t,e){const i=Et(n),o=an([i[T.MonthsFormat],i[T.MonthsStandalone]],t);return an(o,e)}(t,r,i)[n.getMonth()];case Q.Days:return function ON(n,t,e){const i=Et(n),o=an([i[T.DaysFormat],i[T.DaysStandalone]],t);return an(o,e)}(t,r,i)[n.getDay()];case Q.DayPeriods:const s=n.getHours(),a=n.getMinutes();if(o){const c=function BN(n){const t=Et(n);return bw(t),(t[T.ExtraData][2]||[]).map(i=>"string"==typeof i?kf(i):[kf(i[0]),kf(i[1])])}(t),u=function HN(n,t,e){const i=Et(n);bw(i);const o=an([i[T.ExtraData][0],i[T.ExtraData][1]],t)||[];return an(o,e)||[]}(t,r,i),d=c.findIndex(h=>{if(Array.isArray(h)){const[f,p]=h,m=s>=f.hours&&a>=f.minutes,y=s0?Math.floor(r/60):Math.ceil(r/60);switch(n){case at.Short:return(r>=0?"+":"")+Dn(s,2,o)+Dn(Math.abs(r%60),2,o);case at.ShortGMT:return"GMT"+(r>=0?"+":"")+Dn(s,1,o);case at.Long:return"GMT"+(r>=0?"+":"")+Dn(s,2,o)+":"+Dn(Math.abs(r%60),2,o);case at.Extended:return 0===i?"Z":(r>=0?"+":"")+Dn(s,2,o)+":"+Dn(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${n}"`)}}}function Cw(n){return Vl(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))}function Ff(n,t=!1){return function(e,i){let r;if(t){const o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();r=1+Math.floor((s+o)/7)}else{const o=Cw(e),s=function QN(n){const t=Vl(n,0,1).getDay();return Vl(n,0,1+(t<=4?4:11)-t)}(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return Dn(r,n,sn(i,V.MinusSign))}}function Ul(n,t=!1){return function(e,i){return Dn(Cw(e).getFullYear(),n,sn(i,V.MinusSign),t)}}const Of={};function ww(n,t){n=n.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(e)?t:e}function Dw(n){return n instanceof Date&&!isNaN(n.valueOf())}function Aw(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}class _1{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ln=(()=>{class n{constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new _1(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),xw(a,r)}});for(let r=0,o=i.length;r{xw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(g(on),g(Cn),g(Fl))},n.\u0275dir=N({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function xw(n,t){n.context.$implicit=t.item}let zl=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new v1,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Rw("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Rw("ngIfElse",e),this._elseTemplateRef=e,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(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(g(on),g(Cn))},n.\u0275dir=N({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class v1{constructor(){this.$implicit=null,this.ngIf=null}}function Rw(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${be(t)}'.`)}class Hf{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Wl=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new Hf(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(g(on),g(Cn),g(Wl,9))},n.\u0275dir=N({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})();const F1=new E("DATE_PIPE_DEFAULT_TIMEZONE");let jf=(()=>{class n{constructor(e,i){this.locale=e,this.defaultTimezone=i}transform(e,i="mediumDate",r,o){if(null==e||""===e||e!=e)return null;try{return GN(e,i,o||this.locale,r??this.defaultTimezone??void 0)}catch(s){throw function En(n,t){return new C(2100,!1)}()}}}return n.\u0275fac=function(e){return new(e||n)(g(Pn,16),g(F1,24))},n.\u0275pipe=Rt({name:"date",type:n,pure:!0,standalone:!0}),n})(),Gl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})();const Pw="browser";let K1=(()=>{class n{}return n.\u0275prov=S({token:n,providedIn:"root",factory:()=>new Y1(_(q),window)}),n})();class Y1{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function Z1(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Nw(this.window.history)||Nw(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Nw(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class Lw{}class Gf extends class DL extends class SN{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function EN(n){Ol||(Ol=n)}(new Gf)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function EL(){return Ts=Ts||document.querySelector("base"),Ts?Ts.getAttribute("href"):null}();return null==e?null:function SL(n){Yl=Yl||document.createElement("a"),Yl.setAttribute("href",n);const t=Yl.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Ts=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Aw(document.cookie,t)}}let Yl,Ts=null;const Uw=new E("TRANSITION_ID"),AL=[{provide:Ml,useFactory:function ML(n,t,e){return()=>{e.get(Al).donePromise.then(()=>{const i=Nn(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const Zl=new E("EventManagerPlugins");let Ql=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),xs=(()=>{class n extends zw{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,r){e.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(Ww),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Ww))}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();function Ww(n){Nn().remove(n)}const qf={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/"},Kf=/%COMP%/g;function Xl(n,t,e){for(let i=0;i{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let Jl=(()=>{class n{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Yf(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case fn.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new PL(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case fn.ShadowDom:return new NL(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=Xl(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(_(Ql),_(xs),_(Ds))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class Yf{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(qf[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(Zw(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(Zw(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=qf[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=qf[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(Ft.DashCase|Ft.Important)?t.style.setProperty(e,i,r&Ft.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Ft.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Kw(i)):this.eventManager.addEventListener(t,e,Kw(i))}}function Zw(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class PL extends Yf{constructor(t,e,i,r){super(t),this.component=i;const o=Xl(r+"-"+i.id,i.styles,[]);e.addStyles(o),this.contentAttr=function kL(n){return"_ngcontent-%COMP%".replace(Kf,n)}(r+"-"+i.id),this.hostAttr=function FL(n){return"_nghost-%COMP%".replace(Kf,n)}(r+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class NL extends Yf{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Xl(r.id,r.styles,[]);for(let s=0;s{class n extends $w{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const Qw=["alt","control","meta","shift"],VL={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},BL={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let HL=(()=>{class n extends $w{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Nn().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),Qw.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=VL[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),Qw.forEach(s=>{s!==r&&(0,BL[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const zL=KC(CN,"browser",[{provide:Il,useValue:Pw},{provide:VC,useValue:function jL(){Gf.makeCurrent()},multi:!0},{provide:q,useFactory:function $L(){return function yx(n){jd=n}(document),document},deps:[]}]),eD=new E(""),tD=[{provide:Tl,useClass:class IL{addToWindow(t){Ee.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},Ee.getAllAngularTestabilities=()=>t.getAllTestabilities(),Ee.getAllAngularRootElements=()=>t.getAllRootElements(),Ee.frameworkStabilizers||(Ee.frameworkStabilizers=[]),Ee.frameworkStabilizers.push(i=>{const r=Ee.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?Nn().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:zC,useClass:bf,deps:[te,Cf,Tl]},{provide:bf,useClass:bf,deps:[te,Cf,Tl]}],nD=[{provide:Qd,useValue:"root"},{provide:Xn,useFactory:function UL(){return new Xn},deps:[]},{provide:Zl,useClass:LL,multi:!0,deps:[q,te,Il]},{provide:Zl,useClass:HL,multi:!0,deps:[q]},{provide:Jl,useClass:Jl,deps:[Ql,xs,Ds]},{provide:as,useExisting:Jl},{provide:zw,useExisting:xs},{provide:xs,useClass:xs,deps:[q]},{provide:Ql,useClass:Ql,deps:[Zl,te]},{provide:Lw,useClass:TL,deps:[]},[]];let iD=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:Ds,useValue:e.appId},{provide:Uw,useExisting:Ds},AL]}}}return n.\u0275fac=function(e){return new(e||n)(_(eD,12))},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[...nD,...tD],imports:[Gl,wN]}),n})(),rD=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:function(e){let i=null;return i=e?new e:function GL(){return new rD(_(q))}(),i},providedIn:"root"}),n})();typeof window<"u"&&window;let ec=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:function(e){let i=null;return i=e?new(e||n):_(aD),i},providedIn:"root"}),n})(),aD=(()=>{class n extends ec{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case pe.NONE:return i;case pe.HTML:return Tn(i,"HTML")?$t(i):vy(this._doc,String(i)).toString();case pe.STYLE:return Tn(i,"Style")?$t(i):i;case pe.SCRIPT:if(Tn(i,"Script"))return $t(i);throw new Error("unsafe value used in a script context");case pe.URL:return Tn(i,"URL")?$t(i):Xa(String(i));case pe.RESOURCE_URL:if(Tn(i,"ResourceURL"))return $t(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function Sx(n){return new vx(n)}(e)}bypassSecurityTrustStyle(e){return function Mx(n){return new bx(n)}(e)}bypassSecurityTrustScript(e){return function Ax(n){return new Cx(n)}(e)}bypassSecurityTrustUrl(e){return function Ix(n){return new wx(n)}(e)}bypassSecurityTrustResourceUrl(e){return function Tx(n){return new Dx(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:function(e){let i=null;return i=e?new e:function JL(n){return new aD(n.get(q))}(_(Oe)),i},providedIn:"root"}),n})();function k(...n){return Ge(n,Lo(n))}class ut extends ee{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}const tc=Po(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:eV}=Array,{getPrototypeOf:tV,prototype:nV,keys:iV}=Object;function lD(n){if(1===n.length){const t=n[0];if(eV(t))return{args:t,keys:null};if(function rV(n){return n&&"object"==typeof n&&tV(n)===nV}(t)){const e=iV(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}const{isArray:oV}=Array;function Xf(n){return $(t=>function sV(n,t){return oV(t)?n(...t):n(t)}(n,t))}function cD(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function Jf(...n){const t=Lo(n),e=Rg(n),{args:i,keys:r}=lD(n);if(0===i.length)return Ge([],t);const o=new _e(function aV(n,t,e=mi){return i=>{uD(t,()=>{const{length:r}=n,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=Ge(n[l],t);let u=!1;c.subscribe(ye(i,d=>{o[l]=d,u||(u=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,t,r?s=>cD(r,s):mi));return e?o.pipe(Xf(e)):o}function uD(n,t,e){n?$n(e,n,t):t()}function Rs(...n){return function lV(){return Er(1)}()(Ge(n,Lo(n)))}function nc(n){return new _e(t=>{xt(n()).subscribe(t)})}function go(n,t){const e=ae(n)?n:()=>n,i=r=>r.error(e());return new _e(t?r=>t.schedule(i,0,r):i)}function ep(){return Re((n,t)=>{let e=null;n._refCount++;const i=ye(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const r=n._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),t.unsubscribe()});n.subscribe(i),i.closed||(e=n.connect())})}class dD extends _e{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,gg(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new et;const e=this.getSubject();t.add(this.source.subscribe(ye(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),t.closed&&(this._connection=null,t=et.EMPTY)}return t}refCount(){return ep()(this)}}function Vn(n,t){return Re((e,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();e.subscribe(ye(i,l=>{r?.unsubscribe();let c=0;const u=o++;xt(n(l,u)).subscribe(r=ye(i,d=>i.next(t?t(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Mt(n){return n<=0?()=>zn:Re((t,e)=>{let i=0;t.subscribe(ye(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}function ic(...n){const t=Lo(n);return Re((e,i)=>{(t?Rs(n,e,t):Rs(n,e)).subscribe(i)})}function At(n,t){return Re((e,i)=>{let r=0;e.subscribe(ye(i,o=>n.call(t,o,r++)&&i.next(o)))})}function rc(n){return Re((t,e)=>{let i=!1;t.subscribe(ye(e,r=>{i=!0,e.next(r)},()=>{i||e.next(n),e.complete()}))})}function hD(n=cV){return Re((t,e)=>{let i=!1;t.subscribe(ye(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(n())))})}function cV(){return new tc}function Ai(n,t){const e=arguments.length>=2;return i=>i.pipe(n?At((r,o)=>n(r,o,i)):mi,Mt(1),e?rc(t):hD(()=>new tc))}function Ii(n,t){return ae(t)?tt(n,t,1):tt(n,1)}function Qe(n,t,e){const i=ae(n)||t||e?{next:n,error:t,complete:e}:n;return i?Re((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ye(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):mi}function si(n){return Re((t,e)=>{let o,i=null,r=!1;i=t.subscribe(ye(e,void 0,void 0,s=>{o=xt(n(s,si(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function uV(n,t,e,i,r){return(o,s)=>{let a=e,l=t,c=0;o.subscribe(ye(s,u=>{const d=c++;l=a?n(l,u,d):(a=!0,u),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function fD(n,t){return Re(uV(n,t,arguments.length>=2,!0))}function tp(n){return n<=0?()=>zn:Re((t,e)=>{let i=[];t.subscribe(ye(e,r=>{i.push(r),n{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function pD(n,t){const e=arguments.length>=2;return i=>i.pipe(n?At((r,o)=>n(r,o,i)):mi,tp(1),e?rc(t):hD(()=>new tc))}function mD(n){return $(()=>n)}function oc(n){return Re((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}const J="primary",ks=Symbol("RouteTitle");class hV{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function _o(n){return new hV(n)}function fV(n,t,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||i.lengthi[o]===r)}return n===t}function _D(n){return Array.prototype.concat.apply([],n)}function yD(n){return n.length>0?n[n.length-1]:null}function dt(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function Ti(n){return Nh(n)?n:hs(n)?Ge(Promise.resolve(n)):k(n)}const gV={exact:function CD(n,t,e){if(!cr(n.segments,t.segments)||!sc(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!n.children[i]||!CD(n.children[i],t.children[i],e))return!1;return!0},subset:wD},vD={exact:function _V(n,t){return Bn(n,t)},subset:function yV(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>gD(n[e],t[e]))},ignored:()=>!0};function bD(n,t,e){return gV[e.paths](n.root,t.root,e.matrixParams)&&vD[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function wD(n,t,e){return DD(n,t,t.segments,e)}function DD(n,t,e,i){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);return!(!cr(r,e)||t.hasChildren()||!sc(r,e,i))}if(n.segments.length===e.length){if(!cr(n.segments,e)||!sc(n.segments,e,i))return!1;for(const r in t.children)if(!n.children[r]||!wD(n.children[r],t.children[r],i))return!1;return!0}{const r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!!(cr(n.segments,r)&&sc(n.segments,r,i)&&n.children[J])&&DD(n.children[J],t,o,i)}}function sc(n,t,e){return t.every((i,r)=>vD[e](n[r].parameters,i.parameters))}class lr{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return CV.serialize(this)}}class ne{constructor(t,e){this.segments=t,this.children=e,this.parent=null,dt(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ac(this)}}class Fs{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=_o(this.parameters)),this._parameterMap}toString(){return AD(this)}}function cr(n,t){return n.length===t.length&&n.every((e,i)=>e.path===t[i].path)}let ED=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:function(){return new ip},providedIn:"root"}),n})();class ip{parse(t){const e=new xV(t);return new lr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Os(t.root,!0)}`,i=function EV(n){const t=Object.keys(n).map(e=>{const i=n[e];return Array.isArray(i)?i.map(r=>`${lc(e)}=${lc(r)}`).join("&"):`${lc(e)}=${lc(i)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${i}${"string"==typeof t.fragment?`#${function wV(n){return encodeURI(n)}(t.fragment)}`:""}`}}const CV=new ip;function ac(n){return n.segments.map(t=>AD(t)).join("/")}function Os(n,t){if(!n.hasChildren())return ac(n);if(t){const e=n.children[J]?Os(n.children[J],!1):"",i=[];return dt(n.children,(r,o)=>{o!==J&&i.push(`${o}:${Os(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function bV(n,t){let e=[];return dt(n.children,(i,r)=>{r===J&&(e=e.concat(t(i,r)))}),dt(n.children,(i,r)=>{r!==J&&(e=e.concat(t(i,r)))}),e}(n,(i,r)=>r===J?[Os(n.children[J],!1)]:[`${r}:${Os(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[J]?`${ac(n)}/${e[0]}`:`${ac(n)}/(${e.join("//")})`}}function SD(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function lc(n){return SD(n).replace(/%3B/gi,";")}function rp(n){return SD(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function cc(n){return decodeURIComponent(n)}function MD(n){return cc(n.replace(/\+/g,"%20"))}function AD(n){return`${rp(n.path)}${function DV(n){return Object.keys(n).map(t=>`;${rp(t)}=${rp(n[t])}`).join("")}(n.parameters)}`}const SV=/^[^\/()?;=#]+/;function uc(n){const t=n.match(SV);return t?t[0]:""}const MV=/^[^=?&#]+/,IV=/^[^&#]+/;class xV{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ne([],{}):new ne([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[J]=new ne(t,e)),i}parseSegment(){const t=uc(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(t),new Fs(cc(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=uc(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=uc(this.remaining);r&&(i=r,this.capture(i))}t[cc(e)]=cc(i)}parseQueryParam(t){const e=function AV(n){const t=n.match(MV);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function TV(n){const t=n.match(IV);return t?t[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=MD(e),o=MD(i);if(t.hasOwnProperty(r)){let s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=uc(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(":")):t&&(o=J);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[J]:new ne([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new C(4011,!1)}}function op(n){return n.segments.length>0?new ne([],{[J]:n}):n}function dc(n){const t={};for(const i of Object.keys(n.children)){const o=dc(n.children[i]);(o.segments.length>0||o.hasChildren())&&(t[i]=o)}return function RV(n){if(1===n.numberOfChildren&&n.children[J]){const t=n.children[J];return new ne(n.segments.concat(t.segments),t.children)}return n}(new ne(n.segments,t))}function ur(n){return n instanceof lr}function OV(n,t,e,i,r){if(0===e.length)return yo(t.root,t.root,t.root,i,r);const o=function xD(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new TD(!0,0,n);let t=0,e=!1;const i=n.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return dt(o.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new TD(e,t,i)}(e);return o.toRoot()?yo(t.root,t.root,new ne([],{}),i,r):function s(l){const c=function NV(n,t,e,i){if(n.isAbsolute)return new vo(t.root,!0,0);if(-1===i)return new vo(e,e===t.root,0);return function RD(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new C(4005,!1);r=i.segments.length}return new vo(i,!1,r-o)}(e,i+(Ps(n.commands[0])?0:1),n.numberOfDoubleDots)}(o,t,n.snapshot?._urlSegment,l),u=c.processChildren?Ls(c.segmentGroup,c.index,o.commands):ap(c.segmentGroup,c.index,o.commands);return yo(t.root,c.segmentGroup,u,i,r)}(n.snapshot?._lastPathIndex)}function Ps(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Ns(n){return"object"==typeof n&&null!=n&&n.outlets}function yo(n,t,e,i,r){let s,o={};i&&dt(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=n===t?e:ID(n,t,e);const a=op(dc(s));return new lr(a,o,r)}function ID(n,t,e){const i={};return dt(n.children,(r,o)=>{i[o]=r===t?e:ID(r,t,e)}),new ne(n.segments,i)}class TD{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Ps(i[0]))throw new C(4003,!1);const r=i.find(Ns);if(r&&r!==yD(i))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class vo{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function ap(n,t,e){if(n||(n=new ne([],{})),0===n.segments.length&&n.hasChildren())return Ls(n,t,e);const i=function VV(n,t,e){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;const s=n.segments[r],a=e[i];if(Ns(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!FD(l,c,s))return o;i+=2}else{if(!FD(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=ap(n.children[s],t,o))}),dt(n.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new ne(n.segments,r)}}function lp(n,t,e){const i=n.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[i]=lp(new ne([],{}),0,e))}),t}function kD(n){const t={};return dt(n,(e,i)=>t[i]=`${e}`),t}function FD(n,t,e){return n==e.path&&Bn(t,e.parameters)}class ai{constructor(t,e){this.id=t,this.url=e}}class cp extends ai{constructor(t,e,i="imperative",r=null){super(t,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class dr extends ai{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class hc extends ai{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class OD extends ai{constructor(t,e,i,r){super(t,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class HV extends ai{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jV extends ai{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class UV extends ai{constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class $V extends ai{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zV extends ai{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class WV{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class GV{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class qV{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class KV{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class YV{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ZV{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class PD{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ND{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=up(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){const e=up(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=dp(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return dp(t,this._root).map(e=>e.value)}}function up(n,t){if(n===t.value)return t;for(const e of t.children){const i=up(n,e);if(i)return i}return null}function dp(n,t){if(n===t.value)return[t];for(const e of t.children){const i=dp(n,e);if(i.length)return i.unshift(t),i}return[]}class li{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function bo(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class LD extends ND{constructor(t,e){super(t),this.snapshot=e,hp(this,t)}toString(){return this.snapshot.toString()}}function VD(n,t){const e=function XV(n,t){const s=new fc([],{},{},"",{},J,t,null,n.root,-1,{});return new HD("",new li(s,[]))}(n,t),i=new ut([new Fs("",{})]),r=new ut({}),o=new ut({}),s=new ut({}),a=new ut(""),l=new Wt(i,r,s,a,o,J,t,e.root);return l.snapshot=e.root,new LD(new li(l,[]),e)}class Wt{constructor(t,e,i,r,o,s,a,l){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe($(c=>c[ks]))??k(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe($(t=>_o(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe($(t=>_o(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function BD(n,t="emptyOnly"){const e=n.pathFromRoot;let i=0;if("always"!==t)for(i=e.length-1;i>=1;){const r=e[i],o=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function JV(n){return n.reduce((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class fc{constructor(t,e,i,r,o,s,a,l,c,u,d,h){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.[ks],this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._correctedLastPathIndex=h??u,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=_o(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class HD extends ND{constructor(t,e){super(e),this.url=t,hp(this,e)}toString(){return jD(this._root)}}function hp(n,t){t.value._routerState=n,t.children.forEach(e=>hp(n,e))}function jD(n){const t=n.children.length>0?` { ${n.children.map(jD).join(", ")} } `:"";return`${n.value}${t}`}function fp(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Bn(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),Bn(t.params,e.params)||n.params.next(e.params),function pV(n,t){if(n.length!==t.length)return!1;for(let e=0;eBn(e.parameters,t[i].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||pp(n.parent,t.parent))}function Vs(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=t.value;const r=function tB(n,t,e){return t.children.map(i=>{for(const r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return Vs(n,i,r);return Vs(n,i)})}(n,t,e);return new li(i,r)}{if(n.shouldAttach(t.value)){const o=n.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Vs(n,a)),s}}const i=function nB(n){return new Wt(new ut(n.url),new ut(n.params),new ut(n.queryParams),new ut(n.fragment),new ut(n.data),n.outlet,n.component,n)}(t.value),r=t.children.map(o=>Vs(n,o));return new li(i,r)}}const mp="ngNavigationCancelingError";function UD(n,t){const{redirectTo:e,navigationBehaviorOptions:i}=ur(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=$D(!1,0,t);return r.url=e,r.navigationBehaviorOptions=i,r}function $D(n,t,e){const i=new Error("NavigationCancelingError: "+(n||""));return i[mp]=!0,i.cancellationCode=t,e&&(i.url=e),i}function zD(n){return WD(n)&&ur(n.url)}function WD(n){return n&&n[mp]}class iB{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Bs,this.attachRef=null}}let Bs=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new iB,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const pc=!1;let hr=(()=>{class n{constructor(e,i,r,o,s){this.parentContexts=e,this.location=i,this.changeDetector=o,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new xe,this.deactivateEvents=new xe,this.attachEvents=new xe,this.detachEvents=new xe,this.name=r||J,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,pc);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,pc);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,pc);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new C(4013,pc);this._activatedRoute=e;const r=this.location,s=e._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new rB(e,a,r.injector);if(i&&function oB(n){return!!n.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=r.createComponent(c,r.length,l)}else this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(g(Bs),g(on),Lr("name"),g(or),g(wi))},n.\u0275dir=N({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),n})();class rB{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Wt?this.route:t===Bs?this.childContexts:this.parent.get(t,e)}}let gp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["ng-component"]],standalone:!0,features:[Jb],decls:1,vars:0,template:function(e,i){1&e&>(0,"router-outlet")},dependencies:[hr],encapsulation:2}),n})();function GD(n,t){return n.providers&&!n._injector&&(n._injector=wl(n.providers,t,`Route: ${n.path}`)),n._injector??t}function yp(n){const t=n.children&&n.children.map(yp),e=t?{...n,children:t}:{...n};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==J&&(e.component=gp),e}function ln(n){return n.outlet||J}function qD(n,t){const e=n.filter(i=>ln(i)===t);return e.push(...n.filter(i=>ln(i)!==t)),e}function Hs(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class uB{constructor(t,e,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),fp(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const r=bo(e);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),dt(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=bo(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=bo(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const r=bo(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new ZV(o.value.snapshot))}),t.children.length&&this.forwardEvent(new KV(t.value.snapshot))}activateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(fp(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),fp(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Hs(r.snapshot),l=a?.get(Yi)??null;s.attachRef=null,s.route=r,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,i)}}class KD{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class mc{constructor(t,e){this.component=t,this.route=e}}function dB(n,t,e){const i=n._root;return js(i,t?t._root:null,e,[i.value])}function Co(n,t){const e=Symbol(),i=t.get(n,e);return i===e?"function"!=typeof n||function aI(n){return null!==wa(n)}(n)?t.get(n):n:i}function js(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=bo(t);return n.children.forEach(s=>{(function fB(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function pB(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!cr(n.url,t.url);case"pathParamsOrQueryParamsChange":return!cr(n.url,t.url)||!Bn(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pp(n,t)||!Bn(n.queryParams,t.queryParams);default:return!pp(n,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new KD(i)):(o.data=s.data,o._resolvedData=s._resolvedData),js(n,t,o.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new mc(a.outlet.component,s))}else s&&Us(t,a,r),r.canActivateChecks.push(new KD(i)),js(n,null,o.component?a?a.children:null:e,i,r)})(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),dt(o,(s,a)=>Us(s,e.getContext(a),r)),r}function Us(n,t,e){const i=bo(n),r=n.value;dt(i,(o,s)=>{Us(o,r.component?t?t.children.getContext(s):null:t,e)}),e.canDeactivateChecks.push(new mc(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function $s(n){return"function"==typeof n}function vp(n){return n instanceof tc||"EmptyError"===n?.name}const gc=Symbol("INITIAL_VALUE");function wo(){return Vn(n=>Jf(n.map(t=>t.pipe(Mt(1),ic(gc)))).pipe($(t=>{for(const e of t)if(!0!==e){if(e===gc)return gc;if(!1===e||e instanceof lr)return e}return!0}),At(t=>t!==gc),Mt(1)))}function YD(n){return function lA(...n){return pg(n)}(Qe(t=>{if(ur(t))throw UD(0,t)}),$(t=>!0===t))}const bp={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ZD(n,t,e,i,r){const o=Cp(n,t,e);return o.matched?function RB(n,t,e,i){const r=t.canMatch;return r&&0!==r.length?k(r.map(s=>{const a=Co(s,n);return Ti(function bB(n){return n&&$s(n.canMatch)}(a)?a.canMatch(t,e):n.runInContext(()=>a(t,e)))})).pipe(wo(),YD()):k(!0)}(i=GD(t,i),t,e).pipe($(s=>!0===s?o:{...bp})):k(o)}function Cp(n,t,e){if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?{...bp}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(t.matcher||fV)(e,n,t);if(!r)return{...bp};const o={};dt(r.posParams,(a,l)=>{o[l]=a.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function _c(n,t,e,i,r="corrected"){if(e.length>0&&function OB(n,t,e){return e.some(i=>yc(n,t,i)&&ln(i)!==J)}(n,e,i)){const s=new ne(t,function FB(n,t,e,i){const r={};r[J]=i,i._sourceSegment=n,i._segmentIndexShift=t.length;for(const o of e)if(""===o.path&&ln(o)!==J){const s=new ne([],{});s._sourceSegment=n,s._segmentIndexShift=t.length,r[ln(o)]=s}return r}(n,t,i,new ne(e,n.children)));return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===e.length&&function PB(n,t,e){return e.some(i=>yc(n,t,i))}(n,e,i)){const s=new ne(n.segments,function kB(n,t,e,i,r,o){const s={};for(const a of i)if(yc(n,e,a)&&!r[ln(a)]){const l=new ne([],{});l._sourceSegment=n,l._segmentIndexShift="legacy"===o?n.segments.length:t.length,s[ln(a)]=l}return{...r,...s}}(n,t,e,i,n.children,r));return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:e}}const o=new ne(n.segments,n.children);return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}function yc(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function QD(n,t,e,i){return!!(ln(n)===i||i!==J&&yc(t,e,n))&&("**"===n.path||Cp(t,n,e).matched)}function XD(n,t,e){return 0===t.length&&!n.children[e]}const vc=!1;class bc{constructor(t){this.segmentGroup=t||null}}class JD{constructor(t){this.urlTree=t}}function zs(n){return go(new bc(n))}function eE(n){return go(new JD(n))}class BB{constructor(t,e,i,r,o){this.injector=t,this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const t=_c(this.urlTree.root,[],[],this.config).segmentGroup,e=new ne(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,J).pipe($(o=>this.createUrlTree(dc(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(si(o=>{if(o instanceof JD)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof bc?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,J).pipe($(r=>this.createUrlTree(dc(r),t.queryParams,t.fragment))).pipe(si(r=>{throw r instanceof bc?this.noMatchError(r):r}))}noMatchError(t){return new C(4002,vc)}createUrlTree(t,e,i){const r=op(t);return new lr(r,e,i)}expandSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe($(o=>new ne([],o))):this.expandSegment(t,i,e,i.segments,r,!0)}expandChildren(t,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return Ge(r).pipe(Ii(o=>{const s=i.children[o],a=qD(e,o);return this.expandSegmentGroup(t,a,s,o).pipe($(l=>({segment:l,outlet:o})))}),fD((o,s)=>(o[s.outlet]=s.segment,o),{}),pD())}expandSegment(t,e,i,r,o,s){return Ge(i).pipe(Ii(a=>this.expandSegmentAgainstRoute(t,e,i,a,r,o,s).pipe(si(c=>{if(c instanceof bc)return k(null);throw c}))),Ai(a=>!!a),si((a,l)=>{if(vp(a))return XD(e,r,o)?k(new ne([],{})):zs(e);throw a}))}expandSegmentAgainstRoute(t,e,i,r,o,s,a){return QD(r,e,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s):zs(e):zs(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?eE(o):this.lineralizeSegments(i,o).pipe(tt(s=>{const a=new ne(s,{});return this.expandSegment(t,a,e,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=Cp(e,r,o);if(!a)return zs(e);const d=this.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?eE(d):this.lineralizeSegments(r,d).pipe(tt(h=>this.expandSegment(t,e,i,h.concat(c),s,!1)))}matchSegmentAgainstRoute(t,e,i,r,o){return"**"===i.path?(t=GD(i,t),i.loadChildren?(i._loadedRoutes?k({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(t,i)).pipe($(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new ne(r,{})))):k(new ne(r,{}))):ZD(e,i,r,t).pipe(Vn(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=i._injector??t,i,r).pipe(tt(u=>{const d=u.injector??t,h=u.routes,{segmentGroup:f,slicedSegments:p}=_c(e,a,l,h),m=new ne(f.segments,f.children);if(0===p.length&&m.hasChildren())return this.expandChildren(d,h,m).pipe($(b=>new ne(a,b)));if(0===h.length&&0===p.length)return k(new ne(a,{}));const y=ln(i)===o;return this.expandSegment(d,m,h,p,y?J:o,!0).pipe($(D=>new ne(a.concat(D.segments),D.children)))})):zs(e)))}getChildConfig(t,e,i){return e.children?k({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?k({routes:e._loadedRoutes,injector:e._loadedInjector}):function xB(n,t,e,i){const r=t.canLoad;return void 0===r||0===r.length?k(!0):k(r.map(s=>{const a=Co(s,n);return Ti(function gB(n){return n&&$s(n.canLoad)}(a)?a.canLoad(t,e):n.runInContext(()=>a(t,e)))})).pipe(wo(),YD())}(t,e,i).pipe(tt(r=>r?this.configLoader.loadChildren(t,e).pipe(Qe(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function LB(n){return go($D(vc,3))}())):k({routes:[],injector:t})}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return k(i);if(r.numberOfChildren>1||!r.children[J])return go(new C(4e3,vc));r=r.children[J]}}applyRedirectCommands(t,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreateUrlTree(t,e,i,r){const o=this.createSegmentGroup(t,e.root,i,r);return new lr(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return dt(t,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=e[a]}else i[o]=r}),i}createSegmentGroup(t,e,i,r){const o=this.createSegments(t,e.segments,i,r);let s={};return dt(e.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,i,r)}),new ne(o,s)}createSegments(t,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){const r=i[e.path.substring(1)];if(!r)throw new C(4001,vc);return r}findOrReturn(t,e){let i=0;for(const r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}}class jB{}class zB{constructor(t,e,i,r,o,s,a,l){this.injector=t,this.rootComponentType=e,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const t=_c(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,J).pipe($(e=>{if(null===e)return null;const i=new fc([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},J,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new li(i,e),o=new HD(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(t){const e=t.value,i=BD(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(t,e,i):this.processSegment(t,e,i,i.segments,r)}processChildren(t,e,i){return Ge(Object.keys(i.children)).pipe(Ii(r=>{const o=i.children[r],s=qD(e,r);return this.processSegmentGroup(t,s,o,r)}),fD((r,o)=>r&&o?(r.push(...o),r):null),function dV(n,t=!1){return Re((e,i)=>{let r=0;e.subscribe(ye(i,o=>{const s=n(o,r++);(s||t)&&i.next(o),!s&&i.complete()}))})}(r=>null!==r),rc(null),pD(),$(r=>{if(null===r)return null;const o=tE(r);return function WB(n){n.sort((t,e)=>t.value.outlet===J?-1:e.value.outlet===J?1:t.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(t,e,i,r,o){return Ge(e).pipe(Ii(s=>this.processSegmentAgainstRoute(s._injector??t,s,i,r,o)),Ai(s=>!!s),si(s=>{if(vp(s))return XD(i,r,o)?k([]):k(null);throw s}))}processSegmentAgainstRoute(t,e,i,r,o){if(e.redirectTo||!QD(e,i,r,o))return k(null);let s;if("**"===e.path){const a=r.length>0?yD(r).parameters:{},l=iE(i)+r.length;s=k({snapshot:new fc(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,oE(e),ln(e),e.component??e._loadedComponent??null,e,nE(i),l,sE(e),l),consumedSegments:[],remainingSegments:[]})}else s=ZD(i,e,r,t).pipe($(({matched:a,consumedSegments:l,remainingSegments:c,parameters:u})=>{if(!a)return null;const d=iE(i)+l.length;return{snapshot:new fc(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,oE(e),ln(e),e.component??e._loadedComponent??null,e,nE(i),d,sE(e),d),consumedSegments:l,remainingSegments:c}}));return s.pipe(Vn(a=>{if(null===a)return k(null);const{snapshot:l,consumedSegments:c,remainingSegments:u}=a;t=e._injector??t;const d=e._loadedInjector??t,h=function GB(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(e),{segmentGroup:f,slicedSegments:p}=_c(i,c,u,h.filter(y=>void 0===y.redirectTo),this.relativeLinkResolution);if(0===p.length&&f.hasChildren())return this.processChildren(d,h,f).pipe($(y=>null===y?null:[new li(l,y)]));if(0===h.length&&0===p.length)return k([new li(l,[])]);const m=ln(e)===o;return this.processSegment(d,h,f,p,m?J:o).pipe($(y=>null===y?null:[new li(l,y)]))}))}}function qB(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function tE(n){const t=[],e=new Set;for(const i of n){if(!qB(i)){t.push(i);continue}const r=t.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):t.push(i)}for(const i of e){const r=tE(i.children);t.push(new li(i.value,r))}return t.filter(i=>!e.has(i))}function nE(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function iE(n){let t=n,e=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift??0;return e-1}function oE(n){return n.data||{}}function sE(n){return n.resolve||{}}function aE(n){return"string"==typeof n.title||null===n.title}function wp(n){return Vn(t=>{const e=n(t);return e?Ge(e).pipe($(()=>t)):k(t)})}let lE=(()=>{class n{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===J);return i}getResolvedTitleForRoute(e){return e.data[ks]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:function(){return Ie(cE)},providedIn:"root"}),n})(),cE=(()=>{class n extends lE{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return n.\u0275fac=function(e){return new(e||n)(_(rD))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class t2{}class r2 extends class n2{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const wc=new E("",{providedIn:"root",factory:()=>({})}),Dp=new E("ROUTES");let Ep=(()=>{class n{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return k(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Ti(e.loadComponent()).pipe(Qe(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),oc(()=>{this.componentLoaders.delete(e)})),r=new dD(i,()=>new ee).pipe(ep());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return k({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe($(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=_D(l.get(Dp,[],L.Self|L.Optional)));return{routes:c.map(yp),injector:l}}),oc(()=>{this.childrenLoaders.delete(i)})),s=new dD(o,()=>new ee).pipe(ep());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return Ti(e()).pipe(tt(i=>i instanceof Qb||Array.isArray(i)?k(i):Ge(this.compiler.compileModuleAsync(i))))}}return n.\u0275fac=function(e){return new(e||n)(_(Oe),_(gf))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class s2{}class a2{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function l2(n){throw n}function c2(n,t,e){return t.parse("/")}const u2={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},d2={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function dE(){const n=Ie(ED),t=Ie(Bs),e=Ie(Ss),i=Ie(Oe),r=Ie(gf),o=Ie(Dp,{optional:!0})??[],s=Ie(wc,{optional:!0})??{},a=Ie(cE),l=Ie(lE,{optional:!0}),c=Ie(s2,{optional:!0}),u=Ie(t2,{optional:!0}),d=new Ue(null,n,t,e,i,r,_D(o));return c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),d.titleStrategy=l??a,function h2(n,t){n.errorHandler&&(t.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(t.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(t.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(t.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(t.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(t.canceledNavigationResolution=n.canceledNavigationResolution)}(s,d),d}let Ue=(()=>{class n{constructor(e,i,r,o,s,a,l){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=r,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ee,this.errorHandler=l2,this.malformedUriErrorHandler=c2,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>k(void 0),this.urlHandlingStrategy=new a2,this.routeReuseStrategy=new r2,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(Ep),this.configLoader.onLoadEndListener=h=>this.triggerEvent(new GV(h)),this.configLoader.onLoadStartListener=h=>this.triggerEvent(new WV(h)),this.ngModule=s.get(tr),this.console=s.get(jP);const d=s.get(te);this.isNgZoneEnabled=d instanceof te&&te.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function mV(){return new lr(new ne([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=VD(this.currentUrlTree,this.rootComponentType),this.transitions=new ut({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(At(r=>0!==r.id),$(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),Vn(r=>{let o=!1,s=!1;return k(r).pipe(Qe(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Vn(a=>{const l=this.browserUrlTree.toString(),c=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return hE(a.source)&&(this.browserUrlTree=a.extractedUrl),k(a).pipe(Vn(d=>{const h=this.transitions.getValue();return i.next(new cp(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions.getValue()?zn:Promise.resolve(d)}),function HB(n,t,e,i){return Vn(r=>function VB(n,t,e,i,r){return new BB(n,t,e,i,r).apply()}(n,t,e,r.extractedUrl,i).pipe($(o=>({...r,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Qe(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},r.urlAfterRedirects=d.urlAfterRedirects}),function YB(n,t,e,i,r,o){return tt(s=>function $B(n,t,e,i,r,o,s="emptyOnly",a="legacy"){return new zB(n,t,e,i,r,s,a,o).recognize().pipe(Vn(l=>null===l?function UB(n){return new _e(t=>t.error(n))}(new jB):k(l)))}(n,t,e,s.urlAfterRedirects,i.serialize(s.urlAfterRedirects),i,r,o).pipe($(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),Qe(d=>{if(r.targetSnapshot=d.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const f=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(f,d)}this.browserUrlTree=d.urlAfterRedirects}const h=new HV(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);i.next(h)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:h,extractedUrl:f,source:p,restoredState:m,extras:y}=a,v=new cp(h,this.serializeUrl(f),p,m);i.next(v);const D=VD(f,this.rootComponentType).snapshot;return k(r={...a,targetSnapshot:D,urlAfterRedirects:f,extras:{...y,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),zn}),Qe(a=>{const l=new jV(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),$(a=>r={...a,guards:dB(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function wB(n,t){return tt(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?k({...e,guardsResult:!0}):function DB(n,t,e,i){return Ge(n).pipe(tt(r=>function TB(n,t,e,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?k(o.map(a=>{const l=Hs(t)??r,c=Co(a,l);return Ti(function vB(n){return n&&$s(n.canDeactivate)}(c)?c.canDeactivate(n,t,e,i):l.runInContext(()=>c(n,t,e,i))).pipe(Ai())})).pipe(wo()):k(!0)}(r.component,r.route,e,t,i)),Ai(r=>!0!==r,!0))}(s,i,r,n).pipe(tt(a=>a&&function mB(n){return"boolean"==typeof n}(a)?function EB(n,t,e,i){return Ge(t).pipe(Ii(r=>Rs(function MB(n,t){return null!==n&&t&&t(new qV(n)),k(!0)}(r.route.parent,i),function SB(n,t){return null!==n&&t&&t(new YV(n)),k(!0)}(r.route,i),function IB(n,t,e){const i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function hB(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(s)).filter(s=>null!==s).map(s=>nc(()=>k(s.guards.map(l=>{const c=Hs(s.node)??e,u=Co(l,c);return Ti(function yB(n){return n&&$s(n.canActivateChild)}(u)?u.canActivateChild(i,n):c.runInContext(()=>u(i,n))).pipe(Ai())})).pipe(wo())));return k(o).pipe(wo())}(n,r.path,e),function AB(n,t,e){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return k(!0);const r=i.map(o=>nc(()=>{const s=Hs(t)??e,a=Co(o,s);return Ti(function _B(n){return n&&$s(n.canActivate)}(a)?a.canActivate(t,n):s.runInContext(()=>a(t,n))).pipe(Ai())}));return k(r).pipe(wo())}(n,r.route,e))),Ai(r=>!0!==r,!0))}(i,o,n,t):k(a)),$(a=>({...e,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),Qe(a=>{if(r.guardsResult=a.guardsResult,ur(a.guardsResult))throw UD(0,a.guardsResult);const l=new UV(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),At(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),wp(a=>{if(a.guards.canActivateChecks.length)return k(a).pipe(Qe(l=>{const c=new $V(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),Vn(l=>{let c=!1;return k(l).pipe(function ZB(n,t){return tt(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return k(e);let o=0;return Ge(r).pipe(Ii(s=>function QB(n,t,e,i){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!aE(r)&&(o[ks]=r.title),function XB(n,t,e,i){const r=function JB(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===r.length)return k({});const o={};return Ge(r).pipe(tt(s=>function e2(n,t,e,i){const r=Hs(t)??i,o=Co(n,r);return Ti(o.resolve?o.resolve(t,e):r.runInContext(()=>o(t,e)))}(n[s],t,e,i).pipe(Ai(),Qe(a=>{o[s]=a}))),tp(1),mD(o),si(s=>vp(s)?zn:go(s)))}(o,n,t,i).pipe($(s=>(n._resolvedData=s,n.data=BD(n,e).resolve,r&&aE(r)&&(n.data[ks]=r.title),null)))}(s.route,i,n,t)),Qe(()=>o++),tp(1),tt(s=>o===r.length?k(e):zn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),Qe({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),Qe(l=>{const c=new zV(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),wp(a=>{const l=c=>{const u=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(c.routeConfig).pipe(Qe(d=>{c.component=d}),$(()=>{})));for(const d of c.children)u.push(...l(d));return u};return Jf(l(a.targetSnapshot.root)).pipe(rc(),Mt(1))}),wp(()=>this.afterPreactivation()),$(a=>{const l=function eB(n,t,e){const i=Vs(n,t._root,e?e._root:void 0);return new LD(i,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return r={...a,targetRouterState:l}}),Qe(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((n,t,e)=>$(i=>(new uB(t,i.targetRouterState,i.currentRouterState,e).activate(n),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),Qe({next(){o=!0},complete(){o=!0}}),oc(()=>{o||s||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),si(a=>{if(s=!0,WD(a)){zD(a)||(this.navigated=!0,this.restoreHistory(r,!0));const l=new hc(r.id,this.serializeUrl(r.extractedUrl),a.message,a.cancellationCode);if(i.next(l),zD(a)){const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||hE(r.source)};this.scheduleNavigation(c,"imperative",null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{this.restoreHistory(r,!0);const l=new OD(r.id,this.serializeUrl(r.extractedUrl),a,r.targetSnapshot??void 0);i.next(l);try{r.resolve(this.errorHandler(a))}catch(c){r.reject(c)}}return zn}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next({...this.transitions.value,...e})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{const r={replaceUrl:!0},o=e.state?.navigationId?e.state:null;if(o){const a={...o};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(r.state=a)}const s=this.parseUrl(e.url);this.scheduleNavigation(s,i,o,r)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){this.config=e.map(yp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=r||this.routerState.root,u=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),OV(c,this.currentUrlTree,e,d,u??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=ur(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function f2(n){for(let t=0;t{const o=e[r];return null!=o&&(i[r]=o),i},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new dr(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((h,f)=>{a=h,l=f});const u=++this.navigationId;let d;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),d=r&&r.\u0275routerPageId?r.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):d=0,this.setTransition({id:u,targetPageId:d,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e),o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",o):this.location.go(r,"",o)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===r?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i,r){const o=new hc(e.id,this.serializeUrl(e.extractedUrl),i,r);this.triggerEvent(o),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return n.\u0275fac=function(e){il()},n.\u0275prov=S({token:n,factory:function(){return dE()},providedIn:"root"}),n})();function hE(n){return"imperative"!==n}class fE{}let g2=(()=>{class n{constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(At(e=>e instanceof dr),Ii(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=wl(o.providers,e,`Route: ${o.path}`));const s=o._injector??e,a=o._loadedInjector??s;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?r.push(this.preloadConfig(s,o)):(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Ge(r).pipe(Er())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):k(null);const o=r.pipe(tt(s=>null===s?k(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));return i.loadComponent&&!i._loadedComponent?Ge([o,this.loader.loadComponent(i)]).pipe(Er()):o})}}return n.\u0275fac=function(e){return new(e||n)(_(Ue),_(gf),_(wi),_(fE),_(Ep))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ap=new E("");let pE=(()=>{class n{constructor(e,i,r={}){this.router=e,this.viewportScroller=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof cp?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof dr&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof PD&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new PD(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){il()},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();function Do(n,t){return{\u0275kind:n,\u0275providers:t}}function Ip(n){return[{provide:Dp,multi:!0,useValue:n}]}function gE(){const n=Ie(Oe);return t=>{const e=n.get(mo);if(t!==e.components[0])return;const i=n.get(Ue),r=n.get(_E);1===n.get(Tp)&&i.initialNavigation(),n.get(yE,null,L.Optional)?.setUpPreloading(),n.get(Ap,null,L.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const _E=new E("",{factory:()=>new ee}),Tp=new E("",{providedIn:"root",factory:()=>1});const yE=new E("");function b2(n){return Do(0,[{provide:yE,useExisting:g2},{provide:fE,useExisting:n}])}const vE=new E("ROUTER_FORROOT_GUARD"),C2=[Ss,{provide:ED,useClass:ip},{provide:Ue,useFactory:dE},Bs,{provide:Wt,useFactory:function mE(n){return n.routerState.root},deps:[Ue]},Ep];function w2(){return new GC("Router",Ue)}let bE=(()=>{class n{constructor(e){}static forRoot(e,i){return{ngModule:n,providers:[C2,[],Ip(e),{provide:vE,useFactory:M2,deps:[[Ue,new Ci,new zr]]},{provide:wc,useValue:i||{}},i?.useHash?{provide:ar,useClass:TN}:{provide:ar,useClass:_w},{provide:Ap,useFactory:()=>{const n=Ie(Ue),t=Ie(K1),e=Ie(wc);return e.scrollOffset&&t.setOffset(e.scrollOffset),new pE(n,t,e)}},i?.preloadingStrategy?b2(i.preloadingStrategy).\u0275providers:[],{provide:GC,multi:!0,useFactory:w2},i?.initialNavigation?A2(i):[],[{provide:CE,useFactory:gE},{provide:BC,multi:!0,useExisting:CE}]]}}static forChild(e){return{ngModule:n,providers:[Ip(e)]}}}return n.\u0275fac=function(e){return new(e||n)(_(vE,8))},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[gp]}),n})();function M2(n){return"guarded"}function A2(n){return["disabled"===n.initialNavigation?Do(3,[{provide:Ml,multi:!0,useFactory:()=>{const t=Ie(Ue);return()=>{t.setUpLocationChangeListener()}}},{provide:Tp,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Do(2,[{provide:Tp,useValue:0},{provide:Ml,multi:!0,deps:[Oe],useFactory:t=>{const e=t.get(AN,Promise.resolve());let i=!1;return()=>e.then(()=>new Promise(o=>{const s=t.get(Ue),a=t.get(_E);(function r(o){t.get(Ue).events.pipe(At(a=>a instanceof dr||a instanceof hc||a instanceof OD),$(a=>a instanceof dr||a instanceof hc&&(0===a.code||1===a.code)&&null),At(a=>null!==a),Mt(1)).subscribe(()=>{o()})})(()=>{o(!0),i=!0}),s.afterPreactivation=()=>(o(!0),i||a.closed?k(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const CE=new E("");let Mc=(()=>{class n{constructor(e,i){this.route=e,this.router=i,this.navs=[]}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}ngOnInit(){throw new Error("need impl")}isActiveHeader(e){const i=this.route.firstChild?.component?.name==e.component;return i&&(this.currentNav=e),i}selectHeader(e,i=[]){i.push(...e.path.split("/")),this.router.navigate(i)}choiceHeader(e){if(null!=this.currentNav){const i=this.navs.indexOf(this.currentNav);switch(e){case"KeyQ":this.selectHeader(i-1<0?this.navs[this.navs.length-1]:this.navs[i-1]);break;case"KeyE":this.selectHeader(i+1>=this.navs.length?this.navs[0]:this.navs[i+1])}}}}return n.\u0275fac=function(e){return new(e||n)(g(Wt),g(Ue))},n.\u0275cmp=ue({type:n,selectors:[["abs-navs-header"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})(),wE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["app-status-lower-header"]],decls:2,vars:0,template:function(e,i){1&e&&(F(0,"p"),ie(1,"status"),R())},encapsulation:2}),n})(),Eo=(()=>{class n{}return n.UNKNOWN=0,n.RESERVED=1,n.SYSSTATS=2,n.SPACESTATS=3,n.WIFI=4,n})(),xp=(()=>{class n{}return n.UNKNOWN=0,n.SELF=1,n.EXTERNAL=2,n})();class Ac{static getRandom(t,e){return Math.random()*(e-t)+t}static getRandomRound(t,e){return Math.round(this.getRandom(t,e))}}let DE=(()=>{class n{constructor(){this.events=new ut("{}"),console.log("random data to ws create"),setInterval(()=>{this.events.next(JSON.stringify({event:Eo.SYSSTATS,device:xp.SELF,data:{cpu:Ac.getRandom(0,99.9),mem:Ac.getRandom(0,400)}})),this.events.next(JSON.stringify({event:Eo.SPACESTATS,device:xp.SELF,data:{free:Ac.getRandom(0,40),total:50,format:"GB"}})),this.events.next(JSON.stringify({event:Eo.WIFI,device:xp.SELF,data:1==Ac.getRandomRound(1,2)?{state:"Connected",ap:"nyk",ip:"192.168.1.2"}:{state:"Disconnected",ap:"",ip:""}}))},1e3)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function T2(n,t){if(1&n){const e=lo();F(0,"p",6),ot("click",function(){const o=Rr(e).$implicit;return kr(we().selectHeader(o))}),ie(1),R()}if(2&n){const e=t.$implicit;$e("inactiveHeader",!we().isActiveHeader(e)),O(1),Te(e.name)}}let Rp,EE=(()=>{class n extends Mc{constructor(e,i,r){super(e,i),this.ws=r,this.cpu=0,this.mem=0,this.wifi="",super.navs=[{name:"status",path:"status",action:()=>{},component:wE.name},{name:"2",path:"2",action:()=>{},component:""},{name:"3",path:"3",action:()=>{},component:""}]}ngOnInit(){this.ws.events.pipe($(e=>JSON.parse(e))).subscribe(e=>{e.event==Eo.SYSSTATS&&(this.cpu=Math.round(e.data.cpu),this.mem=Math.round(e.data.mem)),e.event==Eo.WIFI&&(this.wifi=e.data.ip?`${e.data.state} to ${e.data.ap} (${e.data.ip})`:e.data.state)})}}return n.\u0275fac=function(e){return new(e||n)(g(Wt),g(Ue),g(DE))},n.\u0275cmp=ue({type:n,selectors:[["app-stats-header"]],features:[B],decls:14,vars:4,consts:[[2,"display","flex","align-items","center","justify-content","flex-start","padding-left","45px"],["style","text-transform: uppercase;font-weight: bold; margin-bottom: 0; margin-top: 5px; padding-left: 5px",3,"inactiveHeader","click",4,"ngFor","ngForOf"],[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","19.5%"],[1,"footer-text",2,"width","60%"],[2,"text-transform","uppercase","font-weight","bold","margin-bottom","0","margin-top","5px","padding-left","5px",3,"click"]],template:function(e,i){1&e&&(F(0,"div",0),Me(1,T2,2,3,"p",1),R(),gt(2,"router-outlet"),F(3,"div",2)(4,"div",3)(5,"div",4)(6,"span"),ie(7),R()(),F(8,"div",5)(9,"span"),ie(10),R()(),F(11,"div",4)(12,"span"),ie(13),R()()()()),2&e&&(O(1),Ce("ngForOf",i.navs),O(6),On("CPU ",i.cpu,"%"),O(3),Te(i.wifi),O(3),On("MEM ",i.mem,"MB"))},dependencies:[Ln,hr],encapsulation:2}),n})();try{Rp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Rp=!1}let Ws,fr,kp,Gt=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function q1(n){return n===Pw}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Rp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(_(Il))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Ic(n){return function x2(){if(null==Ws&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ws=!0}))}finally{Ws=Ws||!1}return Ws}()?n:!!n.capture}function R2(){if(null==fr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return fr=!1,fr;if("scrollBehavior"in document.documentElement.style)fr=!0;else{const n=Element.prototype.scrollTo;fr=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return fr}function ME(n){if(function k2(){if(null==kp){const n=typeof document<"u"?document.head:null;kp=!(!n||!n.createShadowRoot&&!n.attachShadow)}return kp}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Fp(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function pr(n){return n.composedPath?n.composedPath()[0]:n.target}function Op(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function IE(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function TE(n){return At((t,e)=>n<=e)}function B2(n,t){return n===t}function xc(n){return Re((t,e)=>{xt(n).subscribe(ye(e,()=>e.complete(),ga)),!e.closed&&t.subscribe(e)})}function Pp(n){return null!=n&&"false"!=`${n}`}function Np(n,t=0){return function H2(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function Rc(n){return Array.isArray(n)?n:[n]}function Xe(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Mo(n){return n instanceof Fe?n.nativeElement:n}let j2=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),xE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[j2]}),n})();class U2 extends et{constructor(t,e){super()}schedule(t,e=0){return this}}const kc={setInterval(n,t,...e){const{delegate:i}=kc;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=kc;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class Lp extends U2{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return kc.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&kc.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Dr(i,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const Vp={now:()=>(Vp.delegate||Date).now(),delegate:void 0};class Gs{constructor(t,e=Gs.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}}Gs.now=Vp.now;class Bp extends Gs{constructor(t,e=Gs.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const Fc=new Bp(Lp),$2=Fc,RE=new Set;let Ao,W2=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):q2}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function G2(n){if(!RE.has(n))try{Ao||(Ao=document.createElement("style"),Ao.setAttribute("type","text/css"),document.head.appendChild(Ao)),Ao.sheet&&(Ao.sheet.insertRule(`@media ${n} {body{ }}`,0),RE.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(_(Gt))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function q2(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let Hp=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new ee}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return kE(Rc(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=Jf(kE(Rc(e)).map(s=>this._registerQuery(s).observable));return o=Rs(o.pipe(Mt(1)),o.pipe(TE(1),function z2(n,t=Fc){return Re((e,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+n,u=t.now();if(u{o=c,s=t.now(),r||(r=t.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}(0))),o.pipe($(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new _e(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(ic(i),$(({matches:s})=>({query:e,matches:s})),xc(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(_(W2),_(te))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function kE(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}let Oc=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function X2(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function Q2(n){try{return n.frameElement}catch{return null}}(function sH(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(i&&(-1===NE(i)||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=NE(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function rH(n){let t=n.nodeName.toLowerCase(),e="input"===t&&n.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==o:"video"===r?-1!==o&&(null!==o||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function oH(n){return!function eH(n){return function nH(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function J2(n){let t=n.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(n)||function tH(n){return function iH(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||PE(n))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(_(Gt))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function PE(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let t=n.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function NE(n){if(!PE(n))return null;const t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class aH{constructor(t,e,i,r,o=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=0;i=0;i--){const r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Mt(1)).subscribe(t)}}let jp=(()=>{class n{constructor(e,i,r){this._checker=e,this._ngZone=i,this._document=r}create(e,i=!1){return new aH(e,this._checker,this._ngZone,this._document,i)}}return n.\u0275fac=function(e){return new(e||n)(_(Oc),_(te),_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function LE(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function VE(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const lH=new E("cdk-input-modality-detector-options"),cH={ignoreKeys:[18,17,224,91,16]},Io=Ic({passive:!0,capture:!0});let uH=(()=>{class n{constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new ut(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=pr(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(LE(s)?"keyboard":"mouse"),this._mostRecentTarget=pr(s))},this._onTouchstart=s=>{VE(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=pr(s))},this._options={...cH,...o},this.modalityDetected=this._modality.pipe(TE(1)),this.modalityChanged=this.modalityDetected.pipe(function V2(n,t=mi){return n=n??B2,Re((e,i)=>{let r,o=!0;e.subscribe(ye(i,s=>{const a=t(s);(o||!n(r,a))&&(o=!1,r=a,i.next(s))}))})}()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Io),r.addEventListener("mousedown",this._onMousedown,Io),r.addEventListener("touchstart",this._onTouchstart,Io)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Io),document.removeEventListener("mousedown",this._onMousedown,Io),document.removeEventListener("touchstart",this._onTouchstart,Io))}}return n.\u0275fac=function(e){return new(e||n)(_(Gt),_(te),_(q),_(lH,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const dH=new E("liveAnnouncerElement",{providedIn:"root",factory:function hH(){return null}}),fH=new E("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let HE=(()=>{class n{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let o,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==s&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o{class n{constructor(e,i,r,o,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,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 ee,this._rootNodeFocusAndBlurListener=a=>{for(let c=pr(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||0}monitor(e,i=!1){const r=Mo(e);if(!this._platform.isBrowser||1!==r.nodeType)return k(null);const o=ME(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new ee,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Mo(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=Mo(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=pr(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Pc),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Pc)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(xc(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Pc),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Pc),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let s=0;s{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Ie(Hp).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Up,jE,UE),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(Up,jE):2===i&&e.add(Up,UE)}}}return n.\u0275fac=function(e){return new(e||n)(_(Gt),_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mH=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(_($E))},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[xE]}),n})();const gH=["addListener","removeListener"],_H=["addEventListener","removeEventListener"],yH=["on","off"];function $p(n,t,e,i){if(ae(e)&&(i=e,e=void 0),i)return $p(n,t,e).pipe(Xf(i));const[r,o]=function CH(n){return ae(n.addEventListener)&&ae(n.removeEventListener)}(n)?_H.map(s=>a=>n[s](t,a,e)):function vH(n){return ae(n.addListener)&&ae(n.removeListener)}(n)?gH.map(zE(n,t)):function bH(n){return ae(n.on)&&ae(n.off)}(n)?yH.map(zE(n,t)):[];if(!r&&Pu(n))return tt(s=>$p(s,t,e))(xt(n));if(!r)throw new TypeError("Invalid event target");return new _e(s=>{const a=(...l)=>s.next(1o(a)})}function zE(n,t){return e=>i=>n[e](t,i)}const qs={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=qs;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=t(o=>{e=void 0,n(o)});return new et(()=>e?.(r))},requestAnimationFrame(...n){const{delegate:t}=qs;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=qs;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0};new class DH extends Bp{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class wH extends Lp{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=qs.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(qs.cancelAnimationFrame(e),t._scheduled=void 0)}});let zp,SH=1;const Lc={};function WE(n){return n in Lc&&(delete Lc[n],!0)}const MH={setImmediate(n){const t=SH++;return Lc[t]=!0,zp||(zp=Promise.resolve()),zp.then(()=>WE(t)&&n()),t},clearImmediate(n){WE(n)}},{setImmediate:AH,clearImmediate:IH}=MH,Vc={setImmediate(...n){const{delegate:t}=Vc;return(t?.setImmediate||AH)(...n)},clearImmediate(n){const{delegate:t}=Vc;return(t?.clearImmediate||IH)(n)},delegate:void 0};new class xH extends Bp{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class TH extends Lp{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=Vc.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Vc.clearImmediate(e),t._scheduled=void 0)}});function GE(n=0,t,e=$2){let i=-1;return null!=t&&(xg(t)?e=t:i=t),new _e(r=>{let o=function FH(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function qE(n,t=Fc){return function kH(n){return Re((t,e)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};t.subscribe(ye(e,c=>{i=!0,r=c,o||xt(n(c)).subscribe(o=ye(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>GE(n,t))}const OH=new E("cdk-dir-doc",{providedIn:"root",factory:function PH(){return Ie(q)}}),NH=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Wp=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new xe,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function LH(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?NH.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(_(OH,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ks=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})(),BH=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new ee,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new _e(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(qE(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):k()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(At(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Mo(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>$p(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(_(te),_(Gt),_(q,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Gp=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new ee,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(qE(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(_(Gt),_(te),_(q,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),KE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})(),YE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[Ks,KE,Ks,KE]}),n})();class qp{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Ys extends qp{constructor(t,e,i,r){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r}}class Kp extends qp{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class jH extends qp{constructor(t){super(),this.element=t instanceof Fe?t.nativeElement:t}}class Bc{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Ys?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Kp?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof jH?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class UH extends Bc{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||Oe.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=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Zs=(()=>{class n extends Bc{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new xe,this.attachDomPortal=o=>{const s=o.element,a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(o,i.length,e.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(g(Yi),g(on),g(q))},n.\u0275dir=N({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[B]}),n})(),Qs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})();const ZE=R2();class $H{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Xe(-this._previousScrollPosition.left),t.style.top=Xe(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),ZE&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ZE&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class zH{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class QE{enable(){}disable(){}attach(){}}function Yp(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function XE(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class WH{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Yp(e,[{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}}let GH=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new QE,this.close=s=>new zH(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new $H(this._viewportRuler,this._document),this.reposition=s=>new WH(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(_(BH),_(Gp),_(te),_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Zp{constructor(t){if(this.scrollStrategy=new QE,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class qH{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let JE=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),KH=(()=>{class n extends JE{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(_(q),_(te,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),YH=(()=>{class n extends JE{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=pr(o)},this._clickListener=o=>{const s=pr(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(_(q),_(Gt),_(te,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Hc=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Op()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new ee,this._outsidePointerEvents=new ee,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(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Mt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=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,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Xe(this._config.width),t.height=Xe(this._config.height),t.minWidth=Xe(this._config.minWidth),t.minHeight=Xe(this._config.minHeight),t.maxWidth=Xe(this._config.maxWidth),t.maxHeight=Xe(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="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(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=Rc(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(xc(Lu(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const e0="cdk-overlay-connected-position-bounding-box",ZH=/([A-Za-z%]+)$/;class QH{constructor(t,e,i,r,o){this._viewportRuler=e,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 ee,this._resizeSubscription=et.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(e0),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,e,a),u=this._getOverlayFit(c,e,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&mr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(e0),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r="start"==i.originX?s:a}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=n0(e);let{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let h=0-a,f=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.width),m=this._subtractOverflows(o.height,h,f),y=p*m;return{visibleArea:y,isCompletelyWithinViewport:o.width*o.height===y,fitsInViewportVertically:m===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,s=t0(this._overlayRef.getConfig().minHeight),a=t0(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportHorizontally||null!=a&&a<=o;return(t.fitsInViewportVertically||null!=s&&s<=r)&&c}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=n0(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0);let u=0,d=0;return u=r.width<=o.width?c||-s:t.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)h=i.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)d=t.x,u=i.right-t.x;else{const f=Math.min(i.right-t.x+i.left,t.x),p=this._lastBoundingBoxSize.width;u=2*f,d=t.x-f,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-p/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Xe(i.height),r.top=Xe(i.top),r.bottom=Xe(i.bottom),r.width=Xe(i.width),r.left=Xe(i.left),r.right=Xe(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Xe(o)),s&&(r.maxWidth=Xe(s))}this._lastBoundingBoxSize=i,mr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){mr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){mr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();mr(i,this._getExactOverlayY(e,t,u)),mr(i,this._getExactOverlayX(e,t,u))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Xe(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Xe(s.maxWidth):o&&(i.maxWidth="")),mr(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Xe(o.y),r}_getExactOverlayX(t,e,i){let s,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Xe(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:XE(t,i),isOriginOutsideView:Yp(t,i),isOverlayClipped:XE(e,i),isOverlayOutsideView:Yp(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Rc(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Fe)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function mr(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function t0(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(ZH);return e&&"px"!==e?null:parseFloat(t)}return n||null}function n0(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const r0="cdk-global-overlay-wrapper";class XH{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(r0),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",m="";l?m="flex-start":"center"===u?(m="center",h?p=d:f=d):h?"left"===u||"end"===u?(m="flex-end",f=d):("right"===u||"start"===u)&&(m="flex-start",p=d):"left"===u||"start"===u?(m="flex-start",f=d):("right"===u||"end"===u)&&(m="flex-end",p=d),t.position=this._cssPosition,t.marginLeft=l?"0":f,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":p,e.justifyContent=m,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(r0),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let JH=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new XH}flexibleConnectedTo(e){return new QH(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(_(Gp),_(q),_(Gt),_(Hc))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ej=0,xi=(()=>{class n{constructor(e,i,r,o,s,a,l,c,u,d,h,f){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=h,this._animationsModuleType=f}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new Zp(e);return s.direction=s.direction||this._directionality.value,new Xs(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+ej++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(mo)),new UH(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(_(GH),_(Hc),_(Yi),_(JH),_(KH),_(Oe),_(te),_(q),_(Wp),_(Ss),_(YH),_(rr,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const ij={provide:new E("cdk-connected-overlay-scroll-strategy"),deps:[xi],useFactory:function nj(n){return()=>n.scrollStrategies.reposition()}};let Qp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[xi,ij],imports:[Ks,Qs,YE,YE]}),n})();function rj(n,t){}class jc{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let o0=(()=>{class n extends Bc{constructor(e,i,r,o,s,a,l,c){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=c,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=u=>{this._portalOutlet.hasAttached();const d=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),d},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=r}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const r=Fp(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=Fp();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Fp())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return n.\u0275fac=function(e){return new(e||n)(g(Fe),g(jp),g(q,8),g(jc),g(Oc),g(te),g(Xs),g(Nc))},n.\u0275cmp=ue({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(e,i){if(1&e&&Cs(Zs,7),2&e){let r;nr(r=ir())&&(i._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,i){2&e&&rt("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[B],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&Me(0,rj,0,0,"ng-template",0)},dependencies:[Zs],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),n})();class Xp{constructor(t,e){this.overlayRef=t,this.config=e,this.closed=new ee,this.disableClose=e.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!IE(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(t,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this.overlayRef.dispose(),i.next(t),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",e=""){return this.overlayRef.updateSize({width:t,height:e}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}}const s0=new E("DialogScrollStrategy"),oj=new E("DialogData"),sj=new E("DefaultDialogConfig"),lj={provide:s0,deps:[xi],useFactory:function aj(n){return()=>n.scrollStrategies.block()}};let cj=0,a0=(()=>{class n{constructor(e,i,r,o,s,a){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ee,this._afterOpenedAtThisLevel=new ee,this._ariaHiddenElements=new Map,this.afterAllClosed=nc(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ic(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(e,i){(i={...this._defaultOptions||new jc,...i}).id=i.id||"cdk-dialog-"+cj++,i.id&&this.getDialogById(i.id);const o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new Xp(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(e,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){Jp(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){Jp(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),Jp(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new Zp({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){const o=r.injector||r.viewContainerRef?.injector,s=[{provide:jc,useValue:r},{provide:Xp,useValue:i},{provide:Xs,useValue:e}];let a;r.container?"function"==typeof r.container?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=o0;const l=new Ys(a,r.viewContainerRef,Oe.create({parent:o||this._injector,providers:s}),r.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof Cn){const s=this._createInjector(o,i,r,void 0);let a={$implicit:o.data,dialogRef:i};o.templateContext&&(a={...a,..."function"==typeof o.templateContext?o.templateContext():o.templateContext}),r.attachTemplatePortal(new Kp(e,null,a,s))}else{const s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new Ys(e,o.viewContainerRef,s,o.componentFactoryResolver));i.componentInstance=a.instance}}_createInjector(e,i,r,o){const s=e.injector||e.viewContainerRef?.injector,a=[{provide:oj,useValue:e.data},{provide:Xp,useValue:i}];return e.providers&&("function"==typeof e.providers?a.push(...e.providers(i,e,r)):a.push(...e.providers)),e.direction&&(!s||!s.get(Wp,null,L.Optional))&&a.push({provide:Wp,useValue:{value:e.direction,change:k()}}),Oe.create({parent:s||o,providers:a})}_removeOpenDialog(e,i){const r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){const o=i[r];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return n.\u0275fac=function(e){return new(e||n)(_(xi),_(Oe),_(sj,8),_(n,12),_(Hc),_(s0))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();function Jp(n,t){let e=n.length;for(;e--;)t(n[e])}let uj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[a0,lj],imports:[Qp,Qs,mH,Qs]}),n})();const hj=new E("mat-sanity-checks",{providedIn:"root",factory:function dj(){return!0}});let It=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Op()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(_($E),_(hj,8),_(q))},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[Ks,Ks]}),n})();function fj(n){return class extends n{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Pp(t)}}}function em(n,t){return class extends n{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function pj(n){return class extends n{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Pp(t)}}}let gj=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class _j{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const u0={enterDuration:225,exitDuration:150},tm=Ic({passive:!0}),d0=["mousedown","touchstart"],h0=["mouseup","mouseleave","touchend","touchcancel"];class vj{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Mo(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...u0,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function bj(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),a=t-r.left,l=e-r.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-s+"px",u.style.top=l-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);const d=window.getComputedStyle(u),f=d.transitionDuration,p="none"===d.transitionProperty||"0s"===f||"0s, 0s"===f,m=new _j(this,u,i,p);u.style.transform="scale3d(1, 1, 1)",m.state=0,i.persistent||(this._mostRecentTransientRipple=m);let y=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const v=()=>this._finishRippleTransition(m),D=()=>this._destroyRipple(m);u.addEventListener("transitionend",v),u.addEventListener("transitioncancel",D),y={onTransitionEnd:v,onTransitionCancel:D}}),this._activeRipples.set(m,y),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i={...u0,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Mo(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(d0))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(h0),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=LE(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(e=>{this._triggerElement.addEventListener(e,this,tm)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(d0.forEach(t=>{this._triggerElement.removeEventListener(t,this,tm)}),this._pointerUpEventsRegistered&&h0.forEach(t=>{this._triggerElement.removeEventListener(t,this,tm)}))}}const Cj=new E("mat-ripple-global-options");let f0=(()=>{class n{constructor(e,i,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new vj(this,i,e,r)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(g(Fe),g(te),g(Gt),g(Cj,8),g(rr,8))},n.\u0275dir=N({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&$e("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),wj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[It,It]}),n})();class p0{}const ci="*";function nm(n,t){return{type:7,name:n,definitions:t,options:{}}}function ea(n,t=null){return{type:4,styles:t,timings:n}}function m0(n,t=null){return{type:3,steps:n,options:t}}function g0(n,t=null){return{type:2,steps:n,options:t}}function Sn(n){return{type:6,styles:n,offset:null}}function ta(n,t,e){return{type:0,name:n,styles:t,options:e}}function na(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function _0(n=null){return{type:9,options:n}}function y0(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function v0(n){Promise.resolve().then(n)}class ia{constructor(t=0,e=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){v0(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class b0{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?v0(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==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(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function Ej(n,t){}const To={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Sj={dialogContainer:nm("dialogContainer",[ta("void, exit",Sn({opacity:0,transform:"scale(0.7)"})),ta("enter",Sn({transform:"none"})),na("* => enter",m0([ea("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",Sn({transform:"none",opacity:1})),y0("@*",_0(),{optional:!0})]),To),na("* => void, * => exit",m0([ea("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",Sn({opacity:0})),y0("@*",_0(),{optional:!0})]),To)])};class Uc{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=To.params.enterAnimationDuration,this.exitAnimationDuration=To.params.exitAnimationDuration}}let Mj=(()=>{class n extends o0{constructor(e,i,r,o,s,a,l,c){super(e,i,r,o,s,a,l,c),this._animationStateChanged=new xe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return n.\u0275fac=function(e){return new(e||n)(g(Fe),g(jp),g(q,8),g(Uc),g(Oc),g(te),g(Xs),g(Nc))},n.\u0275cmp=ue({type:n,selectors:[["ng-component"]],features:[B],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})(),Aj=(()=>{class n extends Mj{constructor(e,i,r,o,s,a,l,c,u){super(e,i,r,o,s,a,l,u),this._changeDetectorRef=c,this._state="enter"}_onAnimationDone({toState:e,totalTime:i}){"enter"===e?this._openAnimationDone(i):"exit"===e&&this._animationStateChanged.next({state:"closed",totalTime:i})}_onAnimationStart({toState:e,totalTime:i}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||To.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||To.params.exitAnimationDuration}}}}return n.\u0275fac=function(e){return new(e||n)(g(Fe),g(jp),g(q,8),g(Uc),g(Oc),g(te),g(Xs),g(or),g(Nc))},n.\u0275cmp=ue({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,i){1&e&&ml("@dialogContainer.start",function(o){return i._onAnimationStart(o)})("@dialogContainer.done",function(o){return i._onAnimationDone(o)}),2&e&&($h("id",i._config.id),rt("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),_l("@dialogContainer",i._getAnimationState()))},features:[B],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&Me(0,Ej,0,0,"ng-template",0)},dependencies:[Zs],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[Sj.dialogContainer]}}),n})();class C0{constructor(t,e,i){this._ref=t,this._containerInstance=i,this._afterOpened=new ee,this._beforeClosed=new ee,this._state=0,this.disableClose=e.disableClose,this.id=t.id,i._animationStateChanged.pipe(At(r=>"opened"===r.state),Mt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(At(r=>"closed"===r.state),Mt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Lu(this.backdropClick(),this.keydownEvents().pipe(At(r=>27===r.keyCode&&!this.disableClose&&!IE(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),function Ij(n,t,e){n._closeInteractionType=t,n.close(e)}(this,"keydown"===r.type?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(At(e=>"closing"===e.state),Mt(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let e=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",e=""){return this._ref.updateSize(t,e),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const w0=new E("MatDialogData"),Tj=new E("mat-dialog-default-options"),D0=new E("mat-dialog-scroll-strategy"),Rj={provide:D0,deps:[xi],useFactory:function xj(n){return()=>n.scrollStrategies.block()}};let kj=0,Fj=(()=>{class n{constructor(e,i,r,o,s,a,l,c,u,d){this._overlay=e,this._defaultOptions=r,this._parentDialog=o,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ee,this._afterOpenedAtThisLevel=new ee,this._idPrefix="mat-dialog-",this.afterAllClosed=nc(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ic(void 0))),this._scrollStrategy=a,this._dialog=i.get(a0)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,i){let r;(i={...this._defaultOptions||new Uc,...i}).id=i.id||`${this._idPrefix}${kj++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const o=this._dialog.open(e,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:Uc,useValue:i},{provide:jc,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])});return r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{const s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return n.\u0275fac=function(e){il()},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),$c=(()=>{class n extends Fj{constructor(e,i,r,o,s,a,l,c){super(e,i,o,a,l,s,C0,Aj,w0,c)}}return n.\u0275fac=function(e){return new(e||n)(_(xi),_(Oe),_(Ss,8),_(Tj,8),_(D0),_(n,12),_(Hc),_(rr,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),rm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=N({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),Oj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[$c,Rj],imports:[uj,Qp,Qs,It,It]}),n})(),ui=(()=>{class n{constructor(){this.keys=new ut("")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),om=(()=>{class n{constructor(e,i,r,o){this.data=e,this.ref=i,this.sanitazer=r,this.io=o}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}ngOnInit(){this.sub=this.io.keys.subscribe(e=>{"Enter"==e&&this.ref.close()})}}return n.\u0275fac=function(e){return new(e||n)(g(w0),g(C0),g(ec),g(ui))},n.\u0275cmp=ue({type:n,selectors:[["app-abs-app"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})(),Pj=(()=>{class n extends om{constructor(){super(...arguments),this.clockTxt="",this.inverval=null}ngOnInit(){super.ngOnInit(),this.genClock(),null==this.inverval&&(this.inverval=setInterval(()=>{this.genClock()},1e3))}genClock(){this.clockTxt=(new Date).toLocaleTimeString()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ke(n)))(i||n)}}(),n.\u0275cmp=ue({type:n,selectors:[["app-clock-app"]],features:[B],decls:4,vars:1,consts:[["mat-dialog-content",""],[2,"display","flex","justify-content","center"],[2,"font-family","TechMono, sans-serif","font-size","60px"]],template:function(e,i){1&e&&(F(0,"div",0)(1,"div",1)(2,"p",2),ie(3),R()()()),2&e&&(O(3),Te(i.clockTxt))},dependencies:[rm],encapsulation:2}),n})(),Nj=(()=>{class n extends om{constructor(){super(...arguments),this.content={}}ngOnInit(){super.ngOnInit(),this.content.url=this.sanitazer.bypassSecurityTrustResourceUrl(this.data.url)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ke(n)))(i||n)}}(),n.\u0275cmp=ue({type:n,selectors:[["iframe-opener"]],features:[B],decls:2,vars:1,consts:[["mat-dialog-content",""],["width","100%","height","100%",3,"src"]],template:function(e,i){1&e&&(F(0,"div",0),gt(1,"iframe",1),R()),2&e&&(O(1),Ce("src",i.content.url,qd))},dependencies:[rm]}),n})();const Lj=["menuItem"];let zc=(()=>{class n{constructor(){this.elements=[],this.elementsRight=[],this.currentSide="LEFT"}isSelected(e){const i=e==this.selected;if(i&&this.menuItems&&null!=this.selected){const r=this.menuItems.toArray(),o=this.elements.indexOf(this.selected);-1!==o&&r[o]&&r[o].nativeElement.scrollIntoView({behavior:"smooth",block:"center"})}return i}choiceItem(e){switch(this.currentSide){case"LEFT":return this.choiceLeft(e);case"RIGHT":return this.choiceRight(e)}}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}choiceLeft(e){if("LEFT"!=this.currentSide)return!1;let i=null==this.selected?0:this.elements.indexOf(this.selected);switch(e){case"KeyS":return i+1>=this.elements.length&&(i=-1),this.selected=this.elements[i+1],!0;case"KeyW":return i-1<0&&(i=this.elements.length),this.selected=this.elements[i-1],!0;case"Enter":return null!=this.selected&&this.selected.action(),!1}return!1}choiceRight(e){if("RIGHT"!=this.currentSide)return!1;let i=null==this.selectedRight?0:this.elementsRight.indexOf(this.selectedRight);switch(e){case"KeyS":return i+1>=this.elementsRight.length&&(i=-1),this.selectedRight=this.elementsRight[i+1],!0;case"KeyW":return i-1<0&&(i=this.elementsRight.length),this.selectedRight=this.elementsRight[i-1],!0;case"Enter":return null!=this.selectedRight&&this.selectedRight.action(),!1}return!1}ngOnInit(){throw new Error("need impl")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["ng-component"]],viewQuery:function(e,i){if(1&e&&Cs(Lj,5),2&e){let r;nr(r=ir())&&(i.menuItems=r)}},decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})();function Vj(n,t){if(1&n&&(F(0,"p",5),ie(1),R()),2&n){const e=t.$implicit,i=t.index,r=we().index,o=we();Ji("text-transform",o.caps?"uppercase":""),$e("keyboard_current",o.isCurrentKey(r,i)),O(1),Te(e)}}function Bj(n,t){if(1&n&&(F(0,"div",3),Me(1,Vj,2,5,"p",4),R()),2&n){const e=t.$implicit;O(1),Ce("ngForOf",e)}}let E0=(()=>{class n extends om{constructor(){super(...arguments),this.keyboard=[],this.keyboards={ru:["\u0439\u0446\u0443\u043a\u0435\u043d\u0433\u0448\u0449\u0437\u0445\u044a".split(""),"\u0444\u044b\u0432\u0430\u043f\u0440\u043e\u043b\u0434\u0436\u044d".split(""),"\u044f\u0447\u0441\u043c\u0438\u0442\u044c\u0431\u044e.,".split("")],en:["qwertyuiop[]".split(""),"asdfghjkl;'\"".split(""),"zxcvbnm,./".split("")]},this.current="ru",this.text="",this.caps=!1,this.x=0,this.y=0}isCurrentKey(e,i){return e==this.x&&i==this.y}createKeyboard(){this.x=0,this.y=0,this.keyboard=[],this.keyboard.push("1234567890-=".split("").concat(["<--"])),this.keyboards[this.current].forEach(e=>{this.keyboard.push(e)}),this.keyboard.push(["change","caps","space","wipe","exit","save"])}closeKeyboard(e=!1){this.ref.close(e?this.text:null)}ngOnInit(){this.createKeyboard(),this.sub=this.io.keys.subscribe(e=>{switch(e){case"KeyW":return this.x<=0&&(this.x=this.keyboard.length),this.x--,void(this.keyboard[this.x].length=this.keyboard.length-1&&(this.x=-1),this.x++,this.keyboard[this.x].length=this.keyboard[this.x].length-1&&(this.y=-1),this.y++;break;case"Enter":{const i=this.keyboard[this.x][this.y];switch(i){case"change":switch(this.current){case"en":this.current="ru";break;case"ru":this.current="en"}this.createKeyboard();break;case"caps":this.caps=!this.caps;break;case"wipe":this.text="";break;case"space":this.text+=" ";break;case"exit":this.closeKeyboard();break;case"save":this.closeKeyboard(!0);break;case"<--":this.text=this.text.slice(0,-1);break;default:this.text+=this.caps?i.toUpperCase():i}break}}})}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ke(n)))(i||n)}}(),n.\u0275cmp=ue({type:n,selectors:[["app-keyboard"]],features:[B],decls:7,vars:2,consts:[["mat-dialog-content",""],[2,"display","flex","justify-content","center","height","150px","word-break","break-all","align-items","center","border","1px solid rgb(0 242 0 / 30%)"],["style","display: flex; flex-direction: row; justify-content: space-between",4,"ngFor","ngForOf"],[2,"display","flex","flex-direction","row","justify-content","space-between"],["class","keyboard_key",3,"keyboard_current","text-transform",4,"ngFor","ngForOf"],[1,"keyboard_key"]],template:function(e,i){1&e&&(F(0,"div",0)(1,"div")(2,"div",1)(3,"p"),ie(4),R()(),F(5,"div"),Me(6,Bj,2,1,"div",2),R()()()),2&e&&(O(4),Te(i.text),O(2),Ce("ngForOf",i.keyboard))},dependencies:[Ln,rm],encapsulation:2}),n})(),Wc=(()=>{class n{constructor(e){this.dialog=e,this.inApp=!1}openApp(e,i={}){return this.inApp=!0,this.dialog.open(e,{width:"100%",height:"100%",disableClose:!0,data:i}).afterClosed()}openKeyboard(){return this.openApp(E0)}}return n.\u0275fac=function(e){return new(e||n)(_($c))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class M0{}class A0{}class di{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof di?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new di;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof di?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Hj{encodeKey(t){return I0(t)}encodeValue(t){return I0(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const Uj=/%(\d[a-f0-9])/gi,$j={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function I0(n){return encodeURIComponent(n).replace(Uj,(t,e)=>$j[e]??t)}function Gc(n){return`${n}`}class Ri{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Hj,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function jj(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(Gc):[Gc(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Ri({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(Gc(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(Gc(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class zj{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function T0(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function x0(n){return typeof Blob<"u"&&n instanceof Blob}function R0(n){return typeof FormData<"u"&&n instanceof FormData}class ra{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function Wj(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?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.headers||(this.headers=new di),this.context||(this.context=new zj),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ad.set(h,t.setHeaders[h]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((d,h)=>d.set(h,t.setParams[h]),c)),new ra(e,i,o,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:s})}}var Je=(()=>((Je=Je||{})[Je.Sent=0]="Sent",Je[Je.UploadProgress=1]="UploadProgress",Je[Je.ResponseHeader=2]="ResponseHeader",Je[Je.DownloadProgress=3]="DownloadProgress",Je[Je.Response=4]="Response",Je[Je.User=5]="User",Je))();class sm{constructor(t,e=200,i="OK"){this.headers=t.headers||new di,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class am extends sm{constructor(t={}){super(t),this.type=Je.ResponseHeader}clone(t={}){return new am({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class qc extends sm{constructor(t={}){super(t),this.type=Je.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new qc({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class k0 extends sm{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function lm(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Kc=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ra)o=e;else{let l,c;l=r.headers instanceof di?r.headers:new di(r.headers),r.params&&(c=r.params instanceof Ri?r.params:new Ri({fromObject:r.params})),o=new ra(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=k(o).pipe(Ii(l=>this.handler.handle(l)));if(e instanceof ra||"events"===r.observe)return s;const a=s.pipe(At(l=>l instanceof qc));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe($(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe($(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe($(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe($(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Ri).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,lm(r,i))}post(e,i,r={}){return this.request("POST",e,lm(r,i))}put(e,i,r={}){return this.request("PUT",e,lm(r,i))}}return n.\u0275fac=function(e){return new(e||n)(_(M0))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class F0{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const O0=new E("HTTP_INTERCEPTORS");let qj=(()=>{class n{intercept(e,i){return i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const Kj=/^\)\]\}',?\n/;let P0=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _e(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((f,p)=>r.setRequestHeader(f,p.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const f=e.detectContentTypeHeader();null!==f&&r.setRequestHeader("Content-Type",f)}if(e.responseType){const f=e.responseType.toLowerCase();r.responseType="json"!==f?f:"text"}const o=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const f=r.statusText||"OK",p=new di(r.getAllResponseHeaders()),m=function Yj(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new am({headers:p,status:r.status,statusText:f,url:m}),s},l=()=>{let{headers:f,status:p,statusText:m,url:y}=a(),v=null;204!==p&&(v=typeof r.response>"u"?r.responseText:r.response),0===p&&(p=v?200:0);let D=p>=200&&p<300;if("json"===e.responseType&&"string"==typeof v){const b=v;v=v.replace(Kj,"");try{v=""!==v?JSON.parse(v):null}catch(M){v=b,D&&(D=!1,v={error:M,text:v})}}D?(i.next(new qc({body:v,headers:f,status:p,statusText:m,url:y||void 0})),i.complete()):i.error(new k0({error:v,headers:f,status:p,statusText:m,url:y||void 0}))},c=f=>{const{url:p}=a(),m=new k0({error:f,status:r.status||0,statusText:r.statusText||"Unknown Error",url:p||void 0});i.error(m)};let u=!1;const d=f=>{u||(i.next(a()),u=!0);let p={type:Je.DownloadProgress,loaded:f.loaded};f.lengthComputable&&(p.total=f.total),"text"===e.responseType&&!!r.responseText&&(p.partialText=r.responseText),i.next(p)},h=f=>{let p={type:Je.UploadProgress,loaded:f.loaded};f.lengthComputable&&(p.total=f.total),i.next(p)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",d),null!==o&&r.upload&&r.upload.addEventListener("progress",h)),r.send(o),i.next({type:Je.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",d),null!==o&&r.upload&&r.upload.removeEventListener("progress",h)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(_(Lw))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const cm=new E("XSRF_COOKIE_NAME"),um=new E("XSRF_HEADER_NAME");class N0{}let Zj=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Aw(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(_(q),_(Il),_(cm))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),dm=(()=>{class n{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const r=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return i.handle(e);const o=this.tokenService.getToken();return null!==o&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,o)})),i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(_(N0),_(um))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Qj=(()=>{class n{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(O0,[]);this.chain=i.reduceRight((r,o)=>new F0(r,o),this.backend)}return this.chain.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(_(A0),_(Oe))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Xj=(()=>{class n{static disable(){return{ngModule:n,providers:[{provide:dm,useClass:qj}]}}static withOptions(e={}){return{ngModule:n,providers:[e.cookieName?{provide:cm,useValue:e.cookieName}:[],e.headerName?{provide:um,useValue:e.headerName}:[]]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[dm,{provide:O0,useExisting:dm,multi:!0},{provide:N0,useClass:Zj},{provide:cm,useValue:"XSRF-TOKEN"},{provide:um,useValue:"X-XSRF-TOKEN"}]}),n})(),Jj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[Kc,{provide:M0,useClass:Qj},P0,{provide:A0,useExisting:P0}],imports:[Xj.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),n})();const eU=["*"];let Yc;function oa(n){return function tU(){if(void 0===Yc&&(Yc=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(Yc=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Yc}()?.createHTML(n)||n}function L0(n){return Error(`Unable to find icon with the name "${n}"`)}function V0(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function B0(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class gr{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let Zc=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,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=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new gr(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const s=this._sanitizer.sanitize(pe.HTML,r);if(!s)throw B0(r);const a=oa(s);return this._addSvgIconConfig(e,i,new gr("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new gr(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(pe.HTML,i);if(!o)throw B0(i);const s=oa(o);return this._addSvgIconSetConfig(e,new gr("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(pe.RESOURCE_URL,e);if(!i)throw V0(e);const r=this._cachedIconsByUrl.get(i);return r?k(Qc(r)):this._loadSvgIconFromConfig(new gr(e,null)).pipe(Qe(o=>this._cachedIconsByUrl.set(i,o)),$(o=>Qc(o)))}getNamedSvgIcon(e,i=""){const r=H0(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):go(L0(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?k(Qc(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe($(i=>Qc(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?k(r):function S0(...n){const t=Rg(n),{args:e,keys:i}=lD(n),r=new _e(o=>{const{length:s}=e;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?cD(i,a):a),o.complete())}))}});return t?r.pipe(Xf(t)):r}(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(si(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(pe.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),k(null)})))).pipe($(()=>{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw L0(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Qe(i=>e.svgText=i),$(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?k(null):this._fetchIcon(e).pipe(Qe(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(oa(""));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(oa("")),r=e.attributes;for(let o=0;ooa(c)),oc(()=>this._inProgressUrlFetches.delete(s)),Pg());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(H0(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rt?t.pathname+t.search:""}}}),j0=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],cU=j0.map(n=>`[${n}]`).join(", "),uU=/^url\(['"]?#(.*?)['"]?\)$/;let U0=(()=>{class n extends oU{constructor(e,i,r,o,s,a){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=s,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=et.EMPTY,a&&(a.color&&(this.color=this.defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Pp(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(cU),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(uU):null;if(c){let u=r.get(a);u||(u=[],r.set(a,u)),u.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Mt(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(g(Fe),g(Zc),Lr("aria-hidden"),g(aU),g(Xn),g(sU,8))},n.\u0275cmp=ue({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(rt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),$e("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[B],ngContentSelectors:eU,decls:1,vars:0,template:function(e,i){1&e&&(Lh(),Vh(0))},styles:[".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}),n})(),dU=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[It,It]}),n})();function hU(n,t){if(1&n&&(F(0,"div")(1,"p",6),ie(2),R()()),2&n){const e=t.$implicit;$e("menu-selected",e==we().selected),O(2),Te(e.name)}}function fU(n,t){if(1&n&&(F(0,"mat-icon",7),ie(1),R()),2&n){const e=we();O(1),Te(e.selected.icon)}}let $0=(()=>{class n extends zc{constructor(e,i,r){super(),this.dialog=e,this.io=i,this.apps=r,this.elements=[{name:"Clock",action:()=>{this.openApp(Pj)},matIcon:!0,icon:"access_time",about:"\u0417\u0430\u0431\u044b\u0442\u044b\u0435 \u0447\u0430\u0441\u044b \u0441\u0430\u043c\u043e\u0433\u043e \u0442\u043e\u0434\u0434\u0430 \u0433\u043e\u0432\u0430\u0440\u0434\u0430. \u041e\u043d \u0437\u0430\u0431\u044b\u043b \u0438\u0445 \u0432 \u0441\u0432\u043e\u0435\u0439 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u0442\u043d\u043e\u0439 \u0438\u0433\u0440\u0435 \u043a\u0430\u043b\u043b\u0430\u0443\u044276."},{name:"KeyboardTest",action:()=>{this.openApp(E0)},matIcon:!0,icon:"help",about:"Keyboard input test"},{name:"Rick Roll",action:()=>{this.openApp(Nj,{url:"https://youtu.be/dQw4w9WgXcQ?output=embed"})},matIcon:!0,icon:"record_voice_over",about:"\u041d\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043b\u0443\u0447\u0448\u0435 \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0440\u0438\u043a\u0440\u043e\u043b\u043b\u0430"}],this.selected=this.elements[0]}createSub(){this.sub=this.io.keys.subscribe(e=>{this.apps.inApp||super.choiceItem(e)})}ngOnInit(){this.createSub()}openApp(e,i={}){this.apps.inApp=!0,this.dialog.open(e,{width:"100%",height:"100%",disableClose:!0,data:i}).afterClosed().subscribe(()=>this.apps.inApp=!1)}}return n.\u0275fac=function(e){return new(e||n)(g($c),g(ui),g(Wc))},n.\u0275cmp=ue({type:n,selectors:[["app-inventory-apps-component"]],features:[B],decls:9,vars:3,consts:[[2,"display","flex","flex-direction","row","justify-content","center","height","84%"],[2,"width","45%"],[3,"menu-selected",4,"ngFor","ngForOf"],[2,"width","45%","display","flex","flex-direction","column"],[2,"text-align","center"],["class","rotating-image","style","font-size: 100px; height: 100px; width: 100px",4,"ngIf"],[2,"margin","0 0"],[1,"rotating-image",2,"font-size","100px","height","100px","width","100px"]],template:function(e,i){1&e&&(F(0,"div",0)(1,"div",1),Me(2,hU,3,3,"div",2),R(),F(3,"div",3)(4,"div",4),Me(5,fU,2,1,"mat-icon",5),R(),F(6,"div")(7,"p"),ie(8),R()()()()),2&e&&(O(2),Ce("ngForOf",i.elements),O(3),Ce("ngIf",i.selected.matIcon),O(3),Te(i.selected.about))},dependencies:[Ln,zl,U0],encapsulation:2}),n})(),z0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["app-inventory-custom"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})();function pU(n,t){if(1&n){const e=lo();F(0,"p",7),ot("click",function(){const o=Rr(e).$implicit;return kr(we().selectHeader(o))}),ie(1),R()}if(2&n){const e=t.$implicit;$e("inactiveHeader",!we().isActiveHeader(e)),O(1),Te(e.name)}}let W0=(()=>{class n extends Mc{constructor(e,i,r,o,s){super(e,i),this.ws=r,this.io=o,this.apps=s,this.free=0,this.total=0,this.format="",this.path="inventory",super.navs=[{name:"apps",path:"apps",action:()=>{},component:$0.name},{name:"custom",path:"custom",action:()=>{},component:z0.name}]}selectHeader(e){super.selectHeader(e,[this.path])}ngOnInit(){this.ws.events.pipe($(e=>JSON.parse(e))).subscribe(e=>{e.event==Eo.SPACESTATS&&(this.free=Math.round(e.data.free),this.total=Math.round(e.data.total),this.format=e.data.format)}),this.sub=this.io.keys.subscribe(e=>{this.apps.inApp||super.choiceHeader(e)})}}return n.\u0275fac=function(e){return new(e||n)(g(Wt),g(Ue),g(DE),g(ui),g(Wc))},n.\u0275cmp=ue({type:n,selectors:[["app-inv-header"]],features:[B],decls:15,vars:4,consts:[[2,"display","flex","align-items","center","justify-content","flex-start","padding-left","45px"],["style","text-transform: uppercase;font-weight: bold; margin-bottom: 0; margin-top: 5px; padding-left: 5px",3,"inactiveHeader","click",4,"ngFor","ngForOf"],[2,"padding-top","2.5%"],[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","19.5%"],[1,"footer-text",2,"width","60%"],[2,"text-transform","uppercase","font-weight","bold","margin-bottom","0","margin-top","5px","padding-left","5px",3,"click"]],template:function(e,i){1&e&&(F(0,"div",0),Me(1,pU,2,3,"p",1),R(),F(2,"div",2),gt(3,"router-outlet"),R(),F(4,"div",3)(5,"div",4)(6,"div",5)(7,"span"),ie(8),R()(),F(9,"div",5)(10,"span"),ie(11,"\u0445\u0437 \u0447\u0442\u043e \u0442\u0443\u0442 \u043d\u0430\u0434\u043e"),R()(),F(12,"div",6)(13,"span"),ie(14,"nigger"),R()()()()),2&e&&(O(1),Ce("ngForOf",i.navs),O(7),jh("",i.free,"/",i.total,"",i.format,""))},dependencies:[Ln,hr],encapsulation:2}),n})(),G0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["app-map-header"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})(),q0=(()=>{class n{constructor(){this.name="",this.volume=.5,this.tracks=[],this.player=new Audio,this.player.addEventListener("ended",()=>{let e=this.tracks.pop();e&&this.playThis(e.src,e.name)})}playThis(e,i){this.player.src=e,this.player.volume=this.volume,this.name=i,this.player.play()}stop(){this.player.pause()}volumeUp(){this.volume>.9||(this.volume=this.volume+.1,this.player.volume=this.volume)}volumeDown(){this.volume<.1||(this.volume=this.volume-.1,this.player.volume=this.volume)}getVolume(){return Math.round(100*this.volume)}getTime(){return this.player.duration?this.player.duration<60?"0:"+Math.floor(this.player.currentTime)+" / 0:"+Math.floor(this.player.duration):Math.floor(this.player.currentTime)+" / "+Math.floor(this.player.duration):"0:00 / 0:00"}getName(){return this.name?"\u0421\u0435\u0439\u0447\u0430\u0441 \u0438\u0433\u0440\u0430\u0435\u0442: "+this.name:"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0438\u0433\u0440\u0430\u0435\u0442"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function mU(n,t){if(1&n&&(F(0,"div")(1,"p",6),ie(2),R()()),2&n){const e=t.$implicit,i=we();$e("menu-selected",e==i.selected&&"LEFT"==i.currentSide),O(2),Te(e.name)}}function gU(n,t){if(1&n&&(F(0,"div")(1,"p",6),ie(2),R()()),2&n){const e=t.$implicit,i=we();$e("menu-selected",e==i.selectedRight&&"RIGHT"==i.currentSide),O(2),Te(e.name)}}let _U=(()=>{class n extends zc{constructor(e,i){super(),this.player=e,this.io=i,this.elements=[{name:"niggers",src:"../../../../assets/music/pvz.mp3",action:()=>{this.play()}}],this.selected=this.elements[0],this.elementsRight=[{name:"STOP",action:()=>this.player.stop()},{name:"Volume UP",action:()=>this.player.volumeUp()},{name:"Volume DOWN",action:()=>this.player.volumeDown()}],this.selectedRight=this.elementsRight[0]}ngOnInit(){this.sub=this.io.keys.subscribe(e=>{switch(e){case"KeyA":this.currentSide="LEFT";break;case"KeyD":this.currentSide="RIGHT";break;default:super.choiceItem(e)}})}play(){this.player.playThis(this.selected.src,this.selected.name)}}return n.\u0275fac=function(e){return new(e||n)(g(q0),g(ui))},n.\u0275cmp=ue({type:n,selectors:[["app-radio"]],features:[B],decls:8,vars:2,consts:[[2,"display","flex","flex-direction","row","justify-content","center","height","81%","padding-top","7%"],[2,"width","45%"],[3,"menu-selected",4,"ngFor","ngForOf"],[2,"width","45%","display","flex","flex-direction","column"],[2,"text-align","center"],[1,"rotating-image",2,"font-size","100px","height","100px","width","100px"],[2,"margin","0 0"]],template:function(e,i){1&e&&(F(0,"div",0)(1,"div",1),Me(2,mU,3,3,"div",2),R(),F(3,"div",3)(4,"div",4)(5,"mat-icon",5),ie(6,"audiotrack"),R()(),Me(7,gU,3,3,"div",2),R()()),2&e&&(O(2),Ce("ngForOf",i.elements),O(5),Ce("ngForOf",i.elementsRight))},dependencies:[Ln,U0],encapsulation:2}),n})(),K0=(()=>{class n{constructor(e){this.player=e}}return n.\u0275fac=function(e){return new(e||n)(g(q0))},n.\u0275cmp=ue({type:n,selectors:[["app-radio-header"]],decls:12,vars:3,consts:[[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","65%"],[1,"footer-text",2,"width","9.5%","text-align","center"],[1,"footer-text",2,"width","24.5%","text-align","right"]],template:function(e,i){1&e&&(gt(0,"app-radio"),F(1,"div",0)(2,"div",1)(3,"div",2)(4,"span"),ie(5),R()(),F(6,"div",3)(7,"span"),ie(8),R()(),F(9,"div",4)(10,"span"),ie(11),R()()()()),2&e&&(O(5),Te(i.player.getName()),O(3),On("",i.player.getVolume()," %"),O(3),Te(i.player.getTime()))},dependencies:[_U],encapsulation:2}),n})();class hm extends ee{constructor(t=1/0,e=1/0,i=Vp){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;sJSON.parse(n.data),serializer:n=>JSON.stringify(n)};class fm extends Tu{constructor(t,e){if(super(),this._socket=null,t instanceof _e)this.destination=e,this.source=t;else{const i=this._config=Object.assign({},yU);if(this._output=new ee,"string"==typeof t)i.url=t;else for(const r in t)t.hasOwnProperty(r)&&(i[r]=t[r]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new hm}}lift(t){const e=new fm(this._config,this.destination);return e.operator=t,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new hm),this._output=new ee}multiplex(t,e,i){const r=this;return new _e(o=>{try{r.next(t())}catch(a){o.error(a)}const s=r.subscribe({next:a=>{try{i(a)&&o.next(a)}catch(l){o.error(l)}},error:a=>o.error(a),complete:()=>o.complete()});return()=>{try{r.next(e())}catch(a){o.error(a)}s.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:t,protocol:e,url:i,binaryType:r}=this._config,o=this._output;let s=null;try{s=e?new t(i,e):new t(i),this._socket=s,r&&(this._socket.binaryType=r)}catch(l){return void o.error(l)}const a=new et(()=>{this._socket=null,s&&1===s.readyState&&s.close()});s.onopen=l=>{const{_socket:c}=this;if(!c)return s.close(),void this._resetState();const{openObserver:u}=this._config;u&&u.next(l);const d=this.destination;this.destination=ya.create(h=>{if(1===s.readyState)try{const{serializer:f}=this._config;s.send(f(h))}catch(f){this.destination.error(f)}},h=>{const{closingObserver:f}=this._config;f&&f.next(void 0),h&&h.code?s.close(h.code,h.reason):o.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:h}=this._config;h&&h.next(void 0),s.close(),this._resetState()}),d&&d instanceof hm&&a.add(d.subscribe(this.destination))},s.onerror=l=>{this._resetState(),o.error(l)},s.onclose=l=>{s===this._socket&&this._resetState();const{closeObserver:c}=this._config;c&&c.next(l),l.wasClean?o.complete():o.error(l)},s.onmessage=l=>{try{const{deserializer:c}=this._config;o.next(c(l))}catch(c){o.error(c)}}}_subscribe(t){const{source:e}=this;return e?e.subscribe(t):(this._socket||this._connectSocket(),this._output.subscribe(t),t.add(()=>{const{_socket:i}=this;0===this._output.observers.length&&(i&&(1===i.readyState||0===i.readyState)&&i.close(),this._resetState())}),t)}unsubscribe(){const{_socket:t}=this;t&&(1===t.readyState||0===t.readyState)&&t.close(),this._resetState(),super.unsubscribe()}}function Y0(n,t){return t?e=>Rs(t.pipe(Mt(1),function wU(){return Re((n,t)=>{n.subscribe(ye(t,ga))})}()),e.pipe(Y0(n))):tt((e,i)=>n(e,i).pipe(Mt(1),mD(e)))}const X0=4294967295;let pm=(()=>{class n{constructor(e){this.http=e,this.meshRoute="mesh/api",this.channels=[],this.channelChange=new ut(0),this.nodes=[],this.nodesChange=new ut(0),this.messagesChange=new ut({}),this.messages=[],this.state=0,this.meshId=0,this.connect()}getNodeInfo(e){return this.http.get(`${this.meshRoute}/nodes/${e}`)}getNodeName(e){return this.nodes.filter(r=>r.id==e).map(r=>r.name).pop()||"Unknown"}getMsgTo(e){return e.to==X0?this.channels.filter(r=>r.index==e.channel).map(r=>r.name).pop()??"CH_U":"DM"}sendMessage(e,i=null,r=0){return this.http.post(`${this.meshRoute}/messages`,{txt:e,node_id:i,channel_id:r})}getMyMesh(){if(0==this.meshId)return{name:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e",id:0};{let e=this.nodes.filter(i=>i.id==this.meshId);return e.length>0?e.pop():{name:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e",id:0}}}connect(){this.socket$=function bU(n){return new fm(n)}(`ws://${location.host}/mesh/ws`).pipe(function CU(n){return Re((t,e)=>{let i,o,r=!1;const s=()=>{i=t.subscribe(ye(e,void 0,void 0,a=>{o||(o=new ee,n(o).subscribe(ye(e,()=>i?s():r=!0))),o&&o.next(a)})),r&&(i.unsubscribe(),i=null,r=!1,s())};s()})}(e=>e.pipe(Qe(i=>{console.log("WebSocket error, reconnecting...",i),this.state=5}),function DU(n,t=Fc){const e=GE(n,t);return Y0(()=>e)}(3e3)))),this.socket$.subscribe(e=>{switch(e.event){case 3:this.messages.push(e.data),this.messagesChange.next(e.data);break;case 4:this.meshId=e.data;break;case 1:{const i=e.data,r=this.nodes.filter(o=>o.id==i.id);if(0==r.length)this.nodes.push(i);else{let o=this.nodes.indexOf(r[0]);this.nodes[o]=i}this.nodesChange.next((new Date).getTime());break}case 2:this.state=e.data;break;case 0:{const i=e.data,r=this.channels.filter(o=>o.index==i.index);if(0==r.length)this.channels.push(i);else{let o=this.channels.indexOf(r[0]);this.channels[o]=i}this.channelChange.next((new Date).getTime());break}}})}}return n.\u0275fac=function(e){return new(e||n)(_(Kc))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),J0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["app-mesh-my-node"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})();const FU=["mat-button",""],OU=["*"],NU=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],LU=em(fj(pj(class{constructor(n){this._elementRef=n}})));let VU=(()=>{class n extends LU{constructor(e,i,r){super(e),this._focusMonitor=i,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const o of NU)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return n.\u0275fac=function(e){return new(e||n)(g(Fe),g(Nc),g(rr,8))},n.\u0275cmp=ue({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(1&e&&Cs(f0,5),2&e){let r;nr(r=ir())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(rt("disabled",i.disabled||null),$e("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[B],attrs:FU,ngContentSelectors:OU,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(Lh(),F(0,"span",0),Vh(1),R(),gt(2,"span",1)(3,"span",2)),2&e&&(O(2),$e("mat-button-ripple-round",i.isRoundButton||i.isIconButton),Ce("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[f0],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})(),eS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[wj,It,It]}),n})();function BU(n,t){if(1&n){const e=lo();F(0,"div",2)(1,"button",3),ot("click",function(){return Rr(e),kr(we().action())}),ie(2),R()()}if(2&n){const e=we();O(2),Te(e.data.action)}}function HU(n,t){}const tS=new E("MatSnackBarData");class Xc{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const jU=Math.pow(2,31)-1;class mm{constructor(t,e){this._overlayRef=e,this._afterDismissed=new ee,this._afterOpened=new ee,this._onAction=new ee,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,jU))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let UU=(()=>{class n{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return n.\u0275fac=function(e){return new(e||n)(g(mm),g(tS))},n.\u0275cmp=ue({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,i){1&e&&(F(0,"span",0),ie(1),R(),Me(2,BU,3,1,"div",1)),2&e&&(O(1),Te(i.data.message),O(1),Ce("ngIf",i.hasAction))},dependencies:[zl,VU],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0}),n})();const $U={snackBarState:nm("state",[ta("void, hidden",Sn({transform:"scale(0.8)",opacity:0})),ta("visible",Sn({transform:"scale(1)",opacity:1})),na("* => visible",ea("150ms cubic-bezier(0, 0, 0.2, 1)")),na("* => void, * => hidden",ea("75ms cubic-bezier(0.4, 0.0, 1, 1)",Sn({opacity:0})))])};let zU=(()=>{class n extends Bc{constructor(e,i,r,o,s){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=o,this.snackBarConfig=s,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new ee,this._onExit=new ee,this._onEnter=new ee,this._animationState="void",this.attachDomPortal=a=>{this._assertNotAttached();const l=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),l},this._live="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:r}=e;if(("void"===r&&"void"!==i||"hidden"===r)&&this._completeExit(),"visible"===r){const o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Mt(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(r=>e.classList.add(r)):e.classList.add(i))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return n.\u0275fac=function(e){return new(e||n)(g(te),g(Fe),g(or),g(Gt),g(Xc))},n.\u0275dir=N({type:n,viewQuery:function(e,i){if(1&e&&Cs(Zs,7),2&e){let r;nr(r=ir())&&(i._portalOutlet=r.first)}},features:[B]}),n})(),WU=(()=>{class n extends zU{_afterPortalAttached(){super._afterPortalAttached(),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ke(n)))(i||n)}}(),n.\u0275cmp=ue({type:n,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,i){1&e&&ml("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&_l("@state",i._animationState)},features:[B],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(F(0,"div",0),Me(1,HU,0,0,"ng-template",1),R(),gt(2,"div")),2&e&&(O(2),rt("aria-live",i._live)("role",i._role))},dependencies:[Zs],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[$U.snackBarState]}}),n})(),nS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[Qp,Qs,Gl,eS,It,It]}),n})();const iS=new E("mat-snack-bar-default-options",{providedIn:"root",factory:function GU(){return new Xc}});let qU=(()=>{class n{constructor(e,i,r,o,s,a){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=a,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){const o={...this._defaultConfig,...r};return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const o=Oe.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:Xc,useValue:i}]}),s=new Ys(this.snackBarContainerComponent,i.viewContainerRef,o),a=e.attach(s);return a.instance.snackBarConfig=i,a.instance}_attach(e,i){const r={...new Xc,...this._defaultConfig,...i},o=this._createOverlay(r),s=this._attachSnackBarContainer(o,r),a=new mm(s,o);if(e instanceof Cn){const l=new Kp(e,null,{$implicit:r.data,snackBarRef:a});a.instance=s.attachTemplatePortal(l)}else{const l=this._createInjector(r,a),c=new Ys(e,void 0,l),u=s.attachComponentPortal(c);a.instance=u.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(xc(o.detachments())).subscribe(l=>{o.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(a,r),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new Zp;i.direction=e.direction;let r=this._overlay.position().global();const o="rtl"===e.direction,s="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!o||"end"===e.horizontalPosition&&o,a=!s&&"center"!==e.horizontalPosition;return s?r.left("0"):a?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){return Oe.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:mm,useValue:i},{provide:tS,useValue:e.data}]})}}return n.\u0275fac=function(e){return new(e||n)(_(xi),_(HE),_(Oe),_(Hp),_(n,12),_(iS))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),rS=(()=>{class n extends qU{constructor(e,i,r,o,s,a){super(e,i,r,o,s,a),this.simpleSnackBarComponent=UU,this.snackBarContainerComponent=WU,this.handsetCssClass="mat-snack-bar-handset"}}return n.\u0275fac=function(e){return new(e||n)(_(xi),_(HE),_(Oe),_(Hp),_(n,12),_(iS))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:nS}),n})();function KU(n,t){if(1&n&&(ka(),gt(0,"circle",4)),2&n){const e=we(),i=kh(1);Ji("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),rt("r",e._getCircleRadius())}}function YU(n,t){if(1&n&&(ka(),gt(0,"circle",4)),2&n){const e=we(),i=kh(1);Ji("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),rt("r",e._getCircleRadius())}}const QU=em(class{constructor(n){this._elementRef=n}},"primary"),XU=new E("mat-progress-spinner-default-options",{providedIn:"root",factory:function JU(){return{diameter:100}}});class hi extends QU{constructor(t,e,i,r,o,s,a,l){super(t),this._document=i,this._diameter=100,this._value=0,this._resizeSubscription=et.EMPTY,this.mode="determinate";const c=hi._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),c.has(i.head)||c.set(i.head,new Set([100])),this._noopAnimations="NoopAnimations"===r&&!!o&&!o._forceAnimations,"mat-spinner"===t.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),o&&(o.color&&(this.color=this.defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth)),e.isBrowser&&e.SAFARI&&a&&s&&l&&(this._resizeSubscription=a.change(150).subscribe(()=>{"indeterminate"===this.mode&&l.run(()=>s.markForCheck())}))}get diameter(){return this._diameter}set diameter(t){this._diameter=Np(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Np(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Np(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=ME(t)||this._document.head,this._attachStyleNode(),t.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(t){const e=50*(t.currentScale??1);return`${e}% ${e}%`}_attachStyleNode(){const t=this._styleRoot,e=this._diameter,i=hi._diameters;let r=i.get(t);if(!r||!r.has(e)){const o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),o.textContent=this._getAnimationText(),t.appendChild(o),r||(r=new Set,i.set(t,r)),r.add(e)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}hi._diameters=new WeakMap,hi.\u0275fac=function(t){return new(t||hi)(g(Fe),g(Gt),g(q,8),g(rr,8),g(XU),g(or),g(Gp),g(te))},hi.\u0275cmp=ue({type:hi,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(rt("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),Ji("width",e.diameter,"px")("height",e.diameter,"px"),$e("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[B],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(ka(),F(0,"svg",0,1),Me(2,KU,1,11,"circle",2),Me(3,YU,1,9,"circle",3),R()),2&t&&(Ji("width",e.diameter,"px")("height",e.diameter,"px"),Ce("ngSwitch","indeterminate"===e.mode),rt("viewBox",e._getViewBox()),O(2),Ce("ngSwitchCase",!0),O(1),Ce("ngSwitchCase",!1))},dependencies:[Wl,kw],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"],encapsulation:2,changeDetection:0});let t$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[It,Gl,It]}),n})();function n$(n,t){if(1&n&&(F(0,"div",null,8)(2,"p",9),ie(3),R()()),2&n){const e=t.$implicit,i=we();$e("menu-selected",i.isSelected(e)&&"LEFT"==i.currentSide),O(3),Te(e.name)}}function i$(n,t){if(1&n&&(F(0,"p",9),ie(1),R()),2&n){const e=we(2);O(1),On("SNR: ",null==e.nodeInfo?null:e.nodeInfo.snr," dB")}}function r$(n,t){if(1&n&&(F(0,"p",9),ie(1),R()),2&n){const e=we(2);O(1),On("Hops: ",null==e.nodeInfo?null:e.nodeInfo.hops_away,"")}}function o$(n,t){if(1&n&&(F(0,"p",9),ie(1),Xh(2,"date"),R()),2&n){const e=we(2);O(1),On("\u041f\u043e\u044f\u0432\u043b\u044f\u043b\u0441\u044f: ",Jh(2,1,null==e.nodeInfo?null:e.nodeInfo.last_heard,"HH:mm dd/MM"),"")}}function s$(n,t){if(1&n&&(F(0,"div",10),Me(1,i$,2,1,"p",11),Me(2,r$,2,1,"p",11),Me(3,o$,3,4,"p",11),R()),2&n){const e=we();O(1),Ce("ngIf",null==e.nodeInfo?null:e.nodeInfo.snr),O(1),Ce("ngIf",null==e.nodeInfo?null:e.nodeInfo.hops_away),O(1),Ce("ngIf",null==e.nodeInfo?null:e.nodeInfo.last_heard)}}function a$(n,t){1&n&>(0,"mat-spinner")}function l$(n,t){if(1&n&&(F(0,"div")(1,"p",9),ie(2),R()()),2&n){const e=t.$implicit,i=we();$e("menu-selected",e==i.selectedRight&&"RIGHT"==i.currentSide),O(2),Te(e.name)}}let oS=(()=>{class n extends zc{constructor(e,i,r,o,s){super(),this.io=e,this.meshtastic=i,this.dialog=r,this.apps=o,this.snack=s,this.loading=!1,this.elementsRight=[{name:"\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c",action:()=>{this.apps.openKeyboard().subscribe(a=>{a&&this.meshtastic.sendMessage(a,this.nodeInfo?.num).subscribe(l=>{this.snack.open("\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e",void 0,{duration:2e3})}),this.apps.inApp=!1})}},{name:"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f",action:()=>{}},{name:"\u0422\u0440\u0430\u0441\u0438\u0440\u043e\u0432\u043a\u0430*",action:()=>{}}],this.selectedRight=this.elementsRight[0]}createSub(){this.sub=this.io.keys.subscribe(e=>{if(!this.apps.inApp)switch(e){case"KeyA":this.currentSide="LEFT";break;case"KeyD":this.currentSide="RIGHT";break;default:super.choiceItem(e)&&this.updateNodeInfo()}})}updateNodeInfo(){this.selected&&(this.loading=!0,this.meshtastic.getNodeInfo(this.selected.id).subscribe(e=>{this.nodeInfo=e,this.loading=!1}))}ngOnInit(){this.createSub(),this.elements=this.meshtastic.nodes,this.meshtastic.nodesChange.subscribe(e=>{this.elements=this.meshtastic.nodes,null==this.selected&&(this.selected=this.elements[0],this.updateNodeInfo())})}}return n.\u0275fac=function(e){return new(e||n)(g(ui),g(pm),g($c),g(Wc),g(rS))},n.\u0275cmp=ue({type:n,selectors:[["app-mesh-list-node"]],features:[B],decls:9,vars:4,consts:[[2,"display","flex","flex-direction","row","justify-content","center","height","84%"],["id","nodes",2,"width","45%","overflow-y","hidden","height","210px","scroll-behavior","smooth"],[3,"menu-selected",4,"ngFor","ngForOf"],[2,"width","2.5%","display","flex","flex-direction","column"],["id","info",2,"width","45%","display","flex","flex-direction","column"],[1,"secondary-color",2,"text-align","center","height","125px","margin-bottom","10px"],["style","display: flex; flex-direction: column",4,"ngIf"],[4,"ngIf"],["menuItem",""],[2,"margin","0 0"],[2,"display","flex","flex-direction","column"],["style","margin: 0 0",4,"ngIf"]],template:function(e,i){1&e&&(F(0,"div",0)(1,"div",1),Me(2,n$,4,3,"div",2),R(),gt(3,"div",3),F(4,"div",4)(5,"div",5),Me(6,s$,4,3,"div",6),Me(7,a$,1,0,"mat-spinner",7),R(),Me(8,l$,3,3,"div",2),R()()),2&e&&(O(2),Ce("ngForOf",i.elements),O(4),Ce("ngIf",!i.loading),O(1),Ce("ngIf",i.loading),O(1),Ce("ngForOf",i.elementsRight))},dependencies:[Ln,zl,hi,jf],encapsulation:2}),n})();function c$(n,t){if(1&n&&(F(0,"div",5,6)(2,"p",7),ie(3),Xh(4,"date"),R(),F(5,"p",8),ie(6),R()()),2&n){const e=t.$implicit,i=we();$e("menu-selected",i.isSelected(e)&&"LEFT"==i.currentSide),O(3),Uh(" ",i.meshtastic.getNodeName(e.fr0m)," ",i.meshtastic.getMsgTo(e)," ",Jh(4,7,e.rx_time,"HH:mm:ss dd/MM")," [",e.hop_limit,"]"),O(3),Te(e.msg)}}function u$(n,t){if(1&n&&(F(0,"div",9)(1,"p",8),ie(2),R()()),2&n){const e=t.$implicit,i=we();$e("menu-selected",e==i.selectedRight&&"RIGHT"==i.currentSide),O(2),Te(e.name)}}let _m=(()=>{class n extends zc{constructor(e,i,r,o){super(),this.io=e,this.meshtastic=i,this.apps=r,this.route=o,this.elementsRight=[{name:"Reply to DM",action:()=>{}},{name:"Reply",action:()=>{}}],this.selectedRight=this.elementsRight[0]}ngOnInit(){this.route.params.subscribe(e=>{this.currentIndex=e.index;let i=()=>{};i="-1"===e.index?()=>this.elements=this.meshtastic.messages:()=>this.elements=this.meshtastic.messages.filter(r=>r.to==X0&&r.channel==parseInt(e.index)),i(),this.meshtastic.messagesChange.subscribe(r=>{r&&i()}),this.elements&&(this.selected=this.elements[this.elements.length])}),this.createSub()}createSub(){this.sub=this.io.keys.subscribe(e=>{if(!this.apps.inApp)switch(e){case"KeyA":this.currentSide="LEFT";break;case"KeyD":this.currentSide="RIGHT";break;default:super.choiceItem(e)}})}}return n.\u0275fac=function(e){return new(e||n)(g(ui),g(pm),g(Wc),g(Wt))},n.\u0275cmp=ue({type:n,selectors:[["app-mesh-messages"]],features:[B],decls:5,vars:2,consts:[[2,"display","flex","flex-direction","column","align-items","center","justify-content","center","height","84%"],["id","msgs",2,"width","95%","overflow-y","hidden","height","200px","scroll-behavior","smooth"],["class","secondary-color","style","margin-bottom: 5px;",3,"menu-selected",4,"ngFor","ngForOf"],[2,"width","95%","height","30px","align-items","center","display","flex","flex-direction","row","justify-content","center"],["style","margin-left: 2%; margin-right: 2%",3,"menu-selected",4,"ngFor","ngForOf"],[1,"secondary-color",2,"margin-bottom","5px"],["menuItem",""],[2,"margin","0 0","font-size","10px"],[2,"margin","0 0"],[2,"margin-left","2%","margin-right","2%"]],template:function(e,i){1&e&&(F(0,"div",0)(1,"div",1),Me(2,c$,7,10,"div",2),R(),F(3,"div",3),Me(4,u$,3,3,"div",4),R()()),2&e&&(O(2),Ce("ngForOf",i.elements),O(2),Ce("ngForOf",i.elementsRight))},dependencies:[Ln,jf],encapsulation:2}),n})();function d$(n,t){if(1&n){const e=lo();F(0,"p",8),ot("click",function(){const o=Rr(e).$implicit;return kr(we().selectHeader(o))}),ie(1),R()}if(2&n){const e=t.$implicit;$e("inactiveHeader",!we().isActiveHeader(e)),O(1),Te(e.name)}}let sS=(()=>{class n extends Mc{constructor(e,i,r,o,s){super(i,r),this.meshtastic=e,this.io=o,this.snack=s,this.path="mesh",this.meshtastic.channelChange.subscribe(a=>{let l=[{name:"my",path:"my",action:()=>{},component:J0.name},{name:"list",path:"list",action:()=>{},component:oS.name},{name:"messages",path:"messages/-1",action:()=>{},component:_m.name}];l.push(...this.meshtastic.channels.map(c=>({name:`${c.name}`,path:`messages/${c.index}`,action:()=>{},component:_m.name}))),console.log(l),super.navs=l})}isActiveHeader(e){let i=this.route.firstChild?.component?.name==e.component;if(this.route.firstChild?.snapshot.params){const r=e.path.split("/");r.length>1&&(i=i&&this.route.firstChild?.snapshot.params.index==r[1])}return i&&(this.currentNav=e),i}getMeshState(){switch(this.meshtastic.state){case 0:return"\u041d\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d";case 1:return"\u041e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438";case 2:return"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d";case 3:return"\u041e\u0448\u0438\u0431\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f";case 4:return"\u041f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435";case 5:return"\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u0435\u0431\u0441\u043e\u043a\u0435\u0442\u0430";default:return"\u0425\u0443\u0439 \u0437\u043d\u0430\u0435\u0442"}}selectHeader(e){super.selectHeader(e,[this.path])}ngOnInit(){this.meshtastic.messagesChange.subscribe(e=>{if(e.fr0m==this.meshtastic.meshId)return;const i=this.meshtastic.getNodeName(e.fr0m);this.snack.open(`${i}: ${e.msg}`,void 0,{duration:2e3})}),this.sub=this.io.keys.subscribe(e=>{super.choiceHeader(e)})}}return n.\u0275fac=function(e){return new(e||n)(g(pm),g(Wt),g(Ue),g(ui),g(rS))},n.\u0275cmp=ue({type:n,selectors:[["app-meshtastic-header"]],features:[B],decls:15,vars:4,consts:[[2,"display","flex","align-items","center","justify-content","flex-start","padding-left","45px"],["style","text-transform: uppercase;font-weight: bold; margin-bottom: 0; margin-top: 5px; padding-left: 5px",3,"inactiveHeader","click",4,"ngFor","ngForOf"],[2,"padding-top","2.5%"],[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","30%"],[1,"footer-text",2,"width","49%"],[1,"footer-text",2,"width","20%"],[2,"text-transform","uppercase","font-weight","bold","margin-bottom","0","margin-top","5px","padding-left","5px",3,"click"]],template:function(e,i){1&e&&(F(0,"div",0),Me(1,d$,2,3,"p",1),R(),F(2,"div",2),gt(3,"router-outlet"),R(),F(4,"div",3)(5,"div",4)(6,"div",5)(7,"span"),ie(8),R()(),F(9,"div",6)(10,"span"),ie(11),R()(),F(12,"div",7)(13,"span"),ie(14),R()()()()),2&e&&(O(1),Ce("ngForOf",i.navs),O(7),Te(i.getMeshState()),O(3),Te(i.meshtastic.getMyMesh().name),O(3),On("",i.meshtastic.nodes.length," nodes"))},dependencies:[Ln,hr],encapsulation:2}),n})();function h$(n,t){if(1&n){const e=lo();F(0,"p",2),ot("click",function(){const o=Rr(e).$implicit;return kr(we().selectHeader(o))}),ie(1),R()}if(2&n){const e=t.$implicit;$e("activeHeader",we().isActiveHeader(e))("baseActiveHeader",!0),O(1),Te(e.name)}}const f$=[{path:"",component:(()=>{class n extends Mc{constructor(e,i,r){super(e,i),this.io=r,super.navs=[{name:"stat",path:"stats",action:()=>{},component:EE.name},{name:"inv",path:"inventory",action:()=>{},component:W0.name},{name:"map",path:"map",action:()=>{},component:G0.name},{name:"radio",path:"radio",action:()=>{},component:K0.name},{name:"mesh",path:"mesh",action:()=>{},component:sS.name}]}ngOnInit(){this.sub=this.io.keys.subscribe(e=>{if(null!=this.currentNav&&e.startsWith("Digit")&&6==e.length){let i=Number.parseInt(e.replace("Digit",""))-1;this.navs[i]&&this.selectHeader(this.navs[i])}})}}return n.\u0275fac=function(e){return new(e||n)(g(Wt),g(Ue),g(ui))},n.\u0275cmp=ue({type:n,selectors:[["ui"]],features:[B],decls:3,vars:1,consts:[[2,"display","flex","align-items","center","justify-content","space-evenly","border-bottom","1px solid rgb(0, 242, 0)"],[3,"activeHeader","baseActiveHeader","click",4,"ngFor","ngForOf"],[3,"click"]],template:function(e,i){1&e&&(F(0,"div",0),Me(1,h$,2,5,"p",1),R(),gt(2,"router-outlet")),2&e&&(O(1),Ce("ngForOf",i.navs))},dependencies:[Ln,hr],encapsulation:2}),n})(),children:[{path:"",redirectTo:"stats",pathMatch:"full"},{path:"stats",component:EE,children:[{path:"",redirectTo:"status",pathMatch:"full"},{path:"status",component:wE}]},{path:"inventory",component:W0,children:[{path:"",redirectTo:"apps",pathMatch:"full"},{path:"apps",component:$0},{path:"custom",component:z0}]},{path:"data",component:(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["app-data-header"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})()},{path:"map",component:G0},{path:"radio",component:K0},{path:"mesh",component:sS,children:[{path:"",redirectTo:"my",pathMatch:"full"},{path:"my",component:J0},{path:"list",component:oS},{path:"messages/:index",component:_m}]}]}];let p$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[bE.forRoot(f$),bE]}),n})(),m$=(()=>{class n{constructor(e){this.io=e}pressKeys(e){this.io.keys.next(e.code),this.io.keys.next("")}}return n.\u0275fac=function(e){return new(e||n)(g(ui))},n.\u0275cmp=ue({type:n,selectors:[["app-root"]],hostBindings:function(e,i){1&e&&ot("keypress",function(o){return i.pressKeys(o)},0,Ry)},decls:1,vars:0,template:function(e,i){1&e&>(0,"router-outlet")},dependencies:[hr]}),n})();function aS(n){return new C(3e3,!1)}function Z$(){return typeof window<"u"&&typeof window.document<"u"}function ym(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function ki(n){switch(n.length){case 0:return new ia;case 1:return n[0];default:return new b0(n)}}function lS(n,t,e,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),h=d==l,f=h&&c||new Map;u.forEach((p,m)=>{let y=m,v=p;if("offset"!==m)switch(y=t.normalizePropertyName(y,s),v){case"!":v=r.get(m);break;case ci:v=o.get(m);break;default:v=t.normalizeStyleValue(m,y,v,s)}f.set(y,v)}),h||a.push(f),c=f,l=d}),s.length)throw function V$(n){return new C(3502,!1)}();return a}function vm(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&bm(e,"start",n)));break;case"done":n.onDone(()=>i(e&&bm(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&bm(e,"destroy",n)))}}function bm(n,t,e){const o=Cm(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function Cm(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function qt(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function cS(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let wm=(n,t)=>!1,uS=(n,t,e)=>[],dS=null;function Dm(n){const t=n.parentNode||n.host;return t===dS?null:t}(ym()||typeof Element<"u")&&(Z$()?(dS=(()=>document.documentElement)(),wm=(n,t)=>{for(;t;){if(t===n)return!0;t=Dm(t)}return!1}):wm=(n,t)=>n.contains(t),uS=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let _r=null,hS=!1;const fS=wm,pS=uS;let mS=(()=>{class n{validateStyleProperty(e){return function X$(n){_r||(_r=function J$(){return typeof document<"u"?document.body:null}()||{},hS=!!_r.style&&"WebkitAppearance"in _r.style);let t=!0;return _r.style&&!function Q$(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in _r.style,!t&&hS&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in _r.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return fS(e,i)}getParentElement(e){return Dm(e)}query(e,i,r){return pS(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new ia(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Em=(()=>{class n{}return n.NOOP=new mS,n})();const Sm="ng-enter",Jc="ng-leave",eu="ng-trigger",tu=".ng-trigger",_S="ng-animating",Mm=".ng-animating";function fi(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Am(parseFloat(t[1]),t[2])}function Am(n,t){return"s"===t?1e3*n:n}function nu(n,t,e){return n.hasOwnProperty("duration")?n:function nz(n,t,e){let r,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(aS()),{duration:0,delay:0,easing:""};r=Am(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Am(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!e){let a=!1,l=t.length;r<0&&(t.push(function g$(){return new C(3100,!1)}()),a=!0),o<0&&(t.push(function _$(){return new C(3101,!1)}()),a=!0),a&&t.splice(l,0,aS())}return{duration:r,delay:o,easing:s}}(n,t,e)}function sa(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function yS(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function Fi(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function bS(n,t,e){return e?t+":"+e+";":""}function CS(n){let t="";for(let e=0;e{const o=Tm(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),ym()&&CS(n))}function yr(n,t){n.style&&(t.forEach((e,i)=>{const r=Tm(i);n.style[r]=""}),ym()&&CS(n))}function aa(n){return Array.isArray(n)?1==n.length?n[0]:g0(n):n}const Im=new RegExp("{{\\s*(.+?)\\s*}}","g");function wS(n){let t=[];if("string"==typeof n){let e;for(;e=Im.exec(n);)t.push(e[1]);Im.lastIndex=0}return t}function la(n,t,e){const i=n.toString(),r=i.replace(Im,(o,s)=>{let a=t[s];return null==a&&(e.push(function v$(n){return new C(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function iu(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const oz=/-+([a-z0-9])/g;function Tm(n){return n.replace(oz,(...t)=>t[1].toUpperCase())}function sz(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Kt(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function b$(n){return new C(3004,!1)}()}}function DS(n,t){return window.getComputedStyle(n)[t]}function hz(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function fz(n,t,e){if(":"==n[0]){const l=function pz(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function F$(n){return new C(3015,!1)}()),t;const r=i[1],o=i[2],s=i[3];t.push(ES(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&t.push(ES(s,r))}(i,e,t)):e.push(n),e}const au=new Set(["true","1"]),lu=new Set(["false","0"]);function ES(n,t){const e=au.has(n)||lu.has(n),i=au.has(t)||lu.has(t);return(r,o)=>{let s="*"==n||n==r,a="*"==t||t==o;return!s&&e&&"boolean"==typeof r&&(s=r?au.has(n):lu.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?au.has(t):lu.has(t)),s&&a}}const mz=new RegExp("s*:selfs*,?","g");function xm(n,t,e,i){return new gz(n).build(t,e,i)}class gz{constructor(t){this._driver=t}build(t,e,i){const r=new vz(e);return this._resetContextStyleTimingState(r),Kt(this,aa(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(function w$(){return new C(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(function D$(){return new C(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{wS(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(iu(o.values()),e.errors.push(function E$(n,t){return new C(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Kt(this,aa(t.animation),e);return{type:1,matchers:hz(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:vr(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Kt(this,i,e)),options:vr(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(s=>{e.currentTime=i;const a=Kt(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:vr(t.options)}}visitAnimate(t,e){const i=function Cz(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Rm(nu(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Rm(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=nu(e,t);return Rm(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:Sn({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=Sn(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)"string"==typeof a?a===ci?i.push(a):e.errors.push(new C(3002,!1)):i.push(yS(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 l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(e.errors.push(function M$(n,t,e,i,r){return new C(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),e.options&&function rz(n,t,e){const i=t.params||{},r=wS(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function y$(n){return new C(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function A$(){return new C(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const u=t.steps.map(v=>{const D=this._makeStyleAst(v,e);let b=null!=D.offset?D.offset:function bz(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(D.styles),M=0;return null!=b&&(o++,M=D.offset=b),l=l||M<0||M>1,a=a||M0&&o{const b=h>0?D==f?1:h*D:s[D],M=b*y;e.currentTime=p+m.delay+M,m.duration=M,this._validateStyleAst(v,e),v.offset=b,i.styles.push(v)}),i}visitReference(t,e){return{type:8,animation:Kt(this,aa(t.animation),e),options:vr(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:vr(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:vr(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,s]=function _z(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(mz,"")),n=n.replace(/@\*/g,tu).replace(/@\w+/g,e=>tu+"-"+e.slice(1)).replace(/:animating/g,Mm),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,qt(e.collectedStyles,e.currentQuerySelector,new Map);const a=Kt(this,aa(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:vr(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function R$(){return new C(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:nu(t.timings,e.errors,!0);return{type:12,animation:Kt(this,aa(t.animation),e),timings:i,options:null}}}class vz{constructor(t){this.errors=t,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 vr(n){return n?(n=sa(n)).params&&(n.params=function yz(n){return n?sa(n):null}(n.params)):n={},n}function Rm(n,t,e){return{duration:n,delay:t,easing:e}}function km(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class cu{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const Ez=new RegExp(":enter","g"),Mz=new RegExp(":leave","g");function Fm(n,t,e,i,r,o=new Map,s=new Map,a,l,c=[]){return(new Az).buildKeyframes(n,t,e,i,r,o,s,a,l,c)}class Az{buildKeyframes(t,e,i,r,o,s,a,l,c,u=[]){c=c||new cu;const d=new Om(t,e,c,r,o,u,[]);d.options=l;const h=l.delay?fi(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),Kt(this,i,d);const f=d.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let m=f.length-1;m>=0;m--){const y=f[m];if(y.element===e){p=y;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[km(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const r of t){const o=r?.delay;if(o){const s="number"==typeof o?o:fi(la(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?fi(i.duration):null,a=null!=i.delay?fi(i.delay):null;return 0!==s&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Kt(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=uu);const s=fi(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Kt(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?fi(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);o&&a.delayNextStep(o),Kt(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return nu(e.params?la(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?fi(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=uu);let s=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const d=e.createSubContext(t.options,c);o&&d.delayNextStep(o),c===e.element&&(l=d.currentTimeline),Kt(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;Kt(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const uu={};class Om{constructor(t,e,i,r,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=uu,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new du(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=fi(i.duration)),null!=i.delay&&(r.delay=fi(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=la(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new Om(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(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=uu,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new Iz(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(Ez,"."+this._enterClassName)).replace(Mz,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function k$(n){return new C(3014,!1)}()),a}}class du{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new du(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||ci),this._currentKeyframe.set(e,ci);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function Tz(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,ci)}else Fi(r,e)}),e}(t,this._globalTimelineStyles);for(let[a,l]of s){const c=la(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ci),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=Fi(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?t.add(d):u===ci&&e.add(d)}),i||c.set("offset",l/this.duration),r.push(c)});const o=t.size?iu(t.values()):[],s=e.size?iu(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return km(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class Iz extends du{constructor(t,e,i,r,o,s,a=!1){super(t,e,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 t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,l=Fi(t[0]);l.set("offset",0),o.push(l);const c=Fi(t[0]);c.set("offset",AS(a)),o.push(c);const u=t.length-1;for(let d=1;d<=u;d++){let h=Fi(t[d]);const f=h.get("offset");h.set("offset",AS((e+f*i)/s)),o.push(h)}i=s,e=0,r="",t=o}return km(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function AS(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class Pm{}const xz=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Rz extends Pm{normalizePropertyName(t,e){return Tm(t)}normalizeStyleValue(t,e,i,r){let o="";const s=i.toString().trim();if(xz.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function C$(n,t){return new C(3005,!1)}())}return s+o}}function IS(n,t,e,i,r,o,s,a,l,c,u,d,h){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const Nm={};class TS{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function kz(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||Nm,p=this.buildStyles(i,a&&a.params||Nm,d),m=l&&l.params||Nm,y=this.buildStyles(r,m,d),v=new Set,D=new Map,b=new Map,M="void"===r,X={params:Fz(m,h),delay:this.ast.options?.delay},oe=u?[]:Fm(t,e,this.ast.animation,o,s,p,y,X,c,d);let Ve=0;if(oe.forEach(Zt=>{Ve=Math.max(Zt.duration+Zt.delay,Ve)}),d.length)return IS(e,this._triggerName,i,r,M,p,y,[],[],D,b,Ve,d);oe.forEach(Zt=>{const Qt=Zt.element,ko=qt(D,Qt,new Set);Zt.preStyleProps.forEach(Mn=>ko.add(Mn));const pi=qt(b,Qt,new Set);Zt.postStyleProps.forEach(Mn=>pi.add(Mn)),Qt!==e&&v.add(Qt)});const Yt=iu(v.values());return IS(e,this._triggerName,i,r,M,p,y,oe,Yt,D,b,Ve)}}function Fz(n,t){const e=sa(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class Oz{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=sa(this.defaultParams);return Object.keys(t).forEach(o=>{const s=t[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=la(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(l,s)})}),i}}class Nz{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new Oz(r.style,r.options&&r.options.params||{},i))}),xS(this.states,"true","1"),xS(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new TS(t,r,this.states))}),this.fallbackTransition=function Lz(n,t,e){return new TS(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function xS(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const Vz=new cu;class Bz{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],o=xm(this._driver,e,i,[]);if(i.length)throw function B$(n){return new C(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=lS(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=Fm(this._driver,e,o,Sm,Jc,new Map,new Map,i,Vz,r),s.forEach(u=>{const d=qt(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(r.push(function H$(){return new C(3300,!1)}()),s=[]),r.length)throw function j$(n){return new C(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,ci))})});const c=ki(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function U$(n){return new C(3301,!1)}();return e}listen(t,e,i,r){const o=Cm(e,"","","");return vm(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);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(t)}}}const RS="ng-animate-queued",Lm="ng-animate-disabled",zz=[],kS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Wz={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},cn="__ng_removed";class Vm{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function Yz(n){return n??null}(i?t.value:t),i){const o=sa(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const ca="void",Bm=new Vm(ca);class Gz{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,un(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function $$(n,t){return new C(3302,!1)}();if(null==i||0==i.length)throw function z$(n){return new C(3303,!1)}();if(!function Zz(n){return"start"==n||"done"==n}(i))throw function W$(n,t){return new C(3400,!1)}();const o=qt(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);const a=qt(this._engine.statesByElement,t,new Map);return a.has(e)||(un(t,eu),un(t,eu+"-"+e),a.set(e,Bm)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function G$(n){return new C(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),s=new Hm(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(un(t,eu),un(t,eu+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const c=new Vm(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Bm),c.value!==ca&&l.value===c.value){if(!function Jz(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{yr(t,y),Hn(t,v)})}return}const h=qt(this._engine.playersByElement,t,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==e&&m.queued&&m.destroy()});let f=o.matchTransition(l.value,c.value,t,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(un(t,RS),s.onStart(()=>{xo(t,RS)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const y=this._engine.playersByElement.get(t);if(y){let v=y.indexOf(s);v>=0&&y.splice(v,1)}}),this.players.push(s),h.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,tu,!0);i.forEach(r=>{if(r[cn])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(t,c,ca,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&ki(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Bm,u=new Vm(ca),d=new Hm(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[cn];(!o||o===kS)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){un(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=Cm(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,vm(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class qz{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new Gz(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(hu(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!hu(e))return;const o=e[cn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),un(t,Lm)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),xo(t,Lm))}removeNode(t,e,i,r){if(hu(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[cn]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return hu(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,tu,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,Mm,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return ki(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[cn];if(e&&e.setForRemoval){if(t[cn]=kS,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(Lm)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];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){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?ki(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function q$(n){return new C(3402,!1)}()}_flushAnimations(t,e){const i=new cu,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(x=>{u.add(x);const P=this.driver.query(x,".ng-animate-queued",!0);for(let j=0;j{const j=Sm+m++;p.set(P,j),x.forEach(le=>un(le,j))});const y=[],v=new Set,D=new Set;for(let x=0;xv.add(le)):D.add(P))}const b=new Map,M=PS(h,Array.from(v));M.forEach((x,P)=>{const j=Jc+m++;b.set(P,j),x.forEach(le=>un(le,j))}),t.push(()=>{f.forEach((x,P)=>{const j=p.get(P);x.forEach(le=>xo(le,j))}),M.forEach((x,P)=>{const j=b.get(P);x.forEach(le=>xo(le,j))}),y.forEach(x=>{this.processLeaveNode(x)})});const X=[],oe=[];for(let x=this._namespaceList.length-1;x>=0;x--)this._namespaceList[x].drainQueuedTransitions(e).forEach(j=>{const le=j.player,ct=j.element;if(X.push(le),this.collectedEnterElements.length){const yt=ct[cn];if(yt&&yt.setForMove){if(yt.previousTriggersValues&&yt.previousTriggersValues.has(j.triggerName)){const wr=yt.previousTriggersValues.get(j.triggerName),dn=this.statesByElement.get(j.element);if(dn&&dn.has(j.triggerName)){const Eu=dn.get(j.triggerName);Eu.value=wr,dn.set(j.triggerName,Eu)}}return void le.destroy()}}const Un=!d||!this.driver.containsElement(d,ct),Xt=b.get(ct),Li=p.get(ct),Be=this._buildInstruction(j,i,Li,Xt,Un);if(Be.errors&&Be.errors.length)return void oe.push(Be);if(Un)return le.onStart(()=>yr(ct,Be.fromStyles)),le.onDestroy(()=>Hn(ct,Be.toStyles)),void r.push(le);if(j.isFallbackTransition)return le.onStart(()=>yr(ct,Be.fromStyles)),le.onDestroy(()=>Hn(ct,Be.toStyles)),void r.push(le);const JM=[];Be.timelines.forEach(yt=>{yt.stretchStartingKeyframe=!0,this.disabledNodes.has(yt.element)||JM.push(yt)}),Be.timelines=JM,i.append(ct,Be.timelines),s.push({instruction:Be,player:le,element:ct}),Be.queriedElements.forEach(yt=>qt(a,yt,[]).push(le)),Be.preStyleProps.forEach((yt,wr)=>{if(yt.size){let dn=l.get(wr);dn||l.set(wr,dn=new Set),yt.forEach((Eu,cg)=>dn.add(cg))}}),Be.postStyleProps.forEach((yt,wr)=>{let dn=c.get(wr);dn||c.set(wr,dn=new Set),yt.forEach((Eu,cg)=>dn.add(cg))})});if(oe.length){const x=[];oe.forEach(P=>{x.push(function K$(n,t){return new C(3505,!1)}())}),X.forEach(P=>P.destroy()),this.reportError(x)}const Ve=new Map,Yt=new Map;s.forEach(x=>{const P=x.element;i.has(P)&&(Yt.set(P,P),this._beforeAnimationBuild(x.player.namespaceId,x.instruction,Ve))}),r.forEach(x=>{const P=x.element;this._getPreviousPlayers(P,!1,x.namespaceId,x.triggerName,null).forEach(le=>{qt(Ve,P,[]).push(le),le.destroy()})});const Zt=y.filter(x=>LS(x,l,c)),Qt=new Map;OS(Qt,this.driver,D,c,ci).forEach(x=>{LS(x,l,c)&&Zt.push(x)});const pi=new Map;f.forEach((x,P)=>{OS(pi,this.driver,new Set(x),l,"!")}),Zt.forEach(x=>{const P=Qt.get(x),j=pi.get(x);Qt.set(x,new Map([...Array.from(P?.entries()??[]),...Array.from(j?.entries()??[])]))});const Mn=[],Fo=[],Oo={};s.forEach(x=>{const{element:P,player:j,instruction:le}=x;if(i.has(P)){if(u.has(P))return j.onDestroy(()=>Hn(P,le.toStyles)),j.disabled=!0,j.overrideTotalTime(le.totalTime),void r.push(j);let ct=Oo;if(Yt.size>1){let Xt=P;const Li=[];for(;Xt=Xt.parentNode;){const Be=Yt.get(Xt);if(Be){ct=Be;break}Li.push(Xt)}Li.forEach(Be=>Yt.set(Be,ct))}const Un=this._buildAnimation(j.namespaceId,le,Ve,o,pi,Qt);if(j.setRealPlayer(Un),ct===Oo)Mn.push(j);else{const Xt=this.playersByElement.get(ct);Xt&&Xt.length&&(j.parentPlayer=ki(Xt)),r.push(j)}}else yr(P,le.fromStyles),j.onDestroy(()=>Hn(P,le.toStyles)),Fo.push(j),u.has(P)&&r.push(j)}),Fo.forEach(x=>{const P=o.get(x.element);if(P&&P.length){const j=ki(P);x.setRealPlayer(j)}}),r.forEach(x=>{x.parentPlayer?x.syncPlayerEvents(x.parentPlayer):x.destroy()});for(let x=0;x!Un.destroyed);ct.length?Qz(this,P,ct):this.processLeaveNode(P)}return y.length=0,Mn.forEach(x=>{this.players.push(x),x.onDone(()=>{x.destroy();const P=this.players.indexOf(x);this.players.splice(P,1)}),x.play()}),Mn}elementContainsData(t,e){let i=!1;const r=e[cn];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!o||o==ca;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){const o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,u=c!==o,d=qt(i,c,[]);this._getPreviousPlayers(c,u,s,a,e.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}yr(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){const a=e.triggerName,l=e.element,c=[],u=new Set,d=new Set,h=e.timelines.map(p=>{const m=p.element;u.add(m);const y=m[cn];if(y&&y.removedBeforeQueried)return new ia(p.duration,p.delay);const v=m!==l,D=function Xz(n){const t=[];return NS(n,t),t}((i.get(m)||zz).map(Ve=>Ve.getRealPlayer())).filter(Ve=>!!Ve.element&&Ve.element===m),b=o.get(m),M=s.get(m),X=lS(0,this._normalizer,0,p.keyframes,b,M),oe=this._buildPlayer(p,X,D);if(p.subTimeline&&r&&d.add(m),v){const Ve=new Hm(t,a,m);Ve.setRealPlayer(oe),c.push(Ve)}return oe});c.forEach(p=>{qt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function Kz(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>un(p,_S));const f=ki(h);return f.onDestroy(()=>{u.forEach(p=>xo(p,_S)),Hn(l,e.toStyles)}),d.forEach(p=>{qt(r,p,[]).push(f)}),f}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new ia(t.duration,t.delay)}}class Hm{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new ia,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>vm(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){qt(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function hu(n){return n&&1===n.nodeType}function FS(n,t){const e=n.style.display;return n.style.display=t??"none",e}function OS(n,t,e,i,r){const o=[];e.forEach(l=>o.push(FS(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=t.computeStyle(c,d,r);u.set(d,h),(!h||0==h.length)&&(c[cn]=Wz,s.push(c))}),n.set(c,u)});let a=0;return e.forEach(l=>FS(l,o[a++])),s}function PS(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const r=new Set(t),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function un(n,t){n.classList?.add(t)}function xo(n,t){n.classList?.remove(t)}function Qz(n,t,e){ki(e).onDone(()=>n.processLeaveNode(t))}function NS(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class fu{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new qz(t,e,i),this._timelineEngine=new Bz(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const s=t+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],u=xm(this._driver,o,l,[]);if(l.length)throw function L$(n,t){return new C(3404,!1)}();a=function Pz(n,t,e){return new Nz(n,t,e)}(r,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,s]=cS(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=cS(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let t3=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Hn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Hn(this._element,this._initialStyles),this._endStyles&&(Hn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(yr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(yr(this._element,this._endStyles),this._endStyles=null),Hn(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function jm(n){let t=null;return n.forEach((e,i)=>{(function n3(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class VS{constructor(t,e,i,r){this.element=t,this.keyframes=e,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(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:DS(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class r3{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return fS(t,e)}getParentElement(t){return Dm(t)}query(t,e,i){return pS(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(f=>f instanceof VS);(function az(n,t){return 0===n||0===t})(i,r)&&u.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let d=function iz(n){return n.length?n[0]instanceof Map?n:n.map(t=>yS(t)):[]}(e).map(f=>Fi(f));d=function lz(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,DS(n,a)))}}return t}(t,d,c);const h=function e3(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=jm(t[0]),t.length>1&&(i=jm(t[t.length-1]))):t instanceof Map&&(e=jm(t)),e||i?new t3(n,e,i):null}(t,d);return new VS(t,d,l,h)}}let o3=(()=>{class n extends p0{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:fn.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?g0(e):e;return BS(this._renderer,null,i,"register",[r]),new s3(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(_(as),_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class s3 extends class Dj{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new a3(this._id,t,e||{},this._renderer)}}class a3{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return BS(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function BS(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const HS="@.disabled";let l3=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(o);return u||(u=new jS("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,u)),u}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(s,a,e,u.name,u)};return i.data.animation.forEach(l),new c3(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(_(as),_(fu),_(te))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class jS{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==HS?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class c3 extends jS{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==HS?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function u3(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function d3(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}const US=[{provide:p0,useClass:o3},{provide:Pm,useFactory:function f3(){return new Rz}},{provide:fu,useClass:(()=>{class n extends fu{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(_(q),_(Em),_(Pm),_(mo))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})()},{provide:as,useFactory:function p3(n,t,e){return new l3(n,t,e)},deps:[Jl,fu,te]}],Um=[{provide:Em,useFactory:()=>new r3},{provide:rr,useValue:"BrowserAnimations"},...US],$S=[{provide:Em,useClass:mS},{provide:rr,useValue:"NoopAnimations"},...US];let m3=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?$S:Um}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:Um,imports:[iD]}),n})(),zS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})(),WS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[Gl,It,xE,It]}),n})(),b3=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[gj],imports:[zS,WS,It,zS,WS]}),n})(),PM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})(),v8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[PM]}),n})(),b8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[v8]}),n})(),w8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n,bootstrap:[m$]}),n.\u0275inj=ce({imports:[iD,Jj,p$,m3,Oj,b3,b8,eS,dU,t$,nS]}),n})();(function sN(){nw=!1})(),zL().bootstrapModule(w8).catch(n=>console.error(n))}},ae=>{ae(ae.s=542)}]); \ No newline at end of file +"use strict";(self.webpackChunkpipboyUI=self.webpackChunkpipboyUI||[]).push([[179],{542:()=>{function ae(n){return"function"==typeof n}function Po(n){const e=n(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const pa=Po(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function Dr(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class et{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(ae(i))try{i()}catch(o){t=o instanceof pa?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{hg(o)}catch(s){t=t??[],s instanceof pa?t=[...t,...s.errors]:t.push(s)}}if(t)throw new pa(t)}}add(t){var e;if(t&&t!==this)if(this.closed)hg(t);else{if(t instanceof et){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&Dr(e,t)}remove(t){const{_finalizers:e}=this;e&&Dr(e,t),t instanceof et&&t._removeParent(this)}}et.EMPTY=(()=>{const n=new et;return n.closed=!0,n})();const ug=et.EMPTY;function dg(n){return n instanceof et||n&&"closed"in n&&ae(n.remove)&&ae(n.add)&&ae(n.unsubscribe)}function hg(n){ae(n)?n():n.unsubscribe()}const Vi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ma={setTimeout(n,t,...e){const{delegate:i}=ma;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=ma;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function fg(n){ma.setTimeout(()=>{const{onUnhandledError:t}=Vi;if(!t)throw n;t(n)})}function ga(){}const eA=Su("C",void 0,void 0);function Su(n,t,e){return{kind:n,value:t,error:e}}let Bi=null;function _a(n){if(Vi.useDeprecatedSynchronousErrorHandling){const t=!Bi;if(t&&(Bi={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:i}=Bi;if(Bi=null,e)throw i}}else n()}class ya extends et{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,dg(t)&&t.add(this)):this.destination=aA}static create(t,e,i){return new No(t,e,i)}next(t){this.isStopped?Au(function nA(n){return Su("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Au(function tA(n){return Su("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Au(eA,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const rA=Function.prototype.bind;function Mu(n,t){return rA.call(n,t)}class oA{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){va(i)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){va(i)}else va(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){va(e)}}}class No extends ya{constructor(t,e,i){let r;if(super(),ae(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Vi.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Mu(t.next,o),error:t.error&&Mu(t.error,o),complete:t.complete&&Mu(t.complete,o)}):r=t}this.destination=new oA(r)}}function va(n){Vi.useDeprecatedSynchronousErrorHandling?function iA(n){Vi.useDeprecatedSynchronousErrorHandling&&Bi&&(Bi.errorThrown=!0,Bi.error=n)}(n):fg(n)}function Au(n,t){const{onStoppedNotification:e}=Vi;e&&ma.setTimeout(()=>e(n,t))}const aA={closed:!0,next:ga,error:function sA(n){throw n},complete:ga},Iu="function"==typeof Symbol&&Symbol.observable||"@@observable";function mi(n){return n}function pg(n){return 0===n.length?mi:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}let _e=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function uA(n){return n&&n instanceof ya||function cA(n){return n&&ae(n.next)&&ae(n.error)&&ae(n.complete)}(n)&&dg(n)}(e)?e:new No(e,i,r);return _a(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=mg(i))((r,o)=>{const s=new No({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[Iu](){return this}pipe(...e){return pg(e)(this)}toPromise(e){return new(e=mg(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function mg(n){var t;return null!==(t=n??Vi.Promise)&&void 0!==t?t:Promise}const dA=Po(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ee=(()=>{class n extends _e{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Tu(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new dA}next(e){_a(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){_a(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){_a(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?ug:(this.currentObservers=null,o.push(e),new et(()=>{this.currentObservers=null,Dr(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new _e;return e.source=this,e}}return n.create=(t,e)=>new Tu(t,e),n})();class Tu extends ee{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:ug}}function gg(n){return ae(n?.lift)}function Re(n){return t=>{if(gg(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ye(n,t,e,i,r){return new hA(n,t,e,i,r)}class hA extends ya{constructor(t,e,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function $(n,t){return Re((e,i)=>{let r=0;e.subscribe(ye(i,o=>{i.next(n.call(t,o,r++))}))})}function gi(n){return this instanceof gi?(this.v=n,this):new gi(n)}function vg(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(n,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(f){return function(p){return Promise.resolve(p).then(f,d)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(f,p){i[f]&&(r[f]=function(m){return new Promise(function(y,v){o.push([f,m,y,v])>1||l(f,m)})},p&&(r[f]=p(r[f])))}function l(f,p){try{!function c(f){f.value instanceof gi?Promise.resolve(f.value.v).then(u,d):h(o[0][2],f)}(i[f](p))}catch(m){h(o[0][3],m)}}function u(f){l("next",f)}function d(f){l("throw",f)}function h(f,p){f(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}function bg(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=function Fu(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=n[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Pu=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Cg(n){return ae(n?.then)}function wg(n){return ae(n[Iu])}function Dg(n){return Symbol.asyncIterator&&ae(n?.[Symbol.asyncIterator])}function Eg(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Sg=function BA(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Mg(n){return ae(n?.[Sg])}function Ag(n){return vg(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:i,done:r}=yield gi(e.read());if(r)return yield gi(void 0);yield yield gi(i)}}finally{e.releaseLock()}})}function Ig(n){return ae(n?.getReader)}function xt(n){if(n instanceof _e)return n;if(null!=n){if(wg(n))return function HA(n){return new _e(t=>{const e=n[Iu]();if(ae(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(Pu(n))return function jA(n){return new _e(t=>{for(let e=0;e{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,fg)})}(n);if(Dg(n))return Tg(n);if(Mg(n))return function $A(n){return new _e(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(Ig(n))return function zA(n){return Tg(Ag(n))}(n)}throw Eg(n)}function Tg(n){return new _e(t=>{(function WA(n,t){var e,i,r,o;return function _g(n,t,e,i){return new(e||(e=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof e?o:new e(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=bg(n);!(i=yield e.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function $n(n,t,e,i=0,r=!1){const o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function tt(n,t,e=1/0){return ae(t)?tt((i,r)=>$((o,s)=>t(i,o,r,s))(xt(n(i,r))),e):("number"==typeof t&&(e=t),Re((i,r)=>function GA(n,t,e,i,r,o,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&t.complete()},f=m=>c{o&&t.next(m),c++;let y=!1;xt(e(m,u++)).subscribe(ye(t,v=>{r?.(v),o?f(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&cp(v)):p(v)}h()}catch(v){t.error(v)}}))};return n.subscribe(ye(t,f,()=>{d=!0,h()})),()=>{a?.()}}(i,r,n,e)))}function Er(n=1/0){return tt(mi,n)}const zn=new _e(n=>n.complete());function xg(n){return n&&ae(n.schedule)}function Nu(n){return n[n.length-1]}function Rg(n){return ae(Nu(n))?n.pop():void 0}function Lo(n){return xg(Nu(n))?n.pop():void 0}function kg(n,t=0){return Re((e,i)=>{e.subscribe(ye(i,r=>$n(i,n,()=>i.next(r),t),()=>$n(i,n,()=>i.complete(),t),r=>$n(i,n,()=>i.error(r),t)))})}function Fg(n,t=0){return Re((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function Og(n,t){if(!n)throw new Error("Iterable cannot be null");return new _e(e=>{$n(e,t,()=>{const i=n[Symbol.asyncIterator]();$n(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function Ge(n,t){return t?function eI(n,t){if(null!=n){if(wg(n))return function YA(n,t){return xt(n).pipe(Fg(t),kg(t))}(n,t);if(Pu(n))return function QA(n,t){return new _e(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}(n,t);if(Cg(n))return function ZA(n,t){return xt(n).pipe(Fg(t),kg(t))}(n,t);if(Dg(n))return Og(n,t);if(Mg(n))return function XA(n,t){return new _e(e=>{let i;return $n(e,t,()=>{i=n[Sg](),$n(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void e.error(s)}o?e.complete():e.next(r)},0,!0)}),()=>ae(i?.return)&&i.return()})}(n,t);if(Ig(n))return function JA(n,t){return Og(Ag(n),t)}(n,t)}throw Eg(n)}(n,t):xt(n)}function Lu(...n){const t=Lo(n),e=function KA(n,t){return"number"==typeof Nu(n)?n.pop():t}(n,1/0),i=n;return i.length?1===i.length?xt(i[0]):Er(e)(Ge(i,t)):zn}function Pg(n={}){const{connector:t=(()=>new ee),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,u=d=!1},p=()=>{const m=s;f(),m?.unsubscribe()};return Re((m,y)=>{c++,!d&&!u&&h();const v=l=l??t();y.add(()=>{c--,0===c&&!d&&!u&&(a=Vu(p,r))}),v.subscribe(y),!s&&c>0&&(s=new No({next:D=>v.next(D),error:D=>{d=!0,h(),a=Vu(f,e,D),v.error(D)},complete:()=>{u=!0,h(),a=Vu(f,i),v.complete()}}),xt(m).subscribe(s))})(o)}}function Vu(n,t,...e){if(!0===t)return void n();if(!1===t)return;const i=new No({next:()=>{i.unsubscribe(),n()}});return t(...e).subscribe(i)}function ve(n){for(let t in n)if(n[t]===ve)return t;throw Error("Could not find renamed property on target object.")}function Bu(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function be(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(be).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Hu(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const tI=ve({__forward_ref__:ve});function De(n){return n.__forward_ref__=De,n.toString=function(){return be(this())},n}function U(n){return ju(n)?n():n}function ju(n){return"function"==typeof n&&n.hasOwnProperty(tI)&&n.__forward_ref__===De}class C extends Error{constructor(t,e){super(function ba(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}(t,e)),this.code=t}}function W(n){return"string"==typeof n?n:null==n?"":String(n)}function Ca(n,t){throw new C(-201,!1)}function Nt(n,t){null==n&&function me(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function S(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function ce(n){return{providers:n.providers||[],imports:n.imports||[]}}function wa(n){return Ng(n,Da)||Ng(n,Vg)}function Ng(n,t){return n.hasOwnProperty(t)?n[t]:null}function Lg(n){return n&&(n.hasOwnProperty(Uu)||n.hasOwnProperty(uI))?n[Uu]:null}const Da=ve({\u0275prov:ve}),Uu=ve({\u0275inj:ve}),Vg=ve({ngInjectableDef:ve}),uI=ve({ngInjectorDef:ve});var L=(()=>((L=L||{})[L.Default=0]="Default",L[L.Host=1]="Host",L[L.Self=2]="Self",L[L.SkipSelf=4]="SkipSelf",L[L.Optional=8]="Optional",L))();let $u;function Jt(n){const t=$u;return $u=n,t}function Bg(n,t,e){const i=wa(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&L.Optional?null:void 0!==t?t:void Ca(be(n))}function _i(n){return{toString:n}.toString()}var hn=(()=>((hn=hn||{})[hn.OnPush=0]="OnPush",hn[hn.Default=1]="Default",hn))(),fn=(()=>{return(n=fn||(fn={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",fn;var n})();const Ee=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Sr={},he=[],Ea=ve({\u0275cmp:ve}),zu=ve({\u0275dir:ve}),Wu=ve({\u0275pipe:ve}),Hg=ve({\u0275mod:ve}),Gn=ve({\u0275fac:ve}),Vo=ve({__NG_ELEMENT_ID__:ve});let hI=0;function ue(n){return _i(()=>{const e=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===hn.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||he,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||fn.Emulated,id:"c"+hI++,styles:n.styles||he,_:null,setInput:null,schemas:n.schemas||null,tView:null},o=n.dependencies,s=n.features;return r.inputs=$g(n.inputs,i),r.outputs=$g(n.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(jg).filter(Ug):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(bt).filter(Ug):null,r})}function jg(n){return ge(n)||vt(n)}function Ug(n){return null!==n}function fe(n){return _i(()=>({type:n.type,bootstrap:n.bootstrap||he,declarations:n.declarations||he,imports:n.imports||he,exports:n.exports||he,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function $g(n,t){if(null==n)return Sr;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}const N=ue;function Rt(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function ge(n){return n[Ea]||null}function vt(n){return n[zu]||null}function bt(n){return n[Wu]||null}function Lt(n,t){const e=n[Hg]||null;if(!e&&!0===t)throw new Error(`Type ${be(n)} does not have '\u0275mod' property.`);return e}const Y=11;function kt(n){return Array.isArray(n)&&"object"==typeof n[1]}function mn(n){return Array.isArray(n)&&!0===n[1]}function Ku(n){return 0!=(8&n.flags)}function Ia(n){return 2==(2&n.flags)}function Ta(n){return 1==(1&n.flags)}function gn(n){return null!==n.template}function yI(n){return 0!=(256&n[2])}function zi(n,t){return n.hasOwnProperty(Gn)?n[Gn]:null}class CI{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Gg(n){return n.type.prototype.ngOnChanges&&(n.setInput=DI),wI}function wI(){const n=Kg(this),t=n?.current;if(t){const e=n.previous;if(e===Sr)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function DI(n,t,e,i){const r=Kg(n)||function EI(n,t){return n[qg]=t}(n,{previous:Sr,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[e],l=s[a];o[a]=new CI(l&&l.currentValue,t,s===Sr),n[i]=t}const qg="__ngSimpleChanges__";function Kg(n){return n[qg]||null}function qe(n){for(;Array.isArray(n);)n=n[0];return n}function xa(n,t){return qe(t[n])}function Bt(n,t){return qe(t[n.index])}function Ju(n,t){return n.data[t]}function xr(n,t){return n[t]}function Ht(n,t){const e=t[n];return kt(e)?e:e[0]}function Ra(n){return 64==(64&n[2])}function yi(n,t){return null==t?null:n[t]}function Yg(n){n[18]=0}function ed(n,t){n[5]+=t;let e=n,i=n[3];for(;null!==i&&(1===t&&1===e[5]||-1===t&&0===e[5]);)i[5]+=t,e=i,i=i[3]}const z={lFrame:o_(null),bindingsEnabled:!0};function Qg(){return z.bindingsEnabled}function w(){return z.lFrame.lView}function se(){return z.lFrame.tView}function Rr(n){return z.lFrame.contextLView=n,n[8]}function kr(n){return z.lFrame.contextLView=null,n}function nt(){let n=Xg();for(;null!==n&&64===n.type;)n=n.parent;return n}function Xg(){return z.lFrame.currentTNode}function An(n,t){const e=z.lFrame;e.currentTNode=n,e.isParent=t}function td(){return z.lFrame.isParent}function nd(){z.lFrame.isParent=!1}function qn(){return z.lFrame.bindingIndex}function Fr(){return z.lFrame.bindingIndex++}function Kn(n){const t=z.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function BI(n,t){const e=z.lFrame;e.bindingIndex=e.bindingRootIndex=n,id(t)}function id(n){z.lFrame.currentDirectiveIndex=n}function rd(n){const t=z.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function n_(){return z.lFrame.currentQueryIndex}function od(n){z.lFrame.currentQueryIndex=n}function jI(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function i_(n,t,e){if(e&L.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&L.Host||(r=jI(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,n=o}const i=z.lFrame=r_();return i.currentTNode=t,i.lView=n,!0}function sd(n){const t=r_(),e=n[1];z.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function r_(){const n=z.lFrame,t=null===n?null:n.child;return null===t?o_(n):t}function o_(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function s_(){const n=z.lFrame;return z.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const a_=s_;function ad(){const n=s_();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function wt(){return z.lFrame.selectedIndex}function vi(n){z.lFrame.selectedIndex=n}function Ne(){const n=z.lFrame;return Ju(n.tView,n.selectedIndex)}function ka(){z.lFrame.currentNamespace="svg"}function Fa(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<0&&(n[18]+=65536),(a>11>16&&(3&n[2])===t){n[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class zo{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Na(n,t,e){let i=0;for(;it){s=o-1;break}}}for(;o>16}(n),i=t;for(;e>0;)i=i[15],e--;return i}let ud=!0;function Va(n){const t=ud;return ud=n,t}let tT=0;const In={};function Go(n,t){const e=hd(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,dd(i.data,n),dd(t,null),dd(i.blueprint,null));const r=Ba(n,t),o=n.injectorIndex;if(h_(r)){const s=Or(r),a=Pr(r,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function dd(n,t){n.push(0,0,0,0,0,0,0,0,t)}function hd(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function Ba(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=C_(r),null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Ha(n,t,e){!function nT(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Vo)&&(i=e[Vo]),null==i&&(i=e[Vo]=tT++);const r=255&i;t.data[n+(r>>5)]|=1<=0?255&t:sT:t}(e);if("function"==typeof o){if(!i_(t,n,i))return i&L.Host?m_(r,0,i):g_(t,e,i,r);try{const s=o(i);if(null!=s||i&L.Optional)return s;Ca()}finally{a_()}}else if("number"==typeof o){let s=null,a=hd(n,t),l=-1,c=i&L.Host?t[16][6]:null;for((-1===a||i&L.SkipSelf)&&(l=-1===a?Ba(n,t):t[a+8],-1!==l&&b_(i,!1)?(s=t[1],a=Or(l),t=Pr(l,t)):a=-1);-1!==a;){const u=t[1];if(v_(o,a,u.data)){const d=rT(a,t,e,s,i,c);if(d!==In)return d}l=t[a+8],-1!==l&&b_(i,t[1].data[a+8]===c)&&v_(o,a,t)?(s=u,a=Or(l),t=Pr(l,t)):a=-1}}return r}function rT(n,t,e,i,r,o){const s=t[1],a=s.data[n+8],u=ja(a,s,e,null==i?Ia(a)&&ud:i!=s&&0!=(3&a.type),r&L.Host&&o===a);return null!==u?qo(t,s,u,a):In}function ja(n,t,e,i,r){const o=n.providerIndexes,s=t.data,a=1048575&o,l=n.directiveStart,u=o>>20,h=r?a+u:n.directiveEnd;for(let f=i?a:a+u;f=l&&p.type===e)return f}if(r){const f=s[l];if(f&&gn(f)&&f.type===e)return l}return null}function qo(n,t,e,i){let r=n[e];const o=t.data;if(function ZI(n){return n instanceof zo}(r)){const s=r;s.resolving&&function nI(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new C(-200,`Circular dependency in DI detected for ${n}${e}`)}(function de(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():W(n)}(o[e]));const a=Va(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Jt(s.injectImpl):null;i_(n,i,L.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function KI(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Gg(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==l&&Jt(l),Va(a),s.resolving=!1,a_()}}return r}function v_(n,t,e){return!!(e[t+(n>>5)]&1<{const t=n.prototype.constructor,e=t[Gn]||fd(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[Gn]||fd(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function fd(n){return ju(n)?()=>{const t=fd(U(n));return t&&t()}:zi(n)}function C_(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}function Lr(n){return function iT(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function pd(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Br)?l[Br]:Object.defineProperty(l,Br,{value:[]})[Br];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class E{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=S({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function jt(n,t){void 0===t&&(t=n);for(let e=0;eArray.isArray(e)?Yn(e,t):t(e))}function D_(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Ua(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Zo(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function dT(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function gd(n,t){const e=Ur(n,t);if(e>=0)return n[1|e]}function Ur(n,t){return function M_(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=n[o<t?r=o:i=o+1}return~(r<((Ft=Ft||{})[Ft.Important=1]="Important",Ft[Ft.DashCase=2]="DashCase",Ft))();const Ed=new Map;let HT=0;const Md="__ngContext__";function pt(n,t){kt(t)?(n[Md]=t[20],function UT(n){Ed.set(n[20],n)}(t)):n[Md]=t}function Id(n,t){return undefined(n,t)}function is(n){const t=n[3];return mn(t)?t[3]:t}function Td(n){return K_(n[13])}function xd(n){return K_(n[4])}function K_(n){for(;null!==n&&!mn(n);)n=n[4];return n}function Gr(n,t,e,i,r){if(null!=i){let o,s=!1;mn(i)?o=i:kt(i)&&(s=!0,i=i[0]);const a=qe(i);0===n&&null!==e?null==r?ey(t,e,a):Wi(t,e,a,r||null,!0):1===n&&null!==e?Wi(t,e,a,r||null,!0):2===n?function Ld(n,t,e){const i=qa(n,t);i&&function ux(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,a,s):3===n&&t.destroyNode(a),null!=o&&function fx(n,t,e,i,r){const o=e[7];o!==qe(e)&&Gr(t,n,i,o,r);for(let a=10;a0&&(n[e-1][4]=i[4]);const o=Ua(n,10+t);!function nx(n,t){rs(n,t,t[Y],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Q_(n,t){if(!(128&t[2])){const e=t[Y];e.destroyNode&&rs(n,t,e,3,null,null),function ox(n){let t=n[13];if(!t)return Od(n[1],n);for(;t;){let e=null;if(kt(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)kt(t)&&Od(t[1],t),t=t[3];null===t&&(t=n),kt(t)&&Od(t[1],t),e=t&&t[4]}t=e}}(t)}}function Od(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function cx(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const s=i[r=e[o+1]];e[o].call(s)}if(null!==i){for(let o=r+1;on,createScript:n=>n,createScriptURL:n=>n})}catch{}return Za}()?.createHTML(n)||n}function hy(n){return function Ud(){if(void 0===Qa&&(Qa=null,Ee.trustedTypes))try{Qa=Ee.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Qa}()?.createScriptURL(n)||n}class qi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class vx extends qi{getTypeName(){return"HTML"}}class bx extends qi{getTypeName(){return"Style"}}class Cx extends qi{getTypeName(){return"Script"}}class wx extends qi{getTypeName(){return"URL"}}class Dx extends qi{getTypeName(){return"ResourceURL"}}function $t(n){return n instanceof qi?n.changingThisBreaksApplicationSecurity:n}function Tn(n,t){const e=function Ex(n){return n instanceof qi&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}class xx{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Gi(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class Rx{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Gi(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=Gi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0"),!0}endElement(t){const e=t.nodeName.toLowerCase();$d.hasOwnProperty(e)&&!py.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(yy(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Nx=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Lx=/([^\#-~ |!])/g;function yy(n){return n.replace(/&/g,"&").replace(Nx,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Lx,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Ja;function vy(n,t){let e=null;try{Ja=Ja||function fy(n){const t=new Rx(n);return function kx(){try{return!!(new window.DOMParser).parseFromString(Gi(""),"text/html")}catch{return!1}}()?new xx(t):t}(n);let i=t?String(t):"";e=Ja.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=Ja.getInertBodyElement(i)}while(i!==o);return Gi((new Px).sanitizeChildren(Wd(e)||e))}finally{if(e){const i=Wd(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Wd(n){return"content"in n&&function Vx(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var pe=(()=>((pe=pe||{})[pe.NONE=0]="NONE",pe[pe.HTML=1]="HTML",pe[pe.STYLE=2]="STYLE",pe[pe.SCRIPT=3]="SCRIPT",pe[pe.URL=4]="URL",pe[pe.RESOURCE_URL=5]="RESOURCE_URL",pe))();function qd(n){const t=function ss(){const n=w();return n&&n[12]}();if(t)return hy(t.sanitize(pe.RESOURCE_URL,n)||"");if(Tn(n,"ResourceURL"))return hy($t(n));throw new C(904,!1)}const Kd=new E("ENVIRONMENT_INITIALIZER"),by=new E("INJECTOR",-1),Cy=new E("INJECTOR_DEF_TYPES");class wy{get(t,e=Qo){if(e===Qo){const i=new Error(`NullInjectorError: No provider for ${be(t)}!`);throw i.name="NullInjectorError",i}return e}}function Gx(...n){return{\u0275providers:Dy(0,n)}}function Dy(n,...t){const e=[],i=new Set;let r;return Yn(t,o=>{const s=o;Yd(s,e,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&Ey(r,e),e}function Ey(n,t){for(let e=0;e{t.push(o)})}}function Yd(n,t,e,i){if(!(n=U(n)))return!1;let r=null,o=Lg(n);const s=!o&&ge(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=Lg(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Yd(c,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Yn(o.imports,u=>{Yd(u,t,e,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&Ey(c,t)}if(!a){const c=zi(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:he},{provide:Cy,useValue:r,multi:!0},{provide:Kd,useValue:()=>_(r),multi:!0})}const l=o.providers;null==l||a||Yn(l,u=>{t.push(u)})}}return r!==n&&void 0!==n.providers}const qx=ve({provide:String,useValue:ve});function Zd(n){return null!==n&&"object"==typeof n&&qx in n}function Ki(n){return"function"==typeof n}const Qd=new E("Set Injector scope."),el={},Yx={};let Xd;function tl(){return void 0===Xd&&(Xd=new wy),Xd}class wi{}class Ay extends wi{constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,eh(t,s=>this.processProvider(s)),this.records.set(by,qr(void 0,this)),r.has("environment")&&this.records.set(wi,qr(void 0,this));const o=this.records.get(Qd);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Cy.multi,he,L.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=$r(this),i=Jt(void 0);try{return t()}finally{$r(e),Jt(i)}}get(t,e=Qo,i=L.Default){this.assertNotDestroyed();const r=$r(this),o=Jt(void 0);try{if(!(i&L.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function eR(n){return"function"==typeof n||"object"==typeof n&&n instanceof E}(t)&&wa(t);a=l&&this.injectableDefInScope(l)?qr(Jd(t),el):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&L.Self?tl():this.parent).get(t,e=i&L.Optional&&e===Qo?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[za]=s[za]||[]).unshift(be(t)),r)throw s;return function DT(n,t,e,i){const r=n[za];throw t[A_]&&r.unshift(t[A_]),n.message=function ET(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=be(t);if(Array.isArray(t))r=t.map(be).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):be(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(vT,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[za]=null,n}(s,t,"R3InjectorError",this.source)}throw s}finally{Jt(o),$r(r)}}resolveInjectorInitializers(){const t=$r(this),e=Jt(void 0);try{const i=this.get(Kd.multi,he,L.Self);for(const r of i)r()}finally{$r(t),Jt(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(be(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let e=Ki(t=U(t))?t:U(t&&t.provide);const i=function Qx(n){return Zd(n)?qr(void 0,n.useValue):qr(function Iy(n,t,e){let i;if(Ki(n)){const r=U(n);return zi(r)||Jd(r)}if(Zd(n))i=()=>U(n.useValue);else if(function My(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...vd(n.deps||[]));else if(function Sy(n){return!(!n||!n.useExisting)}(n))i=()=>_(U(n.useExisting));else{const r=U(n&&(n.useClass||n.provide));if(!function Xx(n){return!!n.deps}(n))return zi(r)||Jd(r);i=()=>new r(...vd(n.deps))}return i}(n),el)}(t);if(Ki(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=qr(void 0,el,!0),r.factory=()=>vd(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===el&&(e.value=Yx,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Jx(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=U(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Jd(n){const t=wa(n),e=null!==t?t.factory:zi(n);if(null!==e)return e;if(n instanceof E)throw new C(204,!1);if(n instanceof Function)return function Zx(n){const t=n.length;if(t>0)throw Zo(t,"?"),new C(204,!1);const e=function lI(n){const t=n&&(n[Da]||n[Vg]);if(t){const e=function cI(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new C(204,!1)}function qr(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function tR(n){return!!n.\u0275providers}function eh(n,t){for(const e of n)Array.isArray(e)?eh(e,t):tR(e)?eh(e.\u0275providers,t):t(e)}class Ty{}class rR{resolveComponentFactory(t){throw function iR(n){const t=Error(`No component factory found for ${be(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let Yi=(()=>{class n{}return n.NULL=new rR,n})();function oR(){return Kr(nt(),w())}function Kr(n,t){return new Fe(Bt(n,t))}let Fe=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=oR,n})();function sR(n){return n instanceof Fe?n.nativeElement:n}class as{}let lR=(()=>{class n{}return n.\u0275prov=S({token:n,providedIn:"root",factory:()=>null}),n})();class Zi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const cR=new Zi("14.3.0"),th={};function ih(n){return n.ngOriginalError}class Xn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&ih(t);for(;e&&ih(e);)e=ih(e);return e||null}}function Ry(n){return n.ownerDocument}function Jn(n){return n instanceof Function?n():n}function Fy(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}const Oy="ng-template";function vR(n,t,e){let i=0;for(;io?"":r[d+1].toLowerCase();const f=8&i?h:null;if(f&&-1!==Fy(f,c,0)||2&i&&c!==h){if(_n(i))return!1;s=!0}}}}else{if(!s&&!_n(i)&&!_n(l))return!1;if(s&&_n(l))continue;s=!1,i=l|1&i}}return _n(i)||s}function _n(n){return 0==(1&n)}function wR(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!_n(s)&&(t+=Ly(o,r),r=""),i=s,o=o||!_n(i);e++}return""!==r&&(t+=Ly(o,r)),t}const G={};function O(n){Vy(se(),w(),wt()+n,!1)}function Vy(n,t,e,i){if(!i)if(3==(3&t[2])){const o=n.preOrderCheckHooks;null!==o&&Oa(t,o,e)}else{const o=n.preOrderHooks;null!==o&&Pa(t,o,0,e)}vi(e)}function Uy(n,t=null,e=null,i){const r=$y(n,t,e,i);return r.resolveInjectorInitializers(),r}function $y(n,t=null,e=null,i,r=new Set){const o=[e||he,Gx(n)];return i=i||("object"==typeof n?void 0:be(n)),new Ay(o,t||tl(),i||null,r)}let Oe=(()=>{class n{static create(e,i){if(Array.isArray(e))return Uy({name:""},i,e,"");{const r=e.name??"";return Uy({name:r},e.parent,e.providers,r)}}}return n.THROW_IF_NOT_FOUND=Qo,n.NULL=new wy,n.\u0275prov=S({token:n,providedIn:"any",factory:()=>_(by)}),n.__NG_ELEMENT_ID__=-1,n})();function g(n,t=L.Default){const e=w();return null===e?_(n,t):__(nt(),e,U(n),t)}function il(){throw new Error("invalid")}function rl(n,t){return n<<17|t<<2}function yn(n){return n>>17&32767}function lh(n){return 2|n}function ei(n){return(131068&n)>>2}function ch(n,t){return-131069&n|t<<2}function uh(n){return 1|n}function sv(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i22&&Vy(n,t,22,!1),e(i,r)}finally{vi(o)}}function bh(n,t,e){!Qg()||(function pk(n,t,e,i){const r=e.directiveStart,o=e.directiveEnd;n.firstCreatePass||Go(e,t),pt(i,t);const s=e.initialInputs;for(let a=r;a0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(i,r,s)}}function mv(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function gv(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function yk(n,t,e){if(e){if(t.exportAs)for(let i=0;i0&&Sh(e)}}function Sh(n){for(let i=Td(n);null!==i;i=xd(i))for(let r=10;r0&&Sh(o)}const e=n[1].components;if(null!==e)for(let i=0;i0&&Sh(r)}}function Sk(n,t){const e=Ht(t,n),i=e[1];(function Mk(n,t){for(let e=t.length;e-1&&(Fd(t,i),Ua(e,i))}this._attachedToViewContainer=!1}Q_(this._lView[1],this._lView)}onDestroy(t){uv(this._lView[1],this._lView,null,t)}markForCheck(){Mh(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){ul(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function rx(n,t){rs(n,t,t[Y],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class Ak extends ls{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ul(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Th extends Yi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=ge(t);return new cs(e,this.ngModule)}}function Ev(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class Tk{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){const r=this.injector.get(t,th,i);return r!==th||e===th?r:this.parentInjector.get(t,e,i)}}class cs extends Ty{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function IR(n){return n.map(AR).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ev(this.componentDef.inputs)}get outputs(){return Ev(this.componentDef.outputs)}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof wi?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new Tk(t,o):t,a=s.get(as,null);if(null===a)throw new C(407,!1);const l=s.get(lR,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function lk(n,t,e){return n.selectRootElement(t,e===fn.ShadowDom)}(c,i,this.componentDef.encapsulation):kd(c,u,function Ik(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),h=this.componentDef.onPush?288:272,f=wh(0,null,null,1,0,null,null,null,null,null),p=al(null,f,null,h,null,null,a,c,l,s,null);let m,y;sd(p);try{const v=function kk(n,t,e,i,r,o){const s=e[1];e[22]=n;const l=Qr(s,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&(dl(l,c,!0),null!==n&&(Na(r,n,c),null!==l.classes&&Bd(r,n,l.classes),null!==l.styles&&ly(r,n,l.styles)));const u=i.createRenderer(n,t),d=al(e,cv(t),null,t.onPush?32:16,e[22],l,i,u,o||null,null,null);return s.firstCreatePass&&(Ha(Go(l,e),s,t.type),gv(s,l),_v(l,e.length,1)),cl(e,d),e[22]=d}(d,this.componentDef,p,a,c);if(d)if(i)Na(c,d,["ng-version",cR.full]);else{const{attrs:D,classes:b}=function TR(n){const t=[],e=[];let i=1,r=2;for(;i0&&Bd(c,d,b.join(" "))}if(y=Ju(f,22),void 0!==e){const D=y.projection=[];for(let b=0;b=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=La(r.hostAttrs,e=La(e,r.hostAttrs))}}(i)}function xh(n){return n===Sr?{}:n===he?[]:n}function Nk(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function Lk(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function Vk(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}let fl=null;function Qi(){if(!fl){const n=Ee.Symbol;if(n&&n.iterator)fl=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(qe(X[i.index])):i.index;let M=null;if(!a&&l&&(M=function Zk(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,t,r,i.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=o,M.__ngLastListenerFn__=o,f=!1;else{o=Bv(i,t,d,o,!1);const X=e.listen(v,r,o);h.push(o,X),u&&u.push(r,b,D,D+1)}}else o=Bv(i,t,d,o,!1);const p=i.outputs;let m;if(f&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let v=0;v0;)t=t[15],n--;return t}(n,z.lFrame.contextLView))[8]}(n)}function Qk(n,t){let e=null;const i=function DR(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let r=0;r=0}function Ji(n,t,e){return vn(n,t,e,!1),Ji}function $e(n,t){return vn(n,t,null,!0),$e}function vn(n,t,e,i){const r=w(),o=se(),s=Kn(2);o.firstUpdatePass&&function ib(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[wt()],s=function nb(n,t){return t>=n.expandoStartIndex}(n,e);(function ab(n,t){return 0!=(n.flags&(t?16:32))})(o,i)&&null===t&&!s&&(t=!1),t=function cF(n,t,e,i){const r=rd(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=fs(e=Hh(null,n,t,e,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==r)if(e=Hh(r,n,t,e,i),null===o){let l=function uF(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==ei(i))return n[yn(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=Hh(null,n,t,l[1],i),l=fs(l,t.attrs,i),function dF(n,t,e,i){n[yn(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else o=function hF(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(c=!0)}else u=e;if(r)if(0!==l){const h=yn(n[a+1]);n[i+1]=rl(h,a),0!==h&&(n[h+1]=ch(n[h+1],i)),n[a+1]=function KR(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=rl(a,0),0!==a&&(n[a+1]=ch(n[a+1],i)),a=i;else n[i+1]=rl(l,0),0===a?a=i:n[l+1]=ch(n[l+1],i),l=i;c&&(n[i+1]=lh(n[i+1])),Yv(n,u,i,!0),Yv(n,u,i,!1),function Jk(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&Ur(o,t)>=0&&(e[i+1]=uh(e[i+1]))}(t,u,n,i,o),s=rl(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,e,s,i)}}(o,n,s,i),t!==G&&mt(r,s,t)&&function ob(n,t,e,i,r,o,s,a){if(!(3&t.type))return;const l=n.data,c=l[a+1];gl(function Xy(n){return 1==(1&n)}(c)?sb(l,t,e,r,ei(c),s):void 0)||(gl(o)||function Qy(n){return 2==(2&n)}(c)&&(o=sb(l,null,e,r,a,s)),function px(n,t,e,i,r){if(t)r?n.addClass(e,i):n.removeClass(e,i);else{let o=-1===i.indexOf("-")?void 0:Ft.DashCase;null==r?n.removeStyle(e,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Ft.Important),n.setStyle(e,i,r,o))}}(i,s,xa(wt(),e),r,o))}(o,o.data[wt()],r,r[Y],n,r[s+1]=function mF(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=be($t(n)))),n}(t,e),i,s)}function Hh(n,t,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=n[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=e[r+1];h===G&&(h=d?he:void 0);let f=d?gd(h,i):u===i?h:void 0;if(c&&!gl(f)&&(f=gd(l,i)),gl(f)&&(a=f,s))return a;const p=n[r+1];r=s?yn(p):ei(p)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=gd(l,i))}return a}function gl(n){return void 0!==n}function ie(n,t=""){const e=w(),i=se(),r=n+22,o=i.firstCreatePass?Qr(i,r,1,t,null):i.data[r],s=e[r]=function Rd(n,t){return n.createText(t)}(e[Y],t);Ka(i,e,s,o),An(o,!1)}function Te(n){return On("",n,""),Te}function On(n,t,e){const i=w(),r=function eo(n,t,e,i){return mt(n,Fr(),e)?t+W(e)+i:G}(i,n,t,e);return r!==G&&ti(i,wt(),r),On}function jh(n,t,e,i,r,o,s){const a=w(),l=no(a,n,t,e,i,r,o,s);return l!==G&&ti(a,wt(),l),jh}function Uh(n,t,e,i,r,o,s,a,l){const c=w(),u=io(c,n,t,e,i,r,o,s,a,l);return u!==G&&ti(c,wt(),u),Uh}function $h(n,t,e){const i=w();return mt(i,Fr(),t)&&zt(se(),Ne(),i,n,t,i[Y],e,!0),$h}function _l(n,t,e){const i=w();if(mt(i,Fr(),t)){const o=se(),s=Ne();zt(o,s,i,n,t,wv(rd(o.data),s,i),e,!0)}return _l}const er=void 0;var PF=["en",[["a","p"],["AM","PM"],er],[["AM","PM"],er,er],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],er,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],er,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",er,"{1} 'at' {0}",er],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function OF(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let uo={};function Et(n){const t=function NF(n){return n.toLowerCase().replace(/_/g,"-")}(n);let e=Eb(t);if(e)return e;const i=t.split("-")[0];if(e=Eb(i),e)return e;if("en"===i)return PF;throw new C(701,!1)}function Eb(n){return n in uo||(uo[n]=Ee.ng&&Ee.ng.common&&Ee.ng.common.locales&&Ee.ng.common.locales[n]),uo[n]}var T=(()=>((T=T||{})[T.LocaleId=0]="LocaleId",T[T.DayPeriodsFormat=1]="DayPeriodsFormat",T[T.DayPeriodsStandalone=2]="DayPeriodsStandalone",T[T.DaysFormat=3]="DaysFormat",T[T.DaysStandalone=4]="DaysStandalone",T[T.MonthsFormat=5]="MonthsFormat",T[T.MonthsStandalone=6]="MonthsStandalone",T[T.Eras=7]="Eras",T[T.FirstDayOfWeek=8]="FirstDayOfWeek",T[T.WeekendRange=9]="WeekendRange",T[T.DateFormat=10]="DateFormat",T[T.TimeFormat=11]="TimeFormat",T[T.DateTimeFormat=12]="DateTimeFormat",T[T.NumberSymbols=13]="NumberSymbols",T[T.NumberFormats=14]="NumberFormats",T[T.CurrencyCode=15]="CurrencyCode",T[T.CurrencySymbol=16]="CurrencySymbol",T[T.CurrencyName=17]="CurrencyName",T[T.Currencies=18]="Currencies",T[T.Directionality=19]="Directionality",T[T.PluralCase=20]="PluralCase",T[T.ExtraData=21]="ExtraData",T))();const ho="en-US";let Sb=ho;class tr{}class Qb{}class Xb extends tr{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Th(this);const i=Lt(t);this._bootstrapComponents=Jn(i.bootstrap),this._r3Injector=$y(t,e,[{provide:tr,useValue:this},{provide:Yi,useValue:this.componentFactoryResolver}],be(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Zh extends Qb{constructor(t){super(),this.moduleType=t}create(t){return new Xb(this.moduleType,t)}}class PO extends tr{constructor(t,e,i){super(),this.componentFactoryResolver=new Th(this),this.instance=null;const r=new Ay([...t,{provide:tr,useValue:this},{provide:Yi,useValue:this.componentFactoryResolver}],e||tl(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function wl(n,t,e=null){return new PO(n,t,e).injector}let NO=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=Dy(0,e.type),r=i.length>0?wl([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=S({token:n,providedIn:"environment",factory:()=>new n(_(wi))}),n})();function Jb(n){n.getStandaloneInjector=t=>t.get(NO).getOrCreateStandaloneInjector(n)}function aC(n,t,e,i,r,o,s){const a=t+e;return Xi(n,a,r,o)?function Rn(n,t,e){return n[t]=e}(n,a+2,s?i.call(s,r,o):i(r,o)):function vs(n,t){const e=n[t];return e===G?void 0:e}(n,a+2)}function Xh(n,t){const e=se();let i;const r=n+22;e.firstCreatePass?(i=function tP(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=zi(i.type)),s=Jt(g);try{const a=Va(!1),l=o();return Va(a),function qk(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,w(),r,l),l}finally{Jt(s)}}function Jh(n,t,e,i){const r=n+22,o=w(),s=xr(o,r);return function bs(n,t){return n[1].data[t].pure}(o,r)?aC(o,function Ct(){const n=z.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}(),t,s.transform,e,i,s):s.transform(e,i)}function ef(n){return t=>{setTimeout(n,void 0,t)}}const xe=class sP extends ee{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),s=i;if(t&&"object"==typeof t){const l=t;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=ef(o),r&&(r=ef(r)),s&&(s=ef(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof et&&t.add(a),a}};function aP(){return this._results[Qi()]()}class tf{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Qi(),i=tf.prototype;i[e]||(i[e]=aP)}get changes(){return this._changes||(this._changes=new xe)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=jt(t);(this._changesDetected=!function cT(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=uP,n})();const lP=Cn,cP=class extends lP{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tViews,r=al(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(i)),vh(i,r,t),new ls(r)}};function uP(){return Dl(nt(),w())}function Dl(n,t){return 4&n.type?new cP(t,n,Kr(n,t)):null}let on=(()=>{class n{}return n.__NG_ELEMENT_ID__=dP,n})();function dP(){return fC(nt(),w())}const hP=on,dC=class extends hP{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return Kr(this._hostTNode,this._hostLView)}get injector(){return new Nr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ba(this._hostTNode,this._hostLView);if(h_(t)){const e=Pr(t,this._hostLView),i=Or(t);return new Nr(e[1].data[i+8],e)}return new Nr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=hC(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=t.createEmbeddedView(e||{},o);return this.insert(s,r),s}createComponent(t,e,i,r,o){const s=t&&!function Yo(n){return"function"==typeof n}(t);let a;if(s)a=e;else{const d=e||{};a=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?t:new cs(ge(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const h=(s?c:this.parentInjector).get(wi,null);h&&(o=h)}const u=l.create(c,r,void 0,o);return this.insert(u.hostView,a),u}insert(t,e){const i=t._lView,r=i[1];if(function RI(n){return mn(n[3])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[3],h=new dC(d,d[6],d[3]);h.detach(h.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;!function sx(n,t,e,i){const r=10+i,o=e.length;i>0&&(e[r-1][4]=t),i0)i.push(s[a/2]);else{const c=o[a+1],u=t[-l];for(let d=10;d{class n{constructor(e){this.appInits=e,this.resolve=Sl,this.reject=Sl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:a,error:l})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(_(Ml,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ds=new E("AppId",{providedIn:"root",factory:function LC(){return`${mf()}${mf()}${mf()}`}});function mf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const VC=new E("Platform Initializer"),Il=new E("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),BC=new E("appBootstrapListener"),rr=new E("AnimationModuleType");let jP=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const Pn=new E("LocaleId",{providedIn:"root",factory:()=>Ie(Pn,L.Optional|L.SkipSelf)||function UP(){return typeof $localize<"u"&&$localize.locale||ho}()});class zP{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let gf=(()=>{class n{compileModuleSync(e){return new Zh(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=Jn(Lt(e).declarations).reduce((s,a)=>{const l=ge(a);return l&&s.push(new cs(l)),s},[]);return new zP(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qP=(()=>Promise.resolve(0))();function _f(n){typeof Zone>"u"?qP.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class te{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new xe(!1),this.onMicrotaskEmpty=new xe(!1),this.onStable=new xe(!1),this.onError=new xe(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const r=this;if(r._nesting=0,r._outer=r._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;r._inner=r._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function KP(){let n=Ee.requestAnimationFrame,t=Ee.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function QP(n){const t=()=>{!function ZP(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Ee,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,vf(n),n.isCheckStableRunning=!0,yf(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),vf(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return UC(n),e.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),$C(n)}},onInvoke:(e,i,r,o,s,a,l)=>{try{return UC(n),e.invoke(r,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),$C(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,vf(n),yf(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!te.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(te.isInAngularZone())throw new C(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,YP,Sl,Sl);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const YP={};function yf(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function vf(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function UC(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function $C(n){n._nesting--,yf(n)}class XP{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new xe,this.onMicrotaskEmpty=new xe,this.onStable=new xe,this.onError=new xe}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}const zC=new E(""),Tl=new E("");let wf,bf=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,wf||(function JP(n){wf=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{te.assertNotInAngularZone(),_f(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())_f(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!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(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(_(te),_(Cf),_(Tl))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Cf=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return wf?.findTestabilityInTree(this,e,i)??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),Si=null;const WC=new E("AllowMultipleToken"),Df=new E("PlatformDestroyListeners");class GC{constructor(t,e){this.name=t,this.token=e}}function KC(n,t,e=[]){const i=`Platform: ${t}`,r=new E(i);return(o=[])=>{let s=Ef();if(!s||s.injector.get(WC,!1)){const a=[...e,...o,{provide:r,useValue:!0}];n?n(a):function nN(n){if(Si&&!Si.get(WC,!1))throw new C(400,!1);Si=n;const t=n.get(ZC);(function qC(n){const t=n.get(VC,null);t&&t.forEach(e=>e())})(n)}(function YC(n=[],t){return Oe.create({name:t,providers:[{provide:Qd,useValue:"platform"},{provide:Df,useValue:new Set([()=>Si=null])},...n]})}(a,i))}return function rN(n){const t=Ef();if(!t)throw new C(401,!1);return t}()}}function Ef(){return Si?.get(ZC)??null}let ZC=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function XC(n,t){let e;return e="noop"===n?new XP:("zone.js"===n?void 0:n)||new te(t),e}(i?.ngZone,function QC(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:te,useValue:r}];return r.run(()=>{const s=Oe.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(Xn,null);if(!l)throw new C(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{xl(this._modules,a),c.unsubscribe()})}),function JC(n,t,e){try{const i=e();return hs(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(Al);return c.runInitializers(),c.donePromise.then(()=>(function Mb(n){Nt(n,"Expected localeId to be defined"),"string"==typeof n&&(Sb=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Pn,ho)||ho),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=ew({},i);return function eN(n,t,e){const i=new Zh(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(mo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new C(403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(Df,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(_(Oe))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function ew(n,t){return Array.isArray(t)?t.reduce(ew,n):{...n,...t}}let mo=(()=>{class n{constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new _e(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new _e(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{te.assertNotInAngularZone(),_f(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{te.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Lu(o,s.pipe(Pg()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof Ty;if(!this._injector.get(Al).done)throw!r&&function Mr(n){const t=ge(n)||vt(n)||bt(n);return null!==t&&t.standalone}(e),new C(405,false);let s;s=r?e:this._injector.get(Yi).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function tN(n){return n.isBoundToModule}(s)?void 0:this._injector.get(tr),c=s.create(Oe.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(zC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),xl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;xl(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(BC,[]).concat(this._bootstrapListeners).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>xl(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new C(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(_(te),_(wi),_(Xn))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function xl(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let nw=!0,or=(()=>{class n{}return n.__NG_ELEMENT_ID__=aN,n})();function aN(n){return function lN(n,t,e){if(Ia(n)&&!e){const i=Ht(n.index,t);return new ls(i,i)}return 47&n.type?new ls(t[16],t):null}(nt(),w(),16==(16&n))}class aw{constructor(){}supports(t){return us(t)}create(t){return new pN(t)}}const fN=(n,t)=>t;class pN{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||fN}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const s=!i||e&&e.currentIndex{s=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new mN(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new lw),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new lw),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class mN{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class gN{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class lw{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new gN,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function cw(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||dw()),deps:[[n,new zr,new Ci]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new C(901,!1)}}return n.\u0275prov=S({token:n,providedIn:"root",factory:dw}),n})();const CN=KC(null,"core",[]);let wN=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(_(mo))},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})(),Ol=null;function Nn(){return Ol}const q=new E("DocumentToken");let Tf=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:function(){return function MN(){return _(fw)}()},providedIn:"platform"}),n})();const AN=new E("Location Initialized");let fw=(()=>{class n extends Tf{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Nn().getBaseHref(this._doc)}onPopState(e){const i=Nn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Nn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}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(e){this.location.pathname=e}pushState(e,i,r){pw()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){pw()?this._history.replaceState(e,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:function(){return function IN(){return new fw(_(q))}()},providedIn:"platform"}),n})();function pw(){return!!window.history.pushState}function xf(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function mw(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function ri(n){return n&&"?"!==n[0]?"?"+n:n}let ar=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:function(){return Ie(_w)},providedIn:"root"}),n})();const gw=new E("appBaseHref");let _w=(()=>{class n extends ar{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Ie(q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return xf(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+ri(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+ri(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+ri(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(_(Tf),_(gw,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),TN=(()=>{class n extends ar{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=xf(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+ri(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+ri(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(_(Tf),_(gw,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Ss=(()=>{class n{constructor(e){this._subject=new xe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=mw(yw(i)),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+ri(i))}normalize(e){return n.stripTrailingSlash(function RN(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,yw(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ri(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ri(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=ri,n.joinWithSlash=xf,n.stripTrailingSlash=mw,n.\u0275fac=function(e){return new(e||n)(_(ar))},n.\u0275prov=S({token:n,factory:function(){return function xN(){return new Ss(_(ar))}()},providedIn:"root"}),n})();function yw(n){return n.replace(/\/index.html$/,"")}var ze=(()=>((ze=ze||{})[ze.Format=0]="Format",ze[ze.Standalone=1]="Standalone",ze))(),re=(()=>((re=re||{})[re.Narrow=0]="Narrow",re[re.Abbreviated=1]="Abbreviated",re[re.Wide=2]="Wide",re[re.Short=3]="Short",re))(),Le=(()=>((Le=Le||{})[Le.Short=0]="Short",Le[Le.Medium=1]="Medium",Le[Le.Long=2]="Long",Le[Le.Full=3]="Full",Le))(),V=(()=>((V=V||{})[V.Decimal=0]="Decimal",V[V.Group=1]="Group",V[V.List=2]="List",V[V.PercentSign=3]="PercentSign",V[V.PlusSign=4]="PlusSign",V[V.MinusSign=5]="MinusSign",V[V.Exponential=6]="Exponential",V[V.SuperscriptingExponent=7]="SuperscriptingExponent",V[V.PerMille=8]="PerMille",V[V.Infinity=9]="Infinity",V[V.NaN=10]="NaN",V[V.TimeSeparator=11]="TimeSeparator",V[V.CurrencyDecimal=12]="CurrencyDecimal",V[V.CurrencyGroup=13]="CurrencyGroup",V))();function Pl(n,t){return an(Et(n)[T.DateFormat],t)}function Nl(n,t){return an(Et(n)[T.TimeFormat],t)}function Ll(n,t){return an(Et(n)[T.DateTimeFormat],t)}function sn(n,t){const e=Et(n),i=e[T.NumberSymbols][t];if(typeof i>"u"){if(t===V.CurrencyDecimal)return e[T.NumberSymbols][V.Decimal];if(t===V.CurrencyGroup)return e[T.NumberSymbols][V.Group]}return i}function bw(n){if(!n[T.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[T.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function an(n,t){for(let e=t;e>-1;e--)if(typeof n[e]<"u")return n[e];throw new Error("Locale data API: locale data undefined")}function kf(n){const[t,e]=n.split(":");return{hours:+t,minutes:+e}}const zN=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ms={},WN=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var at=(()=>((at=at||{})[at.Short=0]="Short",at[at.ShortGMT=1]="ShortGMT",at[at.Long=2]="Long",at[at.Extended=3]="Extended",at))(),H=(()=>((H=H||{})[H.FullYear=0]="FullYear",H[H.Month=1]="Month",H[H.Date=2]="Date",H[H.Hours=3]="Hours",H[H.Minutes=4]="Minutes",H[H.Seconds=5]="Seconds",H[H.FractionalSeconds=6]="FractionalSeconds",H[H.Day=7]="Day",H))(),Q=(()=>((Q=Q||{})[Q.DayPeriods=0]="DayPeriods",Q[Q.Days=1]="Days",Q[Q.Months=2]="Months",Q[Q.Eras=3]="Eras",Q))();function GN(n,t,e,i){let r=function t1(n){if(Dw(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){const[r,o=1,s=1]=n.split("-").map(a=>+a);return Vl(r,o-1,s)}const e=parseFloat(n);if(!isNaN(n-e))return new Date(e);let i;if(i=n.match(zN))return function n1(n){const t=new Date(0);let e=0,i=0;const r=n[8]?t.setUTCFullYear:t.setFullYear,o=n[8]?t.setUTCHours:t.setHours;n[9]&&(e=Number(n[9]+n[10]),i=Number(n[9]+n[11])),r.call(t,Number(n[1]),Number(n[2])-1,Number(n[3]));const s=Number(n[4]||0)-e,a=Number(n[5]||0)-i,l=Number(n[6]||0),c=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return o.call(t,s,a,l,c),t}(i)}const t=new Date(n);if(!Dw(t))throw new Error(`Unable to convert "${n}" into a date`);return t}(n);t=oi(e,t)||t;let a,s=[];for(;t;){if(a=WN.exec(t),!a){s.push(t);break}{s=s.concat(a.slice(1));const u=s.pop();if(!u)break;t=u}}let l=r.getTimezoneOffset();i&&(l=ww(i,l),r=function e1(n,t,e){const i=e?-1:1,r=n.getTimezoneOffset();return function JN(n,t){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+t),n}(n,i*(ww(t,r)-r))}(r,i,!0));let c="";return s.forEach(u=>{const d=function XN(n){if(Of[n])return Of[n];let t;switch(n){case"G":case"GG":case"GGG":t=Ae(Q.Eras,re.Abbreviated);break;case"GGGG":t=Ae(Q.Eras,re.Wide);break;case"GGGGG":t=Ae(Q.Eras,re.Narrow);break;case"y":t=Ze(H.FullYear,1,0,!1,!0);break;case"yy":t=Ze(H.FullYear,2,0,!0,!0);break;case"yyy":t=Ze(H.FullYear,3,0,!1,!0);break;case"yyyy":t=Ze(H.FullYear,4,0,!1,!0);break;case"Y":t=Ul(1);break;case"YY":t=Ul(2,!0);break;case"YYY":t=Ul(3);break;case"YYYY":t=Ul(4);break;case"M":case"L":t=Ze(H.Month,1,1);break;case"MM":case"LL":t=Ze(H.Month,2,1);break;case"MMM":t=Ae(Q.Months,re.Abbreviated);break;case"MMMM":t=Ae(Q.Months,re.Wide);break;case"MMMMM":t=Ae(Q.Months,re.Narrow);break;case"LLL":t=Ae(Q.Months,re.Abbreviated,ze.Standalone);break;case"LLLL":t=Ae(Q.Months,re.Wide,ze.Standalone);break;case"LLLLL":t=Ae(Q.Months,re.Narrow,ze.Standalone);break;case"w":t=Ff(1);break;case"ww":t=Ff(2);break;case"W":t=Ff(1,!0);break;case"d":t=Ze(H.Date,1);break;case"dd":t=Ze(H.Date,2);break;case"c":case"cc":t=Ze(H.Day,1);break;case"ccc":t=Ae(Q.Days,re.Abbreviated,ze.Standalone);break;case"cccc":t=Ae(Q.Days,re.Wide,ze.Standalone);break;case"ccccc":t=Ae(Q.Days,re.Narrow,ze.Standalone);break;case"cccccc":t=Ae(Q.Days,re.Short,ze.Standalone);break;case"E":case"EE":case"EEE":t=Ae(Q.Days,re.Abbreviated);break;case"EEEE":t=Ae(Q.Days,re.Wide);break;case"EEEEE":t=Ae(Q.Days,re.Narrow);break;case"EEEEEE":t=Ae(Q.Days,re.Short);break;case"a":case"aa":case"aaa":t=Ae(Q.DayPeriods,re.Abbreviated);break;case"aaaa":t=Ae(Q.DayPeriods,re.Wide);break;case"aaaaa":t=Ae(Q.DayPeriods,re.Narrow);break;case"b":case"bb":case"bbb":t=Ae(Q.DayPeriods,re.Abbreviated,ze.Standalone,!0);break;case"bbbb":t=Ae(Q.DayPeriods,re.Wide,ze.Standalone,!0);break;case"bbbbb":t=Ae(Q.DayPeriods,re.Narrow,ze.Standalone,!0);break;case"B":case"BB":case"BBB":t=Ae(Q.DayPeriods,re.Abbreviated,ze.Format,!0);break;case"BBBB":t=Ae(Q.DayPeriods,re.Wide,ze.Format,!0);break;case"BBBBB":t=Ae(Q.DayPeriods,re.Narrow,ze.Format,!0);break;case"h":t=Ze(H.Hours,1,-12);break;case"hh":t=Ze(H.Hours,2,-12);break;case"H":t=Ze(H.Hours,1);break;case"HH":t=Ze(H.Hours,2);break;case"m":t=Ze(H.Minutes,1);break;case"mm":t=Ze(H.Minutes,2);break;case"s":t=Ze(H.Seconds,1);break;case"ss":t=Ze(H.Seconds,2);break;case"S":t=Ze(H.FractionalSeconds,1);break;case"SS":t=Ze(H.FractionalSeconds,2);break;case"SSS":t=Ze(H.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Hl(at.Short);break;case"ZZZZZ":t=Hl(at.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Hl(at.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Hl(at.Long);break;default:return null}return Of[n]=t,t}(u);c+=d?d(r,e,l):"''"===u?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Vl(n,t,e){const i=new Date(0);return i.setFullYear(n,t,e),i.setHours(0,0,0),i}function oi(n,t){const e=function kN(n){return Et(n)[T.LocaleId]}(n);if(Ms[e]=Ms[e]||{},Ms[e][t])return Ms[e][t];let i="";switch(t){case"shortDate":i=Pl(n,Le.Short);break;case"mediumDate":i=Pl(n,Le.Medium);break;case"longDate":i=Pl(n,Le.Long);break;case"fullDate":i=Pl(n,Le.Full);break;case"shortTime":i=Nl(n,Le.Short);break;case"mediumTime":i=Nl(n,Le.Medium);break;case"longTime":i=Nl(n,Le.Long);break;case"fullTime":i=Nl(n,Le.Full);break;case"short":const r=oi(n,"shortTime"),o=oi(n,"shortDate");i=Bl(Ll(n,Le.Short),[r,o]);break;case"medium":const s=oi(n,"mediumTime"),a=oi(n,"mediumDate");i=Bl(Ll(n,Le.Medium),[s,a]);break;case"long":const l=oi(n,"longTime"),c=oi(n,"longDate");i=Bl(Ll(n,Le.Long),[l,c]);break;case"full":const u=oi(n,"fullTime"),d=oi(n,"fullDate");i=Bl(Ll(n,Le.Full),[u,d])}return i&&(Ms[e][t]=i),i}function Bl(n,t){return t&&(n=n.replace(/\{([^}]+)}/g,function(e,i){return null!=t&&i in t?t[i]:e})),n}function Dn(n,t,e="-",i,r){let o="";(n<0||r&&n<=0)&&(r?n=1-n:(n=-n,o=e));let s=String(n);for(;s.length0||a>-e)&&(a+=e),n===H.Hours)0===a&&-12===e&&(a=12);else if(n===H.FractionalSeconds)return function qN(n,t){return Dn(n,3).substring(0,t)}(a,t);const l=sn(s,V.MinusSign);return Dn(a,t,l,i,r)}}function Ae(n,t,e=ze.Format,i=!1){return function(r,o){return function YN(n,t,e,i,r,o){switch(e){case Q.Months:return function PN(n,t,e){const i=Et(n),o=an([i[T.MonthsFormat],i[T.MonthsStandalone]],t);return an(o,e)}(t,r,i)[n.getMonth()];case Q.Days:return function ON(n,t,e){const i=Et(n),o=an([i[T.DaysFormat],i[T.DaysStandalone]],t);return an(o,e)}(t,r,i)[n.getDay()];case Q.DayPeriods:const s=n.getHours(),a=n.getMinutes();if(o){const c=function BN(n){const t=Et(n);return bw(t),(t[T.ExtraData][2]||[]).map(i=>"string"==typeof i?kf(i):[kf(i[0]),kf(i[1])])}(t),u=function HN(n,t,e){const i=Et(n);bw(i);const o=an([i[T.ExtraData][0],i[T.ExtraData][1]],t)||[];return an(o,e)||[]}(t,r,i),d=c.findIndex(h=>{if(Array.isArray(h)){const[f,p]=h,m=s>=f.hours&&a>=f.minutes,y=s0?Math.floor(r/60):Math.ceil(r/60);switch(n){case at.Short:return(r>=0?"+":"")+Dn(s,2,o)+Dn(Math.abs(r%60),2,o);case at.ShortGMT:return"GMT"+(r>=0?"+":"")+Dn(s,1,o);case at.Long:return"GMT"+(r>=0?"+":"")+Dn(s,2,o)+":"+Dn(Math.abs(r%60),2,o);case at.Extended:return 0===i?"Z":(r>=0?"+":"")+Dn(s,2,o)+":"+Dn(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${n}"`)}}}function Cw(n){return Vl(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))}function Ff(n,t=!1){return function(e,i){let r;if(t){const o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();r=1+Math.floor((s+o)/7)}else{const o=Cw(e),s=function QN(n){const t=Vl(n,0,1).getDay();return Vl(n,0,1+(t<=4?4:11)-t)}(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return Dn(r,n,sn(i,V.MinusSign))}}function Ul(n,t=!1){return function(e,i){return Dn(Cw(e).getFullYear(),n,sn(i,V.MinusSign),t)}}const Of={};function ww(n,t){n=n.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(e)?t:e}function Dw(n){return n instanceof Date&&!isNaN(n.valueOf())}function Aw(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}class _1{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ln=(()=>{class n{constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new _1(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),xw(a,r)}});for(let r=0,o=i.length;r{xw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(g(on),g(Cn),g(Fl))},n.\u0275dir=N({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function xw(n,t){n.context.$implicit=t.item}let zl=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new v1,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Rw("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Rw("ngIfElse",e),this._elseTemplateRef=e,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(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(g(on),g(Cn))},n.\u0275dir=N({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class v1{constructor(){this.$implicit=null,this.ngIf=null}}function Rw(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${be(t)}'.`)}class Hf{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Wl=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new Hf(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(g(on),g(Cn),g(Wl,9))},n.\u0275dir=N({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})();const F1=new E("DATE_PIPE_DEFAULT_TIMEZONE");let jf=(()=>{class n{constructor(e,i){this.locale=e,this.defaultTimezone=i}transform(e,i="mediumDate",r,o){if(null==e||""===e||e!=e)return null;try{return GN(e,i,o||this.locale,r??this.defaultTimezone??void 0)}catch(s){throw function En(n,t){return new C(2100,!1)}()}}}return n.\u0275fac=function(e){return new(e||n)(g(Pn,16),g(F1,24))},n.\u0275pipe=Rt({name:"date",type:n,pure:!0,standalone:!0}),n})(),Gl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})();const Pw="browser";let K1=(()=>{class n{}return n.\u0275prov=S({token:n,providedIn:"root",factory:()=>new Y1(_(q),window)}),n})();class Y1{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function Z1(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Nw(this.window.history)||Nw(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Nw(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class Lw{}class Gf extends class DL extends class SN{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function EN(n){Ol||(Ol=n)}(new Gf)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function EL(){return Ts=Ts||document.querySelector("base"),Ts?Ts.getAttribute("href"):null}();return null==e?null:function SL(n){Yl=Yl||document.createElement("a"),Yl.setAttribute("href",n);const t=Yl.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Ts=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Aw(document.cookie,t)}}let Yl,Ts=null;const Uw=new E("TRANSITION_ID"),AL=[{provide:Ml,useFactory:function ML(n,t,e){return()=>{e.get(Al).donePromise.then(()=>{const i=Nn(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const Zl=new E("EventManagerPlugins");let Ql=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),xs=(()=>{class n extends zw{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,r){e.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(Ww),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Ww))}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();function Ww(n){Nn().remove(n)}const qf={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/"},Kf=/%COMP%/g;function Xl(n,t,e){for(let i=0;i{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let Jl=(()=>{class n{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Yf(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case fn.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new PL(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case fn.ShadowDom:return new NL(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=Xl(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(_(Ql),_(xs),_(Ds))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class Yf{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(qf[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(Zw(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(Zw(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=qf[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=qf[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(Ft.DashCase|Ft.Important)?t.style.setProperty(e,i,r&Ft.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Ft.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Kw(i)):this.eventManager.addEventListener(t,e,Kw(i))}}function Zw(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class PL extends Yf{constructor(t,e,i,r){super(t),this.component=i;const o=Xl(r+"-"+i.id,i.styles,[]);e.addStyles(o),this.contentAttr=function kL(n){return"_ngcontent-%COMP%".replace(Kf,n)}(r+"-"+i.id),this.hostAttr=function FL(n){return"_nghost-%COMP%".replace(Kf,n)}(r+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class NL extends Yf{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Xl(r.id,r.styles,[]);for(let s=0;s{class n extends $w{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const Qw=["alt","control","meta","shift"],VL={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},BL={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let HL=(()=>{class n extends $w{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Nn().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),Qw.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=VL[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),Qw.forEach(s=>{s!==r&&(0,BL[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const zL=KC(CN,"browser",[{provide:Il,useValue:Pw},{provide:VC,useValue:function jL(){Gf.makeCurrent()},multi:!0},{provide:q,useFactory:function $L(){return function yx(n){jd=n}(document),document},deps:[]}]),eD=new E(""),tD=[{provide:Tl,useClass:class IL{addToWindow(t){Ee.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},Ee.getAllAngularTestabilities=()=>t.getAllTestabilities(),Ee.getAllAngularRootElements=()=>t.getAllRootElements(),Ee.frameworkStabilizers||(Ee.frameworkStabilizers=[]),Ee.frameworkStabilizers.push(i=>{const r=Ee.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?Nn().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:zC,useClass:bf,deps:[te,Cf,Tl]},{provide:bf,useClass:bf,deps:[te,Cf,Tl]}],nD=[{provide:Qd,useValue:"root"},{provide:Xn,useFactory:function UL(){return new Xn},deps:[]},{provide:Zl,useClass:LL,multi:!0,deps:[q,te,Il]},{provide:Zl,useClass:HL,multi:!0,deps:[q]},{provide:Jl,useClass:Jl,deps:[Ql,xs,Ds]},{provide:as,useExisting:Jl},{provide:zw,useExisting:xs},{provide:xs,useClass:xs,deps:[q]},{provide:Ql,useClass:Ql,deps:[Zl,te]},{provide:Lw,useClass:TL,deps:[]},[]];let iD=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:Ds,useValue:e.appId},{provide:Uw,useExisting:Ds},AL]}}}return n.\u0275fac=function(e){return new(e||n)(_(eD,12))},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[...nD,...tD],imports:[Gl,wN]}),n})(),rD=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:function(e){let i=null;return i=e?new e:function GL(){return new rD(_(q))}(),i},providedIn:"root"}),n})();typeof window<"u"&&window;let ec=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:function(e){let i=null;return i=e?new(e||n):_(aD),i},providedIn:"root"}),n})(),aD=(()=>{class n extends ec{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case pe.NONE:return i;case pe.HTML:return Tn(i,"HTML")?$t(i):vy(this._doc,String(i)).toString();case pe.STYLE:return Tn(i,"Style")?$t(i):i;case pe.SCRIPT:if(Tn(i,"Script"))return $t(i);throw new Error("unsafe value used in a script context");case pe.URL:return Tn(i,"URL")?$t(i):Xa(String(i));case pe.RESOURCE_URL:if(Tn(i,"ResourceURL"))return $t(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function Sx(n){return new vx(n)}(e)}bypassSecurityTrustStyle(e){return function Mx(n){return new bx(n)}(e)}bypassSecurityTrustScript(e){return function Ax(n){return new Cx(n)}(e)}bypassSecurityTrustUrl(e){return function Ix(n){return new wx(n)}(e)}bypassSecurityTrustResourceUrl(e){return function Tx(n){return new Dx(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:function(e){let i=null;return i=e?new e:function JL(n){return new aD(n.get(q))}(_(Oe)),i},providedIn:"root"}),n})();function k(...n){return Ge(n,Lo(n))}class ut extends ee{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}const tc=Po(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:eV}=Array,{getPrototypeOf:tV,prototype:nV,keys:iV}=Object;function lD(n){if(1===n.length){const t=n[0];if(eV(t))return{args:t,keys:null};if(function rV(n){return n&&"object"==typeof n&&tV(n)===nV}(t)){const e=iV(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}const{isArray:oV}=Array;function Xf(n){return $(t=>function sV(n,t){return oV(t)?n(...t):n(t)}(n,t))}function cD(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function Jf(...n){const t=Lo(n),e=Rg(n),{args:i,keys:r}=lD(n);if(0===i.length)return Ge([],t);const o=new _e(function aV(n,t,e=mi){return i=>{uD(t,()=>{const{length:r}=n,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=Ge(n[l],t);let u=!1;c.subscribe(ye(i,d=>{o[l]=d,u||(u=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,t,r?s=>cD(r,s):mi));return e?o.pipe(Xf(e)):o}function uD(n,t,e){n?$n(e,n,t):t()}function Rs(...n){return function lV(){return Er(1)}()(Ge(n,Lo(n)))}function nc(n){return new _e(t=>{xt(n()).subscribe(t)})}function go(n,t){const e=ae(n)?n:()=>n,i=r=>r.error(e());return new _e(t?r=>t.schedule(i,0,r):i)}function ep(){return Re((n,t)=>{let e=null;n._refCount++;const i=ye(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const r=n._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),t.unsubscribe()});n.subscribe(i),i.closed||(e=n.connect())})}class dD extends _e{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,gg(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new et;const e=this.getSubject();t.add(this.source.subscribe(ye(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),t.closed&&(this._connection=null,t=et.EMPTY)}return t}refCount(){return ep()(this)}}function Vn(n,t){return Re((e,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();e.subscribe(ye(i,l=>{r?.unsubscribe();let c=0;const u=o++;xt(n(l,u)).subscribe(r=ye(i,d=>i.next(t?t(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Mt(n){return n<=0?()=>zn:Re((t,e)=>{let i=0;t.subscribe(ye(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}function ic(...n){const t=Lo(n);return Re((e,i)=>{(t?Rs(n,e,t):Rs(n,e)).subscribe(i)})}function At(n,t){return Re((e,i)=>{let r=0;e.subscribe(ye(i,o=>n.call(t,o,r++)&&i.next(o)))})}function rc(n){return Re((t,e)=>{let i=!1;t.subscribe(ye(e,r=>{i=!0,e.next(r)},()=>{i||e.next(n),e.complete()}))})}function hD(n=cV){return Re((t,e)=>{let i=!1;t.subscribe(ye(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(n())))})}function cV(){return new tc}function Ai(n,t){const e=arguments.length>=2;return i=>i.pipe(n?At((r,o)=>n(r,o,i)):mi,Mt(1),e?rc(t):hD(()=>new tc))}function Ii(n,t){return ae(t)?tt(n,t,1):tt(n,1)}function Qe(n,t,e){const i=ae(n)||t||e?{next:n,error:t,complete:e}:n;return i?Re((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ye(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):mi}function si(n){return Re((t,e)=>{let o,i=null,r=!1;i=t.subscribe(ye(e,void 0,void 0,s=>{o=xt(n(s,si(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function uV(n,t,e,i,r){return(o,s)=>{let a=e,l=t,c=0;o.subscribe(ye(s,u=>{const d=c++;l=a?n(l,u,d):(a=!0,u),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function fD(n,t){return Re(uV(n,t,arguments.length>=2,!0))}function tp(n){return n<=0?()=>zn:Re((t,e)=>{let i=[];t.subscribe(ye(e,r=>{i.push(r),n{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function pD(n,t){const e=arguments.length>=2;return i=>i.pipe(n?At((r,o)=>n(r,o,i)):mi,tp(1),e?rc(t):hD(()=>new tc))}function mD(n){return $(()=>n)}function oc(n){return Re((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}const J="primary",ks=Symbol("RouteTitle");class hV{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function _o(n){return new hV(n)}function fV(n,t,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||i.lengthi[o]===r)}return n===t}function _D(n){return Array.prototype.concat.apply([],n)}function yD(n){return n.length>0?n[n.length-1]:null}function dt(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function Ti(n){return Nh(n)?n:hs(n)?Ge(Promise.resolve(n)):k(n)}const gV={exact:function CD(n,t,e){if(!cr(n.segments,t.segments)||!sc(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!n.children[i]||!CD(n.children[i],t.children[i],e))return!1;return!0},subset:wD},vD={exact:function _V(n,t){return Bn(n,t)},subset:function yV(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>gD(n[e],t[e]))},ignored:()=>!0};function bD(n,t,e){return gV[e.paths](n.root,t.root,e.matrixParams)&&vD[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function wD(n,t,e){return DD(n,t,t.segments,e)}function DD(n,t,e,i){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);return!(!cr(r,e)||t.hasChildren()||!sc(r,e,i))}if(n.segments.length===e.length){if(!cr(n.segments,e)||!sc(n.segments,e,i))return!1;for(const r in t.children)if(!n.children[r]||!wD(n.children[r],t.children[r],i))return!1;return!0}{const r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!!(cr(n.segments,r)&&sc(n.segments,r,i)&&n.children[J])&&DD(n.children[J],t,o,i)}}function sc(n,t,e){return t.every((i,r)=>vD[e](n[r].parameters,i.parameters))}class lr{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return CV.serialize(this)}}class ne{constructor(t,e){this.segments=t,this.children=e,this.parent=null,dt(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ac(this)}}class Fs{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=_o(this.parameters)),this._parameterMap}toString(){return AD(this)}}function cr(n,t){return n.length===t.length&&n.every((e,i)=>e.path===t[i].path)}let ED=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:function(){return new ip},providedIn:"root"}),n})();class ip{parse(t){const e=new xV(t);return new lr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Os(t.root,!0)}`,i=function EV(n){const t=Object.keys(n).map(e=>{const i=n[e];return Array.isArray(i)?i.map(r=>`${lc(e)}=${lc(r)}`).join("&"):`${lc(e)}=${lc(i)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${i}${"string"==typeof t.fragment?`#${function wV(n){return encodeURI(n)}(t.fragment)}`:""}`}}const CV=new ip;function ac(n){return n.segments.map(t=>AD(t)).join("/")}function Os(n,t){if(!n.hasChildren())return ac(n);if(t){const e=n.children[J]?Os(n.children[J],!1):"",i=[];return dt(n.children,(r,o)=>{o!==J&&i.push(`${o}:${Os(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function bV(n,t){let e=[];return dt(n.children,(i,r)=>{r===J&&(e=e.concat(t(i,r)))}),dt(n.children,(i,r)=>{r!==J&&(e=e.concat(t(i,r)))}),e}(n,(i,r)=>r===J?[Os(n.children[J],!1)]:[`${r}:${Os(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[J]?`${ac(n)}/${e[0]}`:`${ac(n)}/(${e.join("//")})`}}function SD(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function lc(n){return SD(n).replace(/%3B/gi,";")}function rp(n){return SD(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function cc(n){return decodeURIComponent(n)}function MD(n){return cc(n.replace(/\+/g,"%20"))}function AD(n){return`${rp(n.path)}${function DV(n){return Object.keys(n).map(t=>`;${rp(t)}=${rp(n[t])}`).join("")}(n.parameters)}`}const SV=/^[^\/()?;=#]+/;function uc(n){const t=n.match(SV);return t?t[0]:""}const MV=/^[^=?&#]+/,IV=/^[^&#]+/;class xV{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ne([],{}):new ne([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[J]=new ne(t,e)),i}parseSegment(){const t=uc(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(t),new Fs(cc(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=uc(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=uc(this.remaining);r&&(i=r,this.capture(i))}t[cc(e)]=cc(i)}parseQueryParam(t){const e=function AV(n){const t=n.match(MV);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function TV(n){const t=n.match(IV);return t?t[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=MD(e),o=MD(i);if(t.hasOwnProperty(r)){let s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=uc(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(":")):t&&(o=J);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[J]:new ne([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new C(4011,!1)}}function op(n){return n.segments.length>0?new ne([],{[J]:n}):n}function dc(n){const t={};for(const i of Object.keys(n.children)){const o=dc(n.children[i]);(o.segments.length>0||o.hasChildren())&&(t[i]=o)}return function RV(n){if(1===n.numberOfChildren&&n.children[J]){const t=n.children[J];return new ne(n.segments.concat(t.segments),t.children)}return n}(new ne(n.segments,t))}function ur(n){return n instanceof lr}function OV(n,t,e,i,r){if(0===e.length)return yo(t.root,t.root,t.root,i,r);const o=function xD(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new TD(!0,0,n);let t=0,e=!1;const i=n.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return dt(o.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new TD(e,t,i)}(e);return o.toRoot()?yo(t.root,t.root,new ne([],{}),i,r):function s(l){const c=function NV(n,t,e,i){if(n.isAbsolute)return new vo(t.root,!0,0);if(-1===i)return new vo(e,e===t.root,0);return function RD(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new C(4005,!1);r=i.segments.length}return new vo(i,!1,r-o)}(e,i+(Ps(n.commands[0])?0:1),n.numberOfDoubleDots)}(o,t,n.snapshot?._urlSegment,l),u=c.processChildren?Ls(c.segmentGroup,c.index,o.commands):ap(c.segmentGroup,c.index,o.commands);return yo(t.root,c.segmentGroup,u,i,r)}(n.snapshot?._lastPathIndex)}function Ps(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Ns(n){return"object"==typeof n&&null!=n&&n.outlets}function yo(n,t,e,i,r){let s,o={};i&&dt(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=n===t?e:ID(n,t,e);const a=op(dc(s));return new lr(a,o,r)}function ID(n,t,e){const i={};return dt(n.children,(r,o)=>{i[o]=r===t?e:ID(r,t,e)}),new ne(n.segments,i)}class TD{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Ps(i[0]))throw new C(4003,!1);const r=i.find(Ns);if(r&&r!==yD(i))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class vo{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function ap(n,t,e){if(n||(n=new ne([],{})),0===n.segments.length&&n.hasChildren())return Ls(n,t,e);const i=function VV(n,t,e){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;const s=n.segments[r],a=e[i];if(Ns(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!FD(l,c,s))return o;i+=2}else{if(!FD(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=ap(n.children[s],t,o))}),dt(n.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new ne(n.segments,r)}}function lp(n,t,e){const i=n.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[i]=lp(new ne([],{}),0,e))}),t}function kD(n){const t={};return dt(n,(e,i)=>t[i]=`${e}`),t}function FD(n,t,e){return n==e.path&&Bn(t,e.parameters)}class ai{constructor(t,e){this.id=t,this.url=e}}class cp extends ai{constructor(t,e,i="imperative",r=null){super(t,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class dr extends ai{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class hc extends ai{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class OD extends ai{constructor(t,e,i,r){super(t,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class HV extends ai{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jV extends ai{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class UV extends ai{constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class $V extends ai{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zV extends ai{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class WV{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class GV{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class qV{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class KV{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class YV{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ZV{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class PD{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ND{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=up(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){const e=up(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=dp(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return dp(t,this._root).map(e=>e.value)}}function up(n,t){if(n===t.value)return t;for(const e of t.children){const i=up(n,e);if(i)return i}return null}function dp(n,t){if(n===t.value)return[t];for(const e of t.children){const i=dp(n,e);if(i.length)return i.unshift(t),i}return[]}class li{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function bo(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class LD extends ND{constructor(t,e){super(t),this.snapshot=e,hp(this,t)}toString(){return this.snapshot.toString()}}function VD(n,t){const e=function XV(n,t){const s=new fc([],{},{},"",{},J,t,null,n.root,-1,{});return new HD("",new li(s,[]))}(n,t),i=new ut([new Fs("",{})]),r=new ut({}),o=new ut({}),s=new ut({}),a=new ut(""),l=new Wt(i,r,s,a,o,J,t,e.root);return l.snapshot=e.root,new LD(new li(l,[]),e)}class Wt{constructor(t,e,i,r,o,s,a,l){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe($(c=>c[ks]))??k(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe($(t=>_o(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe($(t=>_o(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function BD(n,t="emptyOnly"){const e=n.pathFromRoot;let i=0;if("always"!==t)for(i=e.length-1;i>=1;){const r=e[i],o=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function JV(n){return n.reduce((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class fc{constructor(t,e,i,r,o,s,a,l,c,u,d,h){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.[ks],this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._correctedLastPathIndex=h??u,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=_o(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class HD extends ND{constructor(t,e){super(e),this.url=t,hp(this,e)}toString(){return jD(this._root)}}function hp(n,t){t.value._routerState=n,t.children.forEach(e=>hp(n,e))}function jD(n){const t=n.children.length>0?` { ${n.children.map(jD).join(", ")} } `:"";return`${n.value}${t}`}function fp(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Bn(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),Bn(t.params,e.params)||n.params.next(e.params),function pV(n,t){if(n.length!==t.length)return!1;for(let e=0;eBn(e.parameters,t[i].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||pp(n.parent,t.parent))}function Vs(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=t.value;const r=function tB(n,t,e){return t.children.map(i=>{for(const r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return Vs(n,i,r);return Vs(n,i)})}(n,t,e);return new li(i,r)}{if(n.shouldAttach(t.value)){const o=n.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Vs(n,a)),s}}const i=function nB(n){return new Wt(new ut(n.url),new ut(n.params),new ut(n.queryParams),new ut(n.fragment),new ut(n.data),n.outlet,n.component,n)}(t.value),r=t.children.map(o=>Vs(n,o));return new li(i,r)}}const mp="ngNavigationCancelingError";function UD(n,t){const{redirectTo:e,navigationBehaviorOptions:i}=ur(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=$D(!1,0,t);return r.url=e,r.navigationBehaviorOptions=i,r}function $D(n,t,e){const i=new Error("NavigationCancelingError: "+(n||""));return i[mp]=!0,i.cancellationCode=t,e&&(i.url=e),i}function zD(n){return WD(n)&&ur(n.url)}function WD(n){return n&&n[mp]}class iB{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Bs,this.attachRef=null}}let Bs=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new iB,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const pc=!1;let hr=(()=>{class n{constructor(e,i,r,o,s){this.parentContexts=e,this.location=i,this.changeDetector=o,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new xe,this.deactivateEvents=new xe,this.attachEvents=new xe,this.detachEvents=new xe,this.name=r||J,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,pc);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,pc);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,pc);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new C(4013,pc);this._activatedRoute=e;const r=this.location,s=e._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new rB(e,a,r.injector);if(i&&function oB(n){return!!n.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=r.createComponent(c,r.length,l)}else this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(g(Bs),g(on),Lr("name"),g(or),g(wi))},n.\u0275dir=N({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),n})();class rB{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Wt?this.route:t===Bs?this.childContexts:this.parent.get(t,e)}}let gp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["ng-component"]],standalone:!0,features:[Jb],decls:1,vars:0,template:function(e,i){1&e&>(0,"router-outlet")},dependencies:[hr],encapsulation:2}),n})();function GD(n,t){return n.providers&&!n._injector&&(n._injector=wl(n.providers,t,`Route: ${n.path}`)),n._injector??t}function yp(n){const t=n.children&&n.children.map(yp),e=t?{...n,children:t}:{...n};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==J&&(e.component=gp),e}function ln(n){return n.outlet||J}function qD(n,t){const e=n.filter(i=>ln(i)===t);return e.push(...n.filter(i=>ln(i)!==t)),e}function Hs(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class uB{constructor(t,e,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),fp(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const r=bo(e);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),dt(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=bo(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=bo(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const r=bo(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new ZV(o.value.snapshot))}),t.children.length&&this.forwardEvent(new KV(t.value.snapshot))}activateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(fp(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),fp(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Hs(r.snapshot),l=a?.get(Yi)??null;s.attachRef=null,s.route=r,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,i)}}class KD{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class mc{constructor(t,e){this.component=t,this.route=e}}function dB(n,t,e){const i=n._root;return js(i,t?t._root:null,e,[i.value])}function Co(n,t){const e=Symbol(),i=t.get(n,e);return i===e?"function"!=typeof n||function aI(n){return null!==wa(n)}(n)?t.get(n):n:i}function js(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=bo(t);return n.children.forEach(s=>{(function fB(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function pB(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!cr(n.url,t.url);case"pathParamsOrQueryParamsChange":return!cr(n.url,t.url)||!Bn(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pp(n,t)||!Bn(n.queryParams,t.queryParams);default:return!pp(n,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new KD(i)):(o.data=s.data,o._resolvedData=s._resolvedData),js(n,t,o.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new mc(a.outlet.component,s))}else s&&Us(t,a,r),r.canActivateChecks.push(new KD(i)),js(n,null,o.component?a?a.children:null:e,i,r)})(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),dt(o,(s,a)=>Us(s,e.getContext(a),r)),r}function Us(n,t,e){const i=bo(n),r=n.value;dt(i,(o,s)=>{Us(o,r.component?t?t.children.getContext(s):null:t,e)}),e.canDeactivateChecks.push(new mc(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function $s(n){return"function"==typeof n}function vp(n){return n instanceof tc||"EmptyError"===n?.name}const gc=Symbol("INITIAL_VALUE");function wo(){return Vn(n=>Jf(n.map(t=>t.pipe(Mt(1),ic(gc)))).pipe($(t=>{for(const e of t)if(!0!==e){if(e===gc)return gc;if(!1===e||e instanceof lr)return e}return!0}),At(t=>t!==gc),Mt(1)))}function YD(n){return function lA(...n){return pg(n)}(Qe(t=>{if(ur(t))throw UD(0,t)}),$(t=>!0===t))}const bp={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ZD(n,t,e,i,r){const o=Cp(n,t,e);return o.matched?function RB(n,t,e,i){const r=t.canMatch;return r&&0!==r.length?k(r.map(s=>{const a=Co(s,n);return Ti(function bB(n){return n&&$s(n.canMatch)}(a)?a.canMatch(t,e):n.runInContext(()=>a(t,e)))})).pipe(wo(),YD()):k(!0)}(i=GD(t,i),t,e).pipe($(s=>!0===s?o:{...bp})):k(o)}function Cp(n,t,e){if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?{...bp}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(t.matcher||fV)(e,n,t);if(!r)return{...bp};const o={};dt(r.posParams,(a,l)=>{o[l]=a.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function _c(n,t,e,i,r="corrected"){if(e.length>0&&function OB(n,t,e){return e.some(i=>yc(n,t,i)&&ln(i)!==J)}(n,e,i)){const s=new ne(t,function FB(n,t,e,i){const r={};r[J]=i,i._sourceSegment=n,i._segmentIndexShift=t.length;for(const o of e)if(""===o.path&&ln(o)!==J){const s=new ne([],{});s._sourceSegment=n,s._segmentIndexShift=t.length,r[ln(o)]=s}return r}(n,t,i,new ne(e,n.children)));return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===e.length&&function PB(n,t,e){return e.some(i=>yc(n,t,i))}(n,e,i)){const s=new ne(n.segments,function kB(n,t,e,i,r,o){const s={};for(const a of i)if(yc(n,e,a)&&!r[ln(a)]){const l=new ne([],{});l._sourceSegment=n,l._segmentIndexShift="legacy"===o?n.segments.length:t.length,s[ln(a)]=l}return{...r,...s}}(n,t,e,i,n.children,r));return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:e}}const o=new ne(n.segments,n.children);return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}function yc(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function QD(n,t,e,i){return!!(ln(n)===i||i!==J&&yc(t,e,n))&&("**"===n.path||Cp(t,n,e).matched)}function XD(n,t,e){return 0===t.length&&!n.children[e]}const vc=!1;class bc{constructor(t){this.segmentGroup=t||null}}class JD{constructor(t){this.urlTree=t}}function zs(n){return go(new bc(n))}function eE(n){return go(new JD(n))}class BB{constructor(t,e,i,r,o){this.injector=t,this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const t=_c(this.urlTree.root,[],[],this.config).segmentGroup,e=new ne(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,J).pipe($(o=>this.createUrlTree(dc(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(si(o=>{if(o instanceof JD)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof bc?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,J).pipe($(r=>this.createUrlTree(dc(r),t.queryParams,t.fragment))).pipe(si(r=>{throw r instanceof bc?this.noMatchError(r):r}))}noMatchError(t){return new C(4002,vc)}createUrlTree(t,e,i){const r=op(t);return new lr(r,e,i)}expandSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe($(o=>new ne([],o))):this.expandSegment(t,i,e,i.segments,r,!0)}expandChildren(t,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return Ge(r).pipe(Ii(o=>{const s=i.children[o],a=qD(e,o);return this.expandSegmentGroup(t,a,s,o).pipe($(l=>({segment:l,outlet:o})))}),fD((o,s)=>(o[s.outlet]=s.segment,o),{}),pD())}expandSegment(t,e,i,r,o,s){return Ge(i).pipe(Ii(a=>this.expandSegmentAgainstRoute(t,e,i,a,r,o,s).pipe(si(c=>{if(c instanceof bc)return k(null);throw c}))),Ai(a=>!!a),si((a,l)=>{if(vp(a))return XD(e,r,o)?k(new ne([],{})):zs(e);throw a}))}expandSegmentAgainstRoute(t,e,i,r,o,s,a){return QD(r,e,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s):zs(e):zs(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?eE(o):this.lineralizeSegments(i,o).pipe(tt(s=>{const a=new ne(s,{});return this.expandSegment(t,a,e,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=Cp(e,r,o);if(!a)return zs(e);const d=this.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?eE(d):this.lineralizeSegments(r,d).pipe(tt(h=>this.expandSegment(t,e,i,h.concat(c),s,!1)))}matchSegmentAgainstRoute(t,e,i,r,o){return"**"===i.path?(t=GD(i,t),i.loadChildren?(i._loadedRoutes?k({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(t,i)).pipe($(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new ne(r,{})))):k(new ne(r,{}))):ZD(e,i,r,t).pipe(Vn(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=i._injector??t,i,r).pipe(tt(u=>{const d=u.injector??t,h=u.routes,{segmentGroup:f,slicedSegments:p}=_c(e,a,l,h),m=new ne(f.segments,f.children);if(0===p.length&&m.hasChildren())return this.expandChildren(d,h,m).pipe($(b=>new ne(a,b)));if(0===h.length&&0===p.length)return k(new ne(a,{}));const y=ln(i)===o;return this.expandSegment(d,m,h,p,y?J:o,!0).pipe($(D=>new ne(a.concat(D.segments),D.children)))})):zs(e)))}getChildConfig(t,e,i){return e.children?k({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?k({routes:e._loadedRoutes,injector:e._loadedInjector}):function xB(n,t,e,i){const r=t.canLoad;return void 0===r||0===r.length?k(!0):k(r.map(s=>{const a=Co(s,n);return Ti(function gB(n){return n&&$s(n.canLoad)}(a)?a.canLoad(t,e):n.runInContext(()=>a(t,e)))})).pipe(wo(),YD())}(t,e,i).pipe(tt(r=>r?this.configLoader.loadChildren(t,e).pipe(Qe(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function LB(n){return go($D(vc,3))}())):k({routes:[],injector:t})}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return k(i);if(r.numberOfChildren>1||!r.children[J])return go(new C(4e3,vc));r=r.children[J]}}applyRedirectCommands(t,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreateUrlTree(t,e,i,r){const o=this.createSegmentGroup(t,e.root,i,r);return new lr(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return dt(t,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=e[a]}else i[o]=r}),i}createSegmentGroup(t,e,i,r){const o=this.createSegments(t,e.segments,i,r);let s={};return dt(e.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,i,r)}),new ne(o,s)}createSegments(t,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){const r=i[e.path.substring(1)];if(!r)throw new C(4001,vc);return r}findOrReturn(t,e){let i=0;for(const r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}}class jB{}class zB{constructor(t,e,i,r,o,s,a,l){this.injector=t,this.rootComponentType=e,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const t=_c(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,J).pipe($(e=>{if(null===e)return null;const i=new fc([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},J,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new li(i,e),o=new HD(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(t){const e=t.value,i=BD(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(t,e,i):this.processSegment(t,e,i,i.segments,r)}processChildren(t,e,i){return Ge(Object.keys(i.children)).pipe(Ii(r=>{const o=i.children[r],s=qD(e,r);return this.processSegmentGroup(t,s,o,r)}),fD((r,o)=>r&&o?(r.push(...o),r):null),function dV(n,t=!1){return Re((e,i)=>{let r=0;e.subscribe(ye(i,o=>{const s=n(o,r++);(s||t)&&i.next(o),!s&&i.complete()}))})}(r=>null!==r),rc(null),pD(),$(r=>{if(null===r)return null;const o=tE(r);return function WB(n){n.sort((t,e)=>t.value.outlet===J?-1:e.value.outlet===J?1:t.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(t,e,i,r,o){return Ge(e).pipe(Ii(s=>this.processSegmentAgainstRoute(s._injector??t,s,i,r,o)),Ai(s=>!!s),si(s=>{if(vp(s))return XD(i,r,o)?k([]):k(null);throw s}))}processSegmentAgainstRoute(t,e,i,r,o){if(e.redirectTo||!QD(e,i,r,o))return k(null);let s;if("**"===e.path){const a=r.length>0?yD(r).parameters:{},l=iE(i)+r.length;s=k({snapshot:new fc(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,oE(e),ln(e),e.component??e._loadedComponent??null,e,nE(i),l,sE(e),l),consumedSegments:[],remainingSegments:[]})}else s=ZD(i,e,r,t).pipe($(({matched:a,consumedSegments:l,remainingSegments:c,parameters:u})=>{if(!a)return null;const d=iE(i)+l.length;return{snapshot:new fc(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,oE(e),ln(e),e.component??e._loadedComponent??null,e,nE(i),d,sE(e),d),consumedSegments:l,remainingSegments:c}}));return s.pipe(Vn(a=>{if(null===a)return k(null);const{snapshot:l,consumedSegments:c,remainingSegments:u}=a;t=e._injector??t;const d=e._loadedInjector??t,h=function GB(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(e),{segmentGroup:f,slicedSegments:p}=_c(i,c,u,h.filter(y=>void 0===y.redirectTo),this.relativeLinkResolution);if(0===p.length&&f.hasChildren())return this.processChildren(d,h,f).pipe($(y=>null===y?null:[new li(l,y)]));if(0===h.length&&0===p.length)return k([new li(l,[])]);const m=ln(e)===o;return this.processSegment(d,h,f,p,m?J:o).pipe($(y=>null===y?null:[new li(l,y)]))}))}}function qB(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function tE(n){const t=[],e=new Set;for(const i of n){if(!qB(i)){t.push(i);continue}const r=t.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):t.push(i)}for(const i of e){const r=tE(i.children);t.push(new li(i.value,r))}return t.filter(i=>!e.has(i))}function nE(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function iE(n){let t=n,e=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift??0;return e-1}function oE(n){return n.data||{}}function sE(n){return n.resolve||{}}function aE(n){return"string"==typeof n.title||null===n.title}function wp(n){return Vn(t=>{const e=n(t);return e?Ge(e).pipe($(()=>t)):k(t)})}let lE=(()=>{class n{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===J);return i}getResolvedTitleForRoute(e){return e.data[ks]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:function(){return Ie(cE)},providedIn:"root"}),n})(),cE=(()=>{class n extends lE{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return n.\u0275fac=function(e){return new(e||n)(_(rD))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class t2{}class r2 extends class n2{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const wc=new E("",{providedIn:"root",factory:()=>({})}),Dp=new E("ROUTES");let Ep=(()=>{class n{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return k(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Ti(e.loadComponent()).pipe(Qe(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),oc(()=>{this.componentLoaders.delete(e)})),r=new dD(i,()=>new ee).pipe(ep());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return k({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe($(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=_D(l.get(Dp,[],L.Self|L.Optional)));return{routes:c.map(yp),injector:l}}),oc(()=>{this.childrenLoaders.delete(i)})),s=new dD(o,()=>new ee).pipe(ep());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return Ti(e()).pipe(tt(i=>i instanceof Qb||Array.isArray(i)?k(i):Ge(this.compiler.compileModuleAsync(i))))}}return n.\u0275fac=function(e){return new(e||n)(_(Oe),_(gf))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class s2{}class a2{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function l2(n){throw n}function c2(n,t,e){return t.parse("/")}const u2={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},d2={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function dE(){const n=Ie(ED),t=Ie(Bs),e=Ie(Ss),i=Ie(Oe),r=Ie(gf),o=Ie(Dp,{optional:!0})??[],s=Ie(wc,{optional:!0})??{},a=Ie(cE),l=Ie(lE,{optional:!0}),c=Ie(s2,{optional:!0}),u=Ie(t2,{optional:!0}),d=new Ue(null,n,t,e,i,r,_D(o));return c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),d.titleStrategy=l??a,function h2(n,t){n.errorHandler&&(t.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(t.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(t.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(t.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(t.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(t.canceledNavigationResolution=n.canceledNavigationResolution)}(s,d),d}let Ue=(()=>{class n{constructor(e,i,r,o,s,a,l){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=r,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ee,this.errorHandler=l2,this.malformedUriErrorHandler=c2,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>k(void 0),this.urlHandlingStrategy=new a2,this.routeReuseStrategy=new r2,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(Ep),this.configLoader.onLoadEndListener=h=>this.triggerEvent(new GV(h)),this.configLoader.onLoadStartListener=h=>this.triggerEvent(new WV(h)),this.ngModule=s.get(tr),this.console=s.get(jP);const d=s.get(te);this.isNgZoneEnabled=d instanceof te&&te.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function mV(){return new lr(new ne([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=VD(this.currentUrlTree,this.rootComponentType),this.transitions=new ut({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(At(r=>0!==r.id),$(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),Vn(r=>{let o=!1,s=!1;return k(r).pipe(Qe(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Vn(a=>{const l=this.browserUrlTree.toString(),c=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return hE(a.source)&&(this.browserUrlTree=a.extractedUrl),k(a).pipe(Vn(d=>{const h=this.transitions.getValue();return i.next(new cp(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions.getValue()?zn:Promise.resolve(d)}),function HB(n,t,e,i){return Vn(r=>function VB(n,t,e,i,r){return new BB(n,t,e,i,r).apply()}(n,t,e,r.extractedUrl,i).pipe($(o=>({...r,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Qe(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},r.urlAfterRedirects=d.urlAfterRedirects}),function YB(n,t,e,i,r,o){return tt(s=>function $B(n,t,e,i,r,o,s="emptyOnly",a="legacy"){return new zB(n,t,e,i,r,s,a,o).recognize().pipe(Vn(l=>null===l?function UB(n){return new _e(t=>t.error(n))}(new jB):k(l)))}(n,t,e,s.urlAfterRedirects,i.serialize(s.urlAfterRedirects),i,r,o).pipe($(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),Qe(d=>{if(r.targetSnapshot=d.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const f=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(f,d)}this.browserUrlTree=d.urlAfterRedirects}const h=new HV(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);i.next(h)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:h,extractedUrl:f,source:p,restoredState:m,extras:y}=a,v=new cp(h,this.serializeUrl(f),p,m);i.next(v);const D=VD(f,this.rootComponentType).snapshot;return k(r={...a,targetSnapshot:D,urlAfterRedirects:f,extras:{...y,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),zn}),Qe(a=>{const l=new jV(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),$(a=>r={...a,guards:dB(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function wB(n,t){return tt(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?k({...e,guardsResult:!0}):function DB(n,t,e,i){return Ge(n).pipe(tt(r=>function TB(n,t,e,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?k(o.map(a=>{const l=Hs(t)??r,c=Co(a,l);return Ti(function vB(n){return n&&$s(n.canDeactivate)}(c)?c.canDeactivate(n,t,e,i):l.runInContext(()=>c(n,t,e,i))).pipe(Ai())})).pipe(wo()):k(!0)}(r.component,r.route,e,t,i)),Ai(r=>!0!==r,!0))}(s,i,r,n).pipe(tt(a=>a&&function mB(n){return"boolean"==typeof n}(a)?function EB(n,t,e,i){return Ge(t).pipe(Ii(r=>Rs(function MB(n,t){return null!==n&&t&&t(new qV(n)),k(!0)}(r.route.parent,i),function SB(n,t){return null!==n&&t&&t(new YV(n)),k(!0)}(r.route,i),function IB(n,t,e){const i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function hB(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(s)).filter(s=>null!==s).map(s=>nc(()=>k(s.guards.map(l=>{const c=Hs(s.node)??e,u=Co(l,c);return Ti(function yB(n){return n&&$s(n.canActivateChild)}(u)?u.canActivateChild(i,n):c.runInContext(()=>u(i,n))).pipe(Ai())})).pipe(wo())));return k(o).pipe(wo())}(n,r.path,e),function AB(n,t,e){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return k(!0);const r=i.map(o=>nc(()=>{const s=Hs(t)??e,a=Co(o,s);return Ti(function _B(n){return n&&$s(n.canActivate)}(a)?a.canActivate(t,n):s.runInContext(()=>a(t,n))).pipe(Ai())}));return k(r).pipe(wo())}(n,r.route,e))),Ai(r=>!0!==r,!0))}(i,o,n,t):k(a)),$(a=>({...e,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),Qe(a=>{if(r.guardsResult=a.guardsResult,ur(a.guardsResult))throw UD(0,a.guardsResult);const l=new UV(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),At(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),wp(a=>{if(a.guards.canActivateChecks.length)return k(a).pipe(Qe(l=>{const c=new $V(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),Vn(l=>{let c=!1;return k(l).pipe(function ZB(n,t){return tt(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return k(e);let o=0;return Ge(r).pipe(Ii(s=>function QB(n,t,e,i){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!aE(r)&&(o[ks]=r.title),function XB(n,t,e,i){const r=function JB(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===r.length)return k({});const o={};return Ge(r).pipe(tt(s=>function e2(n,t,e,i){const r=Hs(t)??i,o=Co(n,r);return Ti(o.resolve?o.resolve(t,e):r.runInContext(()=>o(t,e)))}(n[s],t,e,i).pipe(Ai(),Qe(a=>{o[s]=a}))),tp(1),mD(o),si(s=>vp(s)?zn:go(s)))}(o,n,t,i).pipe($(s=>(n._resolvedData=s,n.data=BD(n,e).resolve,r&&aE(r)&&(n.data[ks]=r.title),null)))}(s.route,i,n,t)),Qe(()=>o++),tp(1),tt(s=>o===r.length?k(e):zn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),Qe({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),Qe(l=>{const c=new zV(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),wp(a=>{const l=c=>{const u=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(c.routeConfig).pipe(Qe(d=>{c.component=d}),$(()=>{})));for(const d of c.children)u.push(...l(d));return u};return Jf(l(a.targetSnapshot.root)).pipe(rc(),Mt(1))}),wp(()=>this.afterPreactivation()),$(a=>{const l=function eB(n,t,e){const i=Vs(n,t._root,e?e._root:void 0);return new LD(i,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return r={...a,targetRouterState:l}}),Qe(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((n,t,e)=>$(i=>(new uB(t,i.targetRouterState,i.currentRouterState,e).activate(n),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),Qe({next(){o=!0},complete(){o=!0}}),oc(()=>{o||s||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),si(a=>{if(s=!0,WD(a)){zD(a)||(this.navigated=!0,this.restoreHistory(r,!0));const l=new hc(r.id,this.serializeUrl(r.extractedUrl),a.message,a.cancellationCode);if(i.next(l),zD(a)){const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||hE(r.source)};this.scheduleNavigation(c,"imperative",null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{this.restoreHistory(r,!0);const l=new OD(r.id,this.serializeUrl(r.extractedUrl),a,r.targetSnapshot??void 0);i.next(l);try{r.resolve(this.errorHandler(a))}catch(c){r.reject(c)}}return zn}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next({...this.transitions.value,...e})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{const r={replaceUrl:!0},o=e.state?.navigationId?e.state:null;if(o){const a={...o};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(r.state=a)}const s=this.parseUrl(e.url);this.scheduleNavigation(s,i,o,r)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){this.config=e.map(yp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=r||this.routerState.root,u=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),OV(c,this.currentUrlTree,e,d,u??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=ur(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function f2(n){for(let t=0;t{const o=e[r];return null!=o&&(i[r]=o),i},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new dr(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((h,f)=>{a=h,l=f});const u=++this.navigationId;let d;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),d=r&&r.\u0275routerPageId?r.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):d=0,this.setTransition({id:u,targetPageId:d,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e),o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",o):this.location.go(r,"",o)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===r?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i,r){const o=new hc(e.id,this.serializeUrl(e.extractedUrl),i,r);this.triggerEvent(o),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return n.\u0275fac=function(e){il()},n.\u0275prov=S({token:n,factory:function(){return dE()},providedIn:"root"}),n})();function hE(n){return"imperative"!==n}class fE{}let g2=(()=>{class n{constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(At(e=>e instanceof dr),Ii(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=wl(o.providers,e,`Route: ${o.path}`));const s=o._injector??e,a=o._loadedInjector??s;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?r.push(this.preloadConfig(s,o)):(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Ge(r).pipe(Er())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):k(null);const o=r.pipe(tt(s=>null===s?k(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));return i.loadComponent&&!i._loadedComponent?Ge([o,this.loader.loadComponent(i)]).pipe(Er()):o})}}return n.\u0275fac=function(e){return new(e||n)(_(Ue),_(gf),_(wi),_(fE),_(Ep))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ap=new E("");let pE=(()=>{class n{constructor(e,i,r={}){this.router=e,this.viewportScroller=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof cp?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof dr&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof PD&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new PD(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){il()},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();function Do(n,t){return{\u0275kind:n,\u0275providers:t}}function Ip(n){return[{provide:Dp,multi:!0,useValue:n}]}function gE(){const n=Ie(Oe);return t=>{const e=n.get(mo);if(t!==e.components[0])return;const i=n.get(Ue),r=n.get(_E);1===n.get(Tp)&&i.initialNavigation(),n.get(yE,null,L.Optional)?.setUpPreloading(),n.get(Ap,null,L.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const _E=new E("",{factory:()=>new ee}),Tp=new E("",{providedIn:"root",factory:()=>1});const yE=new E("");function b2(n){return Do(0,[{provide:yE,useExisting:g2},{provide:fE,useExisting:n}])}const vE=new E("ROUTER_FORROOT_GUARD"),C2=[Ss,{provide:ED,useClass:ip},{provide:Ue,useFactory:dE},Bs,{provide:Wt,useFactory:function mE(n){return n.routerState.root},deps:[Ue]},Ep];function w2(){return new GC("Router",Ue)}let bE=(()=>{class n{constructor(e){}static forRoot(e,i){return{ngModule:n,providers:[C2,[],Ip(e),{provide:vE,useFactory:M2,deps:[[Ue,new Ci,new zr]]},{provide:wc,useValue:i||{}},i?.useHash?{provide:ar,useClass:TN}:{provide:ar,useClass:_w},{provide:Ap,useFactory:()=>{const n=Ie(Ue),t=Ie(K1),e=Ie(wc);return e.scrollOffset&&t.setOffset(e.scrollOffset),new pE(n,t,e)}},i?.preloadingStrategy?b2(i.preloadingStrategy).\u0275providers:[],{provide:GC,multi:!0,useFactory:w2},i?.initialNavigation?A2(i):[],[{provide:CE,useFactory:gE},{provide:BC,multi:!0,useExisting:CE}]]}}static forChild(e){return{ngModule:n,providers:[Ip(e)]}}}return n.\u0275fac=function(e){return new(e||n)(_(vE,8))},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[gp]}),n})();function M2(n){return"guarded"}function A2(n){return["disabled"===n.initialNavigation?Do(3,[{provide:Ml,multi:!0,useFactory:()=>{const t=Ie(Ue);return()=>{t.setUpLocationChangeListener()}}},{provide:Tp,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Do(2,[{provide:Tp,useValue:0},{provide:Ml,multi:!0,deps:[Oe],useFactory:t=>{const e=t.get(AN,Promise.resolve());let i=!1;return()=>e.then(()=>new Promise(o=>{const s=t.get(Ue),a=t.get(_E);(function r(o){t.get(Ue).events.pipe(At(a=>a instanceof dr||a instanceof hc||a instanceof OD),$(a=>a instanceof dr||a instanceof hc&&(0===a.code||1===a.code)&&null),At(a=>null!==a),Mt(1)).subscribe(()=>{o()})})(()=>{o(!0),i=!0}),s.afterPreactivation=()=>(o(!0),i||a.closed?k(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const CE=new E("");let Mc=(()=>{class n{constructor(e,i){this.route=e,this.router=i,this.navs=[]}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}ngOnInit(){throw new Error("need impl")}isActiveHeader(e){const i=this.route.firstChild?.component?.name==e.component;return i&&(this.currentNav=e),i}selectHeader(e,i=[]){i.push(...e.path.split("/")),this.router.navigate(i)}choiceHeader(e){if(null!=this.currentNav){const i=this.navs.indexOf(this.currentNav);switch(e){case"KeyQ":this.selectHeader(i-1<0?this.navs[this.navs.length-1]:this.navs[i-1]);break;case"KeyE":this.selectHeader(i+1>=this.navs.length?this.navs[0]:this.navs[i+1])}}}}return n.\u0275fac=function(e){return new(e||n)(g(Wt),g(Ue))},n.\u0275cmp=ue({type:n,selectors:[["abs-navs-header"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})(),wE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["app-status-lower-header"]],decls:2,vars:0,template:function(e,i){1&e&&(F(0,"p"),ie(1,"status"),R())},encapsulation:2}),n})(),Eo=(()=>{class n{}return n.UNKNOWN=0,n.RESERVED=1,n.SYSSTATS=2,n.SPACESTATS=3,n.WIFI=4,n})(),xp=(()=>{class n{}return n.UNKNOWN=0,n.SELF=1,n.EXTERNAL=2,n})();class Ac{static getRandom(t,e){return Math.random()*(e-t)+t}static getRandomRound(t,e){return Math.round(this.getRandom(t,e))}}let DE=(()=>{class n{constructor(){this.events=new ut("{}"),console.log("random data to ws create"),setInterval(()=>{this.events.next(JSON.stringify({event:Eo.SYSSTATS,device:xp.SELF,data:{cpu:Ac.getRandom(0,99.9),mem:Ac.getRandom(0,400)}})),this.events.next(JSON.stringify({event:Eo.SPACESTATS,device:xp.SELF,data:{free:Ac.getRandom(0,40),total:50,format:"GB"}})),this.events.next(JSON.stringify({event:Eo.WIFI,device:xp.SELF,data:1==Ac.getRandomRound(1,2)?{state:"Connected",ap:"nyk",ip:"192.168.1.2"}:{state:"Disconnected",ap:"",ip:""}}))},1e3)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function T2(n,t){if(1&n){const e=lo();F(0,"p",6),ot("click",function(){const o=Rr(e).$implicit;return kr(we().selectHeader(o))}),ie(1),R()}if(2&n){const e=t.$implicit;$e("inactiveHeader",!we().isActiveHeader(e)),O(1),Te(e.name)}}let Rp,EE=(()=>{class n extends Mc{constructor(e,i,r){super(e,i),this.ws=r,this.cpu=0,this.mem=0,this.wifi="",super.navs=[{name:"status",path:"status",action:()=>{},component:wE.name},{name:"2",path:"2",action:()=>{},component:""},{name:"3",path:"3",action:()=>{},component:""}]}ngOnInit(){this.ws.events.pipe($(e=>JSON.parse(e))).subscribe(e=>{e.event==Eo.SYSSTATS&&(this.cpu=Math.round(e.data.cpu),this.mem=Math.round(e.data.mem)),e.event==Eo.WIFI&&(this.wifi=e.data.ip?`${e.data.state} to ${e.data.ap} (${e.data.ip})`:e.data.state)})}}return n.\u0275fac=function(e){return new(e||n)(g(Wt),g(Ue),g(DE))},n.\u0275cmp=ue({type:n,selectors:[["app-stats-header"]],features:[B],decls:14,vars:4,consts:[[2,"display","flex","align-items","center","justify-content","flex-start","padding-left","45px"],["style","text-transform: uppercase;font-weight: bold; margin-bottom: 0; margin-top: 5px; padding-left: 5px",3,"inactiveHeader","click",4,"ngFor","ngForOf"],[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","19.5%"],[1,"footer-text",2,"width","60%"],[2,"text-transform","uppercase","font-weight","bold","margin-bottom","0","margin-top","5px","padding-left","5px",3,"click"]],template:function(e,i){1&e&&(F(0,"div",0),Me(1,T2,2,3,"p",1),R(),gt(2,"router-outlet"),F(3,"div",2)(4,"div",3)(5,"div",4)(6,"span"),ie(7),R()(),F(8,"div",5)(9,"span"),ie(10),R()(),F(11,"div",4)(12,"span"),ie(13),R()()()()),2&e&&(O(1),Ce("ngForOf",i.navs),O(6),On("CPU ",i.cpu,"%"),O(3),Te(i.wifi),O(3),On("MEM ",i.mem,"MB"))},dependencies:[Ln,hr],encapsulation:2}),n})();try{Rp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Rp=!1}let Ws,fr,kp,Gt=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function q1(n){return n===Pw}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Rp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(_(Il))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Ic(n){return function x2(){if(null==Ws&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ws=!0}))}finally{Ws=Ws||!1}return Ws}()?n:!!n.capture}function R2(){if(null==fr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return fr=!1,fr;if("scrollBehavior"in document.documentElement.style)fr=!0;else{const n=Element.prototype.scrollTo;fr=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return fr}function ME(n){if(function k2(){if(null==kp){const n=typeof document<"u"?document.head:null;kp=!(!n||!n.createShadowRoot&&!n.attachShadow)}return kp}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Fp(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function pr(n){return n.composedPath?n.composedPath()[0]:n.target}function Op(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function IE(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function TE(n){return At((t,e)=>n<=e)}function B2(n,t){return n===t}function xc(n){return Re((t,e)=>{xt(n).subscribe(ye(e,()=>e.complete(),ga)),!e.closed&&t.subscribe(e)})}function Pp(n){return null!=n&&"false"!=`${n}`}function Np(n,t=0){return function H2(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function Rc(n){return Array.isArray(n)?n:[n]}function Xe(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Mo(n){return n instanceof Fe?n.nativeElement:n}let j2=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),xE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[j2]}),n})();class U2 extends et{constructor(t,e){super()}schedule(t,e=0){return this}}const kc={setInterval(n,t,...e){const{delegate:i}=kc;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=kc;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class Lp extends U2{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return kc.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&kc.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Dr(i,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const Vp={now:()=>(Vp.delegate||Date).now(),delegate:void 0};class Gs{constructor(t,e=Gs.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}}Gs.now=Vp.now;class Bp extends Gs{constructor(t,e=Gs.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const Fc=new Bp(Lp),$2=Fc,RE=new Set;let Ao,W2=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):q2}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function G2(n){if(!RE.has(n))try{Ao||(Ao=document.createElement("style"),Ao.setAttribute("type","text/css"),document.head.appendChild(Ao)),Ao.sheet&&(Ao.sheet.insertRule(`@media ${n} {body{ }}`,0),RE.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(_(Gt))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function q2(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let Hp=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new ee}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return kE(Rc(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=Jf(kE(Rc(e)).map(s=>this._registerQuery(s).observable));return o=Rs(o.pipe(Mt(1)),o.pipe(TE(1),function z2(n,t=Fc){return Re((e,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+n,u=t.now();if(u{o=c,s=t.now(),r||(r=t.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}(0))),o.pipe($(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new _e(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(ic(i),$(({matches:s})=>({query:e,matches:s})),xc(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(_(W2),_(te))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function kE(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}let Oc=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function X2(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function Q2(n){try{return n.frameElement}catch{return null}}(function sH(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(i&&(-1===NE(i)||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=NE(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function rH(n){let t=n.nodeName.toLowerCase(),e="input"===t&&n.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==o:"video"===r?-1!==o&&(null!==o||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function oH(n){return!function eH(n){return function nH(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function J2(n){let t=n.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(n)||function tH(n){return function iH(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||PE(n))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(_(Gt))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function PE(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let t=n.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function NE(n){if(!PE(n))return null;const t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class aH{constructor(t,e,i,r,o=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=0;i=0;i--){const r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Mt(1)).subscribe(t)}}let jp=(()=>{class n{constructor(e,i,r){this._checker=e,this._ngZone=i,this._document=r}create(e,i=!1){return new aH(e,this._checker,this._ngZone,this._document,i)}}return n.\u0275fac=function(e){return new(e||n)(_(Oc),_(te),_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function LE(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function VE(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const lH=new E("cdk-input-modality-detector-options"),cH={ignoreKeys:[18,17,224,91,16]},Io=Ic({passive:!0,capture:!0});let uH=(()=>{class n{constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new ut(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=pr(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(LE(s)?"keyboard":"mouse"),this._mostRecentTarget=pr(s))},this._onTouchstart=s=>{VE(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=pr(s))},this._options={...cH,...o},this.modalityDetected=this._modality.pipe(TE(1)),this.modalityChanged=this.modalityDetected.pipe(function V2(n,t=mi){return n=n??B2,Re((e,i)=>{let r,o=!0;e.subscribe(ye(i,s=>{const a=t(s);(o||!n(r,a))&&(o=!1,r=a,i.next(s))}))})}()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Io),r.addEventListener("mousedown",this._onMousedown,Io),r.addEventListener("touchstart",this._onTouchstart,Io)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Io),document.removeEventListener("mousedown",this._onMousedown,Io),document.removeEventListener("touchstart",this._onTouchstart,Io))}}return n.\u0275fac=function(e){return new(e||n)(_(Gt),_(te),_(q),_(lH,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const dH=new E("liveAnnouncerElement",{providedIn:"root",factory:function hH(){return null}}),fH=new E("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let HE=(()=>{class n{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let o,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==s&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o{class n{constructor(e,i,r,o,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,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 ee,this._rootNodeFocusAndBlurListener=a=>{for(let c=pr(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||0}monitor(e,i=!1){const r=Mo(e);if(!this._platform.isBrowser||1!==r.nodeType)return k(null);const o=ME(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new ee,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Mo(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=Mo(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=pr(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Pc),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Pc)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(xc(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Pc),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Pc),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let s=0;s{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Ie(Hp).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Up,jE,UE),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(Up,jE):2===i&&e.add(Up,UE)}}}return n.\u0275fac=function(e){return new(e||n)(_(Gt),_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mH=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(_($E))},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[xE]}),n})();const gH=["addListener","removeListener"],_H=["addEventListener","removeEventListener"],yH=["on","off"];function $p(n,t,e,i){if(ae(e)&&(i=e,e=void 0),i)return $p(n,t,e).pipe(Xf(i));const[r,o]=function CH(n){return ae(n.addEventListener)&&ae(n.removeEventListener)}(n)?_H.map(s=>a=>n[s](t,a,e)):function vH(n){return ae(n.addListener)&&ae(n.removeListener)}(n)?gH.map(zE(n,t)):function bH(n){return ae(n.on)&&ae(n.off)}(n)?yH.map(zE(n,t)):[];if(!r&&Pu(n))return tt(s=>$p(s,t,e))(xt(n));if(!r)throw new TypeError("Invalid event target");return new _e(s=>{const a=(...l)=>s.next(1o(a)})}function zE(n,t){return e=>i=>n[e](t,i)}const qs={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=qs;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=t(o=>{e=void 0,n(o)});return new et(()=>e?.(r))},requestAnimationFrame(...n){const{delegate:t}=qs;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=qs;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0};new class DH extends Bp{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class wH extends Lp{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=qs.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(qs.cancelAnimationFrame(e),t._scheduled=void 0)}});let zp,SH=1;const Lc={};function WE(n){return n in Lc&&(delete Lc[n],!0)}const MH={setImmediate(n){const t=SH++;return Lc[t]=!0,zp||(zp=Promise.resolve()),zp.then(()=>WE(t)&&n()),t},clearImmediate(n){WE(n)}},{setImmediate:AH,clearImmediate:IH}=MH,Vc={setImmediate(...n){const{delegate:t}=Vc;return(t?.setImmediate||AH)(...n)},clearImmediate(n){const{delegate:t}=Vc;return(t?.clearImmediate||IH)(n)},delegate:void 0};new class xH extends Bp{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class TH extends Lp{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=Vc.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Vc.clearImmediate(e),t._scheduled=void 0)}});function GE(n=0,t,e=$2){let i=-1;return null!=t&&(xg(t)?e=t:i=t),new _e(r=>{let o=function FH(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function qE(n,t=Fc){return function kH(n){return Re((t,e)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};t.subscribe(ye(e,c=>{i=!0,r=c,o||xt(n(c)).subscribe(o=ye(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>GE(n,t))}const OH=new E("cdk-dir-doc",{providedIn:"root",factory:function PH(){return Ie(q)}}),NH=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Wp=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new xe,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function LH(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?NH.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(_(OH,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ks=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})(),BH=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new ee,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new _e(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(qE(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):k()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(At(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Mo(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>$p(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(_(te),_(Gt),_(q,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Gp=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new ee,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(qE(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(_(Gt),_(te),_(q,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),KE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})(),YE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[Ks,KE,Ks,KE]}),n})();class qp{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Ys extends qp{constructor(t,e,i,r){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r}}class Kp extends qp{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class jH extends qp{constructor(t){super(),this.element=t instanceof Fe?t.nativeElement:t}}class Bc{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Ys?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Kp?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof jH?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class UH extends Bc{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||Oe.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=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Zs=(()=>{class n extends Bc{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new xe,this.attachDomPortal=o=>{const s=o.element,a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(o,i.length,e.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(g(Yi),g(on),g(q))},n.\u0275dir=N({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[B]}),n})(),Qs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})();const ZE=R2();class $H{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Xe(-this._previousScrollPosition.left),t.style.top=Xe(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),ZE&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ZE&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class zH{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class QE{enable(){}disable(){}attach(){}}function Yp(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function XE(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class WH{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Yp(e,[{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}}let GH=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new QE,this.close=s=>new zH(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new $H(this._viewportRuler,this._document),this.reposition=s=>new WH(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(_(BH),_(Gp),_(te),_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Zp{constructor(t){if(this.scrollStrategy=new QE,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class qH{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let JE=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),KH=(()=>{class n extends JE{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(_(q),_(te,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),YH=(()=>{class n extends JE{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=pr(o)},this._clickListener=o=>{const s=pr(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(_(q),_(Gt),_(te,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Hc=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Op()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new ee,this._outsidePointerEvents=new ee,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(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Mt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=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,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Xe(this._config.width),t.height=Xe(this._config.height),t.minWidth=Xe(this._config.minWidth),t.minHeight=Xe(this._config.minHeight),t.maxWidth=Xe(this._config.maxWidth),t.maxHeight=Xe(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="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(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=Rc(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(xc(Lu(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const e0="cdk-overlay-connected-position-bounding-box",ZH=/([A-Za-z%]+)$/;class QH{constructor(t,e,i,r,o){this._viewportRuler=e,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 ee,this._resizeSubscription=et.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(e0),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,e,a),u=this._getOverlayFit(c,e,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&mr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(e0),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r="start"==i.originX?s:a}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=n0(e);let{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let h=0-a,f=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.width),m=this._subtractOverflows(o.height,h,f),y=p*m;return{visibleArea:y,isCompletelyWithinViewport:o.width*o.height===y,fitsInViewportVertically:m===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,s=t0(this._overlayRef.getConfig().minHeight),a=t0(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportHorizontally||null!=a&&a<=o;return(t.fitsInViewportVertically||null!=s&&s<=r)&&c}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=n0(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0);let u=0,d=0;return u=r.width<=o.width?c||-s:t.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)h=i.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)d=t.x,u=i.right-t.x;else{const f=Math.min(i.right-t.x+i.left,t.x),p=this._lastBoundingBoxSize.width;u=2*f,d=t.x-f,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-p/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Xe(i.height),r.top=Xe(i.top),r.bottom=Xe(i.bottom),r.width=Xe(i.width),r.left=Xe(i.left),r.right=Xe(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Xe(o)),s&&(r.maxWidth=Xe(s))}this._lastBoundingBoxSize=i,mr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){mr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){mr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();mr(i,this._getExactOverlayY(e,t,u)),mr(i,this._getExactOverlayX(e,t,u))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Xe(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Xe(s.maxWidth):o&&(i.maxWidth="")),mr(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Xe(o.y),r}_getExactOverlayX(t,e,i){let s,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Xe(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:XE(t,i),isOriginOutsideView:Yp(t,i),isOverlayClipped:XE(e,i),isOverlayOutsideView:Yp(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Rc(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Fe)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function mr(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function t0(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(ZH);return e&&"px"!==e?null:parseFloat(t)}return n||null}function n0(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const r0="cdk-global-overlay-wrapper";class XH{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(r0),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",m="";l?m="flex-start":"center"===u?(m="center",h?p=d:f=d):h?"left"===u||"end"===u?(m="flex-end",f=d):("right"===u||"start"===u)&&(m="flex-start",p=d):"left"===u||"start"===u?(m="flex-start",f=d):("right"===u||"end"===u)&&(m="flex-end",p=d),t.position=this._cssPosition,t.marginLeft=l?"0":f,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":p,e.justifyContent=m,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(r0),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let JH=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new XH}flexibleConnectedTo(e){return new QH(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(_(Gp),_(q),_(Gt),_(Hc))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ej=0,xi=(()=>{class n{constructor(e,i,r,o,s,a,l,c,u,d,h,f){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=h,this._animationsModuleType=f}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new Zp(e);return s.direction=s.direction||this._directionality.value,new Xs(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+ej++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(mo)),new UH(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(_(GH),_(Hc),_(Yi),_(JH),_(KH),_(Oe),_(te),_(q),_(Wp),_(Ss),_(YH),_(rr,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const ij={provide:new E("cdk-connected-overlay-scroll-strategy"),deps:[xi],useFactory:function nj(n){return()=>n.scrollStrategies.reposition()}};let Qp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[xi,ij],imports:[Ks,Qs,YE,YE]}),n})();function rj(n,t){}class jc{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let o0=(()=>{class n extends Bc{constructor(e,i,r,o,s,a,l,c){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=c,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=u=>{this._portalOutlet.hasAttached();const d=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),d},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=r}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const r=Fp(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=Fp();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Fp())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return n.\u0275fac=function(e){return new(e||n)(g(Fe),g(jp),g(q,8),g(jc),g(Oc),g(te),g(Xs),g(Nc))},n.\u0275cmp=ue({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(e,i){if(1&e&&Cs(Zs,7),2&e){let r;nr(r=ir())&&(i._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,i){2&e&&rt("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[B],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&Me(0,rj,0,0,"ng-template",0)},dependencies:[Zs],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),n})();class Xp{constructor(t,e){this.overlayRef=t,this.config=e,this.closed=new ee,this.disableClose=e.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!IE(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(t,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this.overlayRef.dispose(),i.next(t),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",e=""){return this.overlayRef.updateSize({width:t,height:e}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}}const s0=new E("DialogScrollStrategy"),oj=new E("DialogData"),sj=new E("DefaultDialogConfig"),lj={provide:s0,deps:[xi],useFactory:function aj(n){return()=>n.scrollStrategies.block()}};let cj=0,a0=(()=>{class n{constructor(e,i,r,o,s,a){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ee,this._afterOpenedAtThisLevel=new ee,this._ariaHiddenElements=new Map,this.afterAllClosed=nc(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ic(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(e,i){(i={...this._defaultOptions||new jc,...i}).id=i.id||"cdk-dialog-"+cj++,i.id&&this.getDialogById(i.id);const o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new Xp(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(e,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){Jp(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){Jp(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),Jp(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new Zp({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){const o=r.injector||r.viewContainerRef?.injector,s=[{provide:jc,useValue:r},{provide:Xp,useValue:i},{provide:Xs,useValue:e}];let a;r.container?"function"==typeof r.container?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=o0;const l=new Ys(a,r.viewContainerRef,Oe.create({parent:o||this._injector,providers:s}),r.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof Cn){const s=this._createInjector(o,i,r,void 0);let a={$implicit:o.data,dialogRef:i};o.templateContext&&(a={...a,..."function"==typeof o.templateContext?o.templateContext():o.templateContext}),r.attachTemplatePortal(new Kp(e,null,a,s))}else{const s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new Ys(e,o.viewContainerRef,s,o.componentFactoryResolver));i.componentInstance=a.instance}}_createInjector(e,i,r,o){const s=e.injector||e.viewContainerRef?.injector,a=[{provide:oj,useValue:e.data},{provide:Xp,useValue:i}];return e.providers&&("function"==typeof e.providers?a.push(...e.providers(i,e,r)):a.push(...e.providers)),e.direction&&(!s||!s.get(Wp,null,L.Optional))&&a.push({provide:Wp,useValue:{value:e.direction,change:k()}}),Oe.create({parent:s||o,providers:a})}_removeOpenDialog(e,i){const r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){const o=i[r];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return n.\u0275fac=function(e){return new(e||n)(_(xi),_(Oe),_(sj,8),_(n,12),_(Hc),_(s0))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();function Jp(n,t){let e=n.length;for(;e--;)t(n[e])}let uj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[a0,lj],imports:[Qp,Qs,mH,Qs]}),n})();const hj=new E("mat-sanity-checks",{providedIn:"root",factory:function dj(){return!0}});let It=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Op()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(_($E),_(hj,8),_(q))},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[Ks,Ks]}),n})();function fj(n){return class extends n{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Pp(t)}}}function em(n,t){return class extends n{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function pj(n){return class extends n{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Pp(t)}}}let gj=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class _j{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const u0={enterDuration:225,exitDuration:150},tm=Ic({passive:!0}),d0=["mousedown","touchstart"],h0=["mouseup","mouseleave","touchend","touchcancel"];class vj{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Mo(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...u0,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function bj(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),a=t-r.left,l=e-r.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-s+"px",u.style.top=l-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);const d=window.getComputedStyle(u),f=d.transitionDuration,p="none"===d.transitionProperty||"0s"===f||"0s, 0s"===f,m=new _j(this,u,i,p);u.style.transform="scale3d(1, 1, 1)",m.state=0,i.persistent||(this._mostRecentTransientRipple=m);let y=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const v=()=>this._finishRippleTransition(m),D=()=>this._destroyRipple(m);u.addEventListener("transitionend",v),u.addEventListener("transitioncancel",D),y={onTransitionEnd:v,onTransitionCancel:D}}),this._activeRipples.set(m,y),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i={...u0,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Mo(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(d0))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(h0),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=LE(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(e=>{this._triggerElement.addEventListener(e,this,tm)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(d0.forEach(t=>{this._triggerElement.removeEventListener(t,this,tm)}),this._pointerUpEventsRegistered&&h0.forEach(t=>{this._triggerElement.removeEventListener(t,this,tm)}))}}const Cj=new E("mat-ripple-global-options");let f0=(()=>{class n{constructor(e,i,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new vj(this,i,e,r)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(g(Fe),g(te),g(Gt),g(Cj,8),g(rr,8))},n.\u0275dir=N({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&$e("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),wj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[It,It]}),n})();class p0{}const ci="*";function nm(n,t){return{type:7,name:n,definitions:t,options:{}}}function ea(n,t=null){return{type:4,styles:t,timings:n}}function m0(n,t=null){return{type:3,steps:n,options:t}}function g0(n,t=null){return{type:2,steps:n,options:t}}function Sn(n){return{type:6,styles:n,offset:null}}function ta(n,t,e){return{type:0,name:n,styles:t,options:e}}function na(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function _0(n=null){return{type:9,options:n}}function y0(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function v0(n){Promise.resolve().then(n)}class ia{constructor(t=0,e=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){v0(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class b0{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?v0(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==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(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function Ej(n,t){}const To={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Sj={dialogContainer:nm("dialogContainer",[ta("void, exit",Sn({opacity:0,transform:"scale(0.7)"})),ta("enter",Sn({transform:"none"})),na("* => enter",m0([ea("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",Sn({transform:"none",opacity:1})),y0("@*",_0(),{optional:!0})]),To),na("* => void, * => exit",m0([ea("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",Sn({opacity:0})),y0("@*",_0(),{optional:!0})]),To)])};class Uc{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=To.params.enterAnimationDuration,this.exitAnimationDuration=To.params.exitAnimationDuration}}let Mj=(()=>{class n extends o0{constructor(e,i,r,o,s,a,l,c){super(e,i,r,o,s,a,l,c),this._animationStateChanged=new xe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return n.\u0275fac=function(e){return new(e||n)(g(Fe),g(jp),g(q,8),g(Uc),g(Oc),g(te),g(Xs),g(Nc))},n.\u0275cmp=ue({type:n,selectors:[["ng-component"]],features:[B],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})(),Aj=(()=>{class n extends Mj{constructor(e,i,r,o,s,a,l,c,u){super(e,i,r,o,s,a,l,u),this._changeDetectorRef=c,this._state="enter"}_onAnimationDone({toState:e,totalTime:i}){"enter"===e?this._openAnimationDone(i):"exit"===e&&this._animationStateChanged.next({state:"closed",totalTime:i})}_onAnimationStart({toState:e,totalTime:i}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||To.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||To.params.exitAnimationDuration}}}}return n.\u0275fac=function(e){return new(e||n)(g(Fe),g(jp),g(q,8),g(Uc),g(Oc),g(te),g(Xs),g(or),g(Nc))},n.\u0275cmp=ue({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,i){1&e&&ml("@dialogContainer.start",function(o){return i._onAnimationStart(o)})("@dialogContainer.done",function(o){return i._onAnimationDone(o)}),2&e&&($h("id",i._config.id),rt("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),_l("@dialogContainer",i._getAnimationState()))},features:[B],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&Me(0,Ej,0,0,"ng-template",0)},dependencies:[Zs],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[Sj.dialogContainer]}}),n})();class C0{constructor(t,e,i){this._ref=t,this._containerInstance=i,this._afterOpened=new ee,this._beforeClosed=new ee,this._state=0,this.disableClose=e.disableClose,this.id=t.id,i._animationStateChanged.pipe(At(r=>"opened"===r.state),Mt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(At(r=>"closed"===r.state),Mt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Lu(this.backdropClick(),this.keydownEvents().pipe(At(r=>27===r.keyCode&&!this.disableClose&&!IE(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),function Ij(n,t,e){n._closeInteractionType=t,n.close(e)}(this,"keydown"===r.type?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(At(e=>"closing"===e.state),Mt(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let e=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",e=""){return this._ref.updateSize(t,e),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const w0=new E("MatDialogData"),Tj=new E("mat-dialog-default-options"),D0=new E("mat-dialog-scroll-strategy"),Rj={provide:D0,deps:[xi],useFactory:function xj(n){return()=>n.scrollStrategies.block()}};let kj=0,Fj=(()=>{class n{constructor(e,i,r,o,s,a,l,c,u,d){this._overlay=e,this._defaultOptions=r,this._parentDialog=o,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ee,this._afterOpenedAtThisLevel=new ee,this._idPrefix="mat-dialog-",this.afterAllClosed=nc(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ic(void 0))),this._scrollStrategy=a,this._dialog=i.get(a0)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,i){let r;(i={...this._defaultOptions||new Uc,...i}).id=i.id||`${this._idPrefix}${kj++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const o=this._dialog.open(e,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:Uc,useValue:i},{provide:jc,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])});return r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{const s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return n.\u0275fac=function(e){il()},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),$c=(()=>{class n extends Fj{constructor(e,i,r,o,s,a,l,c){super(e,i,o,a,l,s,C0,Aj,w0,c)}}return n.\u0275fac=function(e){return new(e||n)(_(xi),_(Oe),_(Ss,8),_(Tj,8),_(D0),_(n,12),_(Hc),_(rr,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),rm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=N({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),Oj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[$c,Rj],imports:[uj,Qp,Qs,It,It]}),n})(),ui=(()=>{class n{constructor(){this.keys=new ut("")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),om=(()=>{class n{constructor(e,i,r,o){this.data=e,this.ref=i,this.sanitazer=r,this.io=o}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}ngOnInit(){this.sub=this.io.keys.subscribe(e=>{"Enter"==e&&this.ref.close()})}}return n.\u0275fac=function(e){return new(e||n)(g(w0),g(C0),g(ec),g(ui))},n.\u0275cmp=ue({type:n,selectors:[["app-abs-app"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})(),Pj=(()=>{class n extends om{constructor(){super(...arguments),this.clockTxt="",this.inverval=null}ngOnInit(){super.ngOnInit(),this.genClock(),null==this.inverval&&(this.inverval=setInterval(()=>{this.genClock()},1e3))}genClock(){this.clockTxt=(new Date).toLocaleTimeString()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ke(n)))(i||n)}}(),n.\u0275cmp=ue({type:n,selectors:[["app-clock-app"]],features:[B],decls:4,vars:1,consts:[["mat-dialog-content",""],[2,"display","flex","justify-content","center"],[2,"font-family","TechMono, sans-serif","font-size","60px"]],template:function(e,i){1&e&&(F(0,"div",0)(1,"div",1)(2,"p",2),ie(3),R()()()),2&e&&(O(3),Te(i.clockTxt))},dependencies:[rm],encapsulation:2}),n})(),Nj=(()=>{class n extends om{constructor(){super(...arguments),this.content={}}ngOnInit(){super.ngOnInit(),this.content.url=this.sanitazer.bypassSecurityTrustResourceUrl(this.data.url)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ke(n)))(i||n)}}(),n.\u0275cmp=ue({type:n,selectors:[["iframe-opener"]],features:[B],decls:2,vars:1,consts:[["mat-dialog-content",""],["width","100%","height","100%",3,"src"]],template:function(e,i){1&e&&(F(0,"div",0),gt(1,"iframe",1),R()),2&e&&(O(1),Ce("src",i.content.url,qd))},dependencies:[rm]}),n})();const Lj=["menuItem"];let zc=(()=>{class n{constructor(){this.elements=[],this.elementsRight=[],this.currentSide="LEFT"}isSelected(e){const i=e==this.selected;if(i&&this.menuItems&&null!=this.selected){const r=this.menuItems.toArray(),o=this.elements.indexOf(this.selected);-1!==o&&r[o]&&r[o].nativeElement.scrollIntoView({behavior:"smooth",block:"center"})}return i}choiceItem(e){switch(this.currentSide){case"LEFT":return this.choiceLeft(e);case"RIGHT":return this.choiceRight(e)}}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}choiceLeft(e){if("LEFT"!=this.currentSide)return!1;let i=null==this.selected?0:this.elements.indexOf(this.selected);switch(e){case"KeyS":return i+1>=this.elements.length&&(i=-1),this.selected=this.elements[i+1],!0;case"KeyW":return i-1<0&&(i=this.elements.length),this.selected=this.elements[i-1],!0;case"Enter":return null!=this.selected&&this.selected.action(),!1}return!1}choiceRight(e){if("RIGHT"!=this.currentSide)return!1;let i=null==this.selectedRight?0:this.elementsRight.indexOf(this.selectedRight);switch(e){case"KeyS":return i+1>=this.elementsRight.length&&(i=-1),this.selectedRight=this.elementsRight[i+1],!0;case"KeyW":return i-1<0&&(i=this.elementsRight.length),this.selectedRight=this.elementsRight[i-1],!0;case"Enter":return null!=this.selectedRight&&this.selectedRight.action(),!1}return!1}ngOnInit(){throw new Error("need impl")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["ng-component"]],viewQuery:function(e,i){if(1&e&&Cs(Lj,5),2&e){let r;nr(r=ir())&&(i.menuItems=r)}},decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})();function Vj(n,t){if(1&n&&(F(0,"p",5),ie(1),R()),2&n){const e=t.$implicit,i=t.index,r=we().index,o=we();Ji("text-transform",o.caps?"uppercase":""),$e("keyboard_current",o.isCurrentKey(r,i)),O(1),Te(e)}}function Bj(n,t){if(1&n&&(F(0,"div",3),Me(1,Vj,2,5,"p",4),R()),2&n){const e=t.$implicit;O(1),Ce("ngForOf",e)}}let E0=(()=>{class n extends om{constructor(){super(...arguments),this.keyboard=[],this.keyboards={ru:["\u0439\u0446\u0443\u043a\u0435\u043d\u0433\u0448\u0449\u0437\u0445\u044a".split(""),"\u0444\u044b\u0432\u0430\u043f\u0440\u043e\u043b\u0434\u0436\u044d".split(""),"\u044f\u0447\u0441\u043c\u0438\u0442\u044c\u0431\u044e.,".split("")],en:["qwertyuiop[]".split(""),"asdfghjkl;'\"".split(""),"zxcvbnm,./".split("")]},this.current="ru",this.text="",this.caps=!1,this.x=0,this.y=0}isCurrentKey(e,i){return e==this.x&&i==this.y}createKeyboard(){this.x=0,this.y=0,this.keyboard=[],this.keyboard.push("1234567890-=".split("").concat(["<--"])),this.keyboards[this.current].forEach(e=>{this.keyboard.push(e)}),this.keyboard.push(["change","caps","space","wipe","exit","save"])}closeKeyboard(e=!1){this.ref.close(e?this.text:null)}ngOnInit(){this.createKeyboard(),this.sub=this.io.keys.subscribe(e=>{switch(e){case"KeyW":return this.x<=0&&(this.x=this.keyboard.length),this.x--,void(this.keyboard[this.x].length=this.keyboard.length-1&&(this.x=-1),this.x++,this.keyboard[this.x].length=this.keyboard[this.x].length-1&&(this.y=-1),this.y++;break;case"Enter":{const i=this.keyboard[this.x][this.y];switch(i){case"change":switch(this.current){case"en":this.current="ru";break;case"ru":this.current="en"}this.createKeyboard();break;case"caps":this.caps=!this.caps;break;case"wipe":this.text="";break;case"space":this.text+=" ";break;case"exit":this.closeKeyboard();break;case"save":this.closeKeyboard(!0);break;case"<--":this.text=this.text.slice(0,-1);break;default:this.text+=this.caps?i.toUpperCase():i}break}}})}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ke(n)))(i||n)}}(),n.\u0275cmp=ue({type:n,selectors:[["app-keyboard"]],features:[B],decls:7,vars:2,consts:[["mat-dialog-content",""],[2,"display","flex","justify-content","center","height","150px","word-break","break-all","align-items","center","border","1px solid rgb(0 242 0 / 30%)"],["style","display: flex; flex-direction: row; justify-content: space-between",4,"ngFor","ngForOf"],[2,"display","flex","flex-direction","row","justify-content","space-between"],["class","keyboard_key",3,"keyboard_current","text-transform",4,"ngFor","ngForOf"],[1,"keyboard_key"]],template:function(e,i){1&e&&(F(0,"div",0)(1,"div")(2,"div",1)(3,"p"),ie(4),R()(),F(5,"div"),Me(6,Bj,2,1,"div",2),R()()()),2&e&&(O(4),Te(i.text),O(2),Ce("ngForOf",i.keyboard))},dependencies:[Ln,rm],encapsulation:2}),n})(),Wc=(()=>{class n{constructor(e){this.dialog=e,this.inApp=!1}openApp(e,i={}){return this.inApp=!0,this.dialog.open(e,{width:"100%",height:"100%",disableClose:!0,data:i}).afterClosed()}openKeyboard(){return this.openApp(E0)}}return n.\u0275fac=function(e){return new(e||n)(_($c))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class M0{}class A0{}class di{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof di?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new di;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof di?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Hj{encodeKey(t){return I0(t)}encodeValue(t){return I0(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const Uj=/%(\d[a-f0-9])/gi,$j={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function I0(n){return encodeURIComponent(n).replace(Uj,(t,e)=>$j[e]??t)}function Gc(n){return`${n}`}class Ri{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Hj,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function jj(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(Gc):[Gc(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Ri({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(Gc(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(Gc(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class zj{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function T0(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function x0(n){return typeof Blob<"u"&&n instanceof Blob}function R0(n){return typeof FormData<"u"&&n instanceof FormData}class ra{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function Wj(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?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.headers||(this.headers=new di),this.context||(this.context=new zj),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ad.set(h,t.setHeaders[h]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((d,h)=>d.set(h,t.setParams[h]),c)),new ra(e,i,o,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:s})}}var Je=(()=>((Je=Je||{})[Je.Sent=0]="Sent",Je[Je.UploadProgress=1]="UploadProgress",Je[Je.ResponseHeader=2]="ResponseHeader",Je[Je.DownloadProgress=3]="DownloadProgress",Je[Je.Response=4]="Response",Je[Je.User=5]="User",Je))();class sm{constructor(t,e=200,i="OK"){this.headers=t.headers||new di,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class am extends sm{constructor(t={}){super(t),this.type=Je.ResponseHeader}clone(t={}){return new am({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class qc extends sm{constructor(t={}){super(t),this.type=Je.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new qc({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class k0 extends sm{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function lm(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Kc=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ra)o=e;else{let l,c;l=r.headers instanceof di?r.headers:new di(r.headers),r.params&&(c=r.params instanceof Ri?r.params:new Ri({fromObject:r.params})),o=new ra(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=k(o).pipe(Ii(l=>this.handler.handle(l)));if(e instanceof ra||"events"===r.observe)return s;const a=s.pipe(At(l=>l instanceof qc));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe($(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe($(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe($(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe($(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Ri).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,lm(r,i))}post(e,i,r={}){return this.request("POST",e,lm(r,i))}put(e,i,r={}){return this.request("PUT",e,lm(r,i))}}return n.\u0275fac=function(e){return new(e||n)(_(M0))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class F0{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const O0=new E("HTTP_INTERCEPTORS");let qj=(()=>{class n{intercept(e,i){return i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const Kj=/^\)\]\}',?\n/;let P0=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _e(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((f,p)=>r.setRequestHeader(f,p.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const f=e.detectContentTypeHeader();null!==f&&r.setRequestHeader("Content-Type",f)}if(e.responseType){const f=e.responseType.toLowerCase();r.responseType="json"!==f?f:"text"}const o=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const f=r.statusText||"OK",p=new di(r.getAllResponseHeaders()),m=function Yj(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new am({headers:p,status:r.status,statusText:f,url:m}),s},l=()=>{let{headers:f,status:p,statusText:m,url:y}=a(),v=null;204!==p&&(v=typeof r.response>"u"?r.responseText:r.response),0===p&&(p=v?200:0);let D=p>=200&&p<300;if("json"===e.responseType&&"string"==typeof v){const b=v;v=v.replace(Kj,"");try{v=""!==v?JSON.parse(v):null}catch(M){v=b,D&&(D=!1,v={error:M,text:v})}}D?(i.next(new qc({body:v,headers:f,status:p,statusText:m,url:y||void 0})),i.complete()):i.error(new k0({error:v,headers:f,status:p,statusText:m,url:y||void 0}))},c=f=>{const{url:p}=a(),m=new k0({error:f,status:r.status||0,statusText:r.statusText||"Unknown Error",url:p||void 0});i.error(m)};let u=!1;const d=f=>{u||(i.next(a()),u=!0);let p={type:Je.DownloadProgress,loaded:f.loaded};f.lengthComputable&&(p.total=f.total),"text"===e.responseType&&!!r.responseText&&(p.partialText=r.responseText),i.next(p)},h=f=>{let p={type:Je.UploadProgress,loaded:f.loaded};f.lengthComputable&&(p.total=f.total),i.next(p)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",d),null!==o&&r.upload&&r.upload.addEventListener("progress",h)),r.send(o),i.next({type:Je.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",d),null!==o&&r.upload&&r.upload.removeEventListener("progress",h)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(_(Lw))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const cm=new E("XSRF_COOKIE_NAME"),um=new E("XSRF_HEADER_NAME");class N0{}let Zj=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Aw(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(_(q),_(Il),_(cm))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),dm=(()=>{class n{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const r=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return i.handle(e);const o=this.tokenService.getToken();return null!==o&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,o)})),i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(_(N0),_(um))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Qj=(()=>{class n{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(O0,[]);this.chain=i.reduceRight((r,o)=>new F0(r,o),this.backend)}return this.chain.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(_(A0),_(Oe))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Xj=(()=>{class n{static disable(){return{ngModule:n,providers:[{provide:dm,useClass:qj}]}}static withOptions(e={}){return{ngModule:n,providers:[e.cookieName?{provide:cm,useValue:e.cookieName}:[],e.headerName?{provide:um,useValue:e.headerName}:[]]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[dm,{provide:O0,useExisting:dm,multi:!0},{provide:N0,useClass:Zj},{provide:cm,useValue:"XSRF-TOKEN"},{provide:um,useValue:"X-XSRF-TOKEN"}]}),n})(),Jj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[Kc,{provide:M0,useClass:Qj},P0,{provide:A0,useExisting:P0}],imports:[Xj.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),n})();const eU=["*"];let Yc;function oa(n){return function tU(){if(void 0===Yc&&(Yc=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(Yc=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Yc}()?.createHTML(n)||n}function L0(n){return Error(`Unable to find icon with the name "${n}"`)}function V0(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function B0(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class gr{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let Zc=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,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=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new gr(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const s=this._sanitizer.sanitize(pe.HTML,r);if(!s)throw B0(r);const a=oa(s);return this._addSvgIconConfig(e,i,new gr("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new gr(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(pe.HTML,i);if(!o)throw B0(i);const s=oa(o);return this._addSvgIconSetConfig(e,new gr("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(pe.RESOURCE_URL,e);if(!i)throw V0(e);const r=this._cachedIconsByUrl.get(i);return r?k(Qc(r)):this._loadSvgIconFromConfig(new gr(e,null)).pipe(Qe(o=>this._cachedIconsByUrl.set(i,o)),$(o=>Qc(o)))}getNamedSvgIcon(e,i=""){const r=H0(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):go(L0(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?k(Qc(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe($(i=>Qc(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?k(r):function S0(...n){const t=Rg(n),{args:e,keys:i}=lD(n),r=new _e(o=>{const{length:s}=e;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?cD(i,a):a),o.complete())}))}});return t?r.pipe(Xf(t)):r}(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(si(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(pe.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),k(null)})))).pipe($(()=>{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw L0(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Qe(i=>e.svgText=i),$(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?k(null):this._fetchIcon(e).pipe(Qe(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(oa(""));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(oa("")),r=e.attributes;for(let o=0;ooa(c)),oc(()=>this._inProgressUrlFetches.delete(s)),Pg());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(H0(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rt?t.pathname+t.search:""}}}),j0=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],cU=j0.map(n=>`[${n}]`).join(", "),uU=/^url\(['"]?#(.*?)['"]?\)$/;let U0=(()=>{class n extends oU{constructor(e,i,r,o,s,a){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=s,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=et.EMPTY,a&&(a.color&&(this.color=this.defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Pp(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(cU),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(uU):null;if(c){let u=r.get(a);u||(u=[],r.set(a,u)),u.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Mt(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(g(Fe),g(Zc),Lr("aria-hidden"),g(aU),g(Xn),g(sU,8))},n.\u0275cmp=ue({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(rt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),$e("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[B],ngContentSelectors:eU,decls:1,vars:0,template:function(e,i){1&e&&(Lh(),Vh(0))},styles:[".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}),n})(),dU=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[It,It]}),n})();function hU(n,t){if(1&n&&(F(0,"div")(1,"p",6),ie(2),R()()),2&n){const e=t.$implicit;$e("menu-selected",e==we().selected),O(2),Te(e.name)}}function fU(n,t){if(1&n&&(F(0,"mat-icon",7),ie(1),R()),2&n){const e=we();O(1),Te(e.selected.icon)}}let $0=(()=>{class n extends zc{constructor(e,i,r){super(),this.dialog=e,this.io=i,this.apps=r,this.elements=[{name:"ReloadUI",action:()=>location.reload(),matIcon:!0,icon:"help",about:"reload window"},{name:"Clock",action:()=>{this.openApp(Pj)},matIcon:!0,icon:"access_time",about:"\u0417\u0430\u0431\u044b\u0442\u044b\u0435 \u0447\u0430\u0441\u044b \u0441\u0430\u043c\u043e\u0433\u043e \u0442\u043e\u0434\u0434\u0430 \u0433\u043e\u0432\u0430\u0440\u0434\u0430. \u041e\u043d \u0437\u0430\u0431\u044b\u043b \u0438\u0445 \u0432 \u0441\u0432\u043e\u0435\u0439 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u0442\u043d\u043e\u0439 \u0438\u0433\u0440\u0435 \u043a\u0430\u043b\u043b\u0430\u0443\u044276."},{name:"KeyboardTest",action:()=>{this.openApp(E0)},matIcon:!0,icon:"help",about:"Keyboard input test"},{name:"Rick Roll",action:()=>{this.openApp(Nj,{url:"https://youtu.be/dQw4w9WgXcQ?output=embed"})},matIcon:!0,icon:"record_voice_over",about:"\u041d\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043b\u0443\u0447\u0448\u0435 \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0440\u0438\u043a\u0440\u043e\u043b\u043b\u0430"}],this.selected=this.elements[0]}createSub(){this.sub=this.io.keys.subscribe(e=>{this.apps.inApp||super.choiceItem(e)})}ngOnInit(){this.createSub()}openApp(e,i={}){this.apps.inApp=!0,this.dialog.open(e,{width:"100%",height:"100%",disableClose:!0,data:i}).afterClosed().subscribe(()=>this.apps.inApp=!1)}}return n.\u0275fac=function(e){return new(e||n)(g($c),g(ui),g(Wc))},n.\u0275cmp=ue({type:n,selectors:[["app-inventory-apps-component"]],features:[B],decls:9,vars:3,consts:[[2,"display","flex","flex-direction","row","justify-content","center","height","84%"],[2,"width","45%"],[3,"menu-selected",4,"ngFor","ngForOf"],[2,"width","45%","display","flex","flex-direction","column"],[2,"text-align","center"],["class","rotating-image","style","font-size: 100px; height: 100px; width: 100px",4,"ngIf"],[2,"margin","0 0"],[1,"rotating-image",2,"font-size","100px","height","100px","width","100px"]],template:function(e,i){1&e&&(F(0,"div",0)(1,"div",1),Me(2,hU,3,3,"div",2),R(),F(3,"div",3)(4,"div",4),Me(5,fU,2,1,"mat-icon",5),R(),F(6,"div")(7,"p"),ie(8),R()()()()),2&e&&(O(2),Ce("ngForOf",i.elements),O(3),Ce("ngIf",i.selected.matIcon),O(3),Te(i.selected.about))},dependencies:[Ln,zl,U0],encapsulation:2}),n})(),z0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["app-inventory-custom"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})();function pU(n,t){if(1&n){const e=lo();F(0,"p",7),ot("click",function(){const o=Rr(e).$implicit;return kr(we().selectHeader(o))}),ie(1),R()}if(2&n){const e=t.$implicit;$e("inactiveHeader",!we().isActiveHeader(e)),O(1),Te(e.name)}}let W0=(()=>{class n extends Mc{constructor(e,i,r,o,s){super(e,i),this.ws=r,this.io=o,this.apps=s,this.free=0,this.total=0,this.format="",this.path="inventory",super.navs=[{name:"apps",path:"apps",action:()=>{},component:$0.name},{name:"custom",path:"custom",action:()=>{},component:z0.name}]}selectHeader(e){super.selectHeader(e,[this.path])}ngOnInit(){this.ws.events.pipe($(e=>JSON.parse(e))).subscribe(e=>{e.event==Eo.SPACESTATS&&(this.free=Math.round(e.data.free),this.total=Math.round(e.data.total),this.format=e.data.format)}),this.sub=this.io.keys.subscribe(e=>{this.apps.inApp||super.choiceHeader(e)})}}return n.\u0275fac=function(e){return new(e||n)(g(Wt),g(Ue),g(DE),g(ui),g(Wc))},n.\u0275cmp=ue({type:n,selectors:[["app-inv-header"]],features:[B],decls:15,vars:4,consts:[[2,"display","flex","align-items","center","justify-content","flex-start","padding-left","45px"],["style","text-transform: uppercase;font-weight: bold; margin-bottom: 0; margin-top: 5px; padding-left: 5px",3,"inactiveHeader","click",4,"ngFor","ngForOf"],[2,"padding-top","2.5%"],[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","19.5%"],[1,"footer-text",2,"width","60%"],[2,"text-transform","uppercase","font-weight","bold","margin-bottom","0","margin-top","5px","padding-left","5px",3,"click"]],template:function(e,i){1&e&&(F(0,"div",0),Me(1,pU,2,3,"p",1),R(),F(2,"div",2),gt(3,"router-outlet"),R(),F(4,"div",3)(5,"div",4)(6,"div",5)(7,"span"),ie(8),R()(),F(9,"div",5)(10,"span"),ie(11,"\u0445\u0437 \u0447\u0442\u043e \u0442\u0443\u0442 \u043d\u0430\u0434\u043e"),R()(),F(12,"div",6)(13,"span"),ie(14,"nigger"),R()()()()),2&e&&(O(1),Ce("ngForOf",i.navs),O(7),jh("",i.free,"/",i.total,"",i.format,""))},dependencies:[Ln,hr],encapsulation:2}),n})(),G0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["app-map-header"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})(),q0=(()=>{class n{constructor(){this.name="",this.volume=.5,this.tracks=[],this.player=new Audio,this.player.addEventListener("ended",()=>{let e=this.tracks.pop();e&&this.playThis(e.src,e.name)})}playThis(e,i){this.player.src=e,this.player.volume=this.volume,this.name=i,this.player.play()}stop(){this.player.pause()}volumeUp(){this.volume>.9||(this.volume=this.volume+.1,this.player.volume=this.volume)}volumeDown(){this.volume<.1||(this.volume=this.volume-.1,this.player.volume=this.volume)}getVolume(){return Math.round(100*this.volume)}getTime(){return this.player.duration?this.player.duration<60?"0:"+Math.floor(this.player.currentTime)+" / 0:"+Math.floor(this.player.duration):Math.floor(this.player.currentTime)+" / "+Math.floor(this.player.duration):"0:00 / 0:00"}getName(){return this.name?"\u0421\u0435\u0439\u0447\u0430\u0441 \u0438\u0433\u0440\u0430\u0435\u0442: "+this.name:"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0438\u0433\u0440\u0430\u0435\u0442"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function mU(n,t){if(1&n&&(F(0,"div")(1,"p",6),ie(2),R()()),2&n){const e=t.$implicit,i=we();$e("menu-selected",e==i.selected&&"LEFT"==i.currentSide),O(2),Te(e.name)}}function gU(n,t){if(1&n&&(F(0,"div")(1,"p",6),ie(2),R()()),2&n){const e=t.$implicit,i=we();$e("menu-selected",e==i.selectedRight&&"RIGHT"==i.currentSide),O(2),Te(e.name)}}let _U=(()=>{class n extends zc{constructor(e,i){super(),this.player=e,this.io=i,this.elements=[{name:"niggers",src:"../../../../assets/music/pvz.mp3",action:()=>{this.play()}}],this.selected=this.elements[0],this.elementsRight=[{name:"STOP",action:()=>this.player.stop()},{name:"Volume UP",action:()=>this.player.volumeUp()},{name:"Volume DOWN",action:()=>this.player.volumeDown()}],this.selectedRight=this.elementsRight[0]}ngOnInit(){this.sub=this.io.keys.subscribe(e=>{switch(e){case"KeyA":this.currentSide="LEFT";break;case"KeyD":this.currentSide="RIGHT";break;default:super.choiceItem(e)}})}play(){this.player.playThis(this.selected.src,this.selected.name)}}return n.\u0275fac=function(e){return new(e||n)(g(q0),g(ui))},n.\u0275cmp=ue({type:n,selectors:[["app-radio"]],features:[B],decls:8,vars:2,consts:[[2,"display","flex","flex-direction","row","justify-content","center","height","81%","padding-top","7%"],[2,"width","45%"],[3,"menu-selected",4,"ngFor","ngForOf"],[2,"width","45%","display","flex","flex-direction","column"],[2,"text-align","center"],[1,"rotating-image",2,"font-size","100px","height","100px","width","100px"],[2,"margin","0 0"]],template:function(e,i){1&e&&(F(0,"div",0)(1,"div",1),Me(2,mU,3,3,"div",2),R(),F(3,"div",3)(4,"div",4)(5,"mat-icon",5),ie(6,"audiotrack"),R()(),Me(7,gU,3,3,"div",2),R()()),2&e&&(O(2),Ce("ngForOf",i.elements),O(5),Ce("ngForOf",i.elementsRight))},dependencies:[Ln,U0],encapsulation:2}),n})(),K0=(()=>{class n{constructor(e){this.player=e}}return n.\u0275fac=function(e){return new(e||n)(g(q0))},n.\u0275cmp=ue({type:n,selectors:[["app-radio-header"]],decls:12,vars:3,consts:[[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","65%"],[1,"footer-text",2,"width","9.5%","text-align","center"],[1,"footer-text",2,"width","24.5%","text-align","right"]],template:function(e,i){1&e&&(gt(0,"app-radio"),F(1,"div",0)(2,"div",1)(3,"div",2)(4,"span"),ie(5),R()(),F(6,"div",3)(7,"span"),ie(8),R()(),F(9,"div",4)(10,"span"),ie(11),R()()()()),2&e&&(O(5),Te(i.player.getName()),O(3),On("",i.player.getVolume()," %"),O(3),Te(i.player.getTime()))},dependencies:[_U],encapsulation:2}),n})();class hm extends ee{constructor(t=1/0,e=1/0,i=Vp){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;sJSON.parse(n.data),serializer:n=>JSON.stringify(n)};class fm extends Tu{constructor(t,e){if(super(),this._socket=null,t instanceof _e)this.destination=e,this.source=t;else{const i=this._config=Object.assign({},yU);if(this._output=new ee,"string"==typeof t)i.url=t;else for(const r in t)t.hasOwnProperty(r)&&(i[r]=t[r]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new hm}}lift(t){const e=new fm(this._config,this.destination);return e.operator=t,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new hm),this._output=new ee}multiplex(t,e,i){const r=this;return new _e(o=>{try{r.next(t())}catch(a){o.error(a)}const s=r.subscribe({next:a=>{try{i(a)&&o.next(a)}catch(l){o.error(l)}},error:a=>o.error(a),complete:()=>o.complete()});return()=>{try{r.next(e())}catch(a){o.error(a)}s.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:t,protocol:e,url:i,binaryType:r}=this._config,o=this._output;let s=null;try{s=e?new t(i,e):new t(i),this._socket=s,r&&(this._socket.binaryType=r)}catch(l){return void o.error(l)}const a=new et(()=>{this._socket=null,s&&1===s.readyState&&s.close()});s.onopen=l=>{const{_socket:c}=this;if(!c)return s.close(),void this._resetState();const{openObserver:u}=this._config;u&&u.next(l);const d=this.destination;this.destination=ya.create(h=>{if(1===s.readyState)try{const{serializer:f}=this._config;s.send(f(h))}catch(f){this.destination.error(f)}},h=>{const{closingObserver:f}=this._config;f&&f.next(void 0),h&&h.code?s.close(h.code,h.reason):o.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:h}=this._config;h&&h.next(void 0),s.close(),this._resetState()}),d&&d instanceof hm&&a.add(d.subscribe(this.destination))},s.onerror=l=>{this._resetState(),o.error(l)},s.onclose=l=>{s===this._socket&&this._resetState();const{closeObserver:c}=this._config;c&&c.next(l),l.wasClean?o.complete():o.error(l)},s.onmessage=l=>{try{const{deserializer:c}=this._config;o.next(c(l))}catch(c){o.error(c)}}}_subscribe(t){const{source:e}=this;return e?e.subscribe(t):(this._socket||this._connectSocket(),this._output.subscribe(t),t.add(()=>{const{_socket:i}=this;0===this._output.observers.length&&(i&&(1===i.readyState||0===i.readyState)&&i.close(),this._resetState())}),t)}unsubscribe(){const{_socket:t}=this;t&&(1===t.readyState||0===t.readyState)&&t.close(),this._resetState(),super.unsubscribe()}}function Y0(n,t){return t?e=>Rs(t.pipe(Mt(1),function wU(){return Re((n,t)=>{n.subscribe(ye(t,ga))})}()),e.pipe(Y0(n))):tt((e,i)=>n(e,i).pipe(Mt(1),mD(e)))}const X0=4294967295;let pm=(()=>{class n{constructor(e){this.http=e,this.meshRoute="mesh/api",this.channels=[],this.channelChange=new ut(0),this.nodes=[],this.nodesChange=new ut(0),this.messagesChange=new ut({}),this.messages=[],this.state=0,this.meshId=0,this.connect()}getNodeInfo(e){return this.http.get(`${this.meshRoute}/nodes/${e}`)}getNodeName(e){return this.nodes.filter(r=>r.id==e).map(r=>r.name).pop()||"Unknown"}getMsgTo(e){return e.to==X0?this.channels.filter(r=>r.index==e.channel).map(r=>r.name).pop()??"CH_U":"DM"}sendMessage(e,i=null,r=0){return this.http.post(`${this.meshRoute}/messages`,{txt:e,node_id:i,channel_id:r})}getMyMesh(){if(0==this.meshId)return{name:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e",id:0};{let e=this.nodes.filter(i=>i.id==this.meshId);return e.length>0?e.pop():{name:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e",id:0}}}connect(){this.socket$=function bU(n){return new fm(n)}(`ws://${location.host}/mesh/ws`).pipe(function CU(n){return Re((t,e)=>{let i,o,r=!1;const s=()=>{i=t.subscribe(ye(e,void 0,void 0,a=>{o||(o=new ee,n(o).subscribe(ye(e,()=>i?s():r=!0))),o&&o.next(a)})),r&&(i.unsubscribe(),i=null,r=!1,s())};s()})}(e=>e.pipe(Qe(i=>{console.log("WebSocket error, reconnecting...",i),this.state=5}),function DU(n,t=Fc){const e=GE(n,t);return Y0(()=>e)}(3e3)))),this.socket$.subscribe(e=>{switch(e.event){case 3:this.messages.push(e.data),this.messagesChange.next(e.data);break;case 4:this.meshId=e.data;break;case 1:{const i=e.data,r=this.nodes.filter(o=>o.id==i.id);if(0==r.length)this.nodes.push(i);else{let o=this.nodes.indexOf(r[0]);this.nodes[o]=i}this.nodesChange.next((new Date).getTime());break}case 2:this.state=e.data;break;case 0:{const i=e.data,r=this.channels.filter(o=>o.index==i.index);if(0==r.length)this.channels.push(i);else{let o=this.channels.indexOf(r[0]);this.channels[o]=i}this.channelChange.next((new Date).getTime());break}}})}}return n.\u0275fac=function(e){return new(e||n)(_(Kc))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),J0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["app-mesh-my-node"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})();const FU=["mat-button",""],OU=["*"],NU=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],LU=em(fj(pj(class{constructor(n){this._elementRef=n}})));let VU=(()=>{class n extends LU{constructor(e,i,r){super(e),this._focusMonitor=i,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const o of NU)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return n.\u0275fac=function(e){return new(e||n)(g(Fe),g(Nc),g(rr,8))},n.\u0275cmp=ue({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(1&e&&Cs(f0,5),2&e){let r;nr(r=ir())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(rt("disabled",i.disabled||null),$e("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[B],attrs:FU,ngContentSelectors:OU,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(Lh(),F(0,"span",0),Vh(1),R(),gt(2,"span",1)(3,"span",2)),2&e&&(O(2),$e("mat-button-ripple-round",i.isRoundButton||i.isIconButton),Ce("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[f0],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})(),eS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[wj,It,It]}),n})();function BU(n,t){if(1&n){const e=lo();F(0,"div",2)(1,"button",3),ot("click",function(){return Rr(e),kr(we().action())}),ie(2),R()()}if(2&n){const e=we();O(2),Te(e.data.action)}}function HU(n,t){}const tS=new E("MatSnackBarData");class Xc{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const jU=Math.pow(2,31)-1;class mm{constructor(t,e){this._overlayRef=e,this._afterDismissed=new ee,this._afterOpened=new ee,this._onAction=new ee,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,jU))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let UU=(()=>{class n{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return n.\u0275fac=function(e){return new(e||n)(g(mm),g(tS))},n.\u0275cmp=ue({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,i){1&e&&(F(0,"span",0),ie(1),R(),Me(2,BU,3,1,"div",1)),2&e&&(O(1),Te(i.data.message),O(1),Ce("ngIf",i.hasAction))},dependencies:[zl,VU],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0}),n})();const $U={snackBarState:nm("state",[ta("void, hidden",Sn({transform:"scale(0.8)",opacity:0})),ta("visible",Sn({transform:"scale(1)",opacity:1})),na("* => visible",ea("150ms cubic-bezier(0, 0, 0.2, 1)")),na("* => void, * => hidden",ea("75ms cubic-bezier(0.4, 0.0, 1, 1)",Sn({opacity:0})))])};let zU=(()=>{class n extends Bc{constructor(e,i,r,o,s){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=o,this.snackBarConfig=s,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new ee,this._onExit=new ee,this._onEnter=new ee,this._animationState="void",this.attachDomPortal=a=>{this._assertNotAttached();const l=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),l},this._live="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:r}=e;if(("void"===r&&"void"!==i||"hidden"===r)&&this._completeExit(),"visible"===r){const o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Mt(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(r=>e.classList.add(r)):e.classList.add(i))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return n.\u0275fac=function(e){return new(e||n)(g(te),g(Fe),g(or),g(Gt),g(Xc))},n.\u0275dir=N({type:n,viewQuery:function(e,i){if(1&e&&Cs(Zs,7),2&e){let r;nr(r=ir())&&(i._portalOutlet=r.first)}},features:[B]}),n})(),WU=(()=>{class n extends zU{_afterPortalAttached(){super._afterPortalAttached(),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ke(n)))(i||n)}}(),n.\u0275cmp=ue({type:n,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,i){1&e&&ml("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&_l("@state",i._animationState)},features:[B],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(F(0,"div",0),Me(1,HU,0,0,"ng-template",1),R(),gt(2,"div")),2&e&&(O(2),rt("aria-live",i._live)("role",i._role))},dependencies:[Zs],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[$U.snackBarState]}}),n})(),nS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[Qp,Qs,Gl,eS,It,It]}),n})();const iS=new E("mat-snack-bar-default-options",{providedIn:"root",factory:function GU(){return new Xc}});let qU=(()=>{class n{constructor(e,i,r,o,s,a){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=a,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){const o={...this._defaultConfig,...r};return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const o=Oe.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:Xc,useValue:i}]}),s=new Ys(this.snackBarContainerComponent,i.viewContainerRef,o),a=e.attach(s);return a.instance.snackBarConfig=i,a.instance}_attach(e,i){const r={...new Xc,...this._defaultConfig,...i},o=this._createOverlay(r),s=this._attachSnackBarContainer(o,r),a=new mm(s,o);if(e instanceof Cn){const l=new Kp(e,null,{$implicit:r.data,snackBarRef:a});a.instance=s.attachTemplatePortal(l)}else{const l=this._createInjector(r,a),c=new Ys(e,void 0,l),u=s.attachComponentPortal(c);a.instance=u.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(xc(o.detachments())).subscribe(l=>{o.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(a,r),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new Zp;i.direction=e.direction;let r=this._overlay.position().global();const o="rtl"===e.direction,s="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!o||"end"===e.horizontalPosition&&o,a=!s&&"center"!==e.horizontalPosition;return s?r.left("0"):a?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){return Oe.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:mm,useValue:i},{provide:tS,useValue:e.data}]})}}return n.\u0275fac=function(e){return new(e||n)(_(xi),_(HE),_(Oe),_(Hp),_(n,12),_(iS))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),rS=(()=>{class n extends qU{constructor(e,i,r,o,s,a){super(e,i,r,o,s,a),this.simpleSnackBarComponent=UU,this.snackBarContainerComponent=WU,this.handsetCssClass="mat-snack-bar-handset"}}return n.\u0275fac=function(e){return new(e||n)(_(xi),_(HE),_(Oe),_(Hp),_(n,12),_(iS))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:nS}),n})();function KU(n,t){if(1&n&&(ka(),gt(0,"circle",4)),2&n){const e=we(),i=kh(1);Ji("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),rt("r",e._getCircleRadius())}}function YU(n,t){if(1&n&&(ka(),gt(0,"circle",4)),2&n){const e=we(),i=kh(1);Ji("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(i)),rt("r",e._getCircleRadius())}}const QU=em(class{constructor(n){this._elementRef=n}},"primary"),XU=new E("mat-progress-spinner-default-options",{providedIn:"root",factory:function JU(){return{diameter:100}}});class hi extends QU{constructor(t,e,i,r,o,s,a,l){super(t),this._document=i,this._diameter=100,this._value=0,this._resizeSubscription=et.EMPTY,this.mode="determinate";const c=hi._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),c.has(i.head)||c.set(i.head,new Set([100])),this._noopAnimations="NoopAnimations"===r&&!!o&&!o._forceAnimations,"mat-spinner"===t.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),o&&(o.color&&(this.color=this.defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth)),e.isBrowser&&e.SAFARI&&a&&s&&l&&(this._resizeSubscription=a.change(150).subscribe(()=>{"indeterminate"===this.mode&&l.run(()=>s.markForCheck())}))}get diameter(){return this._diameter}set diameter(t){this._diameter=Np(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Np(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Np(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=ME(t)||this._document.head,this._attachStyleNode(),t.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(t){const e=50*(t.currentScale??1);return`${e}% ${e}%`}_attachStyleNode(){const t=this._styleRoot,e=this._diameter,i=hi._diameters;let r=i.get(t);if(!r||!r.has(e)){const o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),o.textContent=this._getAnimationText(),t.appendChild(o),r||(r=new Set,i.set(t,r)),r.add(e)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}hi._diameters=new WeakMap,hi.\u0275fac=function(t){return new(t||hi)(g(Fe),g(Gt),g(q,8),g(rr,8),g(XU),g(or),g(Gp),g(te))},hi.\u0275cmp=ue({type:hi,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(rt("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),Ji("width",e.diameter,"px")("height",e.diameter,"px"),$e("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[B],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(ka(),F(0,"svg",0,1),Me(2,KU,1,11,"circle",2),Me(3,YU,1,9,"circle",3),R()),2&t&&(Ji("width",e.diameter,"px")("height",e.diameter,"px"),Ce("ngSwitch","indeterminate"===e.mode),rt("viewBox",e._getViewBox()),O(2),Ce("ngSwitchCase",!0),O(1),Ce("ngSwitchCase",!1))},dependencies:[Wl,kw],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"],encapsulation:2,changeDetection:0});let t$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[It,Gl,It]}),n})();function n$(n,t){if(1&n&&(F(0,"div",null,8)(2,"p",9),ie(3),R()()),2&n){const e=t.$implicit,i=we();$e("menu-selected",i.isSelected(e)&&"LEFT"==i.currentSide),O(3),Te(e.name)}}function i$(n,t){if(1&n&&(F(0,"p",9),ie(1),R()),2&n){const e=we(2);O(1),On("SNR: ",null==e.nodeInfo?null:e.nodeInfo.snr," dB")}}function r$(n,t){if(1&n&&(F(0,"p",9),ie(1),R()),2&n){const e=we(2);O(1),On("Hops: ",null==e.nodeInfo?null:e.nodeInfo.hops_away,"")}}function o$(n,t){if(1&n&&(F(0,"p",9),ie(1),Xh(2,"date"),R()),2&n){const e=we(2);O(1),On("\u041f\u043e\u044f\u0432\u043b\u044f\u043b\u0441\u044f: ",Jh(2,1,null==e.nodeInfo?null:e.nodeInfo.last_heard,"HH:mm dd/MM"),"")}}function s$(n,t){if(1&n&&(F(0,"div",10),Me(1,i$,2,1,"p",11),Me(2,r$,2,1,"p",11),Me(3,o$,3,4,"p",11),R()),2&n){const e=we();O(1),Ce("ngIf",null==e.nodeInfo?null:e.nodeInfo.snr),O(1),Ce("ngIf",null==e.nodeInfo?null:e.nodeInfo.hops_away),O(1),Ce("ngIf",null==e.nodeInfo?null:e.nodeInfo.last_heard)}}function a$(n,t){1&n&>(0,"mat-spinner")}function l$(n,t){if(1&n&&(F(0,"div")(1,"p",9),ie(2),R()()),2&n){const e=t.$implicit,i=we();$e("menu-selected",e==i.selectedRight&&"RIGHT"==i.currentSide),O(2),Te(e.name)}}let oS=(()=>{class n extends zc{constructor(e,i,r,o,s){super(),this.io=e,this.meshtastic=i,this.dialog=r,this.apps=o,this.snack=s,this.loading=!1,this.elementsRight=[{name:"\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c",action:()=>{this.apps.openKeyboard().subscribe(a=>{a&&this.meshtastic.sendMessage(a,this.nodeInfo?.num).subscribe(l=>{this.snack.open("\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e",void 0,{duration:2e3})}),this.apps.inApp=!1})}},{name:"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f",action:()=>{}},{name:"\u0422\u0440\u0430\u0441\u0438\u0440\u043e\u0432\u043a\u0430*",action:()=>{}}],this.selectedRight=this.elementsRight[0]}createSub(){this.sub=this.io.keys.subscribe(e=>{if(!this.apps.inApp)switch(e){case"KeyA":this.currentSide="LEFT";break;case"KeyD":this.currentSide="RIGHT";break;default:super.choiceItem(e)&&this.updateNodeInfo()}})}updateNodeInfo(){this.selected&&(this.loading=!0,this.meshtastic.getNodeInfo(this.selected.id).subscribe(e=>{this.nodeInfo=e,this.loading=!1}))}ngOnInit(){this.createSub(),this.elements=this.meshtastic.nodes,this.meshtastic.nodesChange.subscribe(e=>{this.elements=this.meshtastic.nodes,null==this.selected&&(this.selected=this.elements[0],this.updateNodeInfo())})}}return n.\u0275fac=function(e){return new(e||n)(g(ui),g(pm),g($c),g(Wc),g(rS))},n.\u0275cmp=ue({type:n,selectors:[["app-mesh-list-node"]],features:[B],decls:9,vars:4,consts:[[2,"display","flex","flex-direction","row","justify-content","center","height","84%"],["id","nodes",2,"width","45%","overflow-y","hidden","height","210px","scroll-behavior","smooth"],[3,"menu-selected",4,"ngFor","ngForOf"],[2,"width","2.5%","display","flex","flex-direction","column"],["id","info",2,"width","45%","display","flex","flex-direction","column"],[1,"secondary-color",2,"text-align","center","height","125px","margin-bottom","10px"],["style","display: flex; flex-direction: column",4,"ngIf"],[4,"ngIf"],["menuItem",""],[2,"margin","0 0"],[2,"display","flex","flex-direction","column"],["style","margin: 0 0",4,"ngIf"]],template:function(e,i){1&e&&(F(0,"div",0)(1,"div",1),Me(2,n$,4,3,"div",2),R(),gt(3,"div",3),F(4,"div",4)(5,"div",5),Me(6,s$,4,3,"div",6),Me(7,a$,1,0,"mat-spinner",7),R(),Me(8,l$,3,3,"div",2),R()()),2&e&&(O(2),Ce("ngForOf",i.elements),O(4),Ce("ngIf",!i.loading),O(1),Ce("ngIf",i.loading),O(1),Ce("ngForOf",i.elementsRight))},dependencies:[Ln,zl,hi,jf],encapsulation:2}),n})();function c$(n,t){if(1&n&&(F(0,"div",5,6)(2,"p",7),ie(3),Xh(4,"date"),R(),F(5,"p",8),ie(6),R()()),2&n){const e=t.$implicit,i=we();$e("menu-selected",i.isSelected(e)&&"LEFT"==i.currentSide),O(3),Uh(" ",i.meshtastic.getNodeName(e.fr0m)," ",i.meshtastic.getMsgTo(e)," ",Jh(4,7,e.rx_time,"HH:mm:ss dd/MM")," [",e.hop_limit,"]"),O(3),Te(e.msg)}}function u$(n,t){if(1&n&&(F(0,"div",9)(1,"p",8),ie(2),R()()),2&n){const e=t.$implicit,i=we();$e("menu-selected",e==i.selectedRight&&"RIGHT"==i.currentSide),O(2),Te(e.name)}}let _m=(()=>{class n extends zc{constructor(e,i,r,o){super(),this.io=e,this.meshtastic=i,this.apps=r,this.route=o,this.elementsRight=[{name:"Reply to DM",action:()=>{}},{name:"Reply",action:()=>{}}],this.selectedRight=this.elementsRight[0]}ngOnInit(){this.route.params.subscribe(e=>{this.currentIndex=e.index;let i=()=>{};i="-1"===e.index?()=>this.elements=this.meshtastic.messages:()=>this.elements=this.meshtastic.messages.filter(r=>r.to==X0&&r.channel==parseInt(e.index)),i(),this.meshtastic.messagesChange.subscribe(r=>{r&&i()}),this.elements&&(this.selected=this.elements[this.elements.length])}),this.createSub()}createSub(){this.sub=this.io.keys.subscribe(e=>{if(!this.apps.inApp)switch(e){case"KeyA":this.currentSide="LEFT";break;case"KeyD":this.currentSide="RIGHT";break;default:super.choiceItem(e)}})}}return n.\u0275fac=function(e){return new(e||n)(g(ui),g(pm),g(Wc),g(Wt))},n.\u0275cmp=ue({type:n,selectors:[["app-mesh-messages"]],features:[B],decls:5,vars:2,consts:[[2,"display","flex","flex-direction","column","align-items","center","justify-content","center","height","84%"],["id","msgs",2,"width","95%","overflow-y","hidden","height","200px","scroll-behavior","smooth"],["class","secondary-color","style","margin-bottom: 5px;",3,"menu-selected",4,"ngFor","ngForOf"],[2,"width","95%","height","30px","align-items","center","display","flex","flex-direction","row","justify-content","center"],["style","margin-left: 2%; margin-right: 2%",3,"menu-selected",4,"ngFor","ngForOf"],[1,"secondary-color",2,"margin-bottom","5px"],["menuItem",""],[2,"margin","0 0","font-size","10px"],[2,"margin","0 0"],[2,"margin-left","2%","margin-right","2%"]],template:function(e,i){1&e&&(F(0,"div",0)(1,"div",1),Me(2,c$,7,10,"div",2),R(),F(3,"div",3),Me(4,u$,3,3,"div",4),R()()),2&e&&(O(2),Ce("ngForOf",i.elements),O(2),Ce("ngForOf",i.elementsRight))},dependencies:[Ln,jf],encapsulation:2}),n})();function d$(n,t){if(1&n){const e=lo();F(0,"p",8),ot("click",function(){const o=Rr(e).$implicit;return kr(we().selectHeader(o))}),ie(1),R()}if(2&n){const e=t.$implicit;$e("inactiveHeader",!we().isActiveHeader(e)),O(1),Te(e.name)}}let sS=(()=>{class n extends Mc{constructor(e,i,r,o,s){super(i,r),this.meshtastic=e,this.io=o,this.snack=s,this.path="mesh",this.meshtastic.channelChange.subscribe(a=>{let l=[{name:"my",path:"my",action:()=>{},component:J0.name},{name:"list",path:"list",action:()=>{},component:oS.name},{name:"messages",path:"messages/-1",action:()=>{},component:_m.name}];l.push(...this.meshtastic.channels.map(c=>({name:`${c.name}`,path:`messages/${c.index}`,action:()=>{},component:_m.name}))),console.log(l),super.navs=l})}isActiveHeader(e){let i=this.route.firstChild?.component?.name==e.component;if(this.route.firstChild?.snapshot.params){const r=e.path.split("/");r.length>1&&(i=i&&this.route.firstChild?.snapshot.params.index==r[1])}return i&&(this.currentNav=e),i}getMeshState(){switch(this.meshtastic.state){case 0:return"\u041d\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d";case 1:return"\u041e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438";case 2:return"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d";case 3:return"\u041e\u0448\u0438\u0431\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f";case 4:return"\u041f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435";case 5:return"\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u0435\u0431\u0441\u043e\u043a\u0435\u0442\u0430";default:return"\u0425\u0443\u0439 \u0437\u043d\u0430\u0435\u0442"}}selectHeader(e){super.selectHeader(e,[this.path])}ngOnInit(){this.meshtastic.messagesChange.subscribe(e=>{if(e.fr0m==this.meshtastic.meshId)return;const i=this.meshtastic.getNodeName(e.fr0m);this.snack.open(`${i}: ${e.msg}`,void 0,{duration:2e3})}),this.sub=this.io.keys.subscribe(e=>{super.choiceHeader(e)})}}return n.\u0275fac=function(e){return new(e||n)(g(pm),g(Wt),g(Ue),g(ui),g(rS))},n.\u0275cmp=ue({type:n,selectors:[["app-meshtastic-header"]],features:[B],decls:15,vars:4,consts:[[2,"display","flex","align-items","center","justify-content","flex-start","padding-left","45px"],["style","text-transform: uppercase;font-weight: bold; margin-bottom: 0; margin-top: 5px; padding-left: 5px",3,"inactiveHeader","click",4,"ngFor","ngForOf"],[2,"padding-top","2.5%"],[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","30%"],[1,"footer-text",2,"width","49%"],[1,"footer-text",2,"width","20%"],[2,"text-transform","uppercase","font-weight","bold","margin-bottom","0","margin-top","5px","padding-left","5px",3,"click"]],template:function(e,i){1&e&&(F(0,"div",0),Me(1,d$,2,3,"p",1),R(),F(2,"div",2),gt(3,"router-outlet"),R(),F(4,"div",3)(5,"div",4)(6,"div",5)(7,"span"),ie(8),R()(),F(9,"div",6)(10,"span"),ie(11),R()(),F(12,"div",7)(13,"span"),ie(14),R()()()()),2&e&&(O(1),Ce("ngForOf",i.navs),O(7),Te(i.getMeshState()),O(3),Te(i.meshtastic.getMyMesh().name),O(3),On("",i.meshtastic.nodes.length," nodes"))},dependencies:[Ln,hr],encapsulation:2}),n})();function h$(n,t){if(1&n){const e=lo();F(0,"p",2),ot("click",function(){const o=Rr(e).$implicit;return kr(we().selectHeader(o))}),ie(1),R()}if(2&n){const e=t.$implicit;$e("activeHeader",we().isActiveHeader(e))("baseActiveHeader",!0),O(1),Te(e.name)}}const f$=[{path:"",component:(()=>{class n extends Mc{constructor(e,i,r){super(e,i),this.io=r,super.navs=[{name:"stat",path:"stats",action:()=>{},component:EE.name},{name:"inv",path:"inventory",action:()=>{},component:W0.name},{name:"map",path:"map",action:()=>{},component:G0.name},{name:"radio",path:"radio",action:()=>{},component:K0.name},{name:"mesh",path:"mesh",action:()=>{},component:sS.name}]}ngOnInit(){this.sub=this.io.keys.subscribe(e=>{if(null!=this.currentNav&&e.startsWith("Digit")&&6==e.length){let i=Number.parseInt(e.replace("Digit",""))-1;this.navs[i]&&this.selectHeader(this.navs[i])}})}}return n.\u0275fac=function(e){return new(e||n)(g(Wt),g(Ue),g(ui))},n.\u0275cmp=ue({type:n,selectors:[["ui"]],features:[B],decls:3,vars:1,consts:[[2,"display","flex","align-items","center","justify-content","space-evenly","border-bottom","1px solid rgb(0, 242, 0)"],[3,"activeHeader","baseActiveHeader","click",4,"ngFor","ngForOf"],[3,"click"]],template:function(e,i){1&e&&(F(0,"div",0),Me(1,h$,2,5,"p",1),R(),gt(2,"router-outlet")),2&e&&(O(1),Ce("ngForOf",i.navs))},dependencies:[Ln,hr],encapsulation:2}),n})(),children:[{path:"",redirectTo:"stats",pathMatch:"full"},{path:"stats",component:EE,children:[{path:"",redirectTo:"status",pathMatch:"full"},{path:"status",component:wE}]},{path:"inventory",component:W0,children:[{path:"",redirectTo:"apps",pathMatch:"full"},{path:"apps",component:$0},{path:"custom",component:z0}]},{path:"data",component:(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=ue({type:n,selectors:[["app-data-header"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})()},{path:"map",component:G0},{path:"radio",component:K0},{path:"mesh",component:sS,children:[{path:"",redirectTo:"my",pathMatch:"full"},{path:"my",component:J0},{path:"list",component:oS},{path:"messages/:index",component:_m}]}]}];let p$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[bE.forRoot(f$),bE]}),n})(),m$=(()=>{class n{constructor(e){this.io=e}pressKeys(e){this.io.keys.next(e.code),this.io.keys.next("")}}return n.\u0275fac=function(e){return new(e||n)(g(ui))},n.\u0275cmp=ue({type:n,selectors:[["app-root"]],hostBindings:function(e,i){1&e&&ot("keypress",function(o){return i.pressKeys(o)},0,Ry)},decls:1,vars:0,template:function(e,i){1&e&>(0,"router-outlet")},dependencies:[hr]}),n})();function aS(n){return new C(3e3,!1)}function Z$(){return typeof window<"u"&&typeof window.document<"u"}function ym(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function ki(n){switch(n.length){case 0:return new ia;case 1:return n[0];default:return new b0(n)}}function lS(n,t,e,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),h=d==l,f=h&&c||new Map;u.forEach((p,m)=>{let y=m,v=p;if("offset"!==m)switch(y=t.normalizePropertyName(y,s),v){case"!":v=r.get(m);break;case ci:v=o.get(m);break;default:v=t.normalizeStyleValue(m,y,v,s)}f.set(y,v)}),h||a.push(f),c=f,l=d}),s.length)throw function V$(n){return new C(3502,!1)}();return a}function vm(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&bm(e,"start",n)));break;case"done":n.onDone(()=>i(e&&bm(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&bm(e,"destroy",n)))}}function bm(n,t,e){const o=Cm(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function Cm(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function qt(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function cS(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let wm=(n,t)=>!1,uS=(n,t,e)=>[],dS=null;function Dm(n){const t=n.parentNode||n.host;return t===dS?null:t}(ym()||typeof Element<"u")&&(Z$()?(dS=(()=>document.documentElement)(),wm=(n,t)=>{for(;t;){if(t===n)return!0;t=Dm(t)}return!1}):wm=(n,t)=>n.contains(t),uS=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let _r=null,hS=!1;const fS=wm,pS=uS;let mS=(()=>{class n{validateStyleProperty(e){return function X$(n){_r||(_r=function J$(){return typeof document<"u"?document.body:null}()||{},hS=!!_r.style&&"WebkitAppearance"in _r.style);let t=!0;return _r.style&&!function Q$(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in _r.style,!t&&hS&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in _r.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return fS(e,i)}getParentElement(e){return Dm(e)}query(e,i,r){return pS(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new ia(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Em=(()=>{class n{}return n.NOOP=new mS,n})();const Sm="ng-enter",Jc="ng-leave",eu="ng-trigger",tu=".ng-trigger",_S="ng-animating",Mm=".ng-animating";function fi(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Am(parseFloat(t[1]),t[2])}function Am(n,t){return"s"===t?1e3*n:n}function nu(n,t,e){return n.hasOwnProperty("duration")?n:function nz(n,t,e){let r,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(aS()),{duration:0,delay:0,easing:""};r=Am(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Am(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!e){let a=!1,l=t.length;r<0&&(t.push(function g$(){return new C(3100,!1)}()),a=!0),o<0&&(t.push(function _$(){return new C(3101,!1)}()),a=!0),a&&t.splice(l,0,aS())}return{duration:r,delay:o,easing:s}}(n,t,e)}function sa(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function yS(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function Fi(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function bS(n,t,e){return e?t+":"+e+";":""}function CS(n){let t="";for(let e=0;e{const o=Tm(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),ym()&&CS(n))}function yr(n,t){n.style&&(t.forEach((e,i)=>{const r=Tm(i);n.style[r]=""}),ym()&&CS(n))}function aa(n){return Array.isArray(n)?1==n.length?n[0]:g0(n):n}const Im=new RegExp("{{\\s*(.+?)\\s*}}","g");function wS(n){let t=[];if("string"==typeof n){let e;for(;e=Im.exec(n);)t.push(e[1]);Im.lastIndex=0}return t}function la(n,t,e){const i=n.toString(),r=i.replace(Im,(o,s)=>{let a=t[s];return null==a&&(e.push(function v$(n){return new C(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function iu(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const oz=/-+([a-z0-9])/g;function Tm(n){return n.replace(oz,(...t)=>t[1].toUpperCase())}function sz(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Kt(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function b$(n){return new C(3004,!1)}()}}function DS(n,t){return window.getComputedStyle(n)[t]}function hz(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function fz(n,t,e){if(":"==n[0]){const l=function pz(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function F$(n){return new C(3015,!1)}()),t;const r=i[1],o=i[2],s=i[3];t.push(ES(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&t.push(ES(s,r))}(i,e,t)):e.push(n),e}const au=new Set(["true","1"]),lu=new Set(["false","0"]);function ES(n,t){const e=au.has(n)||lu.has(n),i=au.has(t)||lu.has(t);return(r,o)=>{let s="*"==n||n==r,a="*"==t||t==o;return!s&&e&&"boolean"==typeof r&&(s=r?au.has(n):lu.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?au.has(t):lu.has(t)),s&&a}}const mz=new RegExp("s*:selfs*,?","g");function xm(n,t,e,i){return new gz(n).build(t,e,i)}class gz{constructor(t){this._driver=t}build(t,e,i){const r=new vz(e);return this._resetContextStyleTimingState(r),Kt(this,aa(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(function w$(){return new C(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(function D$(){return new C(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{wS(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(iu(o.values()),e.errors.push(function E$(n,t){return new C(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Kt(this,aa(t.animation),e);return{type:1,matchers:hz(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:vr(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Kt(this,i,e)),options:vr(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(s=>{e.currentTime=i;const a=Kt(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:vr(t.options)}}visitAnimate(t,e){const i=function Cz(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Rm(nu(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Rm(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=nu(e,t);return Rm(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:Sn({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=Sn(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)"string"==typeof a?a===ci?i.push(a):e.errors.push(new C(3002,!1)):i.push(yS(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 l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(e.errors.push(function M$(n,t,e,i,r){return new C(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),e.options&&function rz(n,t,e){const i=t.params||{},r=wS(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function y$(n){return new C(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function A$(){return new C(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const u=t.steps.map(v=>{const D=this._makeStyleAst(v,e);let b=null!=D.offset?D.offset:function bz(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(D.styles),M=0;return null!=b&&(o++,M=D.offset=b),l=l||M<0||M>1,a=a||M0&&o{const b=h>0?D==f?1:h*D:s[D],M=b*y;e.currentTime=p+m.delay+M,m.duration=M,this._validateStyleAst(v,e),v.offset=b,i.styles.push(v)}),i}visitReference(t,e){return{type:8,animation:Kt(this,aa(t.animation),e),options:vr(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:vr(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:vr(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,s]=function _z(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(mz,"")),n=n.replace(/@\*/g,tu).replace(/@\w+/g,e=>tu+"-"+e.slice(1)).replace(/:animating/g,Mm),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,qt(e.collectedStyles,e.currentQuerySelector,new Map);const a=Kt(this,aa(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:vr(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function R$(){return new C(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:nu(t.timings,e.errors,!0);return{type:12,animation:Kt(this,aa(t.animation),e),timings:i,options:null}}}class vz{constructor(t){this.errors=t,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 vr(n){return n?(n=sa(n)).params&&(n.params=function yz(n){return n?sa(n):null}(n.params)):n={},n}function Rm(n,t,e){return{duration:n,delay:t,easing:e}}function km(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class cu{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const Ez=new RegExp(":enter","g"),Mz=new RegExp(":leave","g");function Fm(n,t,e,i,r,o=new Map,s=new Map,a,l,c=[]){return(new Az).buildKeyframes(n,t,e,i,r,o,s,a,l,c)}class Az{buildKeyframes(t,e,i,r,o,s,a,l,c,u=[]){c=c||new cu;const d=new Om(t,e,c,r,o,u,[]);d.options=l;const h=l.delay?fi(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),Kt(this,i,d);const f=d.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let m=f.length-1;m>=0;m--){const y=f[m];if(y.element===e){p=y;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[km(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const r of t){const o=r?.delay;if(o){const s="number"==typeof o?o:fi(la(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?fi(i.duration):null,a=null!=i.delay?fi(i.delay):null;return 0!==s&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Kt(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=uu);const s=fi(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Kt(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?fi(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);o&&a.delayNextStep(o),Kt(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return nu(e.params?la(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?fi(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=uu);let s=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const d=e.createSubContext(t.options,c);o&&d.delayNextStep(o),c===e.element&&(l=d.currentTimeline),Kt(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;Kt(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const uu={};class Om{constructor(t,e,i,r,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=uu,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new du(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=fi(i.duration)),null!=i.delay&&(r.delay=fi(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=la(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new Om(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(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=uu,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new Iz(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(Ez,"."+this._enterClassName)).replace(Mz,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function k$(n){return new C(3014,!1)}()),a}}class du{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new du(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||ci),this._currentKeyframe.set(e,ci);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function Tz(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,ci)}else Fi(r,e)}),e}(t,this._globalTimelineStyles);for(let[a,l]of s){const c=la(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ci),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=Fi(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?t.add(d):u===ci&&e.add(d)}),i||c.set("offset",l/this.duration),r.push(c)});const o=t.size?iu(t.values()):[],s=e.size?iu(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return km(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class Iz extends du{constructor(t,e,i,r,o,s,a=!1){super(t,e,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 t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,l=Fi(t[0]);l.set("offset",0),o.push(l);const c=Fi(t[0]);c.set("offset",AS(a)),o.push(c);const u=t.length-1;for(let d=1;d<=u;d++){let h=Fi(t[d]);const f=h.get("offset");h.set("offset",AS((e+f*i)/s)),o.push(h)}i=s,e=0,r="",t=o}return km(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function AS(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class Pm{}const xz=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Rz extends Pm{normalizePropertyName(t,e){return Tm(t)}normalizeStyleValue(t,e,i,r){let o="";const s=i.toString().trim();if(xz.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function C$(n,t){return new C(3005,!1)}())}return s+o}}function IS(n,t,e,i,r,o,s,a,l,c,u,d,h){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const Nm={};class TS{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function kz(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||Nm,p=this.buildStyles(i,a&&a.params||Nm,d),m=l&&l.params||Nm,y=this.buildStyles(r,m,d),v=new Set,D=new Map,b=new Map,M="void"===r,X={params:Fz(m,h),delay:this.ast.options?.delay},oe=u?[]:Fm(t,e,this.ast.animation,o,s,p,y,X,c,d);let Ve=0;if(oe.forEach(Zt=>{Ve=Math.max(Zt.duration+Zt.delay,Ve)}),d.length)return IS(e,this._triggerName,i,r,M,p,y,[],[],D,b,Ve,d);oe.forEach(Zt=>{const Qt=Zt.element,ko=qt(D,Qt,new Set);Zt.preStyleProps.forEach(Mn=>ko.add(Mn));const pi=qt(b,Qt,new Set);Zt.postStyleProps.forEach(Mn=>pi.add(Mn)),Qt!==e&&v.add(Qt)});const Yt=iu(v.values());return IS(e,this._triggerName,i,r,M,p,y,oe,Yt,D,b,Ve)}}function Fz(n,t){const e=sa(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class Oz{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=sa(this.defaultParams);return Object.keys(t).forEach(o=>{const s=t[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=la(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(l,s)})}),i}}class Nz{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new Oz(r.style,r.options&&r.options.params||{},i))}),xS(this.states,"true","1"),xS(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new TS(t,r,this.states))}),this.fallbackTransition=function Lz(n,t,e){return new TS(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function xS(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const Vz=new cu;class Bz{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],o=xm(this._driver,e,i,[]);if(i.length)throw function B$(n){return new C(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=lS(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=Fm(this._driver,e,o,Sm,Jc,new Map,new Map,i,Vz,r),s.forEach(u=>{const d=qt(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(r.push(function H$(){return new C(3300,!1)}()),s=[]),r.length)throw function j$(n){return new C(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,ci))})});const c=ki(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function U$(n){return new C(3301,!1)}();return e}listen(t,e,i,r){const o=Cm(e,"","","");return vm(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);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(t)}}}const RS="ng-animate-queued",Lm="ng-animate-disabled",zz=[],kS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Wz={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},cn="__ng_removed";class Vm{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function Yz(n){return n??null}(i?t.value:t),i){const o=sa(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const ca="void",Bm=new Vm(ca);class Gz{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,un(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function $$(n,t){return new C(3302,!1)}();if(null==i||0==i.length)throw function z$(n){return new C(3303,!1)}();if(!function Zz(n){return"start"==n||"done"==n}(i))throw function W$(n,t){return new C(3400,!1)}();const o=qt(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);const a=qt(this._engine.statesByElement,t,new Map);return a.has(e)||(un(t,eu),un(t,eu+"-"+e),a.set(e,Bm)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function G$(n){return new C(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),s=new Hm(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(un(t,eu),un(t,eu+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const c=new Vm(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Bm),c.value!==ca&&l.value===c.value){if(!function Jz(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{yr(t,y),Hn(t,v)})}return}const h=qt(this._engine.playersByElement,t,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==e&&m.queued&&m.destroy()});let f=o.matchTransition(l.value,c.value,t,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(un(t,RS),s.onStart(()=>{xo(t,RS)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const y=this._engine.playersByElement.get(t);if(y){let v=y.indexOf(s);v>=0&&y.splice(v,1)}}),this.players.push(s),h.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,tu,!0);i.forEach(r=>{if(r[cn])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(t,c,ca,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&ki(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Bm,u=new Vm(ca),d=new Hm(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[cn];(!o||o===kS)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){un(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=Cm(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,vm(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class qz{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new Gz(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(hu(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!hu(e))return;const o=e[cn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),un(t,Lm)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),xo(t,Lm))}removeNode(t,e,i,r){if(hu(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[cn]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return hu(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,tu,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,Mm,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return ki(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[cn];if(e&&e.setForRemoval){if(t[cn]=kS,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(Lm)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];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){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?ki(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function q$(n){return new C(3402,!1)}()}_flushAnimations(t,e){const i=new cu,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(x=>{u.add(x);const P=this.driver.query(x,".ng-animate-queued",!0);for(let j=0;j{const j=Sm+m++;p.set(P,j),x.forEach(le=>un(le,j))});const y=[],v=new Set,D=new Set;for(let x=0;xv.add(le)):D.add(P))}const b=new Map,M=PS(h,Array.from(v));M.forEach((x,P)=>{const j=Jc+m++;b.set(P,j),x.forEach(le=>un(le,j))}),t.push(()=>{f.forEach((x,P)=>{const j=p.get(P);x.forEach(le=>xo(le,j))}),M.forEach((x,P)=>{const j=b.get(P);x.forEach(le=>xo(le,j))}),y.forEach(x=>{this.processLeaveNode(x)})});const X=[],oe=[];for(let x=this._namespaceList.length-1;x>=0;x--)this._namespaceList[x].drainQueuedTransitions(e).forEach(j=>{const le=j.player,ct=j.element;if(X.push(le),this.collectedEnterElements.length){const yt=ct[cn];if(yt&&yt.setForMove){if(yt.previousTriggersValues&&yt.previousTriggersValues.has(j.triggerName)){const wr=yt.previousTriggersValues.get(j.triggerName),dn=this.statesByElement.get(j.element);if(dn&&dn.has(j.triggerName)){const Eu=dn.get(j.triggerName);Eu.value=wr,dn.set(j.triggerName,Eu)}}return void le.destroy()}}const Un=!d||!this.driver.containsElement(d,ct),Xt=b.get(ct),Li=p.get(ct),Be=this._buildInstruction(j,i,Li,Xt,Un);if(Be.errors&&Be.errors.length)return void oe.push(Be);if(Un)return le.onStart(()=>yr(ct,Be.fromStyles)),le.onDestroy(()=>Hn(ct,Be.toStyles)),void r.push(le);if(j.isFallbackTransition)return le.onStart(()=>yr(ct,Be.fromStyles)),le.onDestroy(()=>Hn(ct,Be.toStyles)),void r.push(le);const JM=[];Be.timelines.forEach(yt=>{yt.stretchStartingKeyframe=!0,this.disabledNodes.has(yt.element)||JM.push(yt)}),Be.timelines=JM,i.append(ct,Be.timelines),s.push({instruction:Be,player:le,element:ct}),Be.queriedElements.forEach(yt=>qt(a,yt,[]).push(le)),Be.preStyleProps.forEach((yt,wr)=>{if(yt.size){let dn=l.get(wr);dn||l.set(wr,dn=new Set),yt.forEach((Eu,cg)=>dn.add(cg))}}),Be.postStyleProps.forEach((yt,wr)=>{let dn=c.get(wr);dn||c.set(wr,dn=new Set),yt.forEach((Eu,cg)=>dn.add(cg))})});if(oe.length){const x=[];oe.forEach(P=>{x.push(function K$(n,t){return new C(3505,!1)}())}),X.forEach(P=>P.destroy()),this.reportError(x)}const Ve=new Map,Yt=new Map;s.forEach(x=>{const P=x.element;i.has(P)&&(Yt.set(P,P),this._beforeAnimationBuild(x.player.namespaceId,x.instruction,Ve))}),r.forEach(x=>{const P=x.element;this._getPreviousPlayers(P,!1,x.namespaceId,x.triggerName,null).forEach(le=>{qt(Ve,P,[]).push(le),le.destroy()})});const Zt=y.filter(x=>LS(x,l,c)),Qt=new Map;OS(Qt,this.driver,D,c,ci).forEach(x=>{LS(x,l,c)&&Zt.push(x)});const pi=new Map;f.forEach((x,P)=>{OS(pi,this.driver,new Set(x),l,"!")}),Zt.forEach(x=>{const P=Qt.get(x),j=pi.get(x);Qt.set(x,new Map([...Array.from(P?.entries()??[]),...Array.from(j?.entries()??[])]))});const Mn=[],Fo=[],Oo={};s.forEach(x=>{const{element:P,player:j,instruction:le}=x;if(i.has(P)){if(u.has(P))return j.onDestroy(()=>Hn(P,le.toStyles)),j.disabled=!0,j.overrideTotalTime(le.totalTime),void r.push(j);let ct=Oo;if(Yt.size>1){let Xt=P;const Li=[];for(;Xt=Xt.parentNode;){const Be=Yt.get(Xt);if(Be){ct=Be;break}Li.push(Xt)}Li.forEach(Be=>Yt.set(Be,ct))}const Un=this._buildAnimation(j.namespaceId,le,Ve,o,pi,Qt);if(j.setRealPlayer(Un),ct===Oo)Mn.push(j);else{const Xt=this.playersByElement.get(ct);Xt&&Xt.length&&(j.parentPlayer=ki(Xt)),r.push(j)}}else yr(P,le.fromStyles),j.onDestroy(()=>Hn(P,le.toStyles)),Fo.push(j),u.has(P)&&r.push(j)}),Fo.forEach(x=>{const P=o.get(x.element);if(P&&P.length){const j=ki(P);x.setRealPlayer(j)}}),r.forEach(x=>{x.parentPlayer?x.syncPlayerEvents(x.parentPlayer):x.destroy()});for(let x=0;x!Un.destroyed);ct.length?Qz(this,P,ct):this.processLeaveNode(P)}return y.length=0,Mn.forEach(x=>{this.players.push(x),x.onDone(()=>{x.destroy();const P=this.players.indexOf(x);this.players.splice(P,1)}),x.play()}),Mn}elementContainsData(t,e){let i=!1;const r=e[cn];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!o||o==ca;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){const o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,u=c!==o,d=qt(i,c,[]);this._getPreviousPlayers(c,u,s,a,e.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}yr(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){const a=e.triggerName,l=e.element,c=[],u=new Set,d=new Set,h=e.timelines.map(p=>{const m=p.element;u.add(m);const y=m[cn];if(y&&y.removedBeforeQueried)return new ia(p.duration,p.delay);const v=m!==l,D=function Xz(n){const t=[];return NS(n,t),t}((i.get(m)||zz).map(Ve=>Ve.getRealPlayer())).filter(Ve=>!!Ve.element&&Ve.element===m),b=o.get(m),M=s.get(m),X=lS(0,this._normalizer,0,p.keyframes,b,M),oe=this._buildPlayer(p,X,D);if(p.subTimeline&&r&&d.add(m),v){const Ve=new Hm(t,a,m);Ve.setRealPlayer(oe),c.push(Ve)}return oe});c.forEach(p=>{qt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function Kz(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>un(p,_S));const f=ki(h);return f.onDestroy(()=>{u.forEach(p=>xo(p,_S)),Hn(l,e.toStyles)}),d.forEach(p=>{qt(r,p,[]).push(f)}),f}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new ia(t.duration,t.delay)}}class Hm{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new ia,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>vm(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){qt(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function hu(n){return n&&1===n.nodeType}function FS(n,t){const e=n.style.display;return n.style.display=t??"none",e}function OS(n,t,e,i,r){const o=[];e.forEach(l=>o.push(FS(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=t.computeStyle(c,d,r);u.set(d,h),(!h||0==h.length)&&(c[cn]=Wz,s.push(c))}),n.set(c,u)});let a=0;return e.forEach(l=>FS(l,o[a++])),s}function PS(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const r=new Set(t),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function un(n,t){n.classList?.add(t)}function xo(n,t){n.classList?.remove(t)}function Qz(n,t,e){ki(e).onDone(()=>n.processLeaveNode(t))}function NS(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class fu{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new qz(t,e,i),this._timelineEngine=new Bz(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const s=t+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],u=xm(this._driver,o,l,[]);if(l.length)throw function L$(n,t){return new C(3404,!1)}();a=function Pz(n,t,e){return new Nz(n,t,e)}(r,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,s]=cS(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=cS(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let t3=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Hn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Hn(this._element,this._initialStyles),this._endStyles&&(Hn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(yr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(yr(this._element,this._endStyles),this._endStyles=null),Hn(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function jm(n){let t=null;return n.forEach((e,i)=>{(function n3(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class VS{constructor(t,e,i,r){this.element=t,this.keyframes=e,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(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:DS(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class r3{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return fS(t,e)}getParentElement(t){return Dm(t)}query(t,e,i){return pS(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(f=>f instanceof VS);(function az(n,t){return 0===n||0===t})(i,r)&&u.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let d=function iz(n){return n.length?n[0]instanceof Map?n:n.map(t=>yS(t)):[]}(e).map(f=>Fi(f));d=function lz(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,DS(n,a)))}}return t}(t,d,c);const h=function e3(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=jm(t[0]),t.length>1&&(i=jm(t[t.length-1]))):t instanceof Map&&(e=jm(t)),e||i?new t3(n,e,i):null}(t,d);return new VS(t,d,l,h)}}let o3=(()=>{class n extends p0{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:fn.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?g0(e):e;return BS(this._renderer,null,i,"register",[r]),new s3(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(_(as),_(q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class s3 extends class Dj{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new a3(this._id,t,e||{},this._renderer)}}class a3{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return BS(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function BS(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const HS="@.disabled";let l3=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(o);return u||(u=new jS("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,u)),u}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(s,a,e,u.name,u)};return i.data.animation.forEach(l),new c3(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(_(as),_(fu),_(te))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class jS{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==HS?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class c3 extends jS{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==HS?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function u3(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function d3(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}const US=[{provide:p0,useClass:o3},{provide:Pm,useFactory:function f3(){return new Rz}},{provide:fu,useClass:(()=>{class n extends fu{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(_(q),_(Em),_(Pm),_(mo))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})()},{provide:as,useFactory:function p3(n,t,e){return new l3(n,t,e)},deps:[Jl,fu,te]}],Um=[{provide:Em,useFactory:()=>new r3},{provide:rr,useValue:"BrowserAnimations"},...US],$S=[{provide:Em,useClass:mS},{provide:rr,useValue:"NoopAnimations"},...US];let m3=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?$S:Um}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:Um,imports:[iD]}),n})(),zS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})(),WS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[Gl,It,xE,It]}),n})(),b3=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({providers:[gj],imports:[zS,WS,It,zS,WS]}),n})(),PM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({}),n})(),v8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[PM]}),n})(),b8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n}),n.\u0275inj=ce({imports:[v8]}),n})(),w8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=fe({type:n,bootstrap:[m$]}),n.\u0275inj=ce({imports:[iD,Jj,p$,m3,Oj,b3,b8,eS,dU,t$,nS]}),n})();(function sN(){nw=!1})(),zL().bootstrapModule(w8).catch(n=>console.error(n))}},ae=>{ae(ae.s=542)}]); \ No newline at end of file diff --git a/pipboyUI/dist/pipboy-ui/styles.d02872c9162ec3e3.css b/pipboyUI/dist/pipboy-ui/styles.8d5c33a9ea7e810f.css similarity index 94% rename from pipboyUI/dist/pipboy-ui/styles.d02872c9162ec3e3.css rename to pipboyUI/dist/pipboy-ui/styles.8d5c33a9ea7e810f.css index b7bd334..9d52a2a 100644 --- a/pipboyUI/dist/pipboy-ui/styles.d02872c9162ec3e3.css +++ b/pipboyUI/dist/pipboy-ui/styles.8d5c33a9ea7e810f.css @@ -1 +1 @@ -.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography .mat-h1,.mat-typography .mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography .mat-h2,.mat-typography .mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography .mat-h3,.mat-typography .mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography .mat-h4,.mat-typography .mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-body-2,.mat-typography .mat-body-strong,.mat-typography .mat-body-2{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography .mat-body,.mat-typography .mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body p,.mat-body-1 p,.mat-typography .mat-body p,.mat-typography .mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-raised-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button,.mat-fab,.mat-mini-fab{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-subtitle,.mat-card-content{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-trailing-icon.mat-icon,.mat-chip .mat-chip-remove.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-header,.mat-grid-tile-footer{font-size:14px}.mat-grid-tile-header .mat-line,.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2),.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-stepper-vertical,.mat-stepper-horizontal{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-ripple-element{background-color:#0000001a}.mat-option{color:#000000de}.mat-option:hover:not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.mat-option.mat-option-disabled{color:#00000061}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#3f51b5}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#ff4081}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.mat-optgroup-label{color:#0000008a}.mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.mat-pseudo-checkbox{color:#0000008a}.mat-pseudo-checkbox:after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#3f51b5}.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate,.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate{background:#ff4081}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:#fff;color:#000000de}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#3f51b5}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#ff4081;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#fff;color:#000000de}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:rgba(0,0,0,0)}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#3f51b5}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#ff4081}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#f44336}.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#3f51b5}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#ff4081}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:#0000}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.mat-flat-button,.mat-raised-button,.mat-fab,.mat-mini-fab{color:#000000de;background-color:#fff}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary,.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent,.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{color:#fff}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary{background-color:#3f51b5}.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent{background-color:#ff4081}.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{background-color:#f44336}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.mat-flat-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-stroked-button:not([class*=mat-elevation-z]),.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.mat-button-toggle{color:#00000061}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.mat-button-toggle-appearance-standard{color:#000000de;background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #e0e0e0}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #e0e0e0}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px #e0e0e0}.mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.mat-button-toggle-disabled{color:#00000042;background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border:solid 1px #e0e0e0}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:#fff;color:#000000de}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-card-subtitle{color:#0000008a}.mat-checkbox-frame{border-color:#0000008a}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#3f51b5}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#ff4081}.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#3f51b5}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ff4081}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:#000}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#3f51b5;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#ff4081;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.mat-table{background:#fff}.mat-table thead,.mat-table tbody,.mat-table tfoot,mat-header-row,mat-row,mat-footer-row,[mat-header-row],[mat-row],[mat-footer-row],.mat-table-sticky{background:inherit}mat-row,mat-header-row,mat-footer-row,th.mat-header-cell,td.mat-cell,td.mat-footer-cell{border-bottom-color:#0000001f}.mat-header-cell{color:#0000008a}.mat-cell,.mat-footer-cell{color:#000000de}.mat-calendar-arrow{fill:#0000008a}.mat-datepicker-toggle,.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header,.mat-calendar-body-label{color:#0000008a}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:#000000de;border-color:#0000}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range:before{background:rgba(63,81,181,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#3f51b5;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#3f51b566}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}@media (hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,64,129,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff4081;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#ff408166}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}@media (hover: hover){.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#3f51b5}.mat-datepicker-toggle-active.mat-accent{color:#ff4081}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#00000061}.mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:#fff;color:#000000de}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:#fff;color:#000000de}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-action-row{border-top-color:#0000001f}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:#000000de}.mat-expansion-panel-header-description,.mat-expansion-indicator:after{color:#0000008a}.mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:#0009}.mat-form-field.mat-focused .mat-form-field-label{color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ff4081}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#ff4081}.mat-form-field-ripple{background-color:#000000de}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ff4081}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#3f51b5}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#ff4081}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:#0000}.mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#3f51b5}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ff4081}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.mat-icon.mat-primary{color:#3f51b5}.mat-icon.mat-accent{color:#ff4081}.mat-icon.mat-warn{color:#f44336}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.mat-input-element:disabled,.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.mat-input-element{caret-color:#3f51b5}.mat-input-element::placeholder{color:#0000006b}.mat-input-element::-moz-placeholder{color:#0000006b}.mat-input-element::-webkit-input-placeholder{color:#0000006b}.mat-input-element:-ms-input-placeholder{color:#0000006b}.mat-form-field.mat-accent .mat-input-element{caret-color:#ff4081}.mat-form-field.mat-warn .mat-input-element,.mat-form-field-invalid .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:#000000de}.mat-list-base .mat-subheader{color:#0000008a}.mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:hover,.mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-menu-item{background:rgba(0,0,0,0);color:#000000de}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-menu-submenu-icon,.mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.mat-menu-item .mat-icon-no-color,.mat-menu-submenu-icon{color:#0000008a}.mat-menu-item:hover:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:#0000008a}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#cbd0e9}.mat-progress-bar-buffer{background-color:#cbd0e9}.mat-progress-bar-fill:after{background-color:#3f51b5}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#ff4081}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#3f51b5}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#ff4081}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-radio-outer-circle{border-color:#0000008a}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#3f51b5}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#3f51b5}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ff4081}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ff4081}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:#000000de}.mat-select-placeholder{color:#0000006b}.mat-select-disabled .mat-select-value{color:#00000061}.mat-select-arrow{color:#0000008a}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#3f51b5}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ff4081}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.mat-drawer-container{background-color:#fafafa;color:#000000de}.mat-drawer{background-color:#fff;color:#000000de}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ff4081}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#ff40818a}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ff4081}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#3f51b5}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#3f51b58a}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#3f51b5}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.mat-slide-toggle-bar{background-color:#00000061}.mat-slider-track-background{background-color:#00000042}.mat-slider.mat-primary .mat-slider-track-fill,.mat-slider.mat-primary .mat-slider-thumb,.mat-slider.mat-primary .mat-slider-thumb-label{background-color:#3f51b5}.mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-primary .mat-slider-focus-ring{background-color:#3f51b533}.mat-slider.mat-accent .mat-slider-track-fill,.mat-slider.mat-accent .mat-slider-thumb,.mat-slider.mat-accent .mat-slider-thumb-label{background-color:#ff4081}.mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-accent .mat-slider-focus-ring{background-color:#ff408133}.mat-slider.mat-warn .mat-slider-track-fill,.mat-slider.mat-warn .mat-slider-thumb,.mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.mat-slider:hover .mat-slider-track-background,.mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.mat-slider.mat-slider-disabled .mat-slider-track-background,.mat-slider.mat-slider-disabled .mat-slider-track-fill,.mat-slider.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:#0000}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:#0000008a}.mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#3f51b5;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ff4081;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:#0000;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:#0000001f}.mat-horizontal-stepper-header:before,.mat-horizontal-stepper-header:after,.mat-stepper-horizontal-line{border-top-color:#0000001f}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-nav-bar,.mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-nav-bar,.mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:#000000de}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:#00000061}.mat-tab-header-pagination-chevron{border-color:#000000de}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.mat-tab-group[class*=mat-background-]>.mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#3f51b5}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ff4081}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#3f51b5}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#ff4081}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-toolbar{background:#f5f5f5;color:#000000de}.mat-toolbar.mat-primary{background:#3f51b5;color:#fff}.mat-toolbar.mat-accent{background:#ff4081;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.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-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:#fff}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-simple-snackbar-action{color:#ff4081}@charset "UTF-8";.crt-fallout{position:relative;background:#000!important;color:#0f0!important;image-rendering:pixelated;image-rendering:crisp-edges}.crt-fallout:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:repeating-linear-gradient(0deg,rgba(0,32,0,.8) 0px,rgba(0,32,0,.8) 1px,transparent 1px,transparent 2px),repeating-linear-gradient(90deg,rgba(0,16,0,.4) 0px,rgba(0,16,0,.4) 1px,transparent 1px,transparent 2px);pointer-events:none;z-index:10000}.crt-fallout:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(rgba(0,255,0,.06) 50%,transparent 50%);background-size:100% 3px;z-index:20000;animation:scanlines .666s linear infinite}.crt-fallout .text{color:#0f0;text-shadow:0 0 2px #0F0,0 0 4px #0C0,0 0 6px #090;font-smooth:never;-webkit-font-smoothing:none}.crt-fallout img,.crt-fallout video,.crt-fallout canvas{filter:brightness(.7) contrast(1.3) hue-rotate(90deg) saturate(.6) url(#crtFilter)}.filter-svg{position:absolute;width:0;height:0}.noise-layer{position:absolute;top:0;left:0;width:100%;height:100%;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23noise)' opacity='0.15'/%3E%3C/svg%3E");background-repeat:repeat;opacity:.1;animation:noise 2s steps(24) infinite;z-index:30000;pointer-events:none}@keyframes scanlines{0%{transform:translateY(0)}to{transform:translateY(3px)}}@keyframes flicker{0%,to{opacity:.97}4.166%{opacity:.95}8.333%{opacity:.93}12.5%{opacity:.95}16.666%{opacity:.97}20.833%{opacity:.94}25%{opacity:.96}29.166%{opacity:.95}33.333%{opacity:.97}37.5%{opacity:.93}41.666%{opacity:.96}45.833%{opacity:.95}50%{opacity:.97}54.166%{opacity:.94}58.333%{opacity:.96}62.5%{opacity:.95}66.666%{opacity:.97}70.833%{opacity:.93}75%{opacity:.95}79.166%{opacity:.96}83.333%{opacity:.94}87.5%{opacity:.97}91.666%{opacity:.95}95.833%{opacity:.96}}@keyframes noise{0%{background-position:0 0}to{background-position:256px 256px}}.fps-24{animation-duration:.041666s;animation-timing-function:steps(1,end)}.pixel-grid{position:absolute;top:0;left:0;width:100%;height:100%;background-image:linear-gradient(rgba(0,16,0,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(0,16,0,.1) 1px,transparent 1px);background-size:4px 4px;pointer-events:none;z-index:10000}.vignette-16bit{position:absolute;top:0;left:0;width:100%;height:100%;box-shadow:inset 0 0 40px #000,inset 0 0 60px #00200080,inset 0 0 80px #000;pointer-events:none;z-index:20000}.crt-fallout{animation:flicker 1s infinite}.crt-fallout *{will-change:transform,opacity;backface-visibility:hidden}@font-face{font-family:RobotoTodd;src:url(Roboto-Regular.a8e6f6203d22df08.ttf);font-weight:400;font-style:normal}@font-face{font-family:RobotoTodd;src:url(Roboto-Bold.3b887fc8dca30f62.ttf);font-weight:700;font-style:normal}@font-face{font-family:TechMono;src:url(TechMono.5c8f60d90e003254.ttf);font-weight:400;font-style:normal}html,body{height:308px;width:460px;background-color:#000}body{margin:0;font-family:RobotoTodd,Helvetica Neue,sans-serif;color:#00f200}.activeHeader{border-left:2px solid rgb(0,242,0)!important;border-right:2px solid rgb(0,242,0)!important;border-bottom:1px solid black;margin-bottom:-1px!important;padding-right:5px;padding-left:5px}.baseActiveHeader{text-transform:uppercase;font-weight:700;margin-bottom:0;margin-top:5px;border-right:2px solid transparent;border-left:2px solid transparent;padding-right:5px;padding-left:5px}.inactiveHeader{color:#00f2004d}.footer{#background-color: rgba(0,242,0,.3);position:fixed;left:0;bottom:0;width:460px;height:6.5%}.footer-text,.secondary-color{background-color:#00f2004d}.menu-selected{background-color:#00f200;color:#000}.mat-dialog-container{background:black;color:#00f200;padding:0!important;width:460px!important}.mat-snack-bar-container{box-shadow:unset!important;background:black;color:unset!important;border:2px rgb(0,242,0) solid}.mat-progress-spinner,.mat-spinner,circle{stroke:#00f200!important}.mat-dialog-content{max-height:100vh!important;margin:0!important}.cdk-overlay-pane{max-width:100%!important}.rotating-image{animation:rotateY 3s linear infinite}@keyframes rotateY{0%{transform:rotateY(0)}to{transform:rotateY(360deg)}}.keyboard_key{border:1px rgba(0,242,0,.3) solid;margin:unset!important;padding:4px;min-width:20px;text-align:center}.keyboard_current{background-color:#00f200;color:#000} +.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography .mat-h1,.mat-typography .mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography .mat-h2,.mat-typography .mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography .mat-h3,.mat-typography .mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography .mat-h4,.mat-typography .mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-body-2,.mat-typography .mat-body-strong,.mat-typography .mat-body-2{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography .mat-body,.mat-typography .mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body p,.mat-body-1 p,.mat-typography .mat-body p,.mat-typography .mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-raised-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button,.mat-fab,.mat-mini-fab{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-subtitle,.mat-card-content{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-trailing-icon.mat-icon,.mat-chip .mat-chip-remove.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-header,.mat-grid-tile-footer{font-size:14px}.mat-grid-tile-header .mat-line,.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2),.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-stepper-vertical,.mat-stepper-horizontal{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-ripple-element{background-color:#0000001a}.mat-option{color:#000000de}.mat-option:hover:not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.mat-option.mat-option-disabled{color:#00000061}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#3f51b5}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#ff4081}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.mat-optgroup-label{color:#0000008a}.mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.mat-pseudo-checkbox{color:#0000008a}.mat-pseudo-checkbox:after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#3f51b5}.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate,.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate{background:#ff4081}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:#fff;color:#000000de}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#3f51b5}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#ff4081;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#fff;color:#000000de}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:rgba(0,0,0,0)}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#3f51b5}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#ff4081}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#f44336}.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#3f51b5}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#ff4081}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:#0000}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.mat-flat-button,.mat-raised-button,.mat-fab,.mat-mini-fab{color:#000000de;background-color:#fff}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary,.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent,.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{color:#fff}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary{background-color:#3f51b5}.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent{background-color:#ff4081}.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{background-color:#f44336}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.mat-flat-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-stroked-button:not([class*=mat-elevation-z]),.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.mat-button-toggle{color:#00000061}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.mat-button-toggle-appearance-standard{color:#000000de;background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #e0e0e0}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #e0e0e0}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px #e0e0e0}.mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.mat-button-toggle-disabled{color:#00000042;background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border:solid 1px #e0e0e0}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:#fff;color:#000000de}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-card-subtitle{color:#0000008a}.mat-checkbox-frame{border-color:#0000008a}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#3f51b5}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#ff4081}.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#3f51b5}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ff4081}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:#000}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#3f51b5;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#ff4081;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.mat-table{background:#fff}.mat-table thead,.mat-table tbody,.mat-table tfoot,mat-header-row,mat-row,mat-footer-row,[mat-header-row],[mat-row],[mat-footer-row],.mat-table-sticky{background:inherit}mat-row,mat-header-row,mat-footer-row,th.mat-header-cell,td.mat-cell,td.mat-footer-cell{border-bottom-color:#0000001f}.mat-header-cell{color:#0000008a}.mat-cell,.mat-footer-cell{color:#000000de}.mat-calendar-arrow{fill:#0000008a}.mat-datepicker-toggle,.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header,.mat-calendar-body-label{color:#0000008a}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:#000000de;border-color:#0000}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range:before{background:rgba(63,81,181,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#3f51b5;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#3f51b566}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}@media (hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,64,129,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff4081;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#ff408166}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}@media (hover: hover){.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#3f51b5}.mat-datepicker-toggle-active.mat-accent{color:#ff4081}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#00000061}.mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:#fff;color:#000000de}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:#fff;color:#000000de}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-action-row{border-top-color:#0000001f}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:#000000de}.mat-expansion-panel-header-description,.mat-expansion-indicator:after{color:#0000008a}.mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:#0009}.mat-form-field.mat-focused .mat-form-field-label{color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ff4081}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#ff4081}.mat-form-field-ripple{background-color:#000000de}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ff4081}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#3f51b5}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#ff4081}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:#0000}.mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#3f51b5}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ff4081}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.mat-icon.mat-primary{color:#3f51b5}.mat-icon.mat-accent{color:#ff4081}.mat-icon.mat-warn{color:#f44336}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.mat-input-element:disabled,.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.mat-input-element{caret-color:#3f51b5}.mat-input-element::placeholder{color:#0000006b}.mat-input-element::-moz-placeholder{color:#0000006b}.mat-input-element::-webkit-input-placeholder{color:#0000006b}.mat-input-element:-ms-input-placeholder{color:#0000006b}.mat-form-field.mat-accent .mat-input-element{caret-color:#ff4081}.mat-form-field.mat-warn .mat-input-element,.mat-form-field-invalid .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:#000000de}.mat-list-base .mat-subheader{color:#0000008a}.mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:hover,.mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-menu-item{background:rgba(0,0,0,0);color:#000000de}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-menu-submenu-icon,.mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.mat-menu-item .mat-icon-no-color,.mat-menu-submenu-icon{color:#0000008a}.mat-menu-item:hover:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:#0000008a}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#cbd0e9}.mat-progress-bar-buffer{background-color:#cbd0e9}.mat-progress-bar-fill:after{background-color:#3f51b5}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#ff4081}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#3f51b5}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#ff4081}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-radio-outer-circle{border-color:#0000008a}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#3f51b5}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#3f51b5}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ff4081}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ff4081}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:#000000de}.mat-select-placeholder{color:#0000006b}.mat-select-disabled .mat-select-value{color:#00000061}.mat-select-arrow{color:#0000008a}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#3f51b5}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ff4081}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.mat-drawer-container{background-color:#fafafa;color:#000000de}.mat-drawer{background-color:#fff;color:#000000de}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ff4081}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#ff40818a}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ff4081}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#3f51b5}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#3f51b58a}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#3f51b5}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.mat-slide-toggle-bar{background-color:#00000061}.mat-slider-track-background{background-color:#00000042}.mat-slider.mat-primary .mat-slider-track-fill,.mat-slider.mat-primary .mat-slider-thumb,.mat-slider.mat-primary .mat-slider-thumb-label{background-color:#3f51b5}.mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-primary .mat-slider-focus-ring{background-color:#3f51b533}.mat-slider.mat-accent .mat-slider-track-fill,.mat-slider.mat-accent .mat-slider-thumb,.mat-slider.mat-accent .mat-slider-thumb-label{background-color:#ff4081}.mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-accent .mat-slider-focus-ring{background-color:#ff408133}.mat-slider.mat-warn .mat-slider-track-fill,.mat-slider.mat-warn .mat-slider-thumb,.mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.mat-slider:hover .mat-slider-track-background,.mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.mat-slider.mat-slider-disabled .mat-slider-track-background,.mat-slider.mat-slider-disabled .mat-slider-track-fill,.mat-slider.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:#0000}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:#0000008a}.mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#3f51b5;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ff4081;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:#0000;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:#0000001f}.mat-horizontal-stepper-header:before,.mat-horizontal-stepper-header:after,.mat-stepper-horizontal-line{border-top-color:#0000001f}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-nav-bar,.mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-nav-bar,.mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:#000000de}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:#00000061}.mat-tab-header-pagination-chevron{border-color:#000000de}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.mat-tab-group[class*=mat-background-]>.mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#3f51b5}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ff4081}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#3f51b5}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#ff4081}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-toolbar{background:#f5f5f5;color:#000000de}.mat-toolbar.mat-primary{background:#3f51b5;color:#fff}.mat-toolbar.mat-accent{background:#ff4081;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.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-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:#fff}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-simple-snackbar-action{color:#ff4081}@charset "UTF-8";.crt-screen{position:relative;background:rgb(0,17,0);color:#0f0;overflow:hidden}.crt-screen:before{content:" ";display:block;position:absolute;inset:0;background:linear-gradient(rgba(18,16,16,0) 50%,rgba(0,0,0,.2) 25%);background-size:100% 1.5px;z-index:20000;pointer-events:none}.crt-screen:after{content:" ";display:block;position:absolute;inset:0;background:rgba(0,63,0,.05);opacity:.1;z-index:20000;pointer-events:none}.crt-screen{box-shadow:inset 0 0 60px #00ff001a,inset 0 0 100px #001400cc,inset 0 0 150px #000a00e6}.scanline{width:100%;height:15px;background:linear-gradient(0deg,rgba(0,255,0,0) 0%,rgba(0,255,0,.5) 50%,rgba(0,255,0,0) 100%);position:absolute;animation:scan 8s linear infinite;z-index:10000;pointer-events:none}.crt-text{text-shadow:0 0 5px rgb(0,255,0),0 0 10px rgb(0,255,0),0 0 15px rgb(0,255,0)}@keyframes flicker{0%{opacity:.1}5%{opacity:.1}10%{opacity:.2}15%{opacity:.1}20%{opacity:.3}25%{opacity:.1}30%{opacity:.2}35%{opacity:.1}40%{opacity:.25}45%{opacity:.1}50%{opacity:.15}55%{opacity:.1}60%{opacity:.2}65%{opacity:.1}70%{opacity:.3}75%{opacity:.1}80%{opacity:.25}85%{opacity:.1}90%{opacity:.2}95%{opacity:.1}to{opacity:.15}}@keyframes scan{0%{top:-100px}to{top:100%}}.crt-screen img,.crt-screen video{filter:contrast(1.2) brightness(.8) hue-rotate(90deg) saturate(.5)}.crt-curve{transform:perspective(400px) rotateX(2deg);transform-origin:center top}@font-face{font-family:RobotoTodd;src:url(Roboto-Regular.a8e6f6203d22df08.ttf);font-weight:400;font-style:normal}@font-face{font-family:RobotoTodd;src:url(Roboto-Bold.3b887fc8dca30f62.ttf);font-weight:700;font-style:normal}@font-face{font-family:TechMono;src:url(TechMono.5c8f60d90e003254.ttf);font-weight:400;font-style:normal}html,body{height:308px;width:460px;background-color:#000}body{margin:0;font-family:RobotoTodd,Helvetica Neue,sans-serif;color:#00f200}.activeHeader{border-left:2px solid rgb(0,242,0)!important;border-right:2px solid rgb(0,242,0)!important;border-bottom:1px solid black;margin-bottom:-1px!important;padding-right:5px;padding-left:5px}.baseActiveHeader{text-transform:uppercase;font-weight:700;margin-bottom:0;margin-top:5px;border-right:2px solid transparent;border-left:2px solid transparent;padding-right:5px;padding-left:5px}.inactiveHeader{color:#00f2004d}.footer{#background-color: rgba(0,242,0,.3);position:fixed;left:0;bottom:0;width:460px;height:6.5%}.footer-text,.secondary-color{background-color:#00f2004d}.menu-selected{background-color:#00f200;color:#000}.mat-dialog-container{background:black;color:#00f200;padding:0!important;width:460px!important}.mat-snack-bar-container{box-shadow:unset!important;background:black;color:unset!important;border:2px rgb(0,242,0) solid}.mat-progress-spinner,.mat-spinner,circle{stroke:#00f200!important}.mat-dialog-content{max-height:100vh!important;margin:0!important}.cdk-overlay-pane{max-width:100%!important}.rotating-image{animation:rotateY 3s linear infinite}@keyframes rotateY{0%{transform:rotateY(0)}to{transform:rotateY(360deg)}}.keyboard_key{border:1px rgba(0,242,0,.3) solid;margin:unset!important;padding:4px;min-width:20px;text-align:center}.keyboard_current{background-color:#00f200;color:#000} diff --git a/pipboyUI/package.json b/pipboyUI/package.json index 15677db..dcee89a 100644 --- a/pipboyUI/package.json +++ b/pipboyUI/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "scripts": { "ng": "ng", - "start": "ng serve", + "start": "ng serve --host 0.0.0.0 --disable-host-check", "build": "ng build", "watch": "ng build --watch --configuration development", "test": "ng test" @@ -37,4 +37,4 @@ "karma-jasmine-html-reporter": "~2.0.0", "typescript": "~4.7.2" } -} \ No newline at end of file +} diff --git a/pipboyUI/src/app/components/LowerHeaders/Inventory/inventory-apps.component.ts b/pipboyUI/src/app/components/LowerHeaders/Inventory/inventory-apps.component.ts index d0b3565..16eb952 100644 --- a/pipboyUI/src/app/components/LowerHeaders/Inventory/inventory-apps.component.ts +++ b/pipboyUI/src/app/components/LowerHeaders/Inventory/inventory-apps.component.ts @@ -64,6 +64,7 @@ export class InventoryAppsComponent extends AbsListSelect { } override elements: InvApp[] = [ + {name: "ReloadUI", action: () => location.reload(), matIcon: true, icon:"help", about: "reload window"}, {name: "Clock", action: () => { this.openApp(ClockDialogApp); }, matIcon: true, icon: "access_time", about: "Забытые часы самого тодда говарда. Он забыл их в своей прекрастной игре каллаут76."}, diff --git a/pipboyUI/src/index.html b/pipboyUI/src/index.html index d32b302..50478ea 100644 --- a/pipboyUI/src/index.html +++ b/pipboyUI/src/index.html @@ -11,6 +11,7 @@ +
diff --git a/pipboyUI/src/styles.scss b/pipboyUI/src/styles.scss index 9a17480..81db2b6 100644 --- a/pipboyUI/src/styles.scss +++ b/pipboyUI/src/styles.scss @@ -1,5 +1,6 @@ /* You can add global styles to this file, and also import other style files */ -@import "styles/crt"; +@import "styles/crt-16bit"; +@import "styles/settings"; @font-face { font-family: 'RobotoTodd'; @@ -22,15 +23,19 @@ font-style: normal; } -$primary-color: rgb(0, 242, 0); -$secondary-color: rgb(0 242 0 / 30%); $screen-width: 460px; +$screen-height: 308px; + +html, body { + height: $screen-height; + width: $screen-width; + background-color: black +} -html, body { height: 308px; width: $screen-width; background-color: black } body { margin: 0; font-family: RobotoTodd, "Helvetica Neue", sans-serif; - color: rgb(0, 0.949*255, 0) + color: rgb(0, g(0.949 * 255), 0) } .activeHeader { diff --git a/pipboyUI/src/styles/crt-16bit.scss b/pipboyUI/src/styles/crt-16bit.scss new file mode 100644 index 0000000..c4eab04 --- /dev/null +++ b/pipboyUI/src/styles/crt-16bit.scss @@ -0,0 +1,129 @@ +@import "settings"; + +$z-main: 20000; +$z-scanline: 10000; +$z-3: 30000; + +.crt-screen { + position: relative; + background: piprgb(0, 17, 0); /* Тёмно-зелёный фон 0 17 0*/ + color: piprgb(0, 255, 0); /* Ярко-зелёный текст */ + overflow: hidden; +} + +//пердит полосками +.crt-screen::before { + content: " "; + display: block; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + background: linear-gradient( + //18 16 16 + piprgba(18, 16, 16, 0) 50%, + piprgba(0, 0, 0, 0.2) 25% + ); + background-size: 100% 1.5px; + z-index: $z-main; + pointer-events: none; +} + +.crt-screen::after { + content: " "; + display: block; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + background: piprgba(0, 63, 0, 0.05); + opacity: 0.1; + z-index: $z-main; + pointer-events: none; + //animation: flicker 0.15s infinite;//убивает весь фпс +} + +/* Эффект виньетирования */ +.crt-screen { + box-shadow: + inset 0 0 60px piprgba(0, 255, 0, 0.1), + inset 0 0 100px piprgba(0, 20, 0, 0.8), + inset 0 0 150px piprgba(0, 10, 0, 0.9); +} + +/* Эффект сканирования */ +.scanline { + width: 100%; + height: 15px; + background: linear-gradient( + 0deg, + piprgba(0, 255, 0, 0) 0%, + piprgba(0, 255, 0, 0.5) 50%, + piprgba(0, 255, 0, 0) 100% + ); + position: absolute; + animation: scan 8s linear infinite; + z-index: $z-scanline; + pointer-events: none; +} + +/* Свечение для текста */ +.crt-text { + text-shadow: + 0 0 5px piprgb(0,255,0), + 0 0 10px piprgb(0,255,0), + 0 0 15px piprgb(0,255,0); +} + +/* Эффект мерцания */ +@keyframes flicker { + 0% { opacity: 0.1; } + 5% { opacity: 0.1; } + 10% { opacity: 0.2; } + 15% { opacity: 0.1; } + 20% { opacity: 0.3; } + 25% { opacity: 0.1; } + 30% { opacity: 0.2; } + 35% { opacity: 0.1; } + 40% { opacity: 0.25; } + 45% { opacity: 0.1; } + 50% { opacity: 0.15; } + 55% { opacity: 0.1; } + 60% { opacity: 0.2; } + 65% { opacity: 0.1; } + 70% { opacity: 0.3; } + 75% { opacity: 0.1; } + 80% { opacity: 0.25; } + 85% { opacity: 0.1; } + 90% { opacity: 0.2; } + 95% { opacity: 0.1; } + 100% { opacity: 0.15; } +} + +/* Движение сканирующей линии */ +@keyframes scan { + 0% { + top: -100px; + } + 100% { + top: 100%; + } +} + +/* Дополнительные эффекты для контента */ +.crt-screen img, +.crt-screen video { + filter: + contrast(1.2) + brightness(0.8) + hue-rotate(90deg) + saturate(0.5); +} + +/* Эффект кривизны экрана (опционально) */ +.crt-curve { + transform: perspective(400px) rotateX(2deg); + transform-origin: center top; +} diff --git a/pipboyUI/src/styles/crt.scss b/pipboyUI/src/styles/crt.scss deleted file mode 100644 index 38b573e..0000000 --- a/pipboyUI/src/styles/crt.scss +++ /dev/null @@ -1,191 +0,0 @@ -$z-main: 20000; -$z-scanline: 10000; -$z-3: 30000; - -.crt-fallout { - position: relative; - background: #000 !important; - color: #0F0 !important; - image-rendering: pixelated; - image-rendering: crisp-edges; -} - -/* 16-битная палитра с ограниченными цветами */ -.crt-fallout::before { - content: ""; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: - repeating-linear-gradient( - 0deg, - rgba(0, 32, 0, 0.8) 0px, - rgba(0, 32, 0, 0.8) 1px, - transparent 1px, - transparent 2px - ), - repeating-linear-gradient( - 90deg, - rgba(0, 16, 0, 0.4) 0px, - rgba(0, 16, 0, 0.4) 1px, - transparent 1px, - transparent 2px - ); - pointer-events: none; - z-index: $z-scanline; -} - -/* Полосы развёртки (оптимизированные под 24 FPS) */ -.crt-fallout::after { - content: ""; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: linear-gradient( - rgba(0, 255, 0, 0.06) 50%, - transparent 50% - ); - background-size: 100% 3px; - z-index: $z-main; - animation: scanlines 0.666s linear infinite; - /* 1 / 24 FPS * 16 кадров = 0.666s */ -} - -/* 16-битное свечение текста */ -.crt-fallout .text { - color: #0F0; - text-shadow: - 0 0 2px #0F0, - 0 0 4px #0C0, - 0 0 6px #090; - font-smooth: never; - -webkit-font-smoothing: none; -} - -/* 16-битный фильтр для изображений */ -.crt-fallout img, -.crt-fallout video, -.crt-fallout canvas { - filter: - brightness(0.7) - contrast(1.3) - hue-rotate(90deg) - saturate(0.6) - url('#crtFilter'); -} - -/* SVG фильтр для 16-битного эффекта */ -.filter-svg { - position: absolute; - width: 0; - height: 0; -} - -/* Статический шум с пониженной частотой */ -.noise-layer { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background-image: - url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23noise)' opacity='0.15'/%3E%3C/svg%3E"); - background-repeat: repeat; - opacity: 0.1; - animation: noise 2s steps(24) infinite; - z-index: $z-3; - pointer-events: none; -} - -/* Анимации, синхронизированные с 24 FPS */ -@keyframes scanlines { - 0% { - transform: translateY(0px); - } - 100% { - transform: translateY(3px); - } -} - -@keyframes flicker { - 0%, 100% { opacity: 0.97; } - 4.166% { opacity: 0.95; } /* 1/24 кадра */ - 8.333% { opacity: 0.93; } /* 2/24 кадра */ - 12.5% { opacity: 0.95; } /* 3/24 кадра */ - 16.666% { opacity: 0.97; } /* 4/24 кадра */ - 20.833% { opacity: 0.94; } /* 5/24 кадра */ - 25% { opacity: 0.96; } /* 6/24 кадра */ - 29.166% { opacity: 0.95; } /* 7/24 кадра */ - 33.333% { opacity: 0.97; } /* 8/24 кадра */ - 37.5% { opacity: 0.93; } /* 9/24 кадра */ - 41.666% { opacity: 0.96; } /* 10/24 кадра */ - 45.833% { opacity: 0.95; } /* 11/24 кадра */ - 50% { opacity: 0.97; } /* 12/24 кадра */ - 54.166% { opacity: 0.94; } /* 13/24 кадра */ - 58.333% { opacity: 0.96; } /* 14/24 кадра */ - 62.5% { opacity: 0.95; } /* 15/24 кадра */ - 66.666% { opacity: 0.97; } /* 16/24 кадра */ - 70.833% { opacity: 0.93; } /* 17/24 кадра */ - 75% { opacity: 0.95; } /* 18/24 кадра */ - 79.166% { opacity: 0.96; } /* 19/24 кадра */ - 83.333% { opacity: 0.94; } /* 20/24 кадра */ - 87.5% { opacity: 0.97; } /* 21/24 кадра */ - 91.666% { opacity: 0.95; } /* 22/24 кадра */ - 95.833% { opacity: 0.96; } /* 23/24 кадра */ -} - -@keyframes noise { - 0% { background-position: 0 0; } - 100% { background-position: 256px 256px; } -} - -/* Эффект низкого FPS и ограниченной палитры */ -.fps-24 { - animation-duration: 0.041666s; /* 24 FPS */ - animation-timing-function: steps(1, end); -} - -/* Пиксельный эффект для 16-битной графики */ -.pixel-grid { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background-image: - linear-gradient(rgba(0, 16, 0, 0.1) 1px, transparent 1px), - linear-gradient(90deg, rgba(0, 16, 0, 0.1) 1px, transparent 1px); - background-size: 4px 4px; - pointer-events: none; - z-index: $z-scanline; -} - -/* Упрощённый эффект виньетирования для 16-бит */ -.vignette-16bit { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-shadow: - inset 0 0 40px #000, - inset 0 0 60px rgba(0, 32, 0, 0.5), - inset 0 0 80px #000; - pointer-events: none; - z-index: $z-main; -} - -/* Мерцание (оптимизированное под 24 FPS) */ -.crt-fallout { - animation: flicker 1s infinite; -} - -/* Оптимизация производительности */ -.crt-fallout * { - will-change: transform, opacity; - backface-visibility: hidden; -} diff --git a/pipboyUI/src/styles/settings.scss b/pipboyUI/src/styles/settings.scss new file mode 100644 index 0000000..53779b9 --- /dev/null +++ b/pipboyUI/src/styles/settings.scss @@ -0,0 +1,24 @@ +$deep_g: 255; //63 - 16bit, 255 - 24bit +$deep_rb: 255; //31 - 16bit, 255- 24bit + +@function r($v) { + @return ($v/255) * $deep_rb; +} +@function g($v) { + @return ($v/255) * $deep_g; +} +@function b($v) { + @return ($v/255) * $deep_rb; +} + +@function piprgb($rv, $gv, $bv) { + @return rgb(r($rv), g($gv), b($bv)); +} + +@function piprgba($rv, $gv, $bv, $av) { + @return rgba(r($rv), g($gv), b($bv), $av); +} + +$primary-color: rgb(0, g(242), 0); +$secondary-color: rgba(0, g(242), 0, 30%);//rgba(0 242 0 / 30%); + diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..174c1f3 --- /dev/null +++ b/readme.md @@ -0,0 +1,10 @@ +display connect +TFT Pin Description Raspberry Pi Pin Pin Number +VDD Power (VCC) 5V or 3.3V Pin 2 or Pin 1 +GND Ground Ground Pin 6 +CS Chip Select (SPI) GPIO 8 Pin 24 +RST Reset GPIO 17 Pin 11 +D/C Data/Command (SPI) GPIO 25 Pin 22 +SDI Serial Data In (MOSI) GPIO 10 Pin 19 +SCK Serial Clock (SPI) GPIO 11 Pin 23 +BL Backlight 5V or GPIO 27 Pin 2 or Pin 13 \ No newline at end of file